This boundary condition provides the p_rgh equivalent of a pressure boundary condition calculated as: More...
Public Member Functions | |
TypeName ("PrghPressure") | |
Runtime type information. More... | |
PrghPressureFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &) | |
Construct from patch and internal field. More... | |
PrghPressureFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &) | |
Construct from patch, internal field and dictionary. More... | |
PrghPressureFvPatchScalarField (const PrghPressureFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &) | |
Construct by mapping given. More... | |
PrghPressureFvPatchScalarField (const PrghPressureFvPatchScalarField &)=delete | |
Disallow copy without setting internal field reference. More... | |
PrghPressureFvPatchScalarField (const PrghPressureFvPatchScalarField &, const DimensionedField< scalar, volMesh > &) | |
Copy constructor setting internal field reference. More... | |
virtual tmp< fvPatchScalarField > | clone (const DimensionedField< scalar, volMesh > &iF) const |
Construct and return a clone setting internal field reference. More... | |
virtual void | updateCoeffs () |
Update the coefficients associated with the patch field. More... | |
virtual void | write (Ostream &) const |
Write. More... | |
This boundary condition provides the p_rgh equivalent of a pressure boundary condition calculated as:
where
= | Pseudo hydrostatic pressure [Pa] | |
= | Static 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] |
Definition at line 88 of file PrghPressureFvPatchScalarField.H.
PrghPressureFvPatchScalarField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Construct from patch and internal field.
Definition at line 37 of file PrghPressureFvPatchScalarField.C.
Referenced by PrghPressureFvPatchScalarField< PressureFvPatchScalarField >::clone(), and PrghPressureFvPatchScalarField< PressureFvPatchScalarField >::PrghPressureFvPatchScalarField().
PrghPressureFvPatchScalarField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF, | ||
const dictionary & | dict | ||
) |
Construct from patch, internal field and dictionary.
Definition at line 50 of file PrghPressureFvPatchScalarField.C.
References PrghPressureFvPatchScalarField< PressureFvPatchScalarField >::PrghPressureFvPatchScalarField().
PrghPressureFvPatchScalarField | ( | const PrghPressureFvPatchScalarField< PressureFvPatchScalarField > & | ptf, |
const fvPatch & | p, | ||
const DimensionedField< scalar, volMesh > & | iF, | ||
const fvPatchFieldMapper & | mapper | ||
) |
Construct by mapping given.
PrghPressureFvPatchScalarField onto a new patch
Definition at line 64 of file PrghPressureFvPatchScalarField.C.
References PrghPressureFvPatchScalarField< PressureFvPatchScalarField >::PrghPressureFvPatchScalarField().
|
delete |
Disallow copy without setting internal field reference.
PrghPressureFvPatchScalarField | ( | const PrghPressureFvPatchScalarField< PressureFvPatchScalarField > & | ptf, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Copy constructor setting internal field reference.
Definition at line 79 of file PrghPressureFvPatchScalarField.C.
References PrghPressureFvPatchScalarField< PressureFvPatchScalarField >::updateCoeffs().
TypeName | ( | "PrghPressure" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone setting internal field reference.
Definition at line 146 of file PrghPressureFvPatchScalarField.H.
References PrghPressureFvPatchScalarField< PressureFvPatchScalarField >::PrghPressureFvPatchScalarField(), PrghPressureFvPatchScalarField< PressureFvPatchScalarField >::updateCoeffs(), and PrghPressureFvPatchScalarField< PressureFvPatchScalarField >::write().
|
virtual |
Update the coefficients associated with the patch field.
Definition at line 93 of file PrghPressureFvPatchScalarField.C.
References g, Foam::mag(), and PrghPressureFvPatchScalarField< PressureFvPatchScalarField >::write().
Referenced by PrghPressureFvPatchScalarField< PressureFvPatchScalarField >::clone(), and PrghPressureFvPatchScalarField< PressureFvPatchScalarField >::PrghPressureFvPatchScalarField().
|
virtual |
Write.
Definition at line 125 of file PrghPressureFvPatchScalarField.C.
References Foam::vtkWriteOps::write(), and Foam::writeEntry().
Referenced by PrghPressureFvPatchScalarField< PressureFvPatchScalarField >::clone(), and PrghPressureFvPatchScalarField< PressureFvPatchScalarField >::updateCoeffs().