40 fixedValueFvPatchVectorField(p, iF),
54 fixedValueFvPatchVectorField(ptf, p, iF, mapper),
55 relative_(ptf.relative_),
56 inletValue_(ptf.inletValue_, mapper)
67 fixedValueFvPatchVectorField(p, iF, dict),
68 relative_(dict.
lookup(
"relative")),
69 inletValue_(
"inletValue", dict, p.
size())
78 fixedValueFvPatchVectorField(srfvpvf),
79 relative_(srfvpvf.relative_),
80 inletValue_(srfvpvf.inletValue_)
90 fixedValueFvPatchVectorField(srfvpvf, iF),
91 relative_(srfvpvf.relative_),
92 inletValue_(srfvpvf.inletValue_)
103 vectorField::autoMap(m);
104 inletValue_.autoMap(m);
114 fixedValueFvPatchVectorField::rmap(ptf, addr);
117 refCast<const SRFVelocityFvPatchVectorField>(ptf);
119 inletValue_.
rmap(tiptf.inletValue_, addr);
149 fixedValueFvPatchVectorField::updateCoeffs();
158 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.
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
void writeEntry(const word &keyword, Ostream &os) const
Write the field as a dictionary entry.
virtual void write(Ostream &) const
Write.
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.
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...
virtual void write(Ostream &) const
Write.
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...
makePatchTypeField(fvPatchScalarField, atmBoundaryLayerInletEpsilonFvPatchScalarField)
virtual void rmap(const fvPatchVectorField &, const labelList &)
Reverse map the given fvPatchField onto this fvPatchField.
Top level model for single rotating frame.
vectorField velocity(const vectorField &positions) const
Return velocity vector from positions.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
Velocity condition to be used in conjunction with the single rotating frame (SRF) model (see: SRFMode...