40 fixedValueFvPatchVectorField(p, iF),
54 fixedValueFvPatchVectorField(ptf, p, iF, mapper),
55 relative_(ptf.relative_),
56 inletValue_(ptf.inletValue_, mapper)
67 fixedValueFvPatchVectorField(p, iF),
68 relative_(dict.
lookup(
"relative")),
69 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_)
105 vectorField::autoMap(m);
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);
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
SRFVelocityFvPatchVectorField(const fvPatch &, const DimensionedField< vector, volMesh > &)
Construct from patch and internal field.
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...
volVectorField vectorField(fieldObject, mesh)
Macros for easy insertion into run-time selection tables.
virtual void autoMap(const fvPatchFieldMapper &)
Map (and resize as needed) from self given a mapping object.
makePatchTypeField(fvPatchVectorField, SRFFreestreamVelocityFvPatchVectorField)
vectorField velocity(const vectorField &positions) const
Return velocity vector from positions.
virtual void write(Ostream &) const
Write.
tmp< fvMatrix< Type > > operator==(const fvMatrix< Type > &, const fvMatrix< Type > &)
Foam::fvPatchFieldMapper.
virtual label size() const
Return size.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
Ostream & writeKeyword(const keyType &)
Write the keyword followed by an appropriate indentation.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
virtual void rmap(const fvPatchVectorField &, const labelList &)
Reverse map the given fvPatchField onto this fvPatchField.
Top level model for single rotating frame.
virtual void write(Ostream &) const
Write.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
Freestream velocity condition to be used in conjunction with the single rotating frame (SRF) model (s...