Go to the documentation of this file.
63 if (
dict.found(
"value"))
81 const rotatingWallVelocityFvPatchVectorField& ptf,
83 const DimensionedField<vector, volMesh>& iF,
84 const fvPatchFieldMapper& mapper
87 fixedValueFvPatchField<
vector>(ptf,
p, iF, mapper),
90 omega_(ptf.omega_.clone())
101 origin_(rwvpvf.origin_),
103 omega_(rwvpvf.omega_.clone())
115 origin_(rwvpvf.origin_),
117 omega_(rwvpvf.omega_.clone())
130 const scalar t = this->db().time().timeOutputValue();
131 scalar
om = omega_->value(t);
136 (-
om)*((
patch().Cf() - origin_) ^ (axis_/
mag(axis_)))
144 fixedValueFvPatchVectorField::updateCoeffs();
153 omega_->writeData(
os);
154 writeEntry(
"value",
os);
165 rotatingWallVelocityFvPatchVectorField
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
virtual void write(Ostream &) const
This boundary condition provides a rotational velocity condition.
static constexpr const zero Zero
rotatingWallVelocityFvPatchVectorField(const fvPatch &, const DimensionedField< vector, volMesh > &)
Top level data entry class for use in dictionaries. Provides a mechanism to specify a variable as a c...
This boundary condition supplies a fixed value constraint, and is the base class for a number of othe...
Field< vector > vectorField
Specialisation of Field<T> for vector.
Generic templated field type.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
Lookup type of boundary radiation properties.
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.
Vector< scalar > vector
A scalar version of the templated Vector.
void operator=(const Field< Type > &)
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tdf1, const word &name, const dimensionSet &dimensions)
fvPatchField< vector > fvPatchVectorField
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
virtual void updateCoeffs()
Ostream & writeEntry(const keyType &key, const T &value)
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...
virtual void write(Ostream &) const