displacementLayeredMotionMotionSolver Class Reference

Mesh motion solver for an (multi-block) extruded fvMesh. Gets given the structure of the mesh blocks and boundary conditions on these blocks. More...

Inheritance diagram for displacementLayeredMotionMotionSolver:
Collaboration diagram for displacementLayeredMotionMotionSolver:

Public Member Functions

 TypeName ("displacementLayeredMotion")
 Runtime type information. More...
 
 displacementLayeredMotionMotionSolver (const polyMesh &, const dictionary &)
 Construct from polyMesh and dictionary. More...
 
 displacementLayeredMotionMotionSolver (const displacementLayeredMotionMotionSolver &)
 Disallow default bitwise copy construction. More...
 
 ~displacementLayeredMotionMotionSolver ()
 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 updateMesh (const mapPolyMesh &)
 Update topology. More...
 
void operator= (const displacementLayeredMotionMotionSolver &)=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...
 
virtual void movePoints (const pointField &)
 Update local data for geometry changes. 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 (multi-block) extruded fvMesh. Gets given the structure of the mesh blocks and boundary conditions on these blocks.

The displacementLayeredMotionCoeffs subdict of dynamicMeshDict specifies per region (=cellZone) the boundary conditions on two opposing patches (=faceZones). It then interpolates the boundary values using topological walking so requires the cellZone to be a layered mesh.

The boundary conditions on faceZones are currently:

follow: the faceZone follows the overall mesh displacement. Use this for faceZones on boundary faces (so it uses the proper boundary conditions on the pointDisplacement).

uniformFollow: like 'follow' but takes the average value of a specified 'patch' (which is not necessarily colocated)

fixedValue: fixed value.

timeVaryingUniformFixedValue: table-driven fixed value.

slip: the second of a pair of faceZones follows the tangential movement specified by the first faceZone. (= removes the normal component).

Source files

Definition at line 73 of file displacementLayeredMotionMotionSolver.H.

Constructor & Destructor Documentation

◆ displacementLayeredMotionMotionSolver() [1/2]

displacementLayeredMotionMotionSolver ( const polyMesh mesh,
const dictionary dict 
)

Construct from polyMesh and dictionary.

Definition at line 492 of file displacementLayeredMotionMotionSolver.C.

References displacementLayeredMotionMotionSolver::~displacementLayeredMotionMotionSolver().

Here is the call graph for this function:

◆ displacementLayeredMotionMotionSolver() [2/2]

Disallow default bitwise copy construction.

◆ ~displacementLayeredMotionMotionSolver()

Destructor.

Definition at line 504 of file displacementLayeredMotionMotionSolver.C.

Referenced by displacementLayeredMotionMotionSolver::displacementLayeredMotionMotionSolver().

Here is the caller graph for this function:

Member Function Documentation

◆ TypeName()

TypeName ( "displacementLayeredMotion"  )

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 511 of file displacementLayeredMotionMotionSolver.C.

◆ solve()

◆ updateMesh()

void updateMesh ( const mapPolyMesh mpm)
virtual

Update topology.

Reimplemented from points0MotionSolver.

Definition at line 560 of file displacementLayeredMotionMotionSolver.C.

References Foam::exit(), Foam::FatalError, FatalErrorInFunction, forAll, Foam::nl, mapPolyMesh::pointMap(), mapPolyMesh::reversePointMap(), and points0MotionSolver::updateMesh().

Referenced by displacementLayeredMotionMotionSolver::solve().

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

◆ operator=()

void operator= ( const displacementLayeredMotionMotionSolver )
delete

Disallow default bitwise assignment.


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