Go to the documentation of this file.
41 displacementMeshMoverMotionSolver,
49 Foam::displacementMeshMoverMotionSolver::displacementMeshMoverMotionSolver
72 if (!meshMoverPtr_.valid())
74 const word moverType(coeffDict().get<word>(
"meshMover"));
79 coeffDict().optionalSubDict(moverType +
"Coeffs"),
84 return *meshMoverPtr_;
104 pointDisplacement().boundaryFieldRef().updateCoeffs();
106 label nAllowableErrors = 0;
110 coeffDict().optionalSubDict(meshMover().
type() +
"Coeffs"),
116 pointDisplacement().correctBoundaryConditions();
125 if (meshMoverPtr_.valid())
127 meshMover().movePoints(
p);
140 meshMoverPtr_.clear();
addToRunTimeSelectionTable(decompositionMethod, kahipDecomp, dictionary)
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
A class for handling words, derived from Foam::string.
static autoPtr< externalDisplacementMeshMover > New(const word &type, const dictionary &dict, const List< labelPair > &baffles, pointVectorField &pointDisplacement, const bool dryRun=false)
Return a reference to the selected meshMover model.
A class for managing temporary objects.
virtual void updateMesh(const mapPolyMesh &)
Update topology.
virtual void solve()
Solve for motion.
~displacementMeshMoverMotionSolver()
Destructor.
Mesh consisting of general polyhedral cells.
externalDisplacementMeshMover & meshMover() const
virtual tmp< pointField > curPoints() const
Return point location obtained from the current motion field.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Virtual base class for mesh movers with externally provided displacement field giving the boundary co...
Virtual base class for displacement motion solver.
Macros for easy insertion into run-time selection tables.
virtual void movePoints(const pointField &)
Update local data for geometry changes.
virtual void movePoints(const pointField &)
Update local data for geometry changes.
virtual void updateMesh(const mapPolyMesh &)
Update local data for topology changes.
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
labelList identity(const label len, label start=0)
Create identity map of the given length with (map[i] == i)
static tmp< T > New(Args &&... args)
Construct tmp of T with forwarding arguments.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
defineTypeNameAndDebug(combustionModel, 0)
static labelPairList findDuplicateFacePairs(const polyMesh &)
Helper routine to find all baffles (two boundary faces.