CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Bugs (
-   -   Postprocessing and uniformDensityHydrostaticPressure in v1.6 (

Schag July 28, 2009 11:27

Postprocessing and uniformDensityHydrostaticPressure in v1.6
I was glad to see the uniformDensityHydrostaticPressure in OpenFoam 1.6 and try to use it in order to see if this was what I was looking for.

The simulation works, I think, but when using paraFoam or foamToVTK, the following error message appears:

Time: 0

request for uniformDimensionedVectorField g from objectRegistry region0 failed
available objects of type uniformDimensionedVectorField are 0()


From function objectRegistry::lookupObject<Type>(const word&) const in file /home/dm2/henry/OpenFOAM/OpenFOAM-1.6/src/OpenFOAM/lnInclude/objectRegistryTemplates.C at line 140.

FOAM aborting

I know a new version cannot be perfect, but if you have any solution/suggestion,



mattijs July 28, 2009 12:47

It expects the gravity 'g' to be loaded in the objectRegistry which is true for the simulation. As a work-around change (with an editor) the type of the bc into fixedValue so you can postprocess it.

mattijs July 28, 2009 13:41

Note: you should only get this problem because you do not have a 'value' entry so the boundary condition needs to do an evaluation.

All times are GMT -4. The time now is 07:24.