displacementMeshMoverMotionSolver Class Reference

Mesh motion solver for an fvMesh. Based on solving the cell-centre Laplacian for the motion displacement. More...

Inheritance diagram for displacementMeshMoverMotionSolver:
Collaboration diagram for displacementMeshMoverMotionSolver:

Public Member Functions

 TypeName ("displacementMeshMover")
 Runtime type information. More...
 
 displacementMeshMoverMotionSolver (const polyMesh &, const dictionary &)
 Construct from polyMesh and dictionary. More...
 
 displacementMeshMoverMotionSolver (const displacementMeshMoverMotionSolver &)
 Disallow default bitwise copy construction. More...
 
 ~displacementMeshMoverMotionSolver ()
 Destructor. More...
 
externalDisplacementMeshMovermeshMover () const
 
virtual tmp< pointFieldcurPoints () const
 Return point location obtained from the current motion field. More...
 
virtual void solve ()
 Solve for motion. More...
 
virtual void movePoints (const pointField &)
 Update local data for geometry changes. More...
 
virtual void updateMesh (const mapPolyMesh &)
 Update topology. More...
 
void operator= (const displacementMeshMoverMotionSolver &)=delete
 Disallow default bitwise assignment. More...
 
- Public Member Functions inherited from displacementMotionSolver
 TypeName ("displacementMotionSolver")
 Runtime type information. More...
 
 displacementMotionSolver (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...
 
void operator= (const displacementMotionSolver &)=delete
 Disallow default bitwise assignment. More...
 
- Public Member Functions inherited from points0MotionSolver
 TypeName ("points0MotionSolver")
 Runtime type information. More...
 
 points0MotionSolver (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...
 
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 polyMesh &mesh, const dictionary &dict),(mesh, dict))
 
 motionSolver (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 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 void twoDCorrectPoints (pointField &) const
 
virtual bool write () const
 Optionally write motion state information for restart. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from motionSolver
static autoPtr< motionSolverNew (const polyMesh &, const dictionary &)
 Select constructed from polyMesh and dictionary. More...
 
- Protected Attributes inherited from displacementMotionSolver
pointVectorField pointDisplacement_
 Point motion field. More...
 
- Protected Attributes inherited from points0MotionSolver
pointIOField points0_
 Starting points. More...
 

Detailed Description

Mesh motion solver for an fvMesh. Based on solving the cell-centre Laplacian for the motion displacement.

Source files

Definition at line 50 of file displacementMeshMoverMotionSolver.H.

Constructor & Destructor Documentation

◆ displacementMeshMoverMotionSolver() [1/2]

displacementMeshMoverMotionSolver ( const polyMesh mesh,
const dictionary dict 
)

Construct from polyMesh and dictionary.

Definition at line 48 of file displacementMeshMoverMotionSolver.C.

References displacementMeshMoverMotionSolver::~displacementMeshMoverMotionSolver().

Here is the call graph for this function:

◆ displacementMeshMoverMotionSolver() [2/2]

Disallow default bitwise copy construction.

◆ ~displacementMeshMoverMotionSolver()

Destructor.

Definition at line 60 of file displacementMeshMoverMotionSolver.C.

Referenced by displacementMeshMoverMotionSolver::displacementMeshMoverMotionSolver().

Here is the caller graph for this function:

Member Function Documentation

◆ TypeName()

TypeName ( "displacementMeshMover"  )

Runtime type information.

◆ meshMover()

Foam::externalDisplacementMeshMover & meshMover ( ) const

Definition at line 67 of file displacementMeshMoverMotionSolver.C.

References localPointRegion::findDuplicateFacePairs(), lookup(), mesh, and externalDisplacementMeshMover::New().

Here is the call graph for this function:

◆ curPoints()

Foam::tmp< Foam::pointField > curPoints ( ) const
virtual

Return point location obtained from the current motion field.

Implements motionSolver.

Definition at line 86 of file displacementMeshMoverMotionSolver.C.

References mesh, and points.

◆ solve()

void solve ( )
virtual

Solve for motion.

Implements motionSolver.

Definition at line 94 of file displacementMeshMoverMotionSolver.C.

References Foam::identity(), mesh, points, and Foam::type().

Here is the call graph for this function:

◆ movePoints()

void movePoints ( const pointField p)
virtual

Update local data for geometry changes.

Reimplemented from points0MotionSolver.

Definition at line 117 of file displacementMeshMoverMotionSolver.C.

References points0MotionSolver::movePoints(), and displacementMeshMoverMotionSolver::updateMesh().

Here is the call graph for this function:

◆ updateMesh()

void updateMesh ( const mapPolyMesh map)
virtual

Update topology.

Reimplemented from points0MotionSolver.

Definition at line 130 of file displacementMeshMoverMotionSolver.C.

References points0MotionSolver::updateMesh().

Referenced by displacementMeshMoverMotionSolver::movePoints().

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

◆ operator=()

void operator= ( const displacementMeshMoverMotionSolver )
delete

Disallow default bitwise assignment.


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