33 void Foam::rotatingPressureInletOutletVelocityFvPatchVectorField::
34 calcTangentialVelocity()
36 const scalar t = this->db().time().timeOutputValue();
42 (-om) ^ (patch().Cf() - axisHat*(axisHat & patch().Cf()))
46 refValue() = tangentialVelocity -
n*(
n & tangentialVelocity);
75 calcTangentialVelocity();
89 omega_(ptf.omega_,
false)
91 calcTangentialVelocity();
103 omega_(rppvf.omega_,
false)
105 calcTangentialVelocity();
Run-time selectable general function of one variable.
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...
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.
const word & phiName() const
Return the name of phi.
virtual Type value(const scalar x) const =0
Return value as a function of scalar x.
Foam::fvPatchFieldMapper.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
void writeEntry(Ostream &os, const HashTable< T, Key, Hash > &ht)
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.
virtual void write(Ostream &) const
Write.
makePatchTypeField(fvPatchScalarField, atmBoundaryLayerInletEpsilonFvPatchScalarField)