33 void Foam::rotatingPressureInletOutletVelocityFvPatchVectorField::
34 calcTangentialVelocity()
36 const scalar
omega = omega_.
value(db().time().value());
40 (-
omega)*((patch().Cf() - origin_) ^ (axis_/
mag(axis_)))
62 omega_(db().time(),
dict)
64 calcTangentialVelocity();
82 calcTangentialVelocity();
98 calcTangentialVelocity();
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...
scalar value(const scalar t) const
Return value for time t.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
A list of keyword definitions, which are a keyword followed by any number of values (e....
Abstract base class for field mapping.
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
virtual void write(Ostream &) const
Write.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
Velocity inlet/outlet boundary condition for patches where the pressure is specified in some manner,...
const autoPtr< Function1< vector > > & tangentialVelocity() const
Return the tangential velocity Function1.
This velocity inlet/outlet boundary condition is applied to patches in a rotating frame where the pre...
virtual void write(Ostream &) const
Write.
rotatingPressureInletOutletVelocityFvPatchVectorField(const fvPatch &, const DimensionedField< vector, volMesh > &, const dictionary &)
Construct from patch, internal field and dictionary.
const dimensionSet dimless
const dimensionSet dimLength
void writeEntry(Ostream &os, const HashTable< T, Key, Hash > &ht)
dimensioned< scalar > mag(const dimensioned< Type > &)
Field< vector > vectorField
Specialisation of Field<T> for vector.
makePatchTypeField(fvPatchScalarField, atmBoundaryLayerInletEpsilonFvPatchScalarField)