Calculate turbulent kinetic energy from the intensity provided as a fraction of the mean velocity. More...
#include <finiteVolume/turbulentIntensityKineticEnergyInletFvPatchScalarField.H>
Calculate turbulent kinetic energy from the intensity provided as a fraction of the mean velocity.
Example of the boundary condition specification:
inlet { typeturbulentIntensityKineticEnergyInlet; intensity 0.05; // 5% turbulence value uniform 1; // placeholder }
Definition at line 60 of file turbulentIntensityKineticEnergyInletFvPatchScalarField.H.
Public Member Functions | |
TypeName ("turbulentIntensityKineticEnergyInlet") | |
Runtime type information. | |
turbulentIntensityKineticEnergyInletFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &) | |
Construct from patch and internal field. | |
turbulentIntensityKineticEnergyInletFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &) | |
Construct from patch, internal field and dictionary. | |
turbulentIntensityKineticEnergyInletFvPatchScalarField (const turbulentIntensityKineticEnergyInletFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &) | |
Construct by mapping given. | |
turbulentIntensityKineticEnergyInletFvPatchScalarField (const turbulentIntensityKineticEnergyInletFvPatchScalarField &) | |
Construct as copy. | |
virtual tmp< fvPatchScalarField > | clone () const |
Construct and return a clone. | |
turbulentIntensityKineticEnergyInletFvPatchScalarField (const turbulentIntensityKineticEnergyInletFvPatchScalarField &, 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. |
turbulentIntensityKineticEnergyInletFvPatchScalarField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Construct from patch and internal field.
Definition at line 36 of file turbulentIntensityKineticEnergyInletFvPatchScalarField.C.
Referenced by turbulentIntensityKineticEnergyInletFvPatchScalarField::clone().
turbulentIntensityKineticEnergyInletFvPatchScalarField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF, | ||
const dictionary & | dict | ||
) |
Construct from patch, internal field and dictionary.
Definition at line 68 of file turbulentIntensityKineticEnergyInletFvPatchScalarField.C.
References Foam::exit(), Foam::FatalError, FatalErrorIn, scalarField(), and fvPatch::size().
turbulentIntensityKineticEnergyInletFvPatchScalarField | ( | const turbulentIntensityKineticEnergyInletFvPatchScalarField & | ptf, |
const fvPatch & | p, | ||
const DimensionedField< scalar, volMesh > & | iF, | ||
const fvPatchFieldMapper & | mapper | ||
) |
Construct by mapping given.
turbulentIntensityKineticEnergyInletFvPatchScalarField onto a new patch
Definition at line 53 of file turbulentIntensityKineticEnergyInletFvPatchScalarField.C.
turbulentIntensityKineticEnergyInletFvPatchScalarField | ( | const turbulentIntensityKineticEnergyInletFvPatchScalarField & | ptf | ) |
Construct as copy.
Definition at line 105 of file turbulentIntensityKineticEnergyInletFvPatchScalarField.C.
turbulentIntensityKineticEnergyInletFvPatchScalarField | ( | const turbulentIntensityKineticEnergyInletFvPatchScalarField & | ptf, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Construct as copy setting internal field reference.
Definition at line 118 of file turbulentIntensityKineticEnergyInletFvPatchScalarField.C.
TypeName | ( | "turbulentIntensityKineticEnergyInlet" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone.
Definition at line 117 of file turbulentIntensityKineticEnergyInletFvPatchScalarField.H.
|
inlinevirtual |
Construct and return a clone setting internal field reference.
Definition at line 137 of file turbulentIntensityKineticEnergyInletFvPatchScalarField.H.
|
virtual |
Update the coefficients associated with the patch field.
Definition at line 133 of file turbulentIntensityKineticEnergyInletFvPatchScalarField.C.
References Foam::magSqr(), Foam::pos(), and Foam::sqr().
|
virtual |
Write.
Definition at line 154 of file turbulentIntensityKineticEnergyInletFvPatchScalarField.C.
References token::END_STATEMENT, Foam::nl, fvPatchField< scalar >::write(), and Ostream::writeKeyword().