Go to the documentation of this file.
50 inletOutletFvPatchScalarField(
p, iF),
63 inletOutletFvPatchScalarField(
p, iF),
66 phiName_ =
dict.getOrDefault<
word>(
"phi",
"phi");
87 const atmBoundaryLayerInletEpsilonFvPatchScalarField& psf,
89 const DimensionedField<scalar, volMesh>& iF,
90 const fvPatchFieldMapper& mapper
93 inletOutletFvPatchScalarField(psf,
p, iF, mapper),
105 inletOutletFvPatchScalarField(psf, iF),
121 inletOutletFvPatchScalarField::updateCoeffs();
130 inletOutletFvPatchScalarField::autoMap(m);
141 inletOutletFvPatchScalarField::rmap(psf, addr);
144 refCast<const atmBoundaryLayerInletEpsilonFvPatchScalarField>(psf);
153 os.writeEntryIfDifferent<
word>(
"phi",
"phi", phiName_);
155 writeEntry(
"value",
os);
164 atmBoundaryLayerInletEpsilonFvPatchScalarField
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.
virtual void rmap(const fvPatchScalarField &, const labelList &)
virtual void updateCoeffs()
This boundary condition provides a log-law type ground-normal inlet boundary condition for the turbul...
virtual void write(Ostream &) const
Base class to set log-law type ground-normal inlet boundary conditions for wind velocity and turbulen...
void write(Ostream &) const
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
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 autoMap(const fvPatchFieldMapper &)
void operator=(const Field< Type > &)
tmp< scalarField > epsilon(const vectorField &pCf) const
atmBoundaryLayerInletEpsilonFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &)
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 &)
Foam::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...