This boundary condition provides static pressure condition for p_rgh, calculated as: More...
Protected Attributes | |
word | UName_ |
word | phiName_ |
word | rhoName_ |
scalarField | p0_ |
This boundary condition provides static pressure condition for p_rgh, calculated as:
where
![]() | = | Pseudo hydrostatic pressure [Pa] |
![]() | = | Static pressure [Pa] |
![]() | = | Total pressure [Pa] |
![]() | = | Height in the opposite direction to gravity |
![]() | = | Reference height in the opposite direction to gravity |
![]() | = | Density |
![]() | = | Acceleration due to gravity [m/s^2] |
Property | Description | Required | Default value |
---|---|---|---|
U | Velocity field name | no | U |
phi | Flux field name | no | phi |
rho | Density field name | no | rho |
p0 | Total pressure | yes |
Example of the boundary condition specification:
<patchName> { type prghTotalPressure; p0 uniform 0; }
Definition at line 143 of file prghTotalPressureFvPatchScalarField.H.
prghTotalPressureFvPatchScalarField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Definition at line 32 of file prghTotalPressureFvPatchScalarField.C.
Referenced by prghTotalPressureFvPatchScalarField::clone().
prghTotalPressureFvPatchScalarField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF, | ||
const dictionary & | dict | ||
) |
Definition at line 46 of file prghTotalPressureFvPatchScalarField.C.
prghTotalPressureFvPatchScalarField | ( | const prghTotalPressureFvPatchScalarField & | ptf, |
const fvPatch & | p, | ||
const DimensionedField< scalar, volMesh > & | iF, | ||
const fvPatchFieldMapper & | mapper | ||
) |
Definition at line 73 of file prghTotalPressureFvPatchScalarField.C.
Definition at line 89 of file prghTotalPressureFvPatchScalarField.C.
prghTotalPressureFvPatchScalarField | ( | const prghTotalPressureFvPatchScalarField & | ptf, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Definition at line 102 of file prghTotalPressureFvPatchScalarField.C.
TypeName | ( | "prghTotalPressure" | ) |
|
inlinevirtual |
Definition at line 205 of file prghTotalPressureFvPatchScalarField.H.
References prghTotalPressureFvPatchScalarField::prghTotalPressureFvPatchScalarField().
|
inlinevirtual |
Definition at line 222 of file prghTotalPressureFvPatchScalarField.H.
References prghTotalPressureFvPatchScalarField::prghTotalPressureFvPatchScalarField().
|
inline |
Definition at line 238 of file prghTotalPressureFvPatchScalarField.H.
References prghTotalPressureFvPatchScalarField::p0_.
|
inline |
Definition at line 244 of file prghTotalPressureFvPatchScalarField.H.
References prghTotalPressureFvPatchScalarField::p0_.
|
virtual |
Definition at line 118 of file prghTotalPressureFvPatchScalarField.C.
|
virtual |
Definition at line 128 of file prghTotalPressureFvPatchScalarField.C.
References prghTotalPressureFvPatchScalarField::p0_.
|
virtual |
Definition at line 142 of file prghTotalPressureFvPatchScalarField.C.
References Foam::cmptMag(), Foam::dimLength, g, Foam::mag(), Foam::magSqr(), gravity::New(), prghTotalPressureFvPatchScalarField::p0_, Foam::foamVersion::patch, prghTotalPressureFvPatchScalarField::phiName_, Foam::pos0(), prghTotalPressureFvPatchScalarField::rhoName_, and prghTotalPressureFvPatchScalarField::UName_.
|
virtual |
Definition at line 182 of file prghTotalPressureFvPatchScalarField.C.
References os(), fvPatchField::write(), and Ostream::writeEntryIfDifferent().
|
protected |
Definition at line 153 of file prghTotalPressureFvPatchScalarField.H.
Referenced by prghTotalPressureFvPatchScalarField::updateCoeffs().
|
protected |
Definition at line 156 of file prghTotalPressureFvPatchScalarField.H.
Referenced by prghTotalPressureFvPatchScalarField::updateCoeffs().
|
protected |
Definition at line 159 of file prghTotalPressureFvPatchScalarField.H.
Referenced by prghTotalPressureFvPatchScalarField::updateCoeffs().
|
protected |
Definition at line 162 of file prghTotalPressureFvPatchScalarField.H.
Referenced by prghTotalPressureFvPatchScalarField::p0(), prghTotalPressureFvPatchScalarField::rmap(), and prghTotalPressureFvPatchScalarField::updateCoeffs().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.