36 void Foam::rotatingPressureInletOutletVelocityFvPatchVectorField::
37 calcTangentialVelocity()
39 const scalar t = this->db().time().timeOutputValue();
45 (-
om) ^ (
patch().Cf() - axisHat*(axisHat &
patch().Cf()))
77 omega_(ptf.omega_.clone())
79 calcTangentialVelocity();
94 calcTangentialVelocity();
105 omega_(rppvf.omega_.clone())
107 calcTangentialVelocity();
119 omega_(rppvf.omega_.clone())
121 calcTangentialVelocity();
134 omega_->writeData(
os);
146 rotatingPressureInletOutletVelocityFvPatchVectorField
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...
fvPatchField< vector > fvPatchVectorField
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
A list of keyword definitions, which are a keyword followed by a number of values (eg...
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tf1, const word &name, const dimensionSet &dimensions, const bool initCopy=false)
Global function forwards to reuseTmpDimensionedField::New.
rotatingPressureInletOutletVelocityFvPatchVectorField(const fvPatch &, const DimensionedField< vector, volMesh > &)
Construct from patch and internal field.
Ostream & writeEntry(const keyType &key, const T &value)
Write a keyword/value entry.
void writeValueEntry(Ostream &os) const
Write *this field as a "value" entry.
virtual void write(Ostream &) const
Write.
Macros for easy insertion into run-time selection tables.
const vectorField & tangentialVelocity() const
Return the tangential velocity.
This velocity inlet/outlet boundary condition is applied to velocity boundaries where the pressure is...
A FieldMapper for finite-volume patch fields.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...
OBJstream os(runTime.globalPath()/outputName)
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
const std::string patch
OpenFOAM patch number as a std::string.
Field< vector > vectorField
Specialisation of Field<T> for vector.
virtual void write(Ostream &) const
Write.
makePatchTypeField(fvPatchScalarField, atmBoundaryLayerInletEpsilonFvPatchScalarField)