Go to the documentation of this file.
48 inletOutletFvPatchScalarField(
p, iF),
61 inletOutletFvPatchScalarField(
p, iF),
66 refValue() =
k(
patch().Cf());
90 inletOutletFvPatchScalarField(psf,
p, iF, mapper),
102 inletOutletFvPatchScalarField(psf, iF),
116 refValue() =
k(
patch().Cf());
118 inletOutletFvPatchScalarField::updateCoeffs();
127 inletOutletFvPatchScalarField::autoMap(m);
138 inletOutletFvPatchScalarField::rmap(psf, addr);
141 refCast<const atmBoundaryLayerInletKFvPatchScalarField>(psf);
152 writeEntry(
"value", os);
virtual void write(Ostream &) const
Write.
Ostream & writeEntryIfDifferent(const word &key, const T &value1, const T &value2)
Write a keyword/value entry only when the two values differ.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
A class for handling words, derived from Foam::string.
This boundary condition specifies an inlet value for the turbulence kinetic energy,...
bool found(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
Search for an entry (const access) with the given keyword.
This class provides functions to evaluate the velocity and turbulence distributions appropriate for a...
T lookupOrDefault(const word &keyword, const T &deflt, enum keyType::option matchOpt=keyType::REGEX) const
tmp< scalarField > k(const vectorField &p) 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,...
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)
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...