Public Member Functions | List of all members
cylindricalInletVelocityFvPatchVectorField Class Reference

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

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

Public Member Functions

 TypeName ("cylindricalInletVelocity")
 
 cylindricalInletVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &)
 
 cylindricalInletVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &, const dictionary &)
 
 cylindricalInletVelocityFvPatchVectorField (const cylindricalInletVelocityFvPatchVectorField &, const fvPatch &, const DimensionedField< vector, volMesh > &, const fvPatchFieldMapper &)
 
 cylindricalInletVelocityFvPatchVectorField (const cylindricalInletVelocityFvPatchVectorField &)
 
virtual tmp< fvPatchVectorFieldclone () const
 
 cylindricalInletVelocityFvPatchVectorField (const cylindricalInletVelocityFvPatchVectorField &, 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 cylindrical coordinates given a central axis, central point, rpm, axial and radial velocity.

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
rpm rotational speed (revolutions per minute) yes

Example of the boundary condition specification:

    <patchName>
    {
        type            cylindricalInletVelocity;
        axis            (0 0 1);
        origin          (0 0 0);
        axialVelocity   constant 30;
        radialVelocity  constant -10;
        rpm             constant 100;
    }
Note
The axialVelocity, radialVelocity and rpm 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 cylindricalInletVelocityFvPatchVectorField.H.

Constructor & Destructor Documentation

◆ cylindricalInletVelocityFvPatchVectorField() [1/5]

Definition at line 33 of file cylindricalInletVelocityFvPatchVectorField.C.

Referenced by cylindricalInletVelocityFvPatchVectorField::clone().

Here is the caller graph for this function:

◆ cylindricalInletVelocityFvPatchVectorField() [2/5]

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

Definition at line 67 of file cylindricalInletVelocityFvPatchVectorField.C.

◆ cylindricalInletVelocityFvPatchVectorField() [3/5]

Definition at line 49 of file cylindricalInletVelocityFvPatchVectorField.C.

◆ cylindricalInletVelocityFvPatchVectorField() [4/5]

Definition at line 87 of file cylindricalInletVelocityFvPatchVectorField.C.

◆ cylindricalInletVelocityFvPatchVectorField() [5/5]

Member Function Documentation

◆ TypeName()

TypeName ( "cylindricalInletVelocity"  )

◆ clone() [1/2]

virtual tmp<fvPatchVectorField> clone ( ) const
inlinevirtual

◆ clone() [2/2]

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

◆ updateCoeffs()

void updateCoeffs ( )
virtual

◆ write()

void write ( Ostream os) const
virtual

Definition at line 146 of file cylindricalInletVelocityFvPatchVectorField.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: