Skip to content
Snippets Groups Projects
Commit 64aa9925 authored by Henry Weller's avatar Henry Weller
Browse files

totalPressureFvPatchScalarField, uniformTotalPressureFvPatchScalarField:...

totalPressureFvPatchScalarField, uniformTotalPressureFvPatchScalarField: simplified and rationalized

    The modes of operation are set by the dimensions of the pressure field
    to which this boundary condition is applied, the \c psi entry and the value
    of \c gamma:
    \table
        Mode                    | dimensions | psi   | gamma
        incompressible subsonic | p/rho      |       |
        compressible subsonic   | p          | none  |
        compressible transonic  | p          | psi   | 1
        compressible supersonic | p          | psi   | > 1
    \endtable

    For most applications the totalPressure boundary condition now only
    requires p0 to be specified e.g.
    outlet
    {
        type            totalPressure;
        p0              uniform 1e5;
    }
parent e71b8cab
Branches
Tags
No related merge requests found
Showing
with 125 additions and 185 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment