71 if (!meshMoverPtr_.valid())
73 const word moverType(dict_.lookup(
"meshMover"));
83 return meshMoverPtr_();
103 pointDisplacement().boundaryFieldRef().updateCoeffs();
105 label nAllowableErrors = 0;
115 pointDisplacement().correctBoundaryConditions();
124 if (meshMoverPtr_.valid())
126 meshMover().movePoints(
p);
139 meshMoverPtr_.clear();
Macros for easy insertion into run-time selection tables.
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
Mesh motion solver for an fvMesh. Based on solving the cell-centre Laplacian for the motion displacem...
virtual tmp< pointField > curPoints() const
Return point location obtained from the current motion field.
~displacementMeshMoverMotionSolver()
Destructor.
virtual void topoChange(const polyTopoChangeMap &)
Update topology.
displacementMeshMoverMotionSolver(const word &name, const polyMesh &, const dictionary &)
Construct from polyMesh and dictionary.
externalDisplacementMeshMover & meshMover() const
virtual void movePoints(const pointField &)
Update local data for geometry changes.
virtual void solve()
Solve for motion.
Virtual base class for displacement motion solver.
Virtual base class for mesh movers with externally provided displacement field giving the boundary co...
static autoPtr< externalDisplacementMeshMover > New(const word &type, const dictionary &dict, const List< labelPair > &baffles, pointVectorField &pointDisplacement)
Return a reference to the selected meshMover model.
static labelPairList findDuplicateFacePairs(const polyMesh &)
Helper routine to find all baffles (two boundary faces.
Virtual base class for mesh motion solver.
virtual void topoChange(const polyTopoChangeMap &)
Update local data for topology changes.
virtual void movePoints(const pointField &)
Update local data for geometry changes.
Mesh consisting of general polyhedral cells.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
A class for managing temporary objects.
A class for handling words, derived from string.
Foam::fvMesh mesh(Foam::IOobject(regionName, runTime.name(), runTime, Foam::IOobject::MUST_READ), false)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
addToRunTimeSelectionTable(polyPatch, mergedCyclicPolyPatch, word)
vectorField pointField
pointField is a vectorField.
defineTypeNameAndDebug(combustionModel, 0)
word name(const LagrangianState state)
Return a string representation of a Lagrangian state enumeration.
labelList identityMap(const label len)
Create identity map (map[i] == i) of given length.