41 fixedValueFvPatchVectorField(p, iF),
56 fixedValueFvPatchVectorField(ptf, p, iF, mapper),
57 inletVelocity_(ptf.inletVelocity_, mapper),
58 alphaName_(ptf.alphaName_)
70 fixedValueFvPatchVectorField(p, iF, dict),
71 inletVelocity_(
"inletVelocity", dict, p.
size()),
82 fixedValueFvPatchVectorField(ptf),
83 inletVelocity_(ptf.inletVelocity_),
84 alphaName_(ptf.alphaName_)
95 fixedValueFvPatchVectorField(ptf, iF),
96 inletVelocity_(ptf.inletVelocity_),
97 alphaName_(ptf.alphaName_)
108 fixedValueFvPatchVectorField::autoMap(m);
109 inletVelocity_.autoMap(m);
119 fixedValueFvPatchVectorField::rmap(ptf, addr);
122 refCast<const interstitialInletVelocityFvPatchVectorField>(ptf);
124 inletVelocity_.
rmap(tiptf.inletVelocity_, addr);
139 fixedValueFvPatchVectorField::updateCoeffs();
146 writeEntryIfDifferent<word>(os,
"alpha",
"alpha", alphaName_);
147 inletVelocity_.
writeEntry(
"inletVelocity", os);
148 writeEntry(
"value", os);
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.
void writeEntry(const word &keyword, Ostream &os) const
Write the field as a dictionary entry.
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
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
makePatchTypeField(fvPatchVectorField, SRFFreestreamVelocityFvPatchVectorField)
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...
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
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 write(Ostream &) const
Write.
virtual void rmap(const fvPatchVectorField &, const labelList &)
Reverse map the given fvPatchField onto this fvPatchField.
T lookupOrDefault(const word &, const T &, bool recursive=false, bool patternMatch=true) const
Find and return a T,.
virtual void write(Ostream &) const
Write.