velocity Class Reference

Abstract base class for velocity pointMesh movers. More...

Inheritance diagram for velocity:
Collaboration diagram for velocity:

Public Member Functions

 TypeName ("velocity")
 Runtime type information. More...
 
 velocity (const polyMesh &, const dictionary &, const word &type)
 Construct from mesh and dictionary. More...
 
 velocity (const velocity &)=delete
 Disallow default bitwise copy construction. More...
 
virtual ~velocity ()
 Destructor. More...
 
pointVectorFieldpointMotionU ()
 Return reference to the point motion velocity field. More...
 
const pointVectorFieldpointMotionU () const
 Return const reference to the point motion velocity field. More...
 
virtual void movePoints (const pointField &)
 Update local data for geometry changes. More...
 
virtual void topoChange (const polyTopoChangeMap &)
 Update corresponding to the given map. More...
 
virtual void mapMesh (const polyMeshMap &)
 Update from another mesh using the given map. More...
 
virtual void distribute (const polyDistributionMap &)
 Update corresponding to the given distribution map. More...
 
void operator= (const velocity &)=delete
 Disallow default bitwise assignment. More...
 
- Public Member Functions inherited from pointMeshMover
 TypeName ("pointMeshMover")
 Runtime type information. More...
 
 declareRunTimeSelectionTable (autoPtr, pointMeshMover, dictionary,(const polyMesh &mesh, const dictionary &dict),(mesh, dict))
 
 pointMeshMover (const polyMesh &mesh, const word &type)
 Construct from polyMesh and dictionary and type. More...
 
virtual autoPtr< pointMeshMoverclone () const
 Clone function. More...
 
virtual ~pointMeshMover ()
 Destructor. More...
 
const polyMeshpoly () const
 Return reference to mesh. More...
 
virtual tmp< pointFieldnewPoints ()=0
 Provide new points for motion. Solves for motion. More...
 
virtual void twoDCorrectPoints (pointField &) const
 Correct point field for reduced-dimensionality cases. More...
 
virtual bool solidBodyMotion () const
 Is the motion solid body? I.e., are the volumes and area magnitudes. More...
 
virtual bool write () const
 Optionally write motion state information for restart. More...
 

Protected Attributes

pointVectorField pointMotionU_
 Point motion field. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from pointMeshMover
static autoPtr< pointMeshMoverNew (const polyMesh &, const dictionary &)
 Select constructed from polyMesh and dictionary. More...
 

Detailed Description

Abstract base class for velocity pointMesh movers.

The boundary displacement is set as a boundary condition on the pointMotionU pointVectorField.

Source files

Definition at line 54 of file velocity_pointMeshMover.H.

Constructor & Destructor Documentation

◆ velocity() [1/2]

velocity ( const polyMesh mesh,
const dictionary dict,
const word type 
)

Construct from mesh and dictionary.

Definition at line 42 of file velocity_pointMeshMover.C.

◆ velocity() [2/2]

velocity ( const velocity )
delete

Disallow default bitwise copy construction.

◆ ~velocity()

~velocity ( )
virtual

Destructor.

Definition at line 67 of file velocity_pointMeshMover.C.

Member Function Documentation

◆ TypeName()

TypeName ( "velocity"  )

Runtime type information.

◆ pointMotionU() [1/2]

pointVectorField& pointMotionU ( )
inline

Return reference to the point motion velocity field.

Definition at line 93 of file velocity_pointMeshMover.H.

References velocity::pointMotionU_.

◆ pointMotionU() [2/2]

const pointVectorField& pointMotionU ( ) const
inline

Return const reference to the point motion velocity field.

Definition at line 99 of file velocity_pointMeshMover.H.

References velocity::pointMotionU_.

◆ movePoints()

void movePoints ( const pointField p)
virtual

Update local data for geometry changes.

Implements pointMeshMover.

Definition at line 73 of file velocity_pointMeshMover.C.

◆ topoChange()

void topoChange ( const polyTopoChangeMap map)
virtual

Update corresponding to the given map.

Implements pointMeshMover.

Reimplemented in velocityLaplacian.

Definition at line 79 of file velocity_pointMeshMover.C.

References Foam::Zero.

Referenced by velocityLaplacian::topoChange().

Here is the caller graph for this function:

◆ mapMesh()

void mapMesh ( const polyMeshMap map)
virtual

Update from another mesh using the given map.

Implements pointMeshMover.

Reimplemented in velocityLaplacian.

Definition at line 86 of file velocity_pointMeshMover.C.

References Foam::Zero.

Referenced by velocityLaplacian::mapMesh().

Here is the caller graph for this function:

◆ distribute()

void distribute ( const polyDistributionMap )
virtual

Update corresponding to the given distribution map.

Implements pointMeshMover.

Definition at line 93 of file velocity_pointMeshMover.C.

◆ operator=()

void operator= ( const velocity )
delete

Disallow default bitwise assignment.

Member Data Documentation

◆ pointMotionU_

pointVectorField pointMotionU_
mutableprotected

Point motion field.

Definition at line 63 of file velocity_pointMeshMover.H.

Referenced by velocity::pointMotionU().


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