49#ifndef elasticityMotionSolver_H
50#define elasticityMotionSolver_H
70class elasticityMotionSolver
116 elasticityMotionSolver(
const elasticityMotionSolver&) =
delete;
119 void operator=(
const elasticityMotionSolver&) =
delete;
131 elasticityMotionSolver
158 virtual void solve();
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
volVectorField cellMotionU_
virtual tmp< pointField > curPoints() const
Return point location. Mesh is actually moved in solve().
autoPtr< motionDiffusivity > diffusivityPtr_
Diffusivity used to control the motion.
label nSteps_
Intermediate steps to solve the PDEs.
scalar tolerance_
Residual threshold.
TypeName("elasticityMotionSolver")
Runtime type information.
label nIters_
Number of laplacian iterations per solution step.
void setBoundaryConditions()
Set boundary conditions of cellMotionU based on pointMotionU.
volVectorField & cellMotionU()
Get const and non-const references to cellMotionU.
autoPtr< motionInterpolation > interpolationPtr_
Interpolation used to transfer cell displacement to the points.
pointVectorField pointMotionU_
virtual void movePoints(const pointField &)
Update local data for geometry changes.
virtual ~elasticityMotionSolver()=default
Destructor.
fvMesh & fvMesh_
Since the mesh deformation is broken down to multiple steps, mesh points need to be moved here....
virtual void updateMesh(const mapPolyMesh &)
Update the mesh corresponding to given map.
virtual void solve()
Solve for motion.
pointVectorField & pointMotionU()
Get const and non-const references to pointMotionU.
Mesh data needed to do the Finite Volume discretisation.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
Abstract base class for cell-centre mesh motion diffusivity.
Base class for interpolation of cell displacement fields, generated by fvMotionSolvers,...
const polyMesh & mesh() const
Return reference to mesh.
motionSolver(const polyMesh &mesh)
Construct from polyMesh.
Mesh consisting of general polyhedral cells.
A class for managing temporary objects.
GeometricField< vector, fvPatchField, volMesh > volVectorField
GeometricField< vector, pointPatchField, pointMesh > pointVectorField
vectorField pointField
pointField is a vectorField.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.