33 void Foam::rotatingPressureInletOutletVelocityFvPatchVectorField::
34 calcTangentialVelocity()
36 const scalar t = this->db().time().timeOutputValue();
37 vector om = omega_->value(t);
42 (-om) ^ (patch().Cf() - axisHat*(axisHat & patch().Cf()))
74 omega_(ptf.omega_,
false)
76 calcTangentialVelocity();
91 calcTangentialVelocity();
102 omega_(rppvf.omega_,
false)
104 calcTangentialVelocity();
116 omega_(rppvf.omega_,
false)
118 calcTangentialVelocity();
131 omega_->writeData(os);
132 writeEntry(
"value", os);
Top level data entry class for use in dictionaries. Provides a mechanism to specify a variable as a c...
This velocity inlet/outlet boundary condition is applied to patches in a rotating frame where the pre...
A list of keyword definitions, which are a keyword followed by any number of values (e...
const vectorField & tangentialVelocity() const
Return the tangential velocity.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
rotatingPressureInletOutletVelocityFvPatchVectorField(const fvPatch &, const DimensionedField< vector, volMesh > &)
Construct from patch and internal field.
Vector< scalar > vector
A scalar version of the templated Vector.
virtual void write(Ostream &) const
Write.
Macros for easy insertion into run-time selection tables.
pressureInletOutletVelocityFvPatchVectorField(const fvPatch &, const DimensionedField< vector, volMesh > &)
Construct from patch and internal field.
makePatchTypeField(fvPatchVectorField, SRFFreestreamVelocityFvPatchVectorField)
Foam::fvPatchFieldMapper.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
Ostream & writeKeyword(const keyType &)
Write the keyword followed by an appropriate indentation.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
dimensioned< scalar > mag(const dimensioned< Type > &)
Field< vector > vectorField
Specialisation of Field<T> for vector.
const word & phiName() const
Return the name of phi.
virtual void write(Ostream &) const
Write.