Go to the documentation of this file.
48 inletOutletFvPatchVectorField(
p, iF),
61 inletOutletFvPatchVectorField(
p, iF),
66 refValue() =
U(
patch().Cf());
90 inletOutletFvPatchVectorField(pvf,
p, iF, mapper),
102 inletOutletFvPatchVectorField(pvf, iF),
116 refValue() =
U(
patch().Cf());
118 inletOutletFvPatchVectorField::updateCoeffs();
127 inletOutletFvPatchVectorField::autoMap(m);
138 inletOutletFvPatchVectorField::rmap(pvf, addr);
141 refCast<const atmBoundaryLayerInletVelocityFvPatchVectorField>(pvf);
152 writeEntry(
"value", os);
virtual void write(Ostream &) const
Write.
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.
A class for handling words, derived from Foam::string.
static constexpr const zero Zero
Global zero.
bool found(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
Search for an entry (const access) with the given keyword.
tmp< vectorField > U(const vectorField &p) const
Return the velocity distribution for the ATM.
virtual void rmap(const fvPatchVectorField &, const labelList &)
Reverse map the given fvPatchField onto this fvPatchField.
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
Field< vector > vectorField
Specialisation of Field<T> for vector.
void write(Ostream &) const
Write.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
This boundary condition specifies a velocity inlet profile appropriate for atmospheric boundary layer...
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.
void operator=(const Field< vector > &)
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.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
void rmap(const atmBoundaryLayer &, const labelList &)
Reverse map the given fvPatchField onto this fvPatchField.
virtual void autoMap(const fvPatchFieldMapper &)
Map (and resize as needed) from self given a mapping object.
Foam::fvPatchFieldMapper.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
makePatchTypeField(fvPatchScalarField, atmBoundaryLayerInletEpsilonFvPatchScalarField)
atmBoundaryLayerInletVelocityFvPatchVectorField(const fvPatch &, const DimensionedField< vector, volMesh > &)
Construct from patch and internal field.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...