Hydrostatic pressure boundary condition calculated as. More...
#include <finiteVolume/uniformDensityHydrostaticPressureFvPatchScalarField.H>
Hydrostatic pressure boundary condition calculated as.
pRefValue + rho*g.(x - pRefPoint)
where rho is provided and assumed uniform.
Definition at line 53 of file uniformDensityHydrostaticPressureFvPatchScalarField.H.
Collaboration diagram for uniformDensityHydrostaticPressureFvPatchScalarField:Public Member Functions | |
| TypeName ("uniformDensityHydrostaticPressure") | |
| Runtime type information.
| |
| uniformDensityHydrostaticPressureFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &) | |
| Construct from patch and internal field.
| |
| uniformDensityHydrostaticPressureFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &) | |
| Construct from patch, internal field and dictionary.
| |
| uniformDensityHydrostaticPressureFvPatchScalarField (const uniformDensityHydrostaticPressureFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &) | |
| Construct by mapping given.
| |
| uniformDensityHydrostaticPressureFvPatchScalarField (const uniformDensityHydrostaticPressureFvPatchScalarField &) | |
| Construct as copy.
| |
| virtual tmp< fvPatchScalarField > | clone () const |
| Construct and return a clone.
| |
| uniformDensityHydrostaticPressureFvPatchScalarField (const uniformDensityHydrostaticPressureFvPatchScalarField &, const DimensionedField< scalar, volMesh > &) | |
| Construct as copy setting internal field reference.
| |
| virtual tmp< fvPatchScalarField > | clone (const DimensionedField< scalar, volMesh > &iF) const |
| Construct and return a clone setting internal field reference.
| |
| scalar | rho () const |
| Return the constant density in the far-field.
| |
| scalar & | rho () |
| Return reference to the constant density in the far-field.
| |
| scalar | pRefValue () const |
| Return the reference pressure.
| |
| scalar & | pRefValue () |
| Return reference to the reference pressure to allow adjustment.
| |
| const vector & | pRefPoint () const |
| Return the pressure reference location.
| |
| vector & | pRefPoint () |
| Return reference to the pressure reference location.
| |
| virtual void | updateCoeffs () |
| Update the coefficients associated with the patch field.
| |
| virtual void | write (Ostream &) const |
| Write.
| |
| uniformDensityHydrostaticPressureFvPatchScalarField | ( | const fvPatch & | p, |
| const DimensionedField< scalar, volMesh > & | iF | ||
| ) |
Construct from patch and internal field.
Definition at line 37 of file uniformDensityHydrostaticPressureFvPatchScalarField.C.
Referenced by uniformDensityHydrostaticPressureFvPatchScalarField::clone().
| uniformDensityHydrostaticPressureFvPatchScalarField | ( | const fvPatch & | p, |
| const DimensionedField< scalar, volMesh > & | iF, | ||
| const dictionary & | dict | ||
| ) |
Construct from patch, internal field and dictionary.
Definition at line 51 of file uniformDensityHydrostaticPressureFvPatchScalarField.C.
References dictionary::found(), and fvPatch::size().
| uniformDensityHydrostaticPressureFvPatchScalarField | ( | const uniformDensityHydrostaticPressureFvPatchScalarField & | ptf, |
| const fvPatch & | p, | ||
| const DimensionedField< scalar, volMesh > & | iF, | ||
| const fvPatchFieldMapper & | mapper | ||
| ) |
Construct by mapping given.
uniformDensityHydrostaticPressureFvPatchScalarField onto a new patch
Definition at line 78 of file uniformDensityHydrostaticPressureFvPatchScalarField.C.
| uniformDensityHydrostaticPressureFvPatchScalarField | ( | const uniformDensityHydrostaticPressureFvPatchScalarField & | ptf ) |
Construct as copy.
Definition at line 94 of file uniformDensityHydrostaticPressureFvPatchScalarField.C.
| uniformDensityHydrostaticPressureFvPatchScalarField | ( | const uniformDensityHydrostaticPressureFvPatchScalarField & | ptf, |
| const DimensionedField< scalar, volMesh > & | iF | ||
| ) |
Construct as copy setting internal field reference.
Definition at line 107 of file uniformDensityHydrostaticPressureFvPatchScalarField.C.
| TypeName | ( | "uniformDensityHydrostaticPressure" | ) |
Runtime type information.
| virtual tmp<fvPatchScalarField> clone | ( | ) | const [inline, virtual]
|
Construct and return a clone.
Definition at line 109 of file uniformDensityHydrostaticPressureFvPatchScalarField.H.
References uniformDensityHydrostaticPressureFvPatchScalarField::uniformDensityHydrostaticPressureFvPatchScalarField().
| virtual tmp<fvPatchScalarField> clone | ( | const DimensionedField< scalar, volMesh > & | iF ) | const [inline, virtual]
|
Construct and return a clone setting internal field reference.
Definition at line 126 of file uniformDensityHydrostaticPressureFvPatchScalarField.H.
References uniformDensityHydrostaticPressureFvPatchScalarField::uniformDensityHydrostaticPressureFvPatchScalarField().
| scalar rho | ( | ) | const [inline]
|
Return the constant density in the far-field.
Definition at line 146 of file uniformDensityHydrostaticPressureFvPatchScalarField.H.
| scalar& rho | ( | ) | [inline]
|
Return reference to the constant density in the far-field.
to allow adjustment
Definition at line 153 of file uniformDensityHydrostaticPressureFvPatchScalarField.H.
| scalar pRefValue | ( | ) | const [inline]
|
Return the reference pressure.
Definition at line 159 of file uniformDensityHydrostaticPressureFvPatchScalarField.H.
| scalar& pRefValue | ( | ) | [inline]
|
Return reference to the reference pressure to allow adjustment.
Definition at line 165 of file uniformDensityHydrostaticPressureFvPatchScalarField.H.
| const vector& pRefPoint | ( | ) | const [inline]
|
Return the pressure reference location.
Definition at line 171 of file uniformDensityHydrostaticPressureFvPatchScalarField.H.
| vector& pRefPoint | ( | ) | [inline]
|
Return reference to the pressure reference location.
to allow adjustment
Definition at line 178 of file uniformDensityHydrostaticPressureFvPatchScalarField.H.
| void updateCoeffs | ( | ) | [virtual]
|
Update the coefficients associated with the patch field.
Definition at line 121 of file uniformDensityHydrostaticPressureFvPatchScalarField.C.
References dimensioned< Type >::value().
| void write | ( | Ostream & | os ) | const [virtual]
|
Write.
Definition at line 142 of file uniformDensityHydrostaticPressureFvPatchScalarField.C.
References token::END_STATEMENT, Foam::nl, fvPatchField< scalar >::write(), and Ostream::writeKeyword().