This boundary condition provides a turbulence dissipation, (epsilon) inlet condition based on a specified mixing length. The patch values are calculated using:
More...
This boundary condition provides a turbulence dissipation, (epsilon) inlet condition based on a specified mixing length. The patch values are calculated using:
where
![]() | = | patch epsilon values |
![]() | = | Model coefficient, set to 0.09 |
![]() | = | turbulence kinetic energy |
![]() | = | length scale |
Property | Description | Required | Default value |
---|---|---|---|
mixingLength | Length scale [m] | yes | |
phi | flux field name | no | phi |
k | turbulence kinetic energy field name | no | k |
Example of the boundary condition specification:
<patchName> { type turbulentMixingLengthDissipationRateInlet; mixingLength 0.005; value uniform 200; // placeholder }
Definition at line 126 of file turbulentMixingLengthDissipationRateInletFvPatchScalarField.H.
turbulentMixingLengthDissipationRateInletFvPatchScalarField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Construct from patch and internal field.
Definition at line 42 of file turbulentMixingLengthDissipationRateInletFvPatchScalarField.C.
Referenced by turbulentMixingLengthDissipationRateInletFvPatchScalarField::clone(), and turbulentMixingLengthDissipationRateInletFvPatchScalarField::turbulentMixingLengthDissipationRateInletFvPatchScalarField().
turbulentMixingLengthDissipationRateInletFvPatchScalarField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF, | ||
const dictionary & | dict | ||
) |
Construct from patch, internal field and dictionary.
Definition at line 74 of file turbulentMixingLengthDissipationRateInletFvPatchScalarField.C.
References dictionary::lookupOrDefault(), fvPatchField< Type >::operator=(), fvPatch::size(), and turbulentMixingLengthDissipationRateInletFvPatchScalarField::turbulentMixingLengthDissipationRateInletFvPatchScalarField().
turbulentMixingLengthDissipationRateInletFvPatchScalarField | ( | const turbulentMixingLengthDissipationRateInletFvPatchScalarField & | ptf, |
const fvPatch & | p, | ||
const DimensionedField< scalar, volMesh > & | iF, | ||
const fvPatchFieldMapper & | mapper | ||
) |
Construct by mapping given.
turbulentMixingLengthDissipationRateInletFvPatchScalarField onto a new patch
Definition at line 59 of file turbulentMixingLengthDissipationRateInletFvPatchScalarField.C.
turbulentMixingLengthDissipationRateInletFvPatchScalarField | ( | const turbulentMixingLengthDissipationRateInletFvPatchScalarField & | ptf | ) |
Construct as copy.
Definition at line 96 of file turbulentMixingLengthDissipationRateInletFvPatchScalarField.C.
turbulentMixingLengthDissipationRateInletFvPatchScalarField | ( | const turbulentMixingLengthDissipationRateInletFvPatchScalarField & | ptf, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Construct as copy setting internal field reference.
Definition at line 108 of file turbulentMixingLengthDissipationRateInletFvPatchScalarField.C.
TypeName | ( | "turbulentMixingLengthDissipationRateInlet" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone.
Definition at line 180 of file turbulentMixingLengthDissipationRateInletFvPatchScalarField.H.
|
inlinevirtual |
Construct and return a clone setting internal field reference.
Definition at line 200 of file turbulentMixingLengthDissipationRateInletFvPatchScalarField.H.
References turbulentMixingLengthDissipationRateInletFvPatchScalarField::turbulentMixingLengthDissipationRateInletFvPatchScalarField(), turbulentMixingLengthDissipationRateInletFvPatchScalarField::updateCoeffs(), and turbulentMixingLengthDissipationRateInletFvPatchScalarField::write().
|
virtual |
Update the coefficients associated with the patch field.
Definition at line 121 of file turbulentMixingLengthDissipationRateInletFvPatchScalarField.C.
References turbulenceModel::coeffDict(), Foam::constant::atomic::group, IOobject::groupName(), dictionary::lookupOrDefault(), Foam::pos(), Foam::pow(), turbulenceModel::propertiesName, Foam::sqrt(), and turbulentMixingLengthDissipationRateInletFvPatchScalarField::write().
Referenced by turbulentMixingLengthDissipationRateInletFvPatchScalarField::clone().
|
virtual |
Write.
Definition at line 157 of file turbulentMixingLengthDissipationRateInletFvPatchScalarField.C.
References token::END_STATEMENT, Foam::makePatchTypeField(), Foam::nl, fvPatchField< Type >::write(), and Ostream::writeKeyword().
Referenced by turbulentMixingLengthDissipationRateInletFvPatchScalarField::clone(), and turbulentMixingLengthDissipationRateInletFvPatchScalarField::updateCoeffs().