rotatingWallVelocityFvPatchVectorField Class Reference

This boundary condition provides a rotational velocity condition. More...

Inheritance diagram for rotatingWallVelocityFvPatchVectorField:
Collaboration diagram for rotatingWallVelocityFvPatchVectorField:

Public Member Functions

 TypeName ("rotatingWallVelocity")
 Runtime type information. More...
 
 rotatingWallVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &)
 Construct from patch and internal field. More...
 
 rotatingWallVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &, const dictionary &)
 Construct from patch, internal field and dictionary. More...
 
 rotatingWallVelocityFvPatchVectorField (const this_bctype &, const fvPatch &, const DimensionedField< vector, volMesh > &, const fvPatchFieldMapper &)
 Construct by mapping onto a new patch. More...
 
 rotatingWallVelocityFvPatchVectorField (const this_bctype &, const DimensionedField< vector, volMesh > &)
 Construct as copy setting internal field reference. More...
 
 rotatingWallVelocityFvPatchVectorField (const this_bctype &)=delete
 No copy without an internal field. More...
 
virtual tmp< fvPatchField< vector > > clone (const DimensionedField< vector, volMesh > &iF) const
 Clone with an internal field reference. More...
 
const vectororigin () const
 Return the origin of the rotation. More...
 
const vectoraxis () const
 Return the axis of the rotation. More...
 
vectororigin ()
 Return non-const access to the origin of the rotation. More...
 
vectoraxis ()
 Return non-const access to the axis of the rotation. 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 provides a rotational velocity condition.

Usage
Property Description Required Default value
origin origin of rotation in Cartesian coordinates yes
axis axis of rotation yes
omega angular velocty of the frame [rad/s] yes

Example of the boundary condition specification:

    <patchName>
    {
        type            rotatingWallVelocity;
        origin          (0 0 0);
        axis            (0 0 1);
        omega           100;
    }

The omega entry is a Function1 of time, see Foam::Function1Types.

See also
Foam::fixedValueFvPatchField Foam::Function1Types
Source files

Definition at line 95 of file rotatingWallVelocityFvPatchVectorField.H.

Constructor & Destructor Documentation

◆ rotatingWallVelocityFvPatchVectorField() [1/5]

Construct from patch and internal field.

◆ rotatingWallVelocityFvPatchVectorField() [2/5]

Construct from patch, internal field and dictionary.

◆ rotatingWallVelocityFvPatchVectorField() [3/5]

Construct by mapping onto a new patch.

◆ rotatingWallVelocityFvPatchVectorField() [4/5]

Construct as copy setting internal field reference.

◆ rotatingWallVelocityFvPatchVectorField() [5/5]

No copy without an internal field.

Member Function Documentation

◆ TypeName()

TypeName ( "rotatingWallVelocity"  )

Runtime type information.

◆ clone()

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

Clone with an internal field reference.

Definition at line 178 of file rotatingWallVelocityFvPatchVectorField.H.

References fvPatchField< Type >::Clone().

Here is the call graph for this function:

◆ origin() [1/2]

const vector& origin ( ) const
inline

Return the origin of the rotation.

Definition at line 193 of file rotatingWallVelocityFvPatchVectorField.H.

◆ axis() [1/2]

const vector& axis ( ) const
inline

Return the axis of the rotation.

Definition at line 201 of file rotatingWallVelocityFvPatchVectorField.H.

◆ origin() [2/2]

vector& origin ( )
inline

Return non-const access to the origin of the rotation.

Definition at line 209 of file rotatingWallVelocityFvPatchVectorField.H.

◆ axis() [2/2]

vector& axis ( )
inline

Return non-const access to the axis of the rotation.

Definition at line 217 of file rotatingWallVelocityFvPatchVectorField.H.

◆ updateCoeffs()

virtual void updateCoeffs ( )
virtual

Update the coefficients associated with the patch field.

◆ write()

virtual void write ( Ostream ) const
virtual

Write.


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