pointMeshMover Class Referenceabstract

Abstract base class for pointMesh movers. More...

Inheritance diagram for pointMeshMover:

Public Member Functions

 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 void movePoints (const pointField &)=0
 Update local data for geometry changes. More...
 
virtual void topoChange (const polyTopoChangeMap &)=0
 Update local data for topology changes. More...
 
virtual void distribute (const polyDistributionMap &)=0
 Update corresponding to the given distribution map. More...
 
virtual void mapMesh (const polyMeshMap &)=0
 Update from another mesh using the given map. More...
 
virtual bool write () const
 Optionally write motion state information for restart. More...
 

Static Public Member Functions

static autoPtr< pointMeshMoverNew (const polyMesh &, const dictionary &)
 Select constructed from polyMesh and dictionary. More...
 

Detailed Description

Abstract base class for pointMesh movers.

Source files

Definition at line 56 of file pointMeshMover.H.

Constructor & Destructor Documentation

◆ pointMeshMover()

pointMeshMover ( const polyMesh mesh,
const word type 
)

Construct from polyMesh and dictionary and type.

Definition at line 42 of file pointMeshMover.C.

◆ ~pointMeshMover()

~pointMeshMover ( )
virtual

Destructor.

Definition at line 111 of file pointMeshMover.C.

Member Function Documentation

◆ TypeName()

TypeName ( "pointMeshMover"  )

Runtime type information.

◆ declareRunTimeSelectionTable()

declareRunTimeSelectionTable ( autoPtr  ,
pointMeshMover  ,
dictionary  ,
(const polyMesh &mesh, const dictionary &dict ,
(mesh, dict  
)

◆ New()

Foam::autoPtr< Foam::pointMeshMover > New ( const polyMesh mesh,
const dictionary dict 
)
static

Select constructed from polyMesh and dictionary.

Definition at line 57 of file pointMeshMover.C.

References dict, Foam::endl(), Foam::exit(), Foam::FatalIOError, FatalIOErrorInFunction, Foam::indentOrNl(), Foam::Info, Foam::libs, dictionary::lookup(), dictionary::lookupOrDefaultBackwardsCompatible(), mesh, Foam::nl, word::null, dlLibraryTable::open(), dictionary::optionalTypeDict(), Foam::type(), and Foam::typeName().

Referenced by list::list().

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

◆ clone()

Foam::autoPtr< Foam::pointMeshMover > clone ( ) const
virtual

Clone function.

Definition at line 48 of file pointMeshMover.C.

References NotImplemented.

◆ poly()

const polyMesh& poly ( ) const
inline

Return reference to mesh.

Definition at line 111 of file pointMeshMover.H.

Referenced by propellerDiskForce::restrain().

Here is the caller graph for this function:

◆ newPoints()

◆ twoDCorrectPoints()

void twoDCorrectPoints ( pointField p) const
virtual

Correct point field for reduced-dimensionality cases.

Definition at line 117 of file pointMeshMover.C.

References twoDPointCorrector::correctPoints(), DemandDrivenMeshObject< polyMesh, TopoChangeableMeshObject, twoDPointCorrector >::New(), and p.

Here is the call graph for this function:

◆ solidBodyMotion()

virtual bool solidBodyMotion ( ) const
inlinevirtual

Is the motion solid body? I.e., are the volumes and area magnitudes.

unchanged? Defaults to false. Set to true by pointMeshMovers::solidBodyMotion.

Reimplemented in solidBody, and multiSolidBody.

Definition at line 125 of file pointMeshMover.H.

◆ movePoints()

virtual void movePoints ( const pointField )
pure virtual

Update local data for geometry changes.

Implemented in rigidBodyDisplacement, velocityComponent, velocity, list, displacementPoints0, displacementComponent, and externalDisplacement.

◆ topoChange()

◆ distribute()

virtual void distribute ( const polyDistributionMap )
pure virtual

Update corresponding to the given distribution map.

Implemented in rigidBodyDisplacement, velocityComponent, velocity, solidBody, multiSolidBody, list, displacementPoints0, and displacementComponent.

◆ mapMesh()

◆ write()

bool write ( ) const
virtual

Optionally write motion state information for restart.

Reimplemented in sixDoFRigidBodyMotion, rigidBodyMotion, rigidBodyDisplacement, and displacementPoints0.

Definition at line 123 of file pointMeshMover.C.

Referenced by displacementPoints0::write(), and rigidBodyDisplacement::write().

Here is the caller graph for this function:

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