47 inletOutletFvPatchScalarField(
p, iF),
50 phiName_ =
dict.lookupOrDefault<
word>(
"phi",
"phi");
52 refValue() =
k(patch().Cf());
56 if (
dict.found(
"value"))
79 inletOutletFvPatchScalarField(psf,
p, iF, mapper),
91 inletOutletFvPatchScalarField(psf, iF),
104 inletOutletFvPatchScalarField::map(psf, mapper);
107 refCast<const atmBoundaryLayerInletKFvPatchScalarField>(psf);
118 inletOutletFvPatchScalarField::reset(psf);
121 refCast<const atmBoundaryLayerInletKFvPatchScalarField>(psf);
131 writeEntryIfDifferent<word>(os,
"phi",
"phi", phiName_);
Macros for easy insertion into run-time selection tables.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
const dimensionSet & dimensions() const
Return dimensions.
void operator=(const Field< scalar > &)
friend Ostream & operator(Ostream &, const Field< scalar > &)
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
This boundary condition specifies an inlet value for the turbulence kinetic energy,...
virtual void write(Ostream &) const
Write.
virtual void reset(const fvPatchScalarField &)
Reset the fvPatchField to the given fvPatchField.
atmBoundaryLayerInletKFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &)
Construct from patch, internal field and dictionary.
virtual void map(const fvPatchScalarField &, const fieldMapper &)
Map the given fvPatchField onto this fvPatchField.
This class provides functions to evaluate the velocity and turbulence distributions appropriate for a...
void map(const atmBoundaryLayer &, const fieldMapper &)
Map the given atmBoundaryLayer onto this atmBoundaryLayer.
void reset(const atmBoundaryLayer &)
Reset the atmBoundaryLayer to the given atmBoundaryLayer.
void write(Ostream &) const
Write.
tmp< scalarField > k(const vectorField &p) const
Return the turbulent kinetic energy distribution for the ATM.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Abstract base class for field mapping.
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
virtual void write(Ostream &) const
Write.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
A class for handling words, derived from string.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
void writeEntry(Ostream &os, const HashTable< T, Key, Hash > &ht)
makePatchTypeField(fvPatchScalarField, atmBoundaryLayerInletEpsilonFvPatchScalarField)