Go to the documentation of this file.
40 velocityDisplacementMotionSolver,
79 displacementMotionSolverPtr_()
87 "pointVelocityDisplacement",
91 pointMotionU().
mesh(),
93 pointDisplacementBoundaryTypes()
98 displacementMotionSolverPtr_.set
104 coeffDict().
lookup(
"solver"),
135 return displacementMotionSolverPtr_->curPoints();
143 const scalar deltaT(
mesh().time().deltaTValue());
148 displacementMotionSolverPtr_->pointDisplacement()
152 mesh().
points() - displacementMotionSolverPtr_->points0()
156 pointMotionU().correctBoundaryConditions();
172 displacementMotionSolverPtr_->solve();
175 pointMotionU().internalField() =
184 displacementMotionSolverPtr_->movePoints(
p);
195 displacementMotionSolverPtr_->updateMesh(mpm);
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
virtual const pointField & points() const
Return raw points.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
virtual void movePoints(const pointField &)
Update geometry.
static autoPtr< displacementMotionSolver > New(const word &solverTypeName, const polyMesh &, const IOdictionary &, const pointVectorField &pointDisplacement, const pointIOField &points0)
Select constructed from polyMesh, dictionary and components.
wordList pointDisplacementBoundaryTypes() const
Get the boundary condition types for the point displacement.
const dimensionSet dimLength(0, 1, 0, 0, 0, 0, 0)
#define forAll(list, i)
Loop across all elements in list.
A class for managing temporary objects.
const fileName & name() const
Return the dictionary name.
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)
velocityDisplacementMotionSolver(const velocityDisplacementMotionSolver &)
Disallow default bitwise copy construct.
virtual void movePoints(const pointField &)
Update local data for geometry changes.
GeometricBoundaryField & boundaryField()
Return reference to GeometricBoundaryField.
tmp< Field< Type > > patchInternalField() const
Return field created from appropriate internal field values.
Virtual base class for velocity motion solver.
~velocityDisplacementMotionSolver()
Destructor.
Abstract base class for point-mesh patch fields.
Mesh consisting of general polyhedral cells.
virtual tmp< pointField > curPoints() const
Return point location obtained from the current motion field.
Pre-declare SubField and related Field type.
virtual void updateMesh(const mapPolyMesh &)
Update local data for topology changes.
InternalField & internalField()
Return internal field.
Virtual base class for displacement motion solver.
Macros for easy insertion into run-time selection tables.
cellIbMask *cellIbMaskExt *faceIbMask *cellIbMask boundaryField().evaluateCoupled()
virtual void solve()
Solve for motion.
virtual void updateMesh(const mapPolyMesh &)
Update topology.
wordList types() const
Return a list of the patch types.
static word timeName(const scalar, const int precision=precision_)
Return time name of given scalar time.
bool isA(const Type &t)
Check if a dynamic_cast to typeid is possible.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
const word & constant() const
Return constant name.
pointVectorField & pointMotionU()
Return reference to the point motion velocity field.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
const Time & time() const
Return the top-level database.
static IOobject points0IO(const polyMesh &mesh)
Return IO object for points0.
Generic GeometricField class.
defineTypeNameAndDebug(combustionModel, 0)
stressControl lookup("compactNormalStress") >> compactNormalStress