CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (https://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   The meaning and use of pRefCell and pRefValue (https://www.cfd-online.com/Forums/openfoam-programming-development/123969-meaning-use-prefcell-prefvalue.html)

jf115009 September 25, 2013 06:00

The meaning and use of pRefCell and pRefValue
 
hello everyone
I am a new user for OF.During the process,I have encountered many questions,but now I have a touchy question. who can explain the meaning and use of pRefCell and pRefValue ? It's better give me some advice about learning OF for a new user.

Thanks

haakon September 25, 2013 10:58

http://www.cfd-online.com/Forums/ope...tml#post187268

http://www.openfoam.org/docs/user/fv...-1250004.5.3.1

To state it simple, and to avoid creating a post with only two links:
Imagine an incompressible case where all the boundaries have a zero-gradient pressure condition. What is the pressure inside the domain? Impossible to calculate. The equation system of such a case is thus ill-posed, and we need some more information to calculate the answer. Therefore we select pRefCell and set the pressure in that cell to pRefValue. Then we can solve the system.

Remember that the pressure in an incompressible simulation is somewhat strange, as it is more like a driving force than a physical quantity, as only the relative differences have any meaning.


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