55 this->refGrad() =
Zero;
56 this->valueFraction() = 0.0;
62 const this_bctype& ptf,
68 parent_bctype(ptf,
p, iF, mapper),
69 mixingLength_(ptf.mixingLength_),
82 mixingLength_(
dict.
get<scalar>(
"mixingLength")),
83 kName_(
dict.getOrDefault<
word>(
"k",
"k"))
85 this->phiName_ =
dict.getOrDefault<
word>(
"phi",
"phi");
89 this->refValue() =
Zero;
91 this->valueFraction() = 0.0;
98 const this_bctype& ptf,
102 parent_bctype(ptf, iF),
103 mixingLength_(ptf.mixingLength_),
123 internalField().
group()
128 turbModel.coeffDict().getOrDefault<scalar>(
"Cmu", 0.09);
130 const scalar Cmu25 =
pow(Cmu, 0.25);
138 this->refValue() =
sqrt(kp)/(Cmu25*mixingLength_);
139 this->valueFraction() =
neg(phip);
141 this->parent_bctype::updateCoeffs();
163 turbulentMixingLengthFrequencyInletFvPatchScalarField
A list of keyword definitions, which are a keyword followed by a number of values (eg...
virtual void write(Ostream &) const
Write.
ThermalDiffusivity< CompressibleTurbulenceModel< fluidThermo > > turbulenceModel
dimensionedScalar sqrt(const dimensionedScalar &ds)
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
Ostream & writeEntry(const keyType &key, const T &value)
Write a keyword/value entry.
void writeValueEntry(Ostream &os) const
Write *this field as a "value" entry.
dimensionedScalar neg(const dimensionedScalar &ds)
Macros for easy insertion into run-time selection tables.
virtual void write(Ostream &) const
Write.
constexpr const char *const group
Group name for atomic constants.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
static word groupName(StringType base, const word &group)
Create dot-delimited name.group string.
fvPatchField< scalar > fvPatchScalarField
static const word propertiesName
Default name of the turbulence properties dictionary.
constexpr T & get(FixedList< T, N > &list) noexcept
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
A class for handling words, derived from Foam::string.
A FieldMapper for finite-volume patch fields.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
const std::string patch
OpenFOAM patch number as a std::string.
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
turbulentMixingLengthFrequencyInletFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &)
Construct from patch and internal field.
makePatchTypeField(fvPatchScalarField, atmBoundaryLayerInletEpsilonFvPatchScalarField)
static constexpr const zero Zero
Global zero (0)