47 inletOutletFvPatchScalarField(p, iF),
51 this->refValue() = 0.0;
52 this->refGrad() = 0.0;
53 this->valueFraction() = 0.0;
65 inletOutletFvPatchScalarField(ptf, p, iF, mapper),
66 mixingLength_(ptf.mixingLength_),
78 inletOutletFvPatchScalarField(p, iF),
86 this->refValue() = 0.0;
87 this->refGrad() = 0.0;
88 this->valueFraction() = 0.0;
97 inletOutletFvPatchScalarField(ptf),
98 mixingLength_(ptf.mixingLength_),
109 inletOutletFvPatchScalarField(ptf, iF),
110 mixingLength_(ptf.mixingLength_),
137 const scalar Cmu25 =
pow(Cmu, 0.25);
145 this->refValue() =
sqrt(kp)/(Cmu25*mixingLength_);
146 this->valueFraction() = 1.0 -
pos(phip);
148 inletOutletFvPatchScalarField::updateCoeffs();
162 writeEntry(
"value", os);
dimensionedScalar sqrt(const dimensionedScalar &ds)
virtual void operator=(const UList< Type > &)
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
const char *const group
Group name for atomic constants.
This boundary condition provides a turbulence specific dissipation, (omega) inlet condition based on...
A class for handling words, derived from string.
Foam::fvPatchFieldMapper.
A list of keyword definitions, which are a keyword followed by any number of values (e...
virtual void write(Ostream &) const
Write.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
static word groupName(Name name, const word &group)
GeometricField< scalar, fvPatchField, volMesh > volScalarField
bool readScalar(const char *buf, doubleScalar &s)
Read whole of buf as a scalar. Return true if succesful.
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
Macros for easy insertion into run-time selection tables.
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
Ostream & writeKeyword(const keyType &)
Write the keyword followed by an appropriate indentation.
rDeltaT dimensionedInternalField()
Abstract base class for turbulence models (RAS, LES and laminar).
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
virtual void write(Ostream &) const
Write.
T lookupOrDefault(const word &, const T &, bool recursive=false, bool patternMatch=true) const
Find and return a T,.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
static const word propertiesName
Default name of the turbulence properties dictionary.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
dimensionedScalar pos(const dimensionedScalar &ds)
makePatchTypeField(fvPatchVectorField, SRFFreestreamVelocityFvPatchVectorField)
turbulentMixingLengthFrequencyInletFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &)
Construct from patch and internal field.
virtual label size() const
Return size.
An abstract base class with a fat-interface to all derived classes covering all possible ways in whic...
virtual const dictionary & coeffDict() const =0
Const access to the coefficients dictionary.