CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM (
-   -   p_rgh in buoyantSimpleFoam (

camoesas November 8, 2011 12:24

p_rgh in buoyantSimpleFoam
Hello Everybody,

I am trying to set up a case for buoyantSimpleFoam - Solver.
But it forces me to specify a variable called p_rgh.

What is p_rgh? I cannot find any information, how to specify this variable.

Any Help appreciated!

Thanks Camoesas

Amir November 8, 2011 13:21


p_rgh = p - rho*gh .... you can find its definition in createFields.H file.


camoesas November 9, 2011 03:25


thanks for the definition. But this doesnt help me to understand whats p_rgh good for. How can I calculate my initial values? Where can I find which boundary conditions do I have to set?

akidess November 9, 2011 05:17

Have a look at this thread:

All times are GMT -4. The time now is 22:35.