Skip to content

runTimePostProcessing unavailable in ubuntu/debian packages

Summary

The runTimePostProcessing (vtk/images) is unavailable in the ubuntu package (openfoam2006-default).

Steps to reproduce

Install the ubuntu package and try to run any case that includes the visualization function object example.

Example case

$FOAM_TUTORIALS/incompressible/pisoFoam/LES/motorBike

What is the current bug behaviour?

When the solver is run, it shows a warning concerning the runTimePostProcessing: VTK was not compiled in. No output images are created.

What is the expected correct behavior?

runTimePostProcessing working, creating output images.

Relevant logs and/or images

... Starting time loop

streamLine streamLines: Employing velocity field U automatic track length specified through number of sub cycles : 5`

Sampled surface: yNormal -> none, store on registry (samples.yNormal)

--> FOAM Warning :

runTimePostProcessing not available

VTK libraries were not available at compilation time

From bool Foam::functionObjectList::read()
in file db/functionObjects/functionObjectList/functionObjectList.C at line 895

--> while loading function object 'postPro1'

forceCoeffs forces: rho: rhoInf Freestream density (rhoInf) set to 1 Not including porosity effects ...

Environment information

  • OpenFOAM version : v2006
  • Operating system : ubuntu focal (Linux version 4.19.76-linuxkit)
  • Hardware info : custom docker image (dockerhub: JohK/toolchain-of:of_v2006 )
  • Compiler : gcc

Possible fixes

Have VTK Libraries available at compile time of the ubuntu package.