Set the pressure gradient boundary condition appropriately for buoyant flow. More...
#include <finiteVolume/buoyantPressureFvPatchScalarField.H>
Set the pressure gradient boundary condition appropriately for buoyant flow.
If the variable name is "pd" assume it is p - rho*g.h and set the gradient appropriately. Otherwise assume the variable is the static pressure.
Definition at line 53 of file buoyantPressureFvPatchScalarField.H.
Public Member Functions | |
TypeName ("buoyantPressure") | |
Runtime type information.
| |
buoyantPressureFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &) | |
Construct from patch and internal field.
| |
buoyantPressureFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &) | |
Construct from patch, internal field and dictionary.
| |
buoyantPressureFvPatchScalarField (const buoyantPressureFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &) | |
Construct by mapping given.
| |
buoyantPressureFvPatchScalarField (const buoyantPressureFvPatchScalarField &) | |
Construct as copy.
| |
virtual tmp< fvPatchScalarField > | clone () const |
Construct and return a clone.
| |
buoyantPressureFvPatchScalarField (const buoyantPressureFvPatchScalarField &, 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.
| |
virtual void | updateCoeffs () |
Update the coefficients associated with the patch field.
| |
virtual void | write (Ostream &) const |
Write.
|
buoyantPressureFvPatchScalarField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Construct from patch and internal field.
Definition at line 41 of file buoyantPressureFvPatchScalarField.C.
Referenced by buoyantPressureFvPatchScalarField::clone().
buoyantPressureFvPatchScalarField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF, | ||
const dictionary & | dict | ||
) |
Construct from patch, internal field and dictionary.
Definition at line 53 of file buoyantPressureFvPatchScalarField.C.
References fvPatchField< Type >::operator=().
buoyantPressureFvPatchScalarField | ( | const buoyantPressureFvPatchScalarField & | ptf, |
const fvPatch & | p, | ||
const DimensionedField< scalar, volMesh > & | iF, | ||
const fvPatchFieldMapper & | mapper | ||
) |
Construct by mapping given.
buoyantPressureFvPatchScalarField onto a new patch
Definition at line 69 of file buoyantPressureFvPatchScalarField.C.
buoyantPressureFvPatchScalarField | ( | const buoyantPressureFvPatchScalarField & | ptf ) |
Construct as copy.
Definition at line 83 of file buoyantPressureFvPatchScalarField.C.
buoyantPressureFvPatchScalarField | ( | const buoyantPressureFvPatchScalarField & | ptf, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Construct as copy setting internal field reference.
Definition at line 94 of file buoyantPressureFvPatchScalarField.C.
TypeName | ( | "buoyantPressure" | ) |
Runtime type information.
virtual tmp<fvPatchScalarField> clone | ( | ) | const [inline, virtual]
|
Construct and return a clone.
Definition at line 103 of file buoyantPressureFvPatchScalarField.H.
References buoyantPressureFvPatchScalarField::buoyantPressureFvPatchScalarField().
virtual tmp<fvPatchScalarField> clone | ( | const DimensionedField< scalar, volMesh > & | iF ) | const [inline, virtual]
|
Construct and return a clone setting internal field reference.
Definition at line 120 of file buoyantPressureFvPatchScalarField.H.
References buoyantPressureFvPatchScalarField::buoyantPressureFvPatchScalarField().
void updateCoeffs | ( | ) | [virtual]
|
Update the coefficients associated with the patch field.
Definition at line 106 of file buoyantPressureFvPatchScalarField.C.
References rho, and dimensioned< Type >::value().
void write | ( | Ostream & | os ) | const [virtual]
|
Write.
Definition at line 140 of file buoyantPressureFvPatchScalarField.C.
References token::END_STATEMENT, Foam::nl, and Ostream::writeKeyword().