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);
127 inletVelocity_.rmap(tiptf.inletVelocity_, addr);
141 fixedValueFvPatchVectorField::updateCoeffs();
148 os.writeEntryIfDifferent<
word>(
"alpha",
"alpha", alphaName_);
149 inletVelocity_.writeEntry(
"inletVelocity",
os);
161 interstitialInletVelocityFvPatchVectorField
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,...
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
A FieldMapper for finite-volume patch fields.
virtual void write(Ostream &) const
Write.
void writeValueEntry(Ostream &os) const
Write *this field as a "value" entry.
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 write(Ostream &) const
Write.
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.
interstitialInletVelocityFvPatchVectorField(const fvPatch &, const DimensionedField< vector, volMesh > &)
Construct from patch and internal field.
A class for handling words, derived from Foam::string.
OBJstream os(runTime.globalPath()/outputName)
#define makePatchTypeField(PatchTypeField, typePatchTypeField)
Define a concrete fvPatchField type and add to run-time tables Example, (fvPatchScalarField,...
Type & refCast(U &obj)
A dynamic_cast (for references) to Type reference.
List< label > labelList
A List of labels.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
tmp< faMatrix< Type > > operator==(const faMatrix< Type > &, const faMatrix< Type > &)
static constexpr const zero Zero
Global zero (0).
fvPatchField< vector > fvPatchVectorField