|October 23, 2011, 09:59||
PisoFoam and Gravitation
Join Date: Oct 2011
Posts: 6Rep Power: 5
I'm new in OpenFOAM and so I do not have so much experience with changing code etc.
I do have a problem with PisoFoam. I'd like to use the buoyantPressure at the walls but I get the following error message:
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/opencfd/OpenFOAM/OpenFOAM-2.0.1/src/OpenFOAM/lnInclude/objectRegistryTemplates.C at line 131. FOAM aborting
I think, there is a problem with the gravitation. I do have a file in constant/g which stands for the gravitation.
I saw the thread but I do not really know what to change: private boundary condition in controlDict strange behaviour
Thank you in advance for your help. Have a nice day.
The problem is running on OpenFOAM 2.0.1
|October 24, 2011, 02:28||
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,894Rep Power: 26
pisoFoam does not account for the gravity, so no gravitational vector is defined when you run it. The buoyantPressure condition is equivalent to zeroGradient, if g = 0.
You might want to take a look at solvers involving buoyancy (heatTransfer directory).
|gravitation, openfoam 2.0.x, pisofoam|