37Foam::interstitialInletVelocityFvPatchVectorField::
38interstitialInletVelocityFvPatchVectorField
44 fixedValueFvPatchVectorField(
p, iF),
45 inletVelocity_(
p.size(), Zero),
50Foam::interstitialInletVelocityFvPatchVectorField::
51interstitialInletVelocityFvPatchVectorField
59 fixedValueFvPatchVectorField(ptf,
p, iF, mapper),
60 inletVelocity_(ptf.inletVelocity_, mapper),
61 alphaName_(ptf.alphaName_)
65Foam::interstitialInletVelocityFvPatchVectorField::
66interstitialInletVelocityFvPatchVectorField
73 fixedValueFvPatchVectorField(
p, iF,
dict),
74 inletVelocity_(
"inletVelocity",
dict,
p.size()),
75 alphaName_(
dict.getOrDefault<
word>(
"alpha",
"alpha"))
79Foam::interstitialInletVelocityFvPatchVectorField::
80interstitialInletVelocityFvPatchVectorField
85 fixedValueFvPatchVectorField(ptf),
86 inletVelocity_(ptf.inletVelocity_),
87 alphaName_(ptf.alphaName_)
91Foam::interstitialInletVelocityFvPatchVectorField::
92interstitialInletVelocityFvPatchVectorField
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);
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...
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Ostream & writeEntryIfDifferent(const word &key, const T &value1, const T &value2)
Write a keyword/value entry only when the two values differ.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
virtual bool write()
Write the output fields.
A FieldMapper for finite-volume patch fields.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
Inlet velocity in which the actual interstitial velocity is calculated by dividing the specified inle...
virtual void autoMap(const fvPatchFieldMapper &)
Map (and resize as needed) from self given a mapping object.
virtual void rmap(const fvPatchVectorField &, const labelList &)
Reverse map the given fvPatchField onto this fvPatchField.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
A class for handling words, derived from Foam::string.
OBJstream os(runTime.globalPath()/outputName)
#define makePatchTypeField(PatchTypeField, typePatchTypeField)
GeometricField< scalar, fvPatchField, volMesh > volScalarField
tmp< faMatrix< Type > > operator==(const faMatrix< Type > &, const faMatrix< Type > &)