Go to the documentation of this file.
49 inletOutletFvPatchScalarField(
p, iF),
62 inletOutletFvPatchScalarField(
p, iF),
65 phiName_ =
dict.getOrDefault<
word>(
"phi",
"phi");
67 refValue() =
k(
patch().Cf());
86 const atmBoundaryLayerInletKFvPatchScalarField& psf,
88 const DimensionedField<scalar, volMesh>& iF,
89 const fvPatchFieldMapper& mapper
92 inletOutletFvPatchScalarField(psf,
p, iF, mapper),
104 inletOutletFvPatchScalarField(psf, iF),
120 inletOutletFvPatchScalarField::updateCoeffs();
129 inletOutletFvPatchScalarField::autoMap(m);
140 inletOutletFvPatchScalarField::rmap(psf, addr);
143 refCast<const atmBoundaryLayerInletKFvPatchScalarField>(psf);
152 os.writeEntryIfDifferent<
word>(
"phi",
"phi", phiName_);
154 writeEntry(
"value",
os);
163 atmBoundaryLayerInletKFvPatchScalarField
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
fvPatchField< scalar > fvPatchScalarField
virtual void write(Ostream &) const
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
A class for handling words, derived from Foam::string.
This boundary condition provides a log-law type ground-normal inlet boundary condition for the turbul...
Base class to set log-law type ground-normal inlet boundary conditions for wind velocity and turbulen...
tmp< scalarField > k(const vectorField &pCf) const
virtual void write(Ostream &) const
void write(Ostream &) const
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
atmBoundaryLayerInletKFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &)
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
OBJstream os(runTime.globalPath()/outputName)
Macros for easy insertion into run-time selection tables.
virtual void updateCoeffs()
void operator=(const Field< Type > &)
void autoMap(const fvPatchFieldMapper &)
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
void rmap(const atmBoundaryLayer &, const labelList &)
virtual void rmap(const fvPatchScalarField &, const labelList &)
Foam::fvPatchFieldMapper.
virtual void autoMap(const fvPatchFieldMapper &)
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
makePatchTypeField(fvPatchScalarField, atmBoundaryLayerInletEpsilonFvPatchScalarField)
T getOrDefault(const word &keyword, const T &deflt, enum keyType::option matchOpt=keyType::REGEX) const
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...