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_)
116 fixedValueFvPatchVectorField::rmap(ptf, addr);
119 refCast<const SRFVelocityFvPatchVectorField>(ptf);
121 inletValue_.
rmap(tiptf.inletValue_, addr);
136 const SRF::SRFModel& srf =
137 db().lookupObject<SRF::SRFModel>(
"SRFProperties");
151 fixedValueFvPatchVectorField::updateCoeffs();
171 SRFVelocityFvPatchVectorField
List< ReturnType > get(const UPtrList< T > &list, const AccessOp &aop)
List of values generated by applying the access operation to each list item.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
SRFVelocityFvPatchVectorField(const fvPatch &, const DimensionedField< vector, volMesh > &)
Construct from patch and internal field.
fvPatchField< vector > fvPatchVectorField
A list of keyword definitions, which are a keyword followed by a number of values (eg...
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
A simple wrapper around bool so that it can be read as a word: true/false, on/off, yes/no, any/none. Also accepts 0/1 as a string and shortcuts t/f, y/n.
Ostream & writeEntry(const keyType &key, const T &value)
Write a keyword/value entry.
void writeValueEntry(Ostream &os) const
Write *this field as a "value" 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.
A FieldMapper for finite-volume patch fields.
OBJstream os(runTime.globalPath()/outputName)
virtual void write(Ostream &) const
Write.
void autoMap(const FieldMapper &map, const bool applyFlip=true)
Map from self.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
const std::string patch
OpenFOAM patch number as a std::string.
Field< vector > vectorField
Specialisation of Field<T> for vector.
tmp< faMatrix< Type > > operator==(const faMatrix< Type > &, const faMatrix< Type > &)
makePatchTypeField(fvPatchScalarField, atmBoundaryLayerInletEpsilonFvPatchScalarField)
virtual void rmap(const fvPatchVectorField &, const labelList &)
Reverse map the given fvPatchField onto this fvPatchField.
static constexpr const zero Zero
Global zero (0)
Velocity condition to be used in conjunction with the single rotating frame (SRF) model (see: SRFMode...