CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Bugs (https://www.cfd-online.com/Forums/openfoam-bugs/)
-   -   TotalPressureFvPatchScalarField (https://www.cfd-online.com/Forums/openfoam-bugs/62495-totalpressurefvpatchscalarfield.html)

iyer_arvind February 29, 2008 07:02

I was Going through (OpenFOAM-
 
I was Going through (OpenFOAM-1.4)totalPressureFvPatchScalarField boundary condition:
in updateCoeffs the equation states

operator==(p0_ - 0.5*(1.0 - pos(phip))*magSqr(Up));

Is a rho missing??? It seems to be dimensionally incorrect otherwise.

Please confirm, else can you please let me know where is my understanding wrong?

eugene March 6, 2008 07:35

That equation is for the incom
 
That equation is for the incompressible case when pressure = p/rho


All times are GMT -4. The time now is 19:38.