Go to the documentation of this file.
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();
95 calcTangentialVelocity();
106 omega_(rppvf.omega_.clone())
108 calcTangentialVelocity();
120 omega_(rppvf.omega_.clone())
122 calcTangentialVelocity();
135 omega_->writeData(
os);
136 writeEntry(
"value",
os);
147 rotatingPressureInletOutletVelocityFvPatchVectorField
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 > &)
virtual void write(Ostream &) const
A class for handling words, derived from Foam::string.
const vectorField & tangentialVelocity() const
Top level data entry class for use in dictionaries. Provides a mechanism to specify a variable as a c...
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.
Vector< scalar > vector
A scalar version of the templated Vector.
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tdf1, const word &name, const dimensionSet &dimensions)
fvPatchField< vector > fvPatchVectorField
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
This velocity inlet/outlet boundary condition is applied to patches in a rotating frame where the pre...
Ostream & writeEntry(const keyType &key, const T &value)
Foam::fvPatchFieldMapper.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
makePatchTypeField(fvPatchScalarField, atmBoundaryLayerInletEpsilonFvPatchScalarField)
T getOrDefault(const word &keyword, const T &deflt, enum keyType::option matchOpt=keyType::REGEX) const
virtual void write(Ostream &) const
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
This velocity inlet/outlet boundary condition is applied to velocity boundaries where the pressure is...