41atmBoundaryLayerInletOmegaFvPatchScalarField::
42atmBoundaryLayerInletOmegaFvPatchScalarField
48 inletOutletFvPatchScalarField(
p, iF),
53atmBoundaryLayerInletOmegaFvPatchScalarField::
54atmBoundaryLayerInletOmegaFvPatchScalarField
61 inletOutletFvPatchScalarField(
p, iF),
66 refValue() =
omega(patch().Cf());
82atmBoundaryLayerInletOmegaFvPatchScalarField::
83atmBoundaryLayerInletOmegaFvPatchScalarField
91 inletOutletFvPatchScalarField(psf,
p, iF, mapper),
96atmBoundaryLayerInletOmegaFvPatchScalarField::
97atmBoundaryLayerInletOmegaFvPatchScalarField
103 inletOutletFvPatchScalarField(psf, iF),
117 refValue() =
omega(patch().Cf());
119 inletOutletFvPatchScalarField::updateCoeffs();
128 inletOutletFvPatchScalarField::autoMap(m);
139 inletOutletFvPatchScalarField::rmap(psf, addr);
142 refCast<const atmBoundaryLayerInletOmegaFvPatchScalarField>(psf);
153 writeEntry(
"value",
os);
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 > &)
Copy assignment.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Ostream & writeEntryIfDifferent(const word &key, const T &value1, const T &value2)
Write a keyword/value entry only when the two values differ.
void size(const label n)
Older name for setAddressableSize.
virtual void autoMap(const fvPatchFieldMapper &)
Map (and resize as needed) from self given a mapping object.
virtual void rmap(const fvPatchScalarField &, const labelList &)
Reverse map the given fvPatchField onto this fvPatchField.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
Base class to set log-law type ground-normal inlet boundary conditions for wind velocity and turbulen...
void autoMap(const fvPatchFieldMapper &)
Map (and resize as needed) from self given a mapping object.
void rmap(const atmBoundaryLayer &, const labelList &)
Reverse map the given fvPatchField onto this fvPatchField.
tmp< scalarField > omega(const vectorField &pCf) const
Return the specific dissipation rate distribution for the ATM.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
T getOrDefault(const word &keyword, const T &deflt, enum keyType::option matchOpt=keyType::REGEX) const
virtual bool write()
Write the output fields.
A FieldMapper for finite-volume patch fields.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
A class for handling words, derived from Foam::string.
OBJstream os(runTime.globalPath()/outputName)
#define makePatchTypeField(PatchTypeField, typePatchTypeField)
Field< scalar > scalarField
Specialisation of Field<T> for scalar.