36Foam::rotatingWallVelocityFvPatchVectorField::
37rotatingWallVelocityFvPatchVectorField
50Foam::rotatingWallVelocityFvPatchVectorField::
51rotatingWallVelocityFvPatchVectorField
78Foam::rotatingWallVelocityFvPatchVectorField::
79rotatingWallVelocityFvPatchVectorField
90 omega_(ptf.omega_.clone())
94Foam::rotatingWallVelocityFvPatchVectorField::
95rotatingWallVelocityFvPatchVectorField
101 origin_(rwvpvf.origin_),
103 omega_(rwvpvf.omega_.clone())
107Foam::rotatingWallVelocityFvPatchVectorField::
108rotatingWallVelocityFvPatchVectorField
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);
Macros for easy insertion into run-time selection tables.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
void operator=(const Field< vector > &)
Copy assignment.
Top level data entry class for use in dictionaries. Provides a mechanism to specify a variable as a c...
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Ostream & writeEntry(const keyType &key, const T &value)
Write a keyword/value entry.
void size(const label n)
Older name for setAddressableSize.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
bool found(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
Search for an entry (const access) with the given keyword.
This boundary condition supplies a fixed value constraint, and is the base class for a number of othe...
virtual bool write()
Write the output fields.
A FieldMapper for finite-volume patch fields.
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
Lookup type of boundary radiation properties.
This boundary condition provides a rotational velocity condition.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
OBJstream os(runTime.globalPath()/outputName)
#define makePatchTypeField(PatchTypeField, typePatchTypeField)
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
Field< vector > vectorField
Specialisation of Field<T> for vector.
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh > > &tdf1, const word &name, const dimensionSet &dimensions)
Global function forwards to reuseTmpDimensionedField::New.