75 const word moverType(coeffDict().get<word>(
"meshMover"));
80 coeffDict().optionalSubDict(moverType +
"Coeffs"),
85 return *meshMoverPtr_;
105 pointDisplacement().boundaryFieldRef().updateCoeffs();
107 label nAllowableErrors = 0;
111 coeffDict().optionalSubDict(meshMover().
type() +
"Coeffs"),
117 pointDisplacement().correctBoundaryConditions();
128 meshMover().movePoints(
p);
141 meshMoverPtr_.clear();
Macros for easy insertion into run-time selection tables.
#define addToRunTimeSelectionTable(baseType, thisType, argNames)
Add to construction table with typeName as the key.
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
static autoPtr< Time > New()
Construct (dummy) Time - no functionObjects or libraries.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Mesh motion solver for an fvMesh. Uses externalDisplacementMeshMover to do the mesh motion.
virtual tmp< pointField > curPoints() const
Return point location obtained from the current motion field.
~displacementMeshMoverMotionSolver()
Destructor.
externalDisplacementMeshMover & meshMover() const
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 labelPairList findDuplicateFacePairs(const polyMesh &)
Helper routine to find all baffles (two boundary faces.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
void movePoints()
Update for new mesh geometry.
void updateMesh()
Update for new mesh topology.
Virtual base class for mesh motion solver.
Mesh consisting of general polyhedral cells.
A class for managing temporary objects.
A class for handling words, derived from Foam::string.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
const labelList nFaces(UPstream::listGatherValues< label >(aMesh.nFaces()))
labelList identity(const label len, label start=0)
Return an identity map of the given length with (map[i] == i)
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.