p, p_rgh and buoyant pressure
Dear foamers,
why we define p, and p_rgh in some cases and don't define only one? what is the difference in buoyant pressure boundary condition? thanks in advance. 
I have the same question, can anyone help to explain these items?

Hi,
According to my understanding, p is the total pressure, p_rgh is the hydrodyunamic pressure, actually, there should another pressuretherdynamic pressure. For low speed flows or for low ma assumption, p=rho*g*h + thermodynamic pressure. For compressible cases, p=rho*g*h + thermodynamic pressure + p_rgh. In the former case, the pressure appearring in EoS and the pressure appearring in momentum are not the same quantity. If we do not take the boyuance, rho*g*h can be removed. We can also call the thermodynamic pressure as background pressure. 
Hi every body,
we all know that p = p_rgh + rho*g*h. but it this case both p, p_rgh are defined, so which variable is calculated from the other, we can define only one. the other question which one of them is used in N.S equations or energy eqn (i noticed that p_rgh is used). another thing we know that p expresses total pressure and rgh expresses hydrostatic pressure, so the difference expresses the dynamic pressure which can be used for calculation velocity which already an input. I'm really confused ?? thanks 
Dear Foamers,
please read this abstract from release note of OF v1.7.0 Quote:
my question is if OPreplaced p by p_rgh why we still define p in input files. thanks 
All times are GMT 4. The time now is 20:58. 