40 fixedValueFvPatchVectorField(p, iF),
53 fixedValueFvPatchVectorField(p, iF, dict),
54 relative_(dict.
lookup(
"relative")),
55 inletValue_(
"inletValue", dict, p.
size())
67 fixedValueFvPatchVectorField(ptf, p, iF, mapper),
68 relative_(ptf.relative_),
69 inletValue_(mapper(ptf.inletValue_))
79 fixedValueFvPatchVectorField(srfvpvf, iF),
80 relative_(srfvpvf.relative_),
81 inletValue_(srfvpvf.inletValue_)
93 m(inletValue_, inletValue_);
103 fixedValueFvPatchVectorField::rmap(ptf, addr);
106 refCast<const SRFVelocityFvPatchVectorField>(ptf);
108 inletValue_.
rmap(tiptf.inletValue_, addr);
117 fixedValueFvPatchVectorField::reset(ptf);
120 refCast<const SRFVelocityFvPatchVectorField>(ptf);
122 inletValue_.
reset(tiptf.inletValue_);
152 fixedValueFvPatchVectorField::updateCoeffs();
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
SRFVelocityFvPatchVectorField(const fvPatch &, const DimensionedField< vector, volMesh > &)
Construct from patch and internal field.
virtual void reset(const fvPatchVectorField &)
Reset the fvPatchField to the given fvPatchField.
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...
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.
void writeEntry(Ostream &os, const HashTable< T, Key, Hash > &ht)
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...