displacementLayeredMotionSolver Class Reference

Interpolating motion solver for extruded/layered meshes. More...

Inheritance diagram for displacementLayeredMotionSolver:
Collaboration diagram for displacementLayeredMotionSolver:

Public Member Functions

 TypeName ("displacementLayered")
 Runtime type information. More...
 
 displacementLayeredMotionSolver (const word &name, const polyMesh &, const dictionary &)
 Construct from polyMesh and dictionary. More...
 
 displacementLayeredMotionSolver (const displacementLayeredMotionSolver &)=delete
 Disallow default bitwise copy construction. More...
 
 ~displacementLayeredMotionSolver ()
 Destructor. More...
 
virtual tmp< pointFieldcurPoints () const
 Return point location obtained from the current motion field. More...
 
virtual void solve ()
 Solve for motion. More...
 
virtual void topoChange (const polyTopoChangeMap &)
 Update topology (not implemented) More...
 
void operator= (const displacementLayeredMotionSolver &)=delete
 Disallow default bitwise assignment. More...
 
- Public Member Functions inherited from displacementMotionSolver
 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 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 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...
 
virtual tmp< pointFieldnewPoints ()
 Provide new points for motion. Solves for motion. 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...
 

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...
 
- Protected Attributes inherited from displacementMotionSolver
pointVectorField pointDisplacement_
 Point motion field. More...
 
- Protected Attributes inherited from points0MotionSolver
pointVectorField points0_
 Starting points. More...
 

Detailed Description

Interpolating motion solver for extruded/layered meshes.

Uses a topological walk from points along edges to points from one patch to the opposite, accumulating distance and propagating displacement and then again in the return direction and uses the distances from each point to the two opposite patches to linearly interpolate the displacements of these two patches to the each point.

This motion solver is very simple to configure, only the two opposite patches between which the mesh is layered need be specified as a pair of patch names following the oppositePatches keyword, e.g.

    mover
    {
        type            motionSolver;

        libs            ("libfvMotionSolvers.so");

        motionSolver    displacementLayered;

        oppositePatches (top bottom);
    }
Source files

Definition at line 71 of file displacementLayeredMotionSolver.H.

Constructor & Destructor Documentation

◆ displacementLayeredMotionSolver() [1/2]

displacementLayeredMotionSolver ( const word name,
const polyMesh mesh,
const dictionary dict 
)

Construct from polyMesh and dictionary.

Definition at line 128 of file displacementLayeredMotionSolver.C.

◆ displacementLayeredMotionSolver() [2/2]

Disallow default bitwise copy construction.

◆ ~displacementLayeredMotionSolver()

Destructor.

Definition at line 147 of file displacementLayeredMotionSolver.C.

Member Function Documentation

◆ TypeName()

TypeName ( "displacementLayered"  )

Runtime type information.

◆ curPoints()

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

Return point location obtained from the current motion field.

Implements motionSolver.

Definition at line 154 of file displacementLayeredMotionSolver.C.

◆ solve()

void solve ( )
virtual

◆ topoChange()

void topoChange ( const polyTopoChangeMap map)
virtual

Update topology (not implemented)

Reimplemented from points0MotionSolver.

Definition at line 198 of file displacementLayeredMotionSolver.C.

References NotImplemented.

◆ operator=()

void operator= ( const displacementLayeredMotionSolver )
delete

Disallow default bitwise assignment.


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