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().boundaryFieldRef().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();
Virtual base class for displacement motion solver.
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 void updateMesh(const mapPolyMesh &)
Update topology.
virtual tmp< pointField > curPoints() const
Return point location obtained from the current motion field.
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 solve()
Solve for motion.
labelList identity(const label len)
Create identity map (map[i] == i) of given length.
virtual void updateMesh(const mapPolyMesh &)
Update local data for topology changes.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
Macros for easy insertion into run-time selection tables.
static labelPairList findDuplicateFacePairs(const polyMesh &)
Helper routine to find all baffles (two boundary faces.
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
~displacementMeshMoverMotionSolver()
Destructor.
virtual void movePoints(const pointField &)
Update local data for geometry changes.
vectorField pointField
pointField is a vectorField.
stressControl lookup("compactNormalStress") >> compactNormalStress
externalDisplacementMeshMover & meshMover() const
A class for handling words, derived from string.
virtual void movePoints(const pointField &)
Update local data for geometry changes.
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)
defineTypeNameAndDebug(combustionModel, 0)
Virtual base class for mesh movers with externally provided displacement field giving the boundary co...
fileName::Type type(const fileName &)
Return the file type: DIRECTORY or FILE.
Mesh consisting of general polyhedral cells.
A class for managing temporary objects.