47 inletOutletFvPatchScalarField(p, iF),
51 this->refValue() = 0.0;
52 this->refGrad() = 0.0;
53 this->valueFraction() = 0.0;
66 inletOutletFvPatchScalarField(ptf, p, iF, mapper),
67 mixingLength_(ptf.mixingLength_),
80 inletOutletFvPatchScalarField(p, iF),
88 this->refValue() = 0.0;
89 this->refGrad() = 0.0;
90 this->valueFraction() = 0.0;
100 inletOutletFvPatchScalarField(ptf),
101 mixingLength_(ptf.mixingLength_),
113 inletOutletFvPatchScalarField(ptf, iF),
114 mixingLength_(ptf.mixingLength_),
134 internalField().
group()
141 const scalar Cmu75 =
pow(Cmu, 0.75);
149 this->refValue() = Cmu75*kp*
sqrt(kp)/mixingLength_;
150 this->valueFraction() = 1.0 -
pos(phip);
152 inletOutletFvPatchScalarField::updateCoeffs();
166 writeEntry(
"value", os);
const char *const group
Group name for atomic constants.
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...
Abstract base class for turbulence models (RAS, LES and laminar).
Macros for easy insertion into run-time selection tables.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
makePatchTypeField(fvPatchVectorField, SRFFreestreamVelocityFvPatchVectorField)
dimensionedScalar pos(const dimensionedScalar &ds)
This boundary condition provides a turbulence dissipation, (epsilon) inlet condition based on a spec...
static const word propertiesName
Default name of the turbulence properties dictionary.
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.
bool readScalar(const char *buf, doubleScalar &s)
Read whole of buf as a scalar. Return true if succesful.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
turbulentMixingLengthDissipationRateInletFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &)
Construct from patch and internal field.
Ostream & writeKeyword(const keyType &)
Write the keyword followed by an appropriate indentation.
virtual const dictionary & coeffDict() const =0
Const access to the coefficients dictionary.
virtual void write(Ostream &) const
Write.
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
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
T lookupOrDefault(const word &, const T &, bool recursive=false, bool patternMatch=true) const
Find and return a T,.
An abstract base class with a fat-interface to all derived classes covering all possible ways in whic...
virtual void write(Ostream &) const
Write.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.