cylindricalInletVelocityFvPatchVectorField Class Reference

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

Inheritance diagram for cylindricalInletVelocityFvPatchVectorField:
Collaboration diagram for cylindricalInletVelocityFvPatchVectorField:

Public Member Functions

 TypeName ("cylindricalInletVelocity")
 Runtime type information. More...
 
 cylindricalInletVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &)
 Construct from patch and internal field. More...
 
 cylindricalInletVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &, const dictionary &)
 Construct from patch, internal field and dictionary. More...
 
 cylindricalInletVelocityFvPatchVectorField (const cylindricalInletVelocityFvPatchVectorField &, const fvPatch &, const DimensionedField< vector, volMesh > &, const fvPatchFieldMapper &)
 Construct by mapping given. More...
 
 cylindricalInletVelocityFvPatchVectorField (const cylindricalInletVelocityFvPatchVectorField &)=delete
 Disallow copy without setting internal field reference. More...
 
 cylindricalInletVelocityFvPatchVectorField (const cylindricalInletVelocityFvPatchVectorField &, const DimensionedField< vector, volMesh > &)
 Copy constructor setting internal field reference. More...
 
virtual tmp< fvPatchVectorFieldclone (const DimensionedField< vector, volMesh > &iF) const
 Construct and return a clone setting internal field reference. More...
 
virtual void updateCoeffs ()
 Update the coefficients associated with the patch field. More...
 
virtual void write (Ostream &) const
 Write. More...
 

Detailed Description

This boundary condition describes an inlet vector boundary condition in cylindrical co-ordinates 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::Function1s
Source files

Definition at line 112 of file cylindricalInletVelocityFvPatchVectorField.H.

Constructor & Destructor Documentation

◆ cylindricalInletVelocityFvPatchVectorField() [1/5]

Construct from patch and internal field.

Definition at line 37 of file cylindricalInletVelocityFvPatchVectorField.C.

Referenced by cylindricalInletVelocityFvPatchVectorField::clone(), and cylindricalInletVelocityFvPatchVectorField::cylindricalInletVelocityFvPatchVectorField().

Here is the caller graph for this function:

◆ cylindricalInletVelocityFvPatchVectorField() [2/5]

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

Construct from patch, internal field and dictionary.

Definition at line 53 of file cylindricalInletVelocityFvPatchVectorField.C.

References cylindricalInletVelocityFvPatchVectorField::cylindricalInletVelocityFvPatchVectorField().

Here is the call graph for this function:

◆ cylindricalInletVelocityFvPatchVectorField() [3/5]

Construct by mapping given.

flowRateInletVelocityFvPatchVectorField onto a new patch

Definition at line 70 of file cylindricalInletVelocityFvPatchVectorField.C.

References cylindricalInletVelocityFvPatchVectorField::cylindricalInletVelocityFvPatchVectorField().

Here is the call graph for this function:

◆ cylindricalInletVelocityFvPatchVectorField() [4/5]

Disallow copy without setting internal field reference.

◆ cylindricalInletVelocityFvPatchVectorField() [5/5]

Copy constructor setting internal field reference.

Definition at line 88 of file cylindricalInletVelocityFvPatchVectorField.C.

Member Function Documentation

◆ TypeName()

TypeName ( "cylindricalInletVelocity"  )

Runtime type information.

◆ clone()

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

◆ updateCoeffs()

void updateCoeffs ( )
virtual

Update the coefficients associated with the patch field.

Definition at line 104 of file cylindricalInletVelocityFvPatchVectorField.C.

References Foam::mag(), Foam::operator==(), Foam::constant::mathematical::pi(), fvPatchField< Type >::updateCoeffs(), and Function1< Type >::value().

Referenced by cylindricalInletVelocityFvPatchVectorField::clone().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ write()

void write ( Ostream os) const
virtual

Write.

Definition at line 132 of file cylindricalInletVelocityFvPatchVectorField.C.

References Foam::makePatchTypeField(), fvPatchField< Type >::write(), and Foam::writeEntry().

Referenced by cylindricalInletVelocityFvPatchVectorField::clone().

Here is the call graph for this function:
Here is the caller graph for this function:

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