displacementMotionSolver Class Reference

Virtual base class for displacement motion solver. More...

Inheritance diagram for displacementMotionSolver:
Collaboration diagram for displacementMotionSolver:

Public Member Functions

 TypeName ("displacementMotionSolver")
 Runtime type information. More...
 
 displacementMotionSolver (const word &name, const polyMesh &, const dictionary &, const word &type)
 Construct from mesh and dictionary. More...
 
 displacementMotionSolver (const displacementMotionSolver &)=delete
 Disallow default bitwise copy construction. More...
 
virtual ~displacementMotionSolver ()
 Destructor. More...
 
pointVectorFieldpointDisplacement ()
 Return reference to the point motion displacement field. More...
 
const pointVectorFieldpointDisplacement () const
 Return const reference to the point motion displacement field. More...
 
virtual void mapMesh (const polyMeshMap &)
 Update from another mesh using the given map. More...
 
void operator= (const displacementMotionSolver &)=delete
 Disallow default bitwise assignment. More...
 
- Public Member Functions inherited from points0MotionSolver
 TypeName ("points0MotionSolver")
 Runtime type information. More...
 
 points0MotionSolver (const word &name, const polyMesh &, const dictionary &, const word &type)
 Construct from mesh and dictionary. More...
 
 points0MotionSolver (const points0MotionSolver &)=delete
 Disallow default bitwise copy construction. More...
 
virtual ~points0MotionSolver ()
 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 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 bool write () const
 Write points0 if the mesh topology changed. More...
 
void operator= (const points0MotionSolver &)=delete
 Disallow default bitwise assignment. More...
 
- Public Member Functions inherited from motionSolver
 TypeName ("motionSolver")
 Runtime type information. More...
 
 declareRunTimeSelectionTable (autoPtr, motionSolver, dictionary,(const word &name, const polyMesh &mesh, const dictionary &dict),(name, mesh, dict))
 
 motionSolver (const word &name, const polyMesh &mesh, const dictionary &, const word &type)
 Construct from polyMesh and dictionary and type. More...
 
virtual autoPtr< motionSolverclone () const
 Clone function. More...
 
virtual ~motionSolver ()
 Destructor. More...
 
const wordname () const
 Return name. More...
 
const wordkeyword () const
 Return keyword. More...
 
const polyMeshmesh () const
 Return reference to mesh. More...
 
const dictionarycoeffDict () const
 Const access to the coefficients dictionary. More...
 
virtual tmp< pointFieldnewPoints ()
 Provide new points for motion. Solves for motion. More...
 
virtual tmp< pointFieldcurPoints () const =0
 Provide current points for motion. Uses current motion field. More...
 
virtual void twoDCorrectPoints (pointField &) const
 Correct point field for reduced-dimensionality cases. More...
 
virtual bool solidBody () const
 Is the motion solid body? I.e., are the volumes and area magnitudes. More...
 
virtual void solve ()=0
 Solve for motion. More...
 

Protected Attributes

pointVectorField pointDisplacement_
 Point motion field. More...
 
- Protected Attributes inherited from points0MotionSolver
pointVectorField points0_
 Starting points. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from points0MotionSolver
static pointVectorField readPoints0 (const polyMesh &mesh)
 
- Static Public Member Functions inherited from motionSolver
static autoPtr< motionSolverNew (const word &name, const polyMesh &, const dictionary &)
 Select constructed from polyMesh and dictionary. More...
 

Detailed Description

Virtual base class for displacement motion solver.

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

Source files

Definition at line 51 of file displacementMotionSolver.H.

Constructor & Destructor Documentation

◆ displacementMotionSolver() [1/2]

displacementMotionSolver ( const word name,
const polyMesh mesh,
const dictionary dict,
const word type 
)

Construct from mesh and dictionary.

Definition at line 38 of file displacementMotionSolver.C.

◆ displacementMotionSolver() [2/2]

Disallow default bitwise copy construction.

◆ ~displacementMotionSolver()

Destructor.

Definition at line 64 of file displacementMotionSolver.C.

Member Function Documentation

◆ TypeName()

TypeName ( "displacementMotionSolver"  )

Runtime type information.

◆ pointDisplacement() [1/2]

pointVectorField& pointDisplacement ( )
inline

Return reference to the point motion displacement field.

Definition at line 91 of file displacementMotionSolver.H.

References displacementMotionSolver::pointDisplacement_.

◆ pointDisplacement() [2/2]

const pointVectorField& pointDisplacement ( ) const
inline

Return const reference to the point motion displacement field.

Definition at line 97 of file displacementMotionSolver.H.

References displacementMotionSolver::pointDisplacement_.

◆ mapMesh()

void mapMesh ( const polyMeshMap map)
virtual

Update from another mesh using the given map.

Reimplemented from points0MotionSolver.

Reimplemented in displacementSBRStressFvMotionSolver, and displacementLaplacianFvMotionSolver.

Definition at line 70 of file displacementMotionSolver.C.

References points0MotionSolver::mapMesh(), and Foam::Zero.

Referenced by displacementLaplacianFvMotionSolver::mapMesh(), and displacementSBRStressFvMotionSolver::mapMesh().

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

◆ operator=()

void operator= ( const displacementMotionSolver )
delete

Disallow default bitwise assignment.

Member Data Documentation

◆ pointDisplacement_

pointVectorField pointDisplacement_
mutableprotected

Point motion field.

Definition at line 60 of file displacementMotionSolver.H.

Referenced by displacementMotionSolver::pointDisplacement().


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