solidBody Class Reference

Solid-body motion of the mesh specified by a run-time selectable motion function. More...

Inheritance diagram for solidBody:
Collaboration diagram for solidBody:

Public Member Functions

 TypeName ("solidBody")
 Runtime type information. More...
 
 solidBody (const polyMesh &, const dictionary &)
 Construct from mesh and dictionary. More...
 
 solidBody (const solidBody &)=delete
 Disallow default bitwise copy construction. More...
 
 ~solidBody ()
 Destructor. More...
 
virtual tmp< pointFieldnewPoints ()
 Return point location obtained from the current motion field. More...
 
virtual bool solidBodyMotion () const
 This is a solid body motion. More...
 
virtual void topoChange (const polyTopoChangeMap &)
 Update local data for topology changes. More...
 
virtual void distribute (const polyDistributionMap &)
 Update corresponding to the given distribution map. More...
 
virtual void mapMesh (const polyMeshMap &)
 Update from another mesh using the given map. More...
 
void operator= (const solidBody &)=delete
 Disallow default bitwise assignment. More...
 
- Public Member Functions inherited from displacementPoints0
 TypeName ("displacementPoints0")
 Runtime type information. More...
 
 displacementPoints0 (const polyMesh &, const dictionary &, const word &type)
 Construct from mesh and dictionary. More...
 
 displacementPoints0 (const displacementPoints0 &)=delete
 Disallow default bitwise copy construction. More...
 
virtual ~displacementPoints0 ()
 Destructor. More...
 
pointFieldpoints0 ()
 Return reference to the reference field. More...
 
const pointFieldpoints0 () const
 Return reference to the reference field. More...
 
virtual void movePoints (const pointField &)
 Update local data for geometry changes. More...
 
virtual bool write () const
 Write points0 if the mesh topology changed. More...
 
void operator= (const displacementPoints0 &)=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 void twoDCorrectPoints (pointField &) const
 Correct point field for reduced-dimensionality cases. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from displacementPoints0
static pointVectorField readPoints0 (const polyMesh &mesh)
 
- Static Public Member Functions inherited from pointMeshMover
static autoPtr< pointMeshMoverNew (const polyMesh &, const dictionary &)
 Select constructed from polyMesh and dictionary. More...
 
- Protected Attributes inherited from displacementPoints0
pointVectorField points0_
 Starting points. More...
 

Detailed Description

Solid-body motion of the mesh specified by a run-time selectable motion function.

Source files

Definition at line 53 of file solidBody_pointMeshMover.H.

Constructor & Destructor Documentation

◆ solidBody() [1/2]

solidBody ( const polyMesh mesh,
const dictionary dict 
)

Construct from mesh and dictionary.

Definition at line 92 of file solidBody_pointMeshMover.C.

References generatedCellZone::all(), Foam::endl(), and Foam::Info.

Here is the call graph for this function:

◆ solidBody() [2/2]

solidBody ( const solidBody )
delete

Disallow default bitwise copy construction.

◆ ~solidBody()

~solidBody ( )

Destructor.

Definition at line 115 of file solidBody_pointMeshMover.C.

Member Function Documentation

◆ TypeName()

TypeName ( "solidBody"  )

Runtime type information.

◆ newPoints()

Foam::tmp< Foam::pointField > newPoints ( )
virtual

Return point location obtained from the current motion field.

Implements pointMeshMover.

Definition at line 121 of file solidBody_pointMeshMover.C.

References points, tmp< T >::ref(), and Foam::transformPoints().

Here is the call graph for this function:

◆ solidBodyMotion()

virtual bool solidBodyMotion ( ) const
inlinevirtual

This is a solid body motion.

Reimplemented from pointMeshMover.

Definition at line 103 of file solidBody_pointMeshMover.H.

◆ topoChange()

void topoChange ( const polyTopoChangeMap map)
virtual

Update local data for topology changes.

Reimplemented from displacementPoints0.

Definition at line 145 of file solidBody_pointMeshMover.C.

References IOobject::AUTO_WRITE, Foam::exit(), Foam::FatalError, FatalErrorInFunction, polyTopoChangeMap::pointMap(), points, and polyTopoChangeMap::reversePointMap().

Here is the call graph for this function:

◆ distribute()

void distribute ( const polyDistributionMap map)
virtual

Update corresponding to the given distribution map.

Reimplemented from displacementPoints0.

Definition at line 194 of file solidBody_pointMeshMover.C.

References displacementPoints0::distribute().

Here is the call graph for this function:

◆ mapMesh()

void mapMesh ( const polyMeshMap map)
virtual

Update from another mesh using the given map.

Implements displacementPoints0.

Definition at line 206 of file solidBody_pointMeshMover.C.

References IOobject::AUTO_WRITE, and displacementPoints0::mapMesh().

Here is the call graph for this function:

◆ operator=()

void operator= ( const solidBody )
delete

Disallow default bitwise assignment.


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