A fixed-pressure alphaContactAngle boundary. More...
Public Member Functions | |
TypeName ("alphaFixedPressure") | |
Runtime type information. More... | |
alphaFixedPressureFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &) | |
Construct from patch and internal field. More... | |
alphaFixedPressureFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &) | |
Construct from patch, internal field and dictionary. More... | |
alphaFixedPressureFvPatchScalarField (const alphaFixedPressureFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &) | |
Construct by mapping given alphaFixedPressureFvPatchScalarField. More... | |
alphaFixedPressureFvPatchScalarField (const alphaFixedPressureFvPatchScalarField &)=delete | |
Disallow copy without setting internal field reference. More... | |
alphaFixedPressureFvPatchScalarField (const alphaFixedPressureFvPatchScalarField &, 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... | |
const scalarField & | p () const |
Return the alphaFixed pressure. More... | |
scalarField & | p () |
Return reference to the alphaFixed pressure to allow adjustment. More... | |
virtual void | autoMap (const fvPatchFieldMapper &) |
Map (and resize as needed) from self given a mapping object. More... | |
virtual void | rmap (const fvPatchScalarField &, const labelList &) |
Reverse map the given fvPatchField onto this fvPatchField. More... | |
virtual void | updateCoeffs () |
Update the coefficients associated with the patch field. More... | |
virtual void | write (Ostream &) const |
Write. More... | |
A fixed-pressure alphaContactAngle boundary.
Definition at line 48 of file alphaFixedPressureFvPatchScalarField.H.
alphaFixedPressureFvPatchScalarField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Construct from patch and internal field.
Definition at line 37 of file alphaFixedPressureFvPatchScalarField.C.
Referenced by alphaFixedPressureFvPatchScalarField::alphaFixedPressureFvPatchScalarField(), and alphaFixedPressureFvPatchScalarField::clone().
alphaFixedPressureFvPatchScalarField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF, | ||
const dictionary & | dict | ||
) |
Construct from patch, internal field and dictionary.
Definition at line 49 of file alphaFixedPressureFvPatchScalarField.C.
References alphaFixedPressureFvPatchScalarField::alphaFixedPressureFvPatchScalarField(), dictionary::found(), scalarField(), and fvPatch::size().
alphaFixedPressureFvPatchScalarField | ( | const alphaFixedPressureFvPatchScalarField & | ptf, |
const fvPatch & | p, | ||
const DimensionedField< scalar, volMesh > & | iF, | ||
const fvPatchFieldMapper & | mapper | ||
) |
Construct by mapping given alphaFixedPressureFvPatchScalarField.
onto a new patch
Definition at line 74 of file alphaFixedPressureFvPatchScalarField.C.
References alphaFixedPressureFvPatchScalarField::alphaFixedPressureFvPatchScalarField().
|
delete |
Disallow copy without setting internal field reference.
alphaFixedPressureFvPatchScalarField | ( | const alphaFixedPressureFvPatchScalarField & | tppsf, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Copy constructor setting internal field reference.
Definition at line 88 of file alphaFixedPressureFvPatchScalarField.C.
References alphaFixedPressureFvPatchScalarField::autoMap().
TypeName | ( | "alphaFixedPressure" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone setting internal field reference.
Definition at line 106 of file alphaFixedPressureFvPatchScalarField.H.
References alphaFixedPressureFvPatchScalarField::alphaFixedPressureFvPatchScalarField().
|
inline |
Return the alphaFixed pressure.
Definition at line 122 of file alphaFixedPressureFvPatchScalarField.H.
|
inline |
Return reference to the alphaFixed pressure to allow adjustment.
Definition at line 128 of file alphaFixedPressureFvPatchScalarField.H.
References alphaFixedPressureFvPatchScalarField::autoMap(), alphaFixedPressureFvPatchScalarField::rmap(), alphaFixedPressureFvPatchScalarField::updateCoeffs(), and alphaFixedPressureFvPatchScalarField::write().
|
virtual |
Map (and resize as needed) from self given a mapping object.
Used to update fields following mesh topology change
Definition at line 101 of file alphaFixedPressureFvPatchScalarField.C.
References alphaFixedPressureFvPatchScalarField::rmap().
Referenced by alphaFixedPressureFvPatchScalarField::alphaFixedPressureFvPatchScalarField(), and alphaFixedPressureFvPatchScalarField::p().
|
virtual |
Reverse map the given fvPatchField onto this fvPatchField.
Used to reconstruct fields
Definition at line 111 of file alphaFixedPressureFvPatchScalarField.C.
References alphaFixedPressureFvPatchScalarField::rmap().
Referenced by alphaFixedPressureFvPatchScalarField::autoMap(), alphaFixedPressureFvPatchScalarField::p(), and alphaFixedPressureFvPatchScalarField::rmap().
|
virtual |
Update the coefficients associated with the patch field.
Definition at line 125 of file alphaFixedPressureFvPatchScalarField.C.
References g, Foam::operator==(), rho, dimensioned< Type >::value(), and alphaFixedPressureFvPatchScalarField::write().
Referenced by alphaFixedPressureFvPatchScalarField::p().
|
virtual |
Write.
Definition at line 145 of file alphaFixedPressureFvPatchScalarField.C.
References Foam::makePatchTypeField(), fvPatchField< Type >::write(), and Foam::writeEntry().
Referenced by alphaFixedPressureFvPatchScalarField::p(), and alphaFixedPressureFvPatchScalarField::updateCoeffs().