Foam::totalPressureFvPatchScalarField. More...
#include <finiteVolume/totalPressureFvPatchScalarField.H>
Foam::totalPressureFvPatchScalarField.
Definition at line 49 of file totalPressureFvPatchScalarField.H.
Public Member Functions | |
TypeName ("totalPressure") | |
Runtime type information. | |
totalPressureFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &) | |
Construct from patch and internal field. | |
totalPressureFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &) | |
Construct from patch, internal field and dictionary. | |
totalPressureFvPatchScalarField (const totalPressureFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &) | |
Construct by mapping given totalPressureFvPatchScalarField. | |
totalPressureFvPatchScalarField (const totalPressureFvPatchScalarField &) | |
Construct as copy. | |
virtual tmp< fvPatchScalarField > | clone () const |
Construct and return a clone. | |
totalPressureFvPatchScalarField (const totalPressureFvPatchScalarField &, 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. | |
const word & | UName () const |
Return the name of the velocity field. | |
word & | UName () |
Return reference to the name of the velocity field. | |
scalar | gamma () const |
Return the heat capacity ratio. | |
scalar & | gamma () |
Return reference to the heat capacity ratio to allow adjustment. | |
const scalarField & | p0 () const |
Return the total pressure. | |
scalarField & | p0 () |
Return reference to the total pressure to allow adjustment. | |
virtual void | autoMap (const fvPatchFieldMapper &) |
Map (and resize as needed) from self given a mapping object. | |
virtual void | rmap (const fvPatchScalarField &, const labelList &) |
Reverse map the given fvPatchField onto this fvPatchField. | |
virtual void | updateCoeffs (const vectorField &Up) |
Update the coefficients associated with the patch field. | |
virtual void | updateCoeffs () |
Update the coefficients associated with the patch field. | |
virtual void | write (Ostream &) const |
Write. |
totalPressureFvPatchScalarField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Construct from patch and internal field.
Definition at line 36 of file totalPressureFvPatchScalarField.C.
Referenced by totalPressureFvPatchScalarField::clone().
totalPressureFvPatchScalarField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF, | ||
const dictionary & | dict | ||
) |
Construct from patch, internal field and dictionary.
Definition at line 52 of file totalPressureFvPatchScalarField.C.
References dictionary::found(), scalarField(), and fvPatch::size().
totalPressureFvPatchScalarField | ( | const totalPressureFvPatchScalarField & | ptf, |
const fvPatch & | p, | ||
const DimensionedField< scalar, volMesh > & | iF, | ||
const fvPatchFieldMapper & | mapper | ||
) |
Construct by mapping given totalPressureFvPatchScalarField.
onto a new patch
Definition at line 81 of file totalPressureFvPatchScalarField.C.
totalPressureFvPatchScalarField | ( | const totalPressureFvPatchScalarField & | tppsf | ) |
Construct as copy.
Definition at line 99 of file totalPressureFvPatchScalarField.C.
totalPressureFvPatchScalarField | ( | const totalPressureFvPatchScalarField & | tppsf, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Construct as copy setting internal field reference.
Definition at line 114 of file totalPressureFvPatchScalarField.C.
TypeName | ( | "totalPressure" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone.
Reimplemented in rotatingTotalPressureFvPatchScalarField.
Definition at line 115 of file totalPressureFvPatchScalarField.H.
References totalPressureFvPatchScalarField::totalPressureFvPatchScalarField().
|
inlinevirtual |
Construct and return a clone setting internal field reference.
Reimplemented in rotatingTotalPressureFvPatchScalarField.
Definition at line 132 of file totalPressureFvPatchScalarField.H.
References totalPressureFvPatchScalarField::totalPressureFvPatchScalarField().
|
inline |
Return the name of the velocity field.
Definition at line 148 of file totalPressureFvPatchScalarField.H.
Referenced by rotatingTotalPressureFvPatchScalarField::updateCoeffs().
|
inline |
Return reference to the name of the velocity field.
to allow adjustment
Definition at line 155 of file totalPressureFvPatchScalarField.H.
|
inline |
Return the heat capacity ratio.
Definition at line 161 of file totalPressureFvPatchScalarField.H.
|
inline |
Return reference to the heat capacity ratio to allow adjustment.
Definition at line 167 of file totalPressureFvPatchScalarField.H.
|
inline |
Return the total pressure.
Definition at line 173 of file totalPressureFvPatchScalarField.H.
|
inline |
Return reference to the total pressure to allow adjustment.
Definition at line 179 of file totalPressureFvPatchScalarField.H.
|
virtual |
Map (and resize as needed) from self given a mapping object.
Definition at line 132 of file totalPressureFvPatchScalarField.C.
|
virtual |
Reverse map the given fvPatchField onto this fvPatchField.
Definition at line 142 of file totalPressureFvPatchScalarField.C.
References totalPressureFvPatchScalarField::rmap().
Referenced by totalPressureFvPatchScalarField::rmap().
|
virtual |
Update the coefficients associated with the patch field.
using the given patch velocity field
Definition at line 156 of file totalPressureFvPatchScalarField.C.
References Foam::exit(), Foam::FatalError, FatalErrorIn, Foam::magSqr(), Foam::nl, Foam::operator==(), Foam::pos(), Foam::pow(), rho, and totalPressureFvPatchScalarField::updateCoeffs().
|
virtual |
Update the coefficients associated with the patch field.
Reimplemented in rotatingTotalPressureFvPatchScalarField.
Definition at line 221 of file totalPressureFvPatchScalarField.C.
Referenced by totalPressureFvPatchScalarField::updateCoeffs().
|
virtual |
Write.
Reimplemented in rotatingTotalPressureFvPatchScalarField.
Definition at line 227 of file totalPressureFvPatchScalarField.C.
References token::END_STATEMENT, Foam::nl, and fvPatchField< scalar >::write().