46 inletOutletFvPatchScalarField(p, iF),
59 inletOutletFvPatchScalarField(p, iF),
64 refValue() =
k(patch().Cf());
68 if (dict.
found(
"value"))
88 inletOutletFvPatchScalarField(psf, p, iF, mapper),
100 inletOutletFvPatchScalarField(psf, iF),
112 inletOutletFvPatchScalarField::autoMap(m);
123 inletOutletFvPatchScalarField::rmap(psf, addr);
126 refCast<const atmBoundaryLayerInletKFvPatchScalarField>(psf);
137 inletOutletFvPatchScalarField::reset(psf);
140 refCast<const atmBoundaryLayerInletKFvPatchScalarField>(psf);
150 writeEntryIfDifferent<word>(os,
"phi",
"phi", phiName_);
This class provides functions to evaluate the velocity and turbulence distributions appropriate for a...
bool found(const word &, bool recursive=false, bool patternMatch=true) const
Search dictionary for given keyword.
void autoMap(const fvPatchFieldMapper &)
Map (and resize as needed) from self given a mapping object.
A list of keyword definitions, which are a keyword followed by any number of values (e...
This boundary condition specifies an inlet value for the turbulence kinetic energy, , appropriate for atmospheric boundary layers.
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...
label k
Boltzmann constant.
virtual void write(Ostream &) const
Write.
Macros for easy insertion into run-time selection tables.
virtual void reset(const fvPatchScalarField &)
Reset the fvPatchField to the given fvPatchField.
A class for handling words, derived from string.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
void reset(const atmBoundaryLayer &)
Reset the atmBoundaryLayer to the given atmBoundaryLayer.
Foam::fvPatchFieldMapper.
void write(Ostream &) const
Write.
virtual label size() const
Return size.
virtual void rmap(const fvPatchScalarField &, const labelList &)
Reverse map the given fvPatchField onto this fvPatchField.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
void operator=(const Field< scalar > &)
void writeEntry(Ostream &os, const HashTable< T, Key, Hash > &ht)
T lookupOrDefault(const word &, const T &, bool recursive=false, bool patternMatch=true) const
Find and return a T,.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
virtual void autoMap(const fvPatchFieldMapper &)
Map (and resize as needed) from self given a mapping object.
void rmap(const atmBoundaryLayer &, const labelList &)
Reverse map the given atmBoundaryLayer onto this.
virtual void write(Ostream &) const
Write.
makePatchTypeField(fvPatchScalarField, atmBoundaryLayerInletEpsilonFvPatchScalarField)
atmBoundaryLayerInletKFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &)
Construct from patch and internal field.