velocityComponent Class Reference

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

Inheritance diagram for velocityComponent:
Collaboration diagram for velocityComponent:

Public Member Functions

 TypeName ("velocityComponent")
 Runtime type information. More...
 
 velocityComponent (const polyMesh &, const dictionary &, const word &type)
 Construct from mesh and dictionary. More...
 
 velocityComponent (const velocityComponent &)=delete
 Disallow default bitwise copy construction. More...
 
virtual ~velocityComponent ()
 Destructor. More...
 
pointScalarFieldpointMotionU ()
 Non-const access to the pointMotionU in order to allow changes. More...
 
virtual void movePoints (const pointField &)
 Update local data for geometry changes. More...
 
virtual void topoChange (const polyTopoChangeMap &)
 Update local data for topology changes. 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 velocityComponent &)=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

word cmptName_
 The component name to solve for. More...
 
direction cmpt_
 The component to solve for. More...
 
pointScalarField 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 pointMotionUX pointScalarField.

Source files

Definition at line 54 of file velocityComponent_pointMeshMover.H.

Constructor & Destructor Documentation

◆ velocityComponent() [1/2]

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

Construct from mesh and dictionary.

Definition at line 72 of file velocityComponent_pointMeshMover.C.

◆ velocityComponent() [2/2]

velocityComponent ( const velocityComponent )
delete

Disallow default bitwise copy construction.

◆ ~velocityComponent()

~velocityComponent ( )
virtual

Destructor.

Definition at line 99 of file velocityComponent_pointMeshMover.C.

Member Function Documentation

◆ TypeName()

TypeName ( "velocityComponent"  )

Runtime type information.

◆ pointMotionU()

pointScalarField& pointMotionU ( )
inline

Non-const access to the pointMotionU in order to allow changes.

to the boundary motion

Definition at line 111 of file velocityComponent_pointMeshMover.H.

◆ movePoints()

void movePoints ( const pointField p)
virtual

Update local data for geometry changes.

Implements pointMeshMover.

Definition at line 105 of file velocityComponent_pointMeshMover.C.

◆ topoChange()

void topoChange ( const polyTopoChangeMap map)
virtual

Update local data for topology changes.

Implements pointMeshMover.

Reimplemented in velocityComponentLaplacian.

Definition at line 111 of file velocityComponent_pointMeshMover.C.

References Foam::Zero.

Referenced by velocityComponentLaplacian::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 velocityComponentLaplacian.

Definition at line 121 of file velocityComponent_pointMeshMover.C.

References Foam::Zero.

Referenced by velocityComponentLaplacian::mapMesh().

Here is the caller graph for this function:

◆ distribute()

void distribute ( const polyDistributionMap map)
virtual

Update corresponding to the given distribution map.

Implements pointMeshMover.

Definition at line 131 of file velocityComponent_pointMeshMover.C.

◆ operator=()

void operator= ( const velocityComponent )
delete

Disallow default bitwise assignment.

Member Data Documentation

◆ cmptName_

word cmptName_
protected

The component name to solve for.

Definition at line 63 of file velocityComponent_pointMeshMover.H.

◆ cmpt_

direction cmpt_
protected

The component to solve for.

Definition at line 66 of file velocityComponent_pointMeshMover.H.

◆ pointMotionU_

pointScalarField pointMotionU_
mutableprotected

Point motion field.

Definition at line 69 of file velocityComponent_pointMeshMover.H.


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