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);
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.
virtual void write(Ostream &) const
Write.
A class for handling words, derived from Foam::string.
const vectorField & tangentialVelocity() const
Return the tangential velocity.
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.
const std::string patch
OpenFOAM patch number as a std::string.
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...
static const word null
An empty word.
Ostream & writeEntry(const keyType &key, const T &value)
Write a keyword/value entry.
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
Write.
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...