47 inletOutletFvPatchVectorField(
p, iF),
50 phiName_ =
dict.lookupOrDefault<
word>(
"phi",
"phi");
52 refValue() =
U(patch().Cf());
56 if (
dict.found(
"value"))
79 inletOutletFvPatchVectorField(pvf,
p, iF, mapper),
91 inletOutletFvPatchVectorField(pvf, iF),
104 inletOutletFvPatchVectorField::map(pvf, mapper);
107 refCast<const atmBoundaryLayerInletVelocityFvPatchVectorField>(pvf);
118 inletOutletFvPatchVectorField::reset(pvf);
121 refCast<const atmBoundaryLayerInletVelocityFvPatchVectorField>(pvf);
131 writeEntryIfDifferent<word>(os,
"phi",
"phi", phiName_);
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...
const dimensionSet & dimensions() const
Return dimensions.
void operator=(const Field< vector > &)
friend Ostream & operator(Ostream &, const Field< vector > &)
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
This boundary condition specifies a velocity inlet profile appropriate for atmospheric boundary layer...
atmBoundaryLayerInletVelocityFvPatchVectorField(const fvPatch &, const DimensionedField< vector, volMesh > &, const dictionary &)
Construct from patch, internal field and dictionary.
virtual void write(Ostream &) const
Write.
virtual void reset(const fvPatchVectorField &)
Reset the fvPatchField to the given fvPatchField.
virtual void map(const fvPatchVectorField &, const fieldMapper &)
Map the given fvPatchField onto this fvPatchField.
This class provides functions to evaluate the velocity and turbulence distributions appropriate for a...
void map(const atmBoundaryLayer &, const fieldMapper &)
Map the given atmBoundaryLayer onto this atmBoundaryLayer.
void reset(const atmBoundaryLayer &)
Reset the atmBoundaryLayer to the given atmBoundaryLayer.
void write(Ostream &) const
Write.
tmp< vectorField > U(const vectorField &p) const
Return the velocity distribution for the ATM.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Abstract base class for field mapping.
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
virtual void write(Ostream &) const
Write.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
A class for handling words, derived from string.
void writeEntry(Ostream &os, const HashTable< T, Key, Hash > &ht)
Field< vector > vectorField
Specialisation of Field<T> for vector.
makePatchTypeField(fvPatchScalarField, atmBoundaryLayerInletEpsilonFvPatchScalarField)