Go to the documentation of this file.
59 origin_(
dict.lookup(
"origin")),
60 axis_(
dict.lookup(
"axis")),
63 if (
dict.found(
"value"))
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);
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,...
OBJstream os(runTime.globalPath()/outputName)
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.