Go to the documentation of this file.
49 inletOutletFvPatchVectorField(
p, iF),
62 inletOutletFvPatchVectorField(
p, iF),
65 phiName_ =
dict.getOrDefault<
word>(
"phi",
"phi");
67 refValue() =
U(
patch().Cf());
86 const atmBoundaryLayerInletVelocityFvPatchVectorField& pvf,
88 const DimensionedField<vector, volMesh>& iF,
89 const fvPatchFieldMapper& mapper
92 inletOutletFvPatchVectorField(pvf,
p, iF, mapper),
104 inletOutletFvPatchVectorField(pvf, iF),
120 inletOutletFvPatchVectorField::updateCoeffs();
129 inletOutletFvPatchVectorField::autoMap(m);
140 inletOutletFvPatchVectorField::rmap(pvf, addr);
143 refCast<const atmBoundaryLayerInletVelocityFvPatchVectorField>(pvf);
152 os.writeEntryIfDifferent<
word>(
"phi",
"phi", phiName_);
154 writeEntry(
"value",
os);
163 atmBoundaryLayerInletVelocityFvPatchVectorField
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
virtual void write(Ostream &) const
virtual void write(Ostream &) const
A class for handling words, derived from Foam::string.
static constexpr const zero Zero
virtual void rmap(const fvPatchVectorField &, const labelList &)
Base class to set log-law type ground-normal inlet boundary conditions for wind velocity and turbulen...
Field< vector > vectorField
Specialisation of Field<T> for vector.
tmp< vectorField > U(const vectorField &pCf) const
void write(Ostream &) const
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
This boundary condition provides a log-law type ground-normal inlet boundary condition for the stream...
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.
void operator=(const Field< Type > &)
fvPatchField< vector > fvPatchVectorField
void autoMap(const fvPatchFieldMapper &)
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
virtual void updateCoeffs()
void rmap(const atmBoundaryLayer &, const labelList &)
virtual void autoMap(const fvPatchFieldMapper &)
Foam::fvPatchFieldMapper.
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
atmBoundaryLayerInletVelocityFvPatchVectorField(const fvPatch &, const DimensionedField< vector, volMesh > &)
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...