Go to the documentation of this file.
57 #ifndef ibSwirlFlowRateInletVelocityFvPatchVectorField_H
58 #define ibSwirlFlowRateInletVelocityFvPatchVectorField_H
72 public fixedValueFvPatchVectorField
109 TypeName(
"ibSwirlFlowRateInletVelocity");
A class for handling words, derived from string.
A class for managing temporary objects.
ibSwirlFlowRateInletVelocityFvPatchVectorField(const fvPatch &, const DimensionedField< vector, volMesh > &)
Construct from patch and internal field.
scalar totArea_
Total area of inlet patch.
virtual void write(Ostream &) const
Write.
virtual tmp< fvPatchVectorField > clone() const
Construct and return a clone.
TypeName("ibSwirlFlowRateInletVelocity")
Runtime type information.
scalar flowRate() const
Return the flux.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
vector avgCenter_
Average centre.
const word phiName_
Name of the flux transporting the field.
void calcGeom()
Calculate geometrical characteristics of the patch.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
vector avgNormal_
Average normal.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Describes a volumetric/mass flow normal vector boundary condition by its magnitude as an integral ove...
Foam::fvPatchFieldMapper.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
const scalar flowRate_
Inlet integral flow rate.
const word rhoName_
Name of the density field used to normalize the mass flux.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...