39 displacementMeshMoverMotionSolver,
70 if (!meshMoverPtr_.valid())
72 const word moverType(coeffDict().
lookup(
"meshMover"));
77 coeffDict().optionalSubDict(moverType +
"Coeffs"),
82 return meshMoverPtr_();
102 pointDisplacement().boundaryFieldRef().updateCoeffs();
104 label nAllowableErrors = 0;
108 coeffDict().optionalSubDict(meshMover().
type() +
"Coeffs"),
114 pointDisplacement().correctBoundaryConditions();
123 if (meshMoverPtr_.valid())
125 meshMover().movePoints(p);
138 meshMoverPtr_.clear();
Virtual base class for displacement motion solver.
A list of keyword definitions, which are a keyword followed by any number of values (e...
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.
Macros for easy insertion into run-time selection tables.
static labelPairList findDuplicateFacePairs(const polyMesh &)
Helper routine to find all baffles (two boundary faces.
~displacementMeshMoverMotionSolver()
Destructor.
virtual tmp< pointField > curPoints() const
Return point location obtained from the current motion field.
vectorField pointField
pointField is a vectorField.
stressControl lookup("compactNormalStress") >> compactNormalStress
A class for handling words, derived from string.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
virtual void movePoints(const pointField &)
Update local data for geometry changes.
externalDisplacementMeshMover & meshMover() const
virtual void topoChange(const polyTopoChangeMap &)
Update topology.
virtual void topoChange(const polyTopoChangeMap &)
Update local data for topology changes.
virtual void movePoints(const pointField &)
Update local data for geometry changes.
displacementMeshMoverMotionSolver(const word &name, const polyMesh &, const dictionary &)
Construct from polyMesh and dictionary.
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)
defineTypeNameAndDebug(combustionModel, 0)
Virtual base class for mesh movers with externally provided displacement field giving the boundary co...
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.
Mesh consisting of general polyhedral cells.
A class for managing temporary objects.