47 inletOutletFvPatchScalarField(p, iF),
51 this->refValue() = 0.0;
52 this->refGrad() = 0.0;
53 this->valueFraction() = 0.0;
65 inletOutletFvPatchScalarField(p, iF),
66 mixingLength_(dict.
lookup<scalar>(
"mixingLength")),
73 this->refValue() = 0.0;
74 this->refGrad() = 0.0;
75 this->valueFraction() = 0.0;
88 inletOutletFvPatchScalarField(ptf, p, iF, mapper),
89 mixingLength_(ptf.mixingLength_),
101 inletOutletFvPatchScalarField(ptf, iF),
102 mixingLength_(ptf.mixingLength_),
122 momentumTransportModel::typeName,
123 internalField().
group()
130 const scalar Cmu25 =
pow(Cmu, 0.25);
138 this->refValue() =
sqrt(kp)/(Cmu25*mixingLength_);
139 this->valueFraction() =
neg(phip);
141 inletOutletFvPatchScalarField::updateCoeffs();
151 writeEntry(os,
"mixingLength", mixingLength_);
const char *const group
Group name for atomic constants.
This boundary condition provides a turbulence specific dissipation, (omega) inlet condition based on...
A list of keyword definitions, which are a keyword followed by any number of values (e...
dimensionedScalar sqrt(const dimensionedScalar &ds)
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
virtual void write(Ostream &) const
Write.
dimensionedScalar neg(const dimensionedScalar &ds)
Macros for easy insertion into run-time selection tables.
virtual void write(Ostream &) const
Write.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
A class for handling words, derived from string.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
static word groupName(Name name, const word &group)
Foam::fvPatchFieldMapper.
virtual label size() const
Return size.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
virtual const dictionary & coeffDict() const =0
Const access to the coefficients dictionary.
void writeEntry(Ostream &os, const HashTable< T, Key, Hash > &ht)
Abstract base class for turbulence models (RAS, LES and laminar).
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
T lookupOrDefault(const word &, const T &, bool recursive=false, bool patternMatch=true) const
Find and return a T,.
virtual void operator=(const UList< Type > &)
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
turbulentMixingLengthFrequencyInletFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &)
Construct from patch and internal field.
makePatchTypeField(fvPatchScalarField, atmBoundaryLayerInletEpsilonFvPatchScalarField)
An abstract base class with a fat-interface to all derived classes covering all possible ways in whic...
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.