44 fixedValueFvPatchVectorField(
p, iF),
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);
122 fixedValueFvPatchVectorField::rmap(ptf, addr);
125 refCast<const interstitialInletVelocityFvPatchVectorField>(ptf);
127 inletVelocity_.
rmap(tiptf.inletVelocity_, addr);
141 fixedValueFvPatchVectorField::updateCoeffs();
149 inletVelocity_.writeEntry(
"inletVelocity",
os);
161 interstitialInletVelocityFvPatchVectorField
fvPatchField< vector > fvPatchVectorField
A list of keyword definitions, which are a keyword followed by a number of values (eg...
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
void writeValueEntry(Ostream &os) const
Write *this field as a "value" entry.
virtual void write(Ostream &) const
Write.
Macros for easy insertion into run-time selection tables.
interstitialInletVelocityFvPatchVectorField(const fvPatch &, const DimensionedField< vector, volMesh > &)
Construct from patch and internal field.
A class for handling words, derived from Foam::string.
A FieldMapper for finite-volume patch fields.
Ostream & writeEntryIfDifferent(const word &key, const T &value1, const T &value2)
Write a keyword/value entry only when the two values differ.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
OBJstream os(runTime.globalPath()/outputName)
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
void autoMap(const FieldMapper &map, const bool applyFlip=true)
Map from self.
virtual void write(Ostream &) const
Write.
Inlet velocity in which the actual interstitial velocity is calculated by dividing the specified inle...
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
const std::string patch
OpenFOAM patch number as a std::string.
virtual void autoMap(const fvPatchFieldMapper &)
Map (and resize as needed) from self given a mapping object.
tmp< faMatrix< Type > > operator==(const faMatrix< Type > &, const faMatrix< Type > &)
virtual void rmap(const fvPatchVectorField &, const labelList &)
Reverse map the given fvPatchField onto this fvPatchField.
makePatchTypeField(fvPatchScalarField, atmBoundaryLayerInletEpsilonFvPatchScalarField)
static constexpr const zero Zero
Global zero (0)