CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Running, Solving & CFD (
-   -   why totalPressure formulas are different? (

immortality April 10, 2013 19:48

why totalPressure formulas are different?
in header file of totalPressure in 2.2.0 version its explained briefly about categories of totalPressure bc.
Why for subsonic compressible flow we should use p0=p+.5*rho*U^2 and not the isentropic equation that includes mach in it like in gas dynamics texts?

immortality April 11, 2013 04:41

whats the reason of choosing different formula in subsonic and supersonic for compressible flow?

immortality April 11, 2013 08:37

it is what has been written in totalPressureFvPatchField.H

The modes of operation are set via the combination of \c phi, \c rho, and
    \c psi entries:
        Mode                    | phi  | rho  | psi
        incompressible subsonic | phi  | none  | none
        compressible subsonic  | phi  | rho  | none
        compressible transonic  | phi  | none  | psi
        compressible supersonic | phi  | none  | psi


compressible subsonic:
            p_T = p_0 + 0.5 \rho |U|^2
            p_T    | total pressure [Pa]
            p_0    | reference pressure [Pa]
            \rho    | density [kg/m3]
            U      | velocity

while in all educational texts I have seen that this relation is for incompressible flow and for compressible flow we should use isentropic relations.
could anyone help me with this doubt on the concept?

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