47 inletOutletFvPatchScalarField(
p, iF),
50 phiName_ =
dict.lookupOrDefault<
word>(
"phi",
"phi");
52 refValue() =
k(patch().Cf());
56 if (
dict.found(
"value"))
76 inletOutletFvPatchScalarField(psf,
p, iF, mapper),
88 inletOutletFvPatchScalarField(psf, iF),
101 inletOutletFvPatchScalarField::map(psf, mapper);
104 refCast<const atmBoundaryLayerInletKFvPatchScalarField>(psf);
115 inletOutletFvPatchScalarField::reset(psf);
118 refCast<const atmBoundaryLayerInletKFvPatchScalarField>(psf);
128 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...
void operator=(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 fvPatchFieldMapper &)
Map the given fvPatchField onto this fvPatchField.
This class provides functions to evaluate the velocity and turbulence distributions appropriate for a...
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.
void map(const atmBoundaryLayer &, const fvPatchFieldMapper &)
Map the given atmBoundaryLayer onto this atmBoundaryLayer.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Foam::fvPatchFieldMapper.
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)