CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

PisoFoam and Gravitation

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 23, 2011, 09:59
Default PisoFoam and Gravitation
  #1
New Member
 
rene
Join Date: Oct 2011
Posts: 7
Rep Power: 14
krene is on a distinguished road
Hi

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:

Code:
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
When I change the BC to zeroGradient, the code is running without any problems.
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: http://www.cfd-online.com/Forums/ope...behaviour.html

Thank you in advance for your help. Have a nice day.

The problem is running on OpenFOAM 2.0.1
krene is offline   Reply With Quote

Old   October 24, 2011, 02:28
Default
  #2
Senior Member
 
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36
alberto will become famous soon enoughalberto will become famous soon enough
Hi,

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).

Best,
__________________
Alberto Passalacqua

GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541)
OpenQBMM - An open-source implementation of quadrature-based moment methods.

To obtain more accurate answers, please specify the version of OpenFOAM you are using.
alberto is offline   Reply With Quote

Old   October 25, 2011, 02:00
Default
  #3
New Member
 
rene
Join Date: Oct 2011
Posts: 7
Rep Power: 14
krene is on a distinguished road
Hi Alberto,

thanks for this information. I'll try with another solver.

Regards
krene is offline   Reply With Quote

Reply

Tags
gravitation, openfoam 2.0.x, pisofoam


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 02:13.