A time-varying form of a uniform total pressure boundary condition. More...
#include <finiteVolume/timeVaryingUniformTotalPressureFvPatchScalarField.H>
A time-varying form of a uniform total pressure boundary condition.
Definition at line 54 of file timeVaryingUniformTotalPressureFvPatchScalarField.H.
Public Member Functions | |
TypeName ("timeVaryingTotalPressure") | |
Runtime type information.
| |
timeVaryingUniformTotalPressureFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &) | |
Construct from patch and internal field.
| |
timeVaryingUniformTotalPressureFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &) | |
Construct from patch, internal field and dictionary.
| |
timeVaryingUniformTotalPressureFvPatchScalarField (const timeVaryingUniformTotalPressureFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &) | |
Construct by mapping given patch field onto a new patch.
| |
timeVaryingUniformTotalPressureFvPatchScalarField (const timeVaryingUniformTotalPressureFvPatchScalarField &) | |
Construct as copy.
| |
virtual tmp< fvPatchScalarField > | clone () const |
Construct and return a clone.
| |
timeVaryingUniformTotalPressureFvPatchScalarField (const timeVaryingUniformTotalPressureFvPatchScalarField &, 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.
| |
scalar | p0 () const |
Return the total pressure.
| |
scalar | p0 () |
Return reference to the total pressure to allow adjustment.
| |
const interpolationTable < scalar > & | totalPressureTimeSeries () const |
Return the time series used.
| |
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.
|
timeVaryingUniformTotalPressureFvPatchScalarField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Construct from patch and internal field.
Definition at line 36 of file timeVaryingUniformTotalPressureFvPatchScalarField.C.
Referenced by timeVaryingUniformTotalPressureFvPatchScalarField::clone().
timeVaryingUniformTotalPressureFvPatchScalarField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF, | ||
const dictionary & | dict | ||
) |
Construct from patch, internal field and dictionary.
Definition at line 54 of file timeVaryingUniformTotalPressureFvPatchScalarField.C.
References dictionary::found(), and fvPatch::size().
timeVaryingUniformTotalPressureFvPatchScalarField | ( | const timeVaryingUniformTotalPressureFvPatchScalarField & | ptf, |
const fvPatch & | p, | ||
const DimensionedField< scalar, volMesh > & | iF, | ||
const fvPatchFieldMapper & | mapper | ||
) |
Construct by mapping given patch field onto a new patch.
Definition at line 85 of file timeVaryingUniformTotalPressureFvPatchScalarField.C.
timeVaryingUniformTotalPressureFvPatchScalarField | ( | const timeVaryingUniformTotalPressureFvPatchScalarField & | tppsf ) |
Construct as copy.
Definition at line 105 of file timeVaryingUniformTotalPressureFvPatchScalarField.C.
timeVaryingUniformTotalPressureFvPatchScalarField | ( | const timeVaryingUniformTotalPressureFvPatchScalarField & | tppsf, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Construct as copy setting internal field reference.
Definition at line 122 of file timeVaryingUniformTotalPressureFvPatchScalarField.C.
TypeName | ( | "timeVaryingTotalPressure" | ) |
Runtime type information.
virtual tmp<fvPatchScalarField> clone | ( | ) | const [inline, virtual]
|
Construct and return a clone.
Definition at line 122 of file timeVaryingUniformTotalPressureFvPatchScalarField.H.
References timeVaryingUniformTotalPressureFvPatchScalarField::timeVaryingUniformTotalPressureFvPatchScalarField().
virtual tmp<fvPatchScalarField> clone | ( | const DimensionedField< scalar, volMesh > & | iF ) | const [inline, virtual]
|
Construct and return a clone setting internal field reference.
Definition at line 139 of file timeVaryingUniformTotalPressureFvPatchScalarField.H.
References timeVaryingUniformTotalPressureFvPatchScalarField::timeVaryingUniformTotalPressureFvPatchScalarField().
const word& UName | ( | ) | const [inline]
|
Return the name of the velocity field.
Definition at line 155 of file timeVaryingUniformTotalPressureFvPatchScalarField.H.
word& UName | ( | ) | [inline]
|
Return reference to the name of the velocity field.
to allow adjustment
Definition at line 162 of file timeVaryingUniformTotalPressureFvPatchScalarField.H.
scalar gamma | ( | ) | const [inline]
|
Return the heat capacity ratio.
Definition at line 168 of file timeVaryingUniformTotalPressureFvPatchScalarField.H.
scalar& gamma | ( | ) | [inline]
|
Return reference to the heat capacity ratio to allow adjustment.
Definition at line 174 of file timeVaryingUniformTotalPressureFvPatchScalarField.H.
scalar p0 | ( | ) | const [inline]
|
Return the total pressure.
Definition at line 180 of file timeVaryingUniformTotalPressureFvPatchScalarField.H.
scalar p0 | ( | ) | [inline]
|
Return reference to the total pressure to allow adjustment.
Definition at line 186 of file timeVaryingUniformTotalPressureFvPatchScalarField.H.
const interpolationTable<scalar>& totalPressureTimeSeries | ( | ) | const [inline]
|
Return the time series used.
Definition at line 192 of file timeVaryingUniformTotalPressureFvPatchScalarField.H.
void updateCoeffs | ( | const vectorField & | Up ) | [virtual]
|
Update the coefficients associated with the patch field.
using the given patch velocity field
Definition at line 141 of file timeVaryingUniformTotalPressureFvPatchScalarField.C.
References Foam::exit(), Foam::FatalError, FatalErrorIn, magSqr(), Foam::operator==(), pos(), Foam::pow(), and rho.
void updateCoeffs | ( | ) | [virtual]
|
Update the coefficients associated with the patch field.
Definition at line 210 of file timeVaryingUniformTotalPressureFvPatchScalarField.C.
void write | ( | Ostream & | os ) | const [virtual]
|
Write.
Definition at line 217 of file timeVaryingUniformTotalPressureFvPatchScalarField.C.
References token::END_STATEMENT, Foam::nl, fvPatchField< scalar >::write(), and Ostream::writeKeyword().