Go to the documentation of this file.
43 #ifndef externalDisplacementMeshMover_H
44 #define externalDisplacementMeshMover_H
105 TypeName(
"externalDisplacementMeshMover");
147 const bool dryRun =
false
191 const label nAllowableErrors,
static labelList getFixedValueBCs(const pointVectorField &)
Extract fixed-value patchfields.
A class for handling words, derived from Foam::string.
static autoPtr< externalDisplacementMeshMover > New(const word &type, const dictionary &dict, const List< labelPair > &baffles, pointVectorField &pointDisplacement, const bool dryRun=false)
Return a reference to the selected meshMover model.
Mesh consisting of general polyhedral cells.
pointVectorField & pointDisplacement()
Return reference to the point motion displacement field.
virtual void updateMesh(const mapPolyMesh &)
Update local data for topology changes.
virtual void movePoints(const pointField &)
Update local data for geometry changes.
Virtual base class for mesh movers with externally provided displacement field giving the boundary co...
const pointVectorField & pointDisplacement() const
Return const reference to the point motion displacement field.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
List< labelPair > baffles_
Baffles in the mesh.
Mesh representing a set of points created from polyMesh.
virtual ~externalDisplacementMeshMover()
Destructor.
static autoPtr< indirectPrimitivePatch > getPatch(const polyMesh &, const labelList &)
Construct patch on selected patches.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
const pointMesh & pMesh() const
declareRunTimeSelectionTable(autoPtr, externalDisplacementMeshMover, dictionary,(const dictionary &dict, const List< labelPair > &baffles, pointVectorField &pointDisplacement, const bool dryRun),(dict, baffles, pointDisplacement, dryRun))
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
TypeName("externalDisplacementMeshMover")
Runtime type information.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
const bool dryRun_
In dry-run mode?
pointVectorField & pointDisplacement_
Reference to point motion field.
virtual bool move(const dictionary &, const label nAllowableErrors, labelList &checkFaces)=0
Move mesh using current pointDisplacement boundary values.
const polyMesh & mesh() const