Go to the documentation of this file.
58 origin_(
dict.lookup(
"origin")),
59 axis_(
dict.lookup(
"axis")),
62 if (
dict.found(
"value"))
89 omega_(ptf.omega_.clone())
100 origin_(rwvpvf.origin_),
102 omega_(rwvpvf.omega_.clone())
114 origin_(rwvpvf.origin_),
116 omega_(rwvpvf.omega_.clone())
129 const scalar t = this->db().time().timeOutputValue();
130 scalar
om = omega_->value(t);
135 (-
om)*((
patch().Cf() - origin_) ^ (axis_/
mag(axis_)))
143 fixedValueFvPatchVectorField::updateCoeffs();
152 omega_->writeData(os);
153 writeEntry(
"value", os);
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
virtual void write(Ostream &) const
Write.
This boundary condition provides a rotational velocity condition.
static constexpr const zero Zero
Global zero (0)
rotatingWallVelocityFvPatchVectorField(const fvPatch &, const DimensionedField< vector, volMesh > &)
Construct from patch and internal field.
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.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Macros for easy insertion into run-time selection tables.
void operator=(const Field< vector > &)
Copy assignment.
const std::string patch
OpenFOAM patch number as a std::string.
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
Ostream & writeEntry(const keyType &key, const T &value)
Write a keyword/value entry.
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
Write.