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 123 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 59 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 81 of file turbulentMixingLengthDissipationRateInletFvPatchScalarField.C.
|
delete |
Disallow copy without setting internal field reference.
turbulentMixingLengthDissipationRateInletFvPatchScalarField | ( | const turbulentMixingLengthDissipationRateInletFvPatchScalarField & | ptf, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Copy constructor setting internal field reference.
Definition at line 96 of file turbulentMixingLengthDissipationRateInletFvPatchScalarField.C.
TypeName | ( | "turbulentMixingLengthDissipationRateInlet" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone setting internal field reference.
Definition at line 185 of file turbulentMixingLengthDissipationRateInletFvPatchScalarField.H.
References turbulentMixingLengthDissipationRateInletFvPatchScalarField::turbulentMixingLengthDissipationRateInletFvPatchScalarField(), turbulentMixingLengthDissipationRateInletFvPatchScalarField::updateCoeffs(), and turbulentMixingLengthDissipationRateInletFvPatchScalarField::write().
|
virtual |
Update the coefficients associated with the patch field.
Definition at line 109 of file turbulentMixingLengthDissipationRateInletFvPatchScalarField.C.
References momentumTransportModel::coeffDict(), Foam::constant::atomic::group, IOobject::groupName(), dictionary::lookupOrDefault(), Foam::pos0(), Foam::pow(), Foam::sqrt(), and turbulentMixingLengthDissipationRateInletFvPatchScalarField::write().
Referenced by turbulentMixingLengthDissipationRateInletFvPatchScalarField::clone().
|
virtual |
Write.
Definition at line 146 of file turbulentMixingLengthDissipationRateInletFvPatchScalarField.C.
References Foam::makePatchTypeField(), fvPatchField< Type >::write(), and Foam::writeEntry().
Referenced by turbulentMixingLengthDissipationRateInletFvPatchScalarField::clone(), and turbulentMixingLengthDissipationRateInletFvPatchScalarField::updateCoeffs().