Go to the documentation of this file.
49 inletOutletFvPatchScalarField(
p, iF),
62 inletOutletFvPatchScalarField(
p, iF),
67 refValue() =
k(
patch().Cf());
92 inletOutletFvPatchScalarField(psf,
p, iF, mapper),
104 inletOutletFvPatchScalarField(psf, iF),
118 refValue() =
k(
patch().Cf());
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);
virtual void write(Ostream &) const
Write.
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
Return the turbulent kinetic energy distribution for the ATM.
virtual void write(Ostream &) const
Write.
void write(Ostream &) const
Write.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
atmBoundaryLayerInletKFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &)
Construct from patch and internal field.
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()
Update the coefficients associated with the patch field.
void operator=(const Field< scalar > &)
Copy assignment.
const std::string patch
OpenFOAM patch number as a std::string.
void autoMap(const fvPatchFieldMapper &)
Map (and resize as needed) from self given a mapping object.
label k
Boltzmann constant.
void rmap(const atmBoundaryLayer &, const labelList &)
Reverse map the given fvPatchField onto this fvPatchField.
virtual void rmap(const fvPatchScalarField &, const labelList &)
Reverse map the given fvPatchField onto this fvPatchField.
Foam::fvPatchFieldMapper.
virtual void autoMap(const fvPatchFieldMapper &)
Map (and resize as needed) from self given a mapping object.
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...