Go to the documentation of this file.
44 fixedValueFvPatchVectorField(
p, iF),
45 inletVelocity_(
p.size(),
Zero),
59 fixedValueFvPatchVectorField(ptf,
p, iF, mapper),
60 inletVelocity_(ptf.inletVelocity_, mapper),
61 alphaName_(ptf.alphaName_)
73 fixedValueFvPatchVectorField(
p, iF,
dict),
74 inletVelocity_(
"inletVelocity",
dict,
p.size()),
75 alphaName_(
dict.getOrDefault<
word>(
"alpha",
"alpha"))
85 fixedValueFvPatchVectorField(ptf),
86 inletVelocity_(ptf.inletVelocity_),
87 alphaName_(ptf.alphaName_)
98 fixedValueFvPatchVectorField(ptf, iF),
99 inletVelocity_(ptf.inletVelocity_),
100 alphaName_(ptf.alphaName_)
111 fixedValueFvPatchVectorField::autoMap(m);
112 inletVelocity_.autoMap(m);
122 fixedValueFvPatchVectorField::rmap(ptf, addr);
125 refCast<const interstitialInletVelocityFvPatchVectorField>(ptf);
127 inletVelocity_.rmap(tiptf.inletVelocity_, addr);
142 fixedValueFvPatchVectorField::updateCoeffs();
150 inletVelocity_.writeEntry(
"inletVelocity",
os);
151 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 (0)
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.
OBJstream os(runTime.globalPath()/outputName)
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.