42 fixedValueFvPatchVectorField(
p, iF),
44 inletValue_(
p.size(), Zero)
56 fixedValueFvPatchVectorField(ptf,
p, iF, mapper),
57 relative_(ptf.relative_),
58 inletValue_(ptf.inletValue_, mapper)
69 fixedValueFvPatchVectorField(
p, iF,
dict),
71 inletValue_(
"inletValue",
dict,
p.size())
80 fixedValueFvPatchVectorField(srfvpvf),
81 relative_(srfvpvf.relative_),
82 inletValue_(srfvpvf.inletValue_)
92 fixedValueFvPatchVectorField(srfvpvf, iF),
93 relative_(srfvpvf.relative_),
94 inletValue_(srfvpvf.inletValue_)
106 inletValue_.autoMap(m);
116 fixedValueFvPatchVectorField::rmap(ptf, addr);
119 refCast<const SRFVelocityFvPatchVectorField>(ptf);
121 inletValue_.rmap(tiptf.inletValue_, addr);
151 fixedValueFvPatchVectorField::updateCoeffs();
160 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...
void autoMap(const FieldMapper &map, const bool applyFlip=true)
Map from self.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Ostream & writeEntry(const keyType &key, const T &value)
Write a keyword/value entry.
Velocity condition to be used in conjunction with the single rotating frame (SRF) model (see: SRFMode...
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.
Top level model for single rotating frame.
vectorField velocity(const vectorField &positions) const
Return velocity vector from positions.
A simple wrapper around bool so that it can be read as a word: true/false, on/off,...
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.
OBJstream os(runTime.globalPath()/outputName)
#define makePatchTypeField(PatchTypeField, typePatchTypeField)
tmp< faMatrix< Type > > operator==(const faMatrix< Type > &, const faMatrix< Type > &)