Go to the documentation of this file.
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_)
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);
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.
A simple wrapper around bool so that it can be read as a word: true/false, on/off,...
static constexpr const zero Zero
Global zero (0)
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
vectorField velocity(const vectorField &positions) const
Return velocity vector from positions.
Top level model for single rotating frame.
tmp< faMatrix< Type > > operator==(const faMatrix< Type > &, const faMatrix< 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.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
OBJstream os(runTime.globalPath()/outputName)
Macros for easy insertion into run-time selection tables.
const std::string patch
OpenFOAM patch number as a std::string.
virtual void write(Ostream &) const
Write.
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...
Foam::fvPatchFieldMapper.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
makePatchTypeField(fvPatchScalarField, atmBoundaryLayerInletEpsilonFvPatchScalarField)
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...