Public Member Functions | List of all members
swirlInletVelocityFvPatchVectorField Class Reference

This boundary condition describes an inlet vector boundary condition in swirl coordinates given a central axis, central point, axial, radial and tangential velocity profiles. More...

Inheritance diagram for swirlInletVelocityFvPatchVectorField:
Inheritance graph
[legend]
Collaboration diagram for swirlInletVelocityFvPatchVectorField:
Collaboration graph
[legend]

Public Member Functions

 TypeName ("swirlInletVelocity")
 
 swirlInletVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &)
 
 swirlInletVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &, const dictionary &)
 
 swirlInletVelocityFvPatchVectorField (const swirlInletVelocityFvPatchVectorField &, const fvPatch &, const DimensionedField< vector, volMesh > &, const fvPatchFieldMapper &)
 
 swirlInletVelocityFvPatchVectorField (const swirlInletVelocityFvPatchVectorField &)
 
virtual tmp< fvPatchVectorFieldclone () const
 
 swirlInletVelocityFvPatchVectorField (const swirlInletVelocityFvPatchVectorField &, const DimensionedField< vector, volMesh > &)
 
virtual tmp< fvPatchVectorFieldclone (const DimensionedField< vector, volMesh > &iF) const
 
virtual void updateCoeffs ()
 
virtual void write (Ostream &) const
 

Detailed Description

This boundary condition describes an inlet vector boundary condition in swirl coordinates given a central axis, central point, axial, radial and tangential velocity profiles.

Usage
Property Description Required Default value
axis Axis of rotation yes
origin Origin of rotation yes
axialVelocity Axial velocity profile [m/s] yes
radialVelocity Radial velocity profile [m/s] yes
tangentialVelocity tangential velocity profile [m/s] yes

Example of the boundary condition specification:

    <patchName>
    {
        type            swirlInletVelocity;
        axis            (0 0 1);
        origin          (0 0 0);
        axialVelocity   constant 30;
        radialVelocity  constant 10;
        tangentialVelocity  constant 100;
    }
Note
The axialVelocity, radialVelocity and tangentialVelocity entries are Function1 types, able to describe time varying functions. The example above gives the usage for supplying constant values.
See also
Foam::fixedValueFvPatchField Foam::Function1Types
Source files

Definition at line 113 of file swirlInletVelocityFvPatchVectorField.H.

Constructor & Destructor Documentation

◆ swirlInletVelocityFvPatchVectorField() [1/5]

Definition at line 29 of file swirlInletVelocityFvPatchVectorField.C.

Referenced by swirlInletVelocityFvPatchVectorField::clone().

Here is the caller graph for this function:

◆ swirlInletVelocityFvPatchVectorField() [2/5]

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

Definition at line 63 of file swirlInletVelocityFvPatchVectorField.C.

◆ swirlInletVelocityFvPatchVectorField() [3/5]

Definition at line 45 of file swirlInletVelocityFvPatchVectorField.C.

◆ swirlInletVelocityFvPatchVectorField() [4/5]

Definition at line 86 of file swirlInletVelocityFvPatchVectorField.C.

◆ swirlInletVelocityFvPatchVectorField() [5/5]

Definition at line 101 of file swirlInletVelocityFvPatchVectorField.C.

Member Function Documentation

◆ TypeName()

TypeName ( "swirlInletVelocity"  )

◆ clone() [1/2]

virtual tmp<fvPatchVectorField> clone ( ) const
inlinevirtual

Definition at line 176 of file swirlInletVelocityFvPatchVectorField.H.

References swirlInletVelocityFvPatchVectorField::swirlInletVelocityFvPatchVectorField().

Here is the call graph for this function:

◆ clone() [2/2]

virtual tmp<fvPatchVectorField> clone ( const DimensionedField< vector, volMesh > &  iF) const
inlinevirtual

Definition at line 193 of file swirlInletVelocityFvPatchVectorField.H.

References swirlInletVelocityFvPatchVectorField::swirlInletVelocityFvPatchVectorField().

Here is the call graph for this function:

◆ updateCoeffs()

void updateCoeffs ( )
virtual

Definition at line 117 of file swirlInletVelocityFvPatchVectorField.C.

References Foam::mag(), Foam::foamVersion::patch, and fvPatchField< Type >::updateCoeffs().

Here is the call graph for this function:

◆ write()

void write ( Ostream os) const
virtual

Definition at line 147 of file swirlInletVelocityFvPatchVectorField.C.

References os(), fvPatchField::write(), and Ostream::writeEntry().

Here is the call graph for this function:

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