36void Foam::rotatingPressureInletOutletVelocityFvPatchVectorField::
37calcTangentialVelocity()
39 const scalar t = this->db().time().timeOutputValue();
45 (-
om) ^ (
patch().Cf() - axisHat*(axisHat &
patch().Cf()))
55Foam::rotatingPressureInletOutletVelocityFvPatchVectorField::
56rotatingPressureInletOutletVelocityFvPatchVectorField
67Foam::rotatingPressureInletOutletVelocityFvPatchVectorField::
68rotatingPressureInletOutletVelocityFvPatchVectorField
77 omega_(ptf.omega_.clone())
79 calcTangentialVelocity();
83Foam::rotatingPressureInletOutletVelocityFvPatchVectorField::
84rotatingPressureInletOutletVelocityFvPatchVectorField
95 calcTangentialVelocity();
99Foam::rotatingPressureInletOutletVelocityFvPatchVectorField::
100rotatingPressureInletOutletVelocityFvPatchVectorField
106 omega_(rppvf.omega_.clone())
108 calcTangentialVelocity();
112Foam::rotatingPressureInletOutletVelocityFvPatchVectorField::
113rotatingPressureInletOutletVelocityFvPatchVectorField
120 omega_(rppvf.omega_.clone())
122 calcTangentialVelocity();
135 omega_->writeData(
os);
136 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...
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.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
T getOrDefault(const word &keyword, const T &deflt, enum keyType::option matchOpt=keyType::REGEX) const
virtual bool write()
Write the output fields.
A FieldMapper for finite-volume patch fields.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
This velocity inlet/outlet boundary condition is applied to velocity boundaries where the pressure is...
const vectorField & tangentialVelocity() const
Return the tangential velocity.
This velocity inlet/outlet boundary condition is applied to patches in a rotating frame where the pre...
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...
A class for handling words, derived from Foam::string.
static const word null
An empty word.
OBJstream os(runTime.globalPath()/outputName)
#define makePatchTypeField(PatchTypeField, typePatchTypeField)
const std::string patch
OpenFOAM patch number as a std::string.
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.