Go to the documentation of this file.
43 fixedValueFvPatchVectorField(
p, iF),
44 inletVelocity_(
p.size(),
Zero),
58 fixedValueFvPatchVectorField(ptf,
p, iF, mapper),
59 inletVelocity_(ptf.inletVelocity_, mapper),
60 alphaName_(ptf.alphaName_)
72 fixedValueFvPatchVectorField(
p, iF,
dict),
73 inletVelocity_(
"inletVelocity",
dict,
p.size()),
74 alphaName_(
dict.lookupOrDefault<
word>(
"alpha",
"alpha"))
84 fixedValueFvPatchVectorField(ptf),
85 inletVelocity_(ptf.inletVelocity_),
86 alphaName_(ptf.alphaName_)
97 fixedValueFvPatchVectorField(ptf, iF),
98 inletVelocity_(ptf.inletVelocity_),
99 alphaName_(ptf.alphaName_)
110 fixedValueFvPatchVectorField::autoMap(m);
111 inletVelocity_.autoMap(m);
121 fixedValueFvPatchVectorField::rmap(ptf, addr);
124 refCast<const interstitialInletVelocityFvPatchVectorField>(ptf);
126 inletVelocity_.rmap(tiptf.inletVelocity_, addr);
141 fixedValueFvPatchVectorField::updateCoeffs();
149 inletVelocity_.writeEntry(
"inletVelocity", os);
150 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.
A class for handling words, derived from Foam::string.
static constexpr const zero Zero
Global zero.
virtual void rmap(const fvPatchVectorField &, const labelList &)
Reverse map the given fvPatchField onto this fvPatchField.
tmp< faMatrix< Type > > operator==(const faMatrix< Type > &, const faMatrix< Type > &)
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
virtual void autoMap(const fvPatchFieldMapper &)
Map (and resize as needed) from self given a mapping object.
Macros for easy insertion into run-time selection tables.
Inlet velocity in which the actual interstitial velocity is calculated by dividing the specified inle...
const std::string patch
OpenFOAM patch number as a std::string.
Foam::fvPatchFieldMapper.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
virtual void write(Ostream &) const
Write.
makePatchTypeField(fvPatchScalarField, atmBoundaryLayerInletEpsilonFvPatchScalarField)
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
interstitialInletVelocityFvPatchVectorField(const fvPatch &, const DimensionedField< vector, volMesh > &)
Construct from patch and internal field.