FreeFOAM The Cross-Platform CFD Toolkit
rotatingWallVelocityFvPatchVectorField Class Reference

Foam::rotatingWallVelocityFvPatchVectorField. More...

#include <finiteVolume/rotatingWallVelocityFvPatchVectorField.H>


Detailed Description

List of all members.

Public Member Functions

 TypeName ("rotatingWallVelocity")
 Runtime type information.
 rotatingWallVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &)
 Construct from patch and internal field.
 rotatingWallVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &, const dictionary &)
 Construct from patch, internal field and dictionary.
 rotatingWallVelocityFvPatchVectorField (const rotatingWallVelocityFvPatchVectorField &, const fvPatch &, const DimensionedField< vector, volMesh > &, const fvPatchFieldMapper &)
 Construct by mapping given rotatingWallVelocityFvPatchVectorField.
 rotatingWallVelocityFvPatchVectorField (const rotatingWallVelocityFvPatchVectorField &)
 Construct as copy.
virtual tmp< fvPatchVectorFieldclone () const
 Construct and return a clone.
 rotatingWallVelocityFvPatchVectorField (const rotatingWallVelocityFvPatchVectorField &, const DimensionedField< vector, volMesh > &)
 Construct as copy setting internal field reference.
virtual tmp< fvPatchVectorFieldclone (const DimensionedField< vector, volMesh > &iF) const
 Construct and return a clone setting internal field reference.
const vectororigin () const
 Return the origin of the rotation.
const vectoraxis () const
 Return the axis of the rotation.
const scalar & omega () const
 Return the rotational speed.
vectororigin ()
 Return non-const access to the origin of the rotation.
vectoraxis ()
 Return non-const access to the axis of the rotation.
scalar & omega ()
 Return non-const access to the rotational speed.
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 39 of file rotatingWallVelocityFvPatchVectorField.C.

Referenced by rotatingWallVelocityFvPatchVectorField::clone().

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

Construct from patch, internal field and dictionary.

Definition at line 67 of file rotatingWallVelocityFvPatchVectorField.C.

Construct by mapping given rotatingWallVelocityFvPatchVectorField.

onto a new patch

Definition at line 52 of file rotatingWallVelocityFvPatchVectorField.C.

Construct as copy setting internal field reference.

Definition at line 96 of file rotatingWallVelocityFvPatchVectorField.C.


Member Function Documentation

TypeName ( "rotatingWallVelocity"  )

Runtime type information.

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

Construct and return a clone setting internal field reference.

Definition at line 122 of file rotatingWallVelocityFvPatchVectorField.H.

References rotatingWallVelocityFvPatchVectorField::rotatingWallVelocityFvPatchVectorField().

const vector& origin ( ) const
inline

Return the origin of the rotation.

Definition at line 139 of file rotatingWallVelocityFvPatchVectorField.H.

const vector& axis ( ) const
inline

Return the axis of the rotation.

Definition at line 145 of file rotatingWallVelocityFvPatchVectorField.H.

const scalar& omega ( ) const
inline

Return the rotational speed.

Definition at line 151 of file rotatingWallVelocityFvPatchVectorField.H.

vector& origin ( )
inline

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

Definition at line 157 of file rotatingWallVelocityFvPatchVectorField.H.

vector& axis ( )
inline

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

Definition at line 163 of file rotatingWallVelocityFvPatchVectorField.H.

scalar& omega ( )
inline

Return non-const access to the rotational speed.

Definition at line 169 of file rotatingWallVelocityFvPatchVectorField.H.

void updateCoeffs ( )
virtual

Update the coefficients associated with the patch field.

Definition at line 110 of file rotatingWallVelocityFvPatchVectorField.C.

References Foam::mag(), and Field< vector >::operator=().

void write ( Ostream os) const
virtual

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