Go to the documentation of this file.
40 fixedValueFvPatchVectorField(
p, iF),
42 inletValue_(
p.size(), vector::zero)
54 fixedValueFvPatchVectorField(ptf,
p, iF, mapper),
67 fixedValueFvPatchVectorField(
p, iF),
68 relative_(
dict.lookup(
"relative")),
69 inletValue_(
"inletValue",
dict,
p.size())
80 fixedValueFvPatchVectorField(srfvpvf),
92 fixedValueFvPatchVectorField(srfvpvf, iF),
105 vectorField::autoMap(m);
106 inletValue_.autoMap(m);
116 fixedValueFvPatchVectorField::rmap(ptf, addr);
119 refCast<const SRFVelocityFvPatchVectorField>(ptf);
151 fixedValueFvPatchVectorField::updateCoeffs();
159 inletValue_.writeEntry(
"inletValue", os);
160 writeEntry(
"value", os);
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
SRFVelocityFvPatchVectorField(const fvPatch &, const DimensionedField< vector, volMesh > &)
Construct from patch and internal field.
virtual void write(Ostream &) const
Write.
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.
tmp< fvMatrix< Type > > operator==(const fvMatrix< Type > &, const fvMatrix< Type > &)
vectorField velocity(const vectorField &positions) const
Return velocity vector from positions.
Top level model for single rotating frame.
vectorField inletValue_
Inlet value [m/s].
Pre-declare SubField and related Field type.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
virtual void autoMap(const fvPatchFieldMapper &)
Map (and resize as needed) from self given a mapping object.
volVectorField vectorField(fieldObject, mesh)
A list of keyword definitions, which are a keyword followed by any number of values (e....
Macros for easy insertion into run-time selection tables.
makePatchTypeField(fvPatchVectorField, SRFFreestreamVelocityFvPatchVectorField)
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
Switch relative_
Is the supplied inlet value relative to the SRF.
virtual void write(Ostream &) const
Write.
Ostream & writeKeyword(const keyType &)
Write the keyword followed by an appropriate indentation.
Velocity condition to be used in conjunction with the single rotating frame (SRF) model (see: SRFMode...
Foam::fvPatchFieldMapper.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...