39 displacementMeshMoverMotionSolver,
50 Foam::displacementMeshMoverMotionSolver::displacementMeshMoverMotionSolver
73 if (!meshMoverPtr_.valid())
75 const word moverType(coeffDict().
lookup(
"meshMover"));
80 coeffDict().subDict(moverType +
"Coeffs"),
85 return meshMoverPtr_();
105 pointDisplacement().boundaryField().updateCoeffs();
107 label nAllowableErrors = 0;
111 coeffDict().subDict(meshMover().
type() +
"Coeffs"),
117 pointDisplacement().correctBoundaryConditions();
126 if (meshMoverPtr_.valid())
128 meshMover().movePoints(p);
141 meshMoverPtr_.clear();
const pointField & points
virtual void updateMesh(const mapPolyMesh &)
Update local data for topology changes.
virtual tmp< pointField > curPoints() const
Return point location obtained from the current motion field.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
static autoPtr< externalDisplacementMeshMover > New(const word &type, const dictionary &dict, const List< labelPair > &baffles, pointVectorField &pointDisplacement)
Return a reference to the selected meshMover model.
virtual void updateMesh(const mapPolyMesh &)
Update topology.
A class for handling words, derived from string.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
externalDisplacementMeshMover & meshMover() const
vectorField pointField
pointField is a vectorField.
static labelPairList findDuplicateFacePairs(const polyMesh &)
Helper routine to find all baffles (two boundary faces.
virtual void solve()
Solve for motion.
stressControl lookup("compactNormalStress") >> compactNormalStress
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
Macros for easy insertion into run-time selection tables.
labelList identity(const label len)
Create identity map (map[i] == i) of given length.
fileName::Type type(const fileName &)
Return the file type: DIRECTORY or FILE.
virtual void movePoints(const pointField &)
Update local data for geometry changes.
Mesh consisting of general polyhedral cells.
virtual void movePoints(const pointField &)
Update local data for geometry changes.
~displacementMeshMoverMotionSolver()
Destructor.
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)
A class for managing temporary objects.
Virtual base class for mesh movers with externally provided displacement field giving the boundary co...
defineTypeNameAndDebug(combustionModel, 0)
Virtual base class for displacement motion solver.