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:
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.
I know a new version cannot be perfect, but if you have any solution/suggestion,
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.
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 02:46.|