totalPressure boundary condition
can any help me to find what 'phip' means
Location : fields/fvFields/derived/totalPressure
if (psiName_ == "none" && rhoName_ == "none")
operator==(p0_ - 0.5*(1.0 - pos(phip))*magSqr(Up));
Two lines above that, phip is declared. It appears to be the boundary patch of the phi field.
If I specify total pressure P0 at the inlet, the pressure p can be calculated using
p = P0 / ( 1 + 0.2M^2)^3.5 ( say for air)
what is the neccessity of 'phip' in totalPressure boundary condition. Can u help me : ) ?
They are using the pos() function. I think it only adds it if phip is positive (i.e. outward).
|All times are GMT -4. The time now is 05:35.|