FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

swirlFlowRateInletVelocityFvPatchVectorField Class Reference

Describes a volumetric/mass flow normal vector boundary condition by its magnitude as an integral over its area with a swirl component determined by the RPM. More...

#include <finiteVolume/swirlFlowRateInletVelocityFvPatchVectorField.H>


Detailed Description

Describes a volumetric/mass flow normal vector boundary condition by its magnitude as an integral over its area with a swirl component determined by the RPM.

The basis of the patch (volumetric or mass) is determined by the dimensions of the flux, phi. The current density is used to correct the velocity when applying the mass basis.

Example of the boundary condition specification:

inlet
{
typeswirlFlowRateInletVelocity;
flowRate0.2;// Volumetric/mass flow rate [m3/s or kg/s]
rpm 100;
}
Note:
  • The value is positive inwards
Source files

Definition at line 69 of file swirlFlowRateInletVelocityFvPatchVectorField.H.

Collaboration diagram for swirlFlowRateInletVelocityFvPatchVectorField:

List of all members.

Public Member Functions

 TypeName ("swirlFlowRateInletVelocity")
 Runtime type information.
 swirlFlowRateInletVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &)
 Construct from patch and internal field.
 swirlFlowRateInletVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &, const dictionary &)
 Construct from patch, internal field and dictionary.
 swirlFlowRateInletVelocityFvPatchVectorField (const swirlFlowRateInletVelocityFvPatchVectorField &, const fvPatch &, const DimensionedField< vector, volMesh > &, const fvPatchFieldMapper &)
 Construct by mapping given.
 swirlFlowRateInletVelocityFvPatchVectorField (const swirlFlowRateInletVelocityFvPatchVectorField &)
 Construct as copy.
virtual tmp< fvPatchVectorField >  clone () const
 Construct and return a clone.
 swirlFlowRateInletVelocityFvPatchVectorField (const swirlFlowRateInletVelocityFvPatchVectorField &, const DimensionedField< vector, volMesh > &)
 Construct as copy setting internal field reference.
virtual tmp< fvPatchVectorField >  clone (const DimensionedField< vector, volMesh > &iF) const
 Construct and return a clone setting internal field reference.
scalar  flowRate () const
 Return the flux.
virtual void  updateCoeffs ()
 Update the coefficients associated with the patch field.
virtual void  write (Ostream &) const
 Write.

Constructor & Destructor Documentation

Construct from patch and internal field.

Definition at line 38 of file swirlFlowRateInletVelocityFvPatchVectorField.C.

Referenced by swirlFlowRateInletVelocityFvPatchVectorField::clone().

swirlFlowRateInletVelocityFvPatchVectorField ( const fvPatch &   p,
const DimensionedField< vector, volMesh > &   iF,
const dictionary &   dict  
)

Construct from patch, internal field and dictionary.

Definition at line 72 of file swirlFlowRateInletVelocityFvPatchVectorField.C.

Construct by mapping given.

flowRateInletVelocityFvPatchVectorField onto a new patch

Definition at line 54 of file swirlFlowRateInletVelocityFvPatchVectorField.C.

Construct as copy setting internal field reference.

Definition at line 104 of file swirlFlowRateInletVelocityFvPatchVectorField.C.


Member Function Documentation

TypeName ( "swirlFlowRateInletVelocity"    )

Runtime type information.

virtual tmp<fvPatchVectorField> clone (  ) const [inline, virtual]
virtual tmp<fvPatchVectorField> clone ( const DimensionedField< vector, volMesh > &   iF  ) const [inline, virtual]

Construct and return a clone setting internal field reference.

Definition at line 146 of file swirlFlowRateInletVelocityFvPatchVectorField.H.

References swirlFlowRateInletVelocityFvPatchVectorField::swirlFlowRateInletVelocityFvPatchVectorField().

scalar flowRate (  ) const [inline]

Return the flux.

Definition at line 162 of file swirlFlowRateInletVelocityFvPatchVectorField.H.

void write ( Ostream &   os  ) const [virtual]

The documentation for this class was generated from the following files: