This boundary condition provides a turbulence specific dissipation, (omega) inlet condition based on a specified mixing length. The patch values are calculated using: More...
This boundary condition provides a turbulence specific dissipation, (omega) inlet condition based on a specified mixing length. The patch values are calculated using:
where
= | patch omega 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 turbulentMixingLengthFrequencyInlet; mixingLength 0.005; value uniform 200; // placeholder }
Definition at line 124 of file turbulentMixingLengthFrequencyInletFvPatchScalarField.H.
turbulentMixingLengthFrequencyInletFvPatchScalarField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Construct from patch and internal field.
Definition at line 42 of file turbulentMixingLengthFrequencyInletFvPatchScalarField.C.
Referenced by turbulentMixingLengthFrequencyInletFvPatchScalarField::clone(), and turbulentMixingLengthFrequencyInletFvPatchScalarField::turbulentMixingLengthFrequencyInletFvPatchScalarField().
turbulentMixingLengthFrequencyInletFvPatchScalarField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF, | ||
const dictionary & | dict | ||
) |
Construct from patch, internal field and dictionary.
Definition at line 72 of file turbulentMixingLengthFrequencyInletFvPatchScalarField.C.
References dictionary::lookupOrDefault(), fvPatchField< Type >::operator=(), fvPatch::size(), and turbulentMixingLengthFrequencyInletFvPatchScalarField::turbulentMixingLengthFrequencyInletFvPatchScalarField().
turbulentMixingLengthFrequencyInletFvPatchScalarField | ( | const turbulentMixingLengthFrequencyInletFvPatchScalarField & | ptf, |
const fvPatch & | p, | ||
const DimensionedField< scalar, volMesh > & | iF, | ||
const fvPatchFieldMapper & | mapper | ||
) |
Construct by mapping given.
turbulentMixingLengthFrequencyInletFvPatchScalarField onto a new patch
Definition at line 58 of file turbulentMixingLengthFrequencyInletFvPatchScalarField.C.
turbulentMixingLengthFrequencyInletFvPatchScalarField | ( | const turbulentMixingLengthFrequencyInletFvPatchScalarField & | ptf | ) |
Copy constructor.
Definition at line 93 of file turbulentMixingLengthFrequencyInletFvPatchScalarField.C.
turbulentMixingLengthFrequencyInletFvPatchScalarField | ( | const turbulentMixingLengthFrequencyInletFvPatchScalarField & | ptf, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Copy constructor setting internal field reference.
Definition at line 104 of file turbulentMixingLengthFrequencyInletFvPatchScalarField.C.
TypeName | ( | "turbulentMixingLengthFrequencyInlet" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone.
Definition at line 178 of file turbulentMixingLengthFrequencyInletFvPatchScalarField.H.
|
inlinevirtual |
Construct and return a clone setting internal field reference.
Definition at line 198 of file turbulentMixingLengthFrequencyInletFvPatchScalarField.H.
References turbulentMixingLengthFrequencyInletFvPatchScalarField::turbulentMixingLengthFrequencyInletFvPatchScalarField(), turbulentMixingLengthFrequencyInletFvPatchScalarField::updateCoeffs(), and turbulentMixingLengthFrequencyInletFvPatchScalarField::write().
|
virtual |
Update the coefficients associated with the patch field.
Definition at line 117 of file turbulentMixingLengthFrequencyInletFvPatchScalarField.C.
References momentumTransportModel::coeffDict(), Foam::constant::atomic::group, IOobject::groupName(), dictionary::lookupOrDefault(), Foam::pos0(), Foam::pow(), Foam::sqrt(), and turbulentMixingLengthFrequencyInletFvPatchScalarField::write().
Referenced by turbulentMixingLengthFrequencyInletFvPatchScalarField::clone().
|
virtual |
Write.
Definition at line 154 of file turbulentMixingLengthFrequencyInletFvPatchScalarField.C.
References Foam::makePatchTypeField(), fvPatchField< Type >::write(), and Foam::writeEntry().
Referenced by turbulentMixingLengthFrequencyInletFvPatchScalarField::clone(), and turbulentMixingLengthFrequencyInletFvPatchScalarField::updateCoeffs().