41 fixedValueFvPatchVectorField(p, iF),
55 fixedValueFvPatchVectorField(p, iF, dict),
56 inletVelocity_(
"inletVelocity", dict, p.
size()),
70 fixedValueFvPatchVectorField(ptf, p, iF, mapper),
71 inletVelocity_(mapper(ptf.inletVelocity_)),
72 alphaName_(ptf.alphaName_)
83 fixedValueFvPatchVectorField(ptf, iF),
84 inletVelocity_(ptf.inletVelocity_),
85 alphaName_(ptf.alphaName_)
96 fixedValueFvPatchVectorField::autoMap(m);
97 m(inletVelocity_, inletVelocity_);
107 fixedValueFvPatchVectorField::rmap(ptf, addr);
110 refCast<const interstitialInletVelocityFvPatchVectorField>(ptf);
112 inletVelocity_.
rmap(tiptf.inletVelocity_, addr);
121 fixedValueFvPatchVectorField::reset(ptf);
124 refCast<const interstitialInletVelocityFvPatchVectorField>(ptf);
126 inletVelocity_.
reset(tiptf.inletVelocity_);
141 fixedValueFvPatchVectorField::updateCoeffs();
148 writeEntryIfDifferent<word>(os,
"alpha",
"alpha", alphaName_);
149 writeEntry(os,
"inletVelocity", inletVelocity_);
A list of keyword definitions, which are a keyword followed by any number of values (e...
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
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.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
tmp< fvMatrix< Type > > operator==(const fvMatrix< Type > &, const fvMatrix< Type > &)
A class for handling words, derived from string.
Foam::fvPatchFieldMapper.
virtual label size() const
Return size.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
void writeEntry(Ostream &os, const HashTable< T, Key, Hash > &ht)
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
virtual void write(Ostream &) const
Write.
T lookupOrDefault(const word &, const T &, bool recursive=false, bool patternMatch=true) const
Find and return a T,.
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...
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.
makePatchTypeField(fvPatchScalarField, atmBoundaryLayerInletEpsilonFvPatchScalarField)
virtual void reset(const fvPatchVectorField &)
Reset the fvPatchField to the given fvPatchField.