Go to the documentation of this file.
52 #ifndef slidingInterface_H
53 #define slidingInterface_H
56 #include "primitiveFacePatch.H"
320 const word& masterFaceZoneName,
321 const word& slaveFaceZoneName,
322 const word& cutPointZoneName,
323 const word& cutFaceZoneName,
324 const word& masterPatchName,
325 const word& slavePatchName,
327 const bool coupleDecouple =
false,
static const scalar edgeEndCutoffTolDefault_
Edge end cut-off tolerance.
const typeOfMatch matchType_
Type of match.
void clearAddressing() const
Clear addressing.
scalar edgeMergeTol_
Edge merge tolerance.
A simple wrapper around bool so that it can be read as a word: true/false, on/off,...
const Map< label > & retiredPointMap() const
Retired point map.
labelList * cutFaceMasterPtr_
Cut face master face. Gives the index of face in master patch.
labelList * masterPointEdgeHitsPtr_
Master point edge hit. The index of slave edge hit by.
A class for handling words, derived from string.
faceZoneID cutFaceZoneID_
Cut face zone ID.
virtual void setRefinement(polyTopoChange &) const
Insert the layer addition/removal instructions.
Switch attached_
State of the modifier.
label nFacesPerSlaveEdge_
Estimated number of faces an edge goes through.
void clearOut() const
Clear out.
labelList * masterFaceCellsPtr_
Master zone faceCells.
const labelList & slaveFaceCells() const
Slave faceCells.
static const scalar integralAdjTolDefault_
Integral match point adjustment tolerance.
const faceZoneID & slaveFaceZoneID() const
Return slave face zone ID.
void clearPointProjection() const
Clear projection.
void renumberAttachedAddressing(const mapPolyMesh &) const
Calculate decoupled zone face-cell addressing.
typeOfMatch
Type of match.
List of mesh modifiers defining the mesh dynamics.
void clearCouple(polyTopoChange &ref) const
Clear old couple.
polyPatchID masterPatchID_
Master patch ID.
labelList * cutFaceSlavePtr_
Cut face slave face. Gives the index of face in slave patch.
const labelList & slaveStickOutFaces() const
Slave stick-out faces.
Direct mesh changes based on v1.3 polyTopoChange syntax.
pointZoneID cutPointZoneID_
Cut point zone ID.
label index() const
Return the index of this modifier.
static const NamedEnum< typeOfMatch, 2 > typeOfMatchNames_
Direction names.
labelList * slavePointPointHitsPtr_
Slave point hit. The index of master point hit by the.
Sliding interface mesh modifier. Given two face zones, couple the master and slave side using a cutti...
static const label nFacesPerSlaveEdgeDefault_
Estimated number of faces an edge goes through.
void clearAttachedAddressing() const
Clear attached addressing.
void setTolerances(const dictionary &, bool report=false)
Set the tolerances from the values in a dictionary.
bool attached() const
Return true if attached.
virtual ~slidingInterface()
Destructor.
scalar integralAdjTol_
Integral match point adjustment tolerance.
void operator=(const slidingInterface &)
Disallow default bitwise assignment.
virtual void updateMesh(const mapPolyMesh &)
Force recalculation of locally stored data on topological change.
const labelList & masterStickOutFaces() const
Master stick-out faces.
Map< Pair< edge > > * cutPointEdgePairMapPtr_
Cut edge pairs.
void decoupleInterface(polyTopoChange &ref) const
Decouple interface (returns it to decoupled state)
scalar pointMergeTol_
Point merge tolerance.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Pre-declare SubField and related Field type.
pointField * projectedSlavePointsPtr_
Projected slave points.
Switch coupleDecouple_
Couple-decouple operation.
labelList * slaveStickOutFacesPtr_
Slave stick-out faces.
scalar edgeCoPlanarTol_
Edge intersection co-planar tolerance.
bool projectPoints() const
Project slave points and compare with the current projection.
Map< label > * retiredPointMapPtr_
Retired point mapping.
A list of keyword definitions, which are a keyword followed by any number of values (e....
label edgeFaceEscapeLimit_
Edge-face interaction escape limit.
static const scalar edgeCoPlanarTolDefault_
Edge intersection co-planar tolerance.
Virtual base class for mesh modifiers.
TypeName("slidingInterface")
Runtime type information.
static const scalar edgeMasterCatchFractionDefault_
Edge intersection master catch fraction.
const word & name() const
Return name of this modifier.
faceZoneID slaveFaceZoneID_
Slave face zone ID.
faceZoneID masterFaceZoneID_
Master face zone ID.
slidingInterface(const slidingInterface &)
Disallow default bitwise copy construct.
void coupleInterface(polyTopoChange &ref) const
Couple sliding interface.
virtual void modifyMotionPoints(pointField &motionPoints) const
Modify motion points to comply with the topological change.
static const label edgeFaceEscapeLimitDefault_
Edge-face interaction escape limit.
List< objectHit > * slavePointFaceHitsPtr_
Slave face hit. The index of master face hit by the.
bool trigger_
Trigger topological change.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
static const scalar pointMergeTolDefault_
Point merge tolerance.
labelList * masterStickOutFacesPtr_
Master stick-out faces.
void calcAttachedAddressing() const
Calculate attached addressing.
intersection::algorithm projectionAlgo_
Point projection algorithm.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
labelList * slavePointEdgeHitsPtr_
Slave edge hit. The index of master edge hit by the.
labelList * slaveFaceCellsPtr_
Slave zone faceCells.
static const scalar edgeMergeTolDefault_
Edge merge tolerance.
void checkDefinition()
Check validity of construction data.
polyPatchID slavePatchID_
Slave patch ID.
const faceZoneID & masterFaceZoneID() const
Return master face zone ID.
const labelList & masterFaceCells() const
Master faceCells.
scalar edgeEndCutoffTol_
Edge end cut-off tolerance.
virtual void writeDict(Ostream &) const
Write dictionary.
scalar edgeMasterCatchFraction_
Edge intersection master catch fraction.
const Map< Pair< edge > > & cutPointEdgePairMap() const
Cut point edge pair map.
virtual void write(Ostream &) const
Write.
const pointField & pointProjection() const
Return projected points for a slave patch.
virtual bool changeTopology() const
Check for topology change.