92 #ifndef swirlFlowRateInletVelocityFvPatchVectorField_H
93 #define swirlFlowRateInletVelocityFvPatchVectorField_H
107 class swirlFlowRateInletVelocityFvPatchVectorField
109 public fixedValueFvPatchVectorField
120 autoPtr<Function1<scalar>> flowRate_;
129 const scalar rhoInlet_;
132 autoPtr<Function2<scalar>> radialVelocity_;
135 autoPtr<Function1s::omega> omega_;
138 autoPtr<Function2<scalar>> tangentialVelocity_;
144 template<
class RhoType>
145 void updateValues(
const RhoType&
rho);
151 TypeName(
"swirlFlowRateInletVelocity");
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
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.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
Velocity inlet boundary condition creating a normal velocity field to match the specified mass or vol...
virtual tmp< fvPatchVectorField > clone(const DimensionedField< vector, volMesh > &iF) const
Construct and return a clone setting internal field reference.
swirlFlowRateInletVelocityFvPatchVectorField(const fvPatch &, const DimensionedField< vector, volMesh > &, const dictionary &)
Construct from patch, internal field and dictionary.
virtual void write(Ostream &) const
Write.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
TypeName("swirlFlowRateInletVelocity")
Runtime type information.
A class for managing temporary objects.
Vector< scalar > vector
A scalar version of the templated Vector.