Public Types | Public Member Functions | Static Public Attributes | Private Member Functions | Private Attributes | Static Private Attributes
slidingInterface Class Reference

Sliding interface mesh modifier. Given two face zones, couple the master and slave side using a cutting procedure. More...

Inheritance diagram for slidingInterface:
Inheritance graph
[legend]
Collaboration diagram for slidingInterface:
Collaboration graph
[legend]

Public Types

enum  typeOfMatch { INTEGRAL, PARTIAL }
 Type of match. More...
 

Public Member Functions

 TypeName ("slidingInterface")
 Runtime type information. More...
 
 slidingInterface (const word &name, const label index, const polyTopoChanger &mme, const word &masterFaceZoneName, const word &slaveFaceZoneName, const word &cutPointZoneName, const word &cutFaceZoneName, const word &masterPatchName, const word &slavePatchName, const typeOfMatch tom, const bool coupleDecouple=false, const intersection::algorithm algo=intersection::VISIBLE)
 Construct from components. More...
 
 slidingInterface (const word &name, const dictionary &dict, const label index, const polyTopoChanger &mme)
 Construct from dictionary. More...
 
virtual ~slidingInterface ()
 Destructor. More...
 
const faceZoneIDmasterFaceZoneID () const
 Return master face zone ID. More...
 
const faceZoneIDslaveFaceZoneID () const
 Return slave face zone ID. More...
 
bool attached () const
 Return true if attached. More...
 
virtual bool changeTopology () const
 Check for topology change. More...
 
virtual void setRefinement (polyTopoChange &) const
 Insert the layer addition/removal instructions. More...
 
virtual void modifyMotionPoints (pointField &motionPoints) const
 Modify motion points to comply with the topological change. More...
 
virtual void updateMesh (const mapPolyMesh &)
 Force recalculation of locally stored data on topological change. More...
 
const pointFieldpointProjection () const
 Return projected points for a slave patch. More...
 
void setTolerances (const dictionary &, bool report=false)
 Set the tolerances from the values in a dictionary. More...
 
virtual void write (Ostream &) const
 Write. More...
 
virtual void writeDict (Ostream &) const
 Write dictionary. More...
 
- Public Member Functions inherited from polyMeshModifier
 TypeName ("meshModifier")
 Runtime type information. More...
 
 declareRunTimeSelectionTable (autoPtr, polyMeshModifier, dictionary,(const word &name, const dictionary &dict, const label index, const polyTopoChanger &mme),(name, dict, index, mme))
 
 polyMeshModifier (const word &name, const label index, const polyTopoChanger &mme, const bool act)
 Construct from components. More...
 
virtual ~polyMeshModifier ()
 Destructor. More...
 
const wordname () const
 Return name of this modifier. More...
 
label index () const
 Return the index of this modifier. More...
 
const polyTopoChangertopoChanger () const
 Return reference to morph engine. More...
 
const Switchactive () const
 
void enable () const
 Activate mesh modifier. More...
 
void disable () const
 Activate mesh modifier. More...
 

Static Public Attributes

static const NamedEnum< typeOfMatch, 2 > typeOfMatchNames_
 Direction names. More...
 

Private Member Functions

 slidingInterface (const slidingInterface &)
 Disallow default bitwise copy construct. More...
 
void operator= (const slidingInterface &)
 Disallow default bitwise assignment. More...
 
void clearOut () const
 Clear out. More...
 
void checkDefinition ()
 Check validity of construction data. More...
 
void calcAttachedAddressing () const
 Calculate attached addressing. More...
 
void renumberAttachedAddressing (const mapPolyMesh &) const
 Calculate decoupled zone face-cell addressing. More...
 
void clearAttachedAddressing () const
 Clear attached addressing. More...
 
const labelListmasterFaceCells () const
 Master faceCells. More...
 
const labelListslaveFaceCells () const
 Slave faceCells. More...
 
const labelListmasterStickOutFaces () const
 Master stick-out faces. More...
 
const labelListslaveStickOutFaces () const
 Slave stick-out faces. More...
 
const Map< label > & retiredPointMap () const
 Retired point map. More...
 
const Map< Pair< edge > > & cutPointEdgePairMap () const
 Cut point edge pair map. More...
 
void clearAddressing () const
 Clear addressing. More...
 
bool projectPoints () const
 Project slave points and compare with the current projection. More...
 
void coupleInterface (polyTopoChange &ref) const
 Couple sliding interface. More...
 
void clearPointProjection () const
 Clear projection. More...
 
void clearCouple (polyTopoChange &ref) const
 Clear old couple. More...
 
void decoupleInterface (polyTopoChange &ref) const
 Decouple interface (returns it to decoupled state) More...
 

Private Attributes

faceZoneID masterFaceZoneID_
 Master face zone ID. More...
 
faceZoneID slaveFaceZoneID_
 Slave face zone ID. More...
 
pointZoneID cutPointZoneID_
 Cut point zone ID. More...
 
faceZoneID cutFaceZoneID_
 Cut face zone ID. More...
 
polyPatchID masterPatchID_
 Master patch ID. More...
 
polyPatchID slavePatchID_
 Slave patch ID. More...
 
const typeOfMatch matchType_
 Type of match. More...
 
Switch coupleDecouple_
 Couple-decouple operation. More...
 
Switch attached_
 State of the modifier. More...
 
intersection::algorithm projectionAlgo_
 Point projection algorithm. More...
 
bool trigger_
 Trigger topological change. More...
 
scalar pointMergeTol_
 Point merge tolerance. More...
 
scalar edgeMergeTol_
 Edge merge tolerance. More...
 
label nFacesPerSlaveEdge_
 Estimated number of faces an edge goes through. More...
 
label edgeFaceEscapeLimit_
 Edge-face interaction escape limit. More...
 
scalar integralAdjTol_
 Integral match point adjustment tolerance. More...
 
scalar edgeMasterCatchFraction_
 Edge intersection master catch fraction. More...
 
scalar edgeCoPlanarTol_
 Edge intersection co-planar tolerance. More...
 
scalar edgeEndCutoffTol_
 Edge end cut-off tolerance. More...
 
labelListcutFaceMasterPtr_
 Cut face master face. Gives the index of face in master patch. More...
 
labelListcutFaceSlavePtr_
 Cut face slave face. Gives the index of face in slave patch. More...
 
labelListmasterFaceCellsPtr_
 Master zone faceCells. More...
 
labelListslaveFaceCellsPtr_
 Slave zone faceCells. More...
 
labelListmasterStickOutFacesPtr_
 Master stick-out faces. More...
 
labelListslaveStickOutFacesPtr_
 Slave stick-out faces. More...
 
Map< label > * retiredPointMapPtr_
 Retired point mapping. More...
 
Map< Pair< edge > > * cutPointEdgePairMapPtr_
 Cut edge pairs. More...
 
labelListslavePointPointHitsPtr_
 Slave point hit. The index of master point hit by the. More...
 
labelListslavePointEdgeHitsPtr_
 Slave edge hit. The index of master edge hit by the. More...
 
List< objectHit > * slavePointFaceHitsPtr_
 Slave face hit. The index of master face hit by the. More...
 
labelListmasterPointEdgeHitsPtr_
 Master point edge hit. The index of slave edge hit by. More...
 
pointFieldprojectedSlavePointsPtr_
 Projected slave points. More...
 

Static Private Attributes

static const scalar pointMergeTolDefault_ = 0.05
 Point merge tolerance. More...
 
static const scalar edgeMergeTolDefault_ = 0.01
 Edge merge tolerance. More...
 
static const label nFacesPerSlaveEdgeDefault_ = 5
 Estimated number of faces an edge goes through. More...
 
static const label edgeFaceEscapeLimitDefault_ = 10
 Edge-face interaction escape limit. More...
 
static const scalar integralAdjTolDefault_ = 0.05
 Integral match point adjustment tolerance. More...
 
static const scalar edgeMasterCatchFractionDefault_ = 0.4
 Edge intersection master catch fraction. More...
 
static const scalar edgeCoPlanarTolDefault_ = 0.8
 Edge intersection co-planar tolerance. More...
 
static const scalar edgeEndCutoffTolDefault_ = 0.0001
 Edge end cut-off tolerance. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from polyMeshModifier
static autoPtr< polyMeshModifierNew (const word &name, const dictionary &dict, const label index, const polyTopoChanger &mme)
 Select constructed from dictionary. More...
 

Detailed Description

Sliding interface mesh modifier. Given two face zones, couple the master and slave side using a cutting procedure.

The coupled faces are collected into the "coupled" zone and can become either internal or placed into a master and slave coupled zone. The remaining faces (uncovered master or slave) are placed into the master and slave patch.

The definition of the sliding interface can be either integral or partial. Integral interface implies that the slave side completely covers the master (i.e. no faces are uncovered); partial interface implies that the uncovered part of master/slave face zone should become boundary faces.

Source files

Definition at line 71 of file slidingInterface.H.

Member Enumeration Documentation

◆ typeOfMatch

Type of match.

Enumerator
INTEGRAL 
PARTIAL 

Definition at line 80 of file slidingInterface.H.

Constructor & Destructor Documentation

◆ slidingInterface() [1/3]

slidingInterface ( const slidingInterface )
private

Disallow default bitwise copy construct.

◆ slidingInterface() [2/3]

slidingInterface ( const word name,
const label  index,
const polyTopoChanger mme,
const word masterFaceZoneName,
const word slaveFaceZoneName,
const word cutPointZoneName,
const word cutFaceZoneName,
const word masterPatchName,
const word slavePatchName,
const typeOfMatch  tom,
const bool  coupleDecouple = false,
const intersection::algorithm  algo = intersection::VISIBLE 
)

Construct from components.

Definition at line 122 of file slidingInterface.C.

References Foam::abort(), Foam::FatalError, and FatalErrorInFunction.

Here is the call graph for this function:

◆ slidingInterface() [3/3]

slidingInterface ( const word name,
const dictionary dict,
const label  index,
const polyTopoChanger mme 
)

Construct from dictionary.

Definition at line 213 of file slidingInterface.C.

References dict, Foam::endl(), dictionary::lookup(), Foam::name(), and Foam::Pout.

Here is the call graph for this function:

◆ ~slidingInterface()

~slidingInterface ( )
virtual

Destructor.

Definition at line 312 of file slidingInterface.C.

Member Function Documentation

◆ operator=()

void operator= ( const slidingInterface )
private

Disallow default bitwise assignment.

◆ clearOut()

void clearOut ( ) const
private

Clear out.

Definition at line 109 of file slidingInterface.C.

◆ checkDefinition()

void checkDefinition ( )
private

◆ calcAttachedAddressing()

void calcAttachedAddressing ( ) const
private

◆ renumberAttachedAddressing()

void renumberAttachedAddressing ( const mapPolyMesh m) const
private

◆ clearAttachedAddressing()

void clearAttachedAddressing ( ) const
private

Clear attached addressing.

Definition at line 235 of file slidingInterfaceAttachedAddressing.C.

References Foam::deleteDemandDrivenData().

Referenced by slidingInterface::calcAttachedAddressing().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ masterFaceCells()

const Foam::labelList & masterFaceCells ( ) const
private

Master faceCells.

Definition at line 473 of file slidingInterfaceAttachedAddressing.C.

References Foam::abort(), Foam::FatalError, FatalErrorInFunction, and Foam::name().

Referenced by slidingInterface::coupleInterface().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ slaveFaceCells()

const Foam::labelList & slaveFaceCells ( ) const
private

Slave faceCells.

Definition at line 487 of file slidingInterfaceAttachedAddressing.C.

References Foam::abort(), Foam::FatalError, FatalErrorInFunction, and Foam::name().

Referenced by slidingInterface::coupleInterface().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ masterStickOutFaces()

const Foam::labelList & masterStickOutFaces ( ) const
private

Master stick-out faces.

Definition at line 501 of file slidingInterfaceAttachedAddressing.C.

References Foam::abort(), Foam::FatalError, FatalErrorInFunction, and Foam::name().

Referenced by slidingInterface::coupleInterface().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ slaveStickOutFaces()

const Foam::labelList & slaveStickOutFaces ( ) const
private

Slave stick-out faces.

Definition at line 515 of file slidingInterfaceAttachedAddressing.C.

References Foam::abort(), Foam::FatalError, FatalErrorInFunction, and Foam::name().

Referenced by slidingInterface::coupleInterface().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ retiredPointMap()

const Foam::Map< Foam::label > & retiredPointMap ( ) const
private

Retired point map.

Definition at line 529 of file slidingInterfaceAttachedAddressing.C.

References Foam::abort(), Foam::FatalError, FatalErrorInFunction, and Foam::name().

Referenced by slidingInterface::coupleInterface().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ cutPointEdgePairMap()

const Foam::Map< Foam::Pair< Foam::edge > > & cutPointEdgePairMap ( ) const
private

Cut point edge pair map.

Definition at line 543 of file slidingInterfaceAttachedAddressing.C.

References Foam::abort(), Foam::FatalError, FatalErrorInFunction, and Foam::name().

Here is the call graph for this function:

◆ clearAddressing()

void clearAddressing ( ) const
private

Clear addressing.

Definition at line 318 of file slidingInterface.C.

References Foam::deleteDemandDrivenData().

Here is the call graph for this function:

◆ projectPoints()

bool projectPoints ( ) const
private

Project slave points and compare with the current projection.

If the projection has changed, the sliding interface changes topologically

Definition at line 57 of file slidingInterfaceProjectPoints.C.

References Foam::abort(), slidingInterface::attached_, HashTable::clear(), Foam::deleteDemandDrivenData(), PointHit::distance(), slidingInterface::edgeEndCutoffTol_, slidingInterface::edgeFaceEscapeLimit_, PrimitivePatch< Face, FaceList, PointField, PointType >::edgeFaces(), slidingInterface::edgeMasterCatchFraction_, slidingInterface::edgeMergeTol_, PrimitivePatch< Face, FaceList, PointField, PointType >::edges(), primitiveMesh::edgesPerFace_, edge::end(), Foam::endl(), f(), PrimitivePatch< Face, FaceList, PointField, PointType >::faceEdges(), PrimitivePatch< Face, FaceList, PointField, PointType >::faceFaces(), Foam::FatalError, FatalErrorInFunction, forAll, HashTable::found(), PointHit::hit(), PointHit::hitPoint(), DynamicID::index(), HashSet< Key, Hash >::insert(), slidingInterface::INTEGRAL, slidingInterface::integralAdjTol_, edge::line(), PrimitivePatch< Face, FaceList, PointField, PointType >::localFaces(), PrimitivePatch< Face, FaceList, PointField, PointType >::localPoints(), line::mag(), Foam::mag(), slidingInterface::masterFaceZoneID_, slidingInterface::masterPointEdgeHitsPtr_, slidingInterface::matchType_, mesh, polyTopoChanger::mesh(), Foam::min(), PointHit::missPoint(), polyMeshModifier::name(), line::nearestDist(), slidingInterface::nFacesPerSlaveEdge_, Foam::nl, slidingInterface::PARTIAL, slidingInterface::pointMergeTol_, PrimitivePatch< Face, FaceList, PointField, PointType >::pointNormals(), primitiveMesh::pointsPerFace_, Foam::Pout, slidingInterface::projectedSlavePointsPtr_, slidingInterface::projectionAlgo_, PrimitivePatch< Face, FaceList, PointField, PointType >::projectPoints(), List::size(), slidingInterface::slaveFaceZoneID_, slidingInterface::slavePointEdgeHitsPtr_, slidingInterface::slavePointFaceHitsPtr_, slidingInterface::slavePointPointHitsPtr_, Foam::sqr(), edge::start(), line::start(), HashTable::toc(), polyMeshModifier::topoChanger(), slidingInterface::trigger_, line::vec(), and Vector< scalar >::zero.

Here is the call graph for this function:

◆ coupleInterface()

void coupleInterface ( polyTopoChange ref) const
private

Couple sliding interface.

Definition at line 68 of file coupleSlidingInterface.C.

References Foam::abort(), List::append(), DynamicList::append(), slidingInterface::attached_, Foam::constant::physicoChemical::b, Foam::constant::universal::c, enrichedPatch::calcEnrichedFaces(), HashTable::clear(), enrichedPatch::cutFaceMaster(), slidingInterface::cutFaceMasterPtr_, enrichedPatch::cutFaces(), enrichedPatch::cutFaceSlave(), slidingInterface::cutFaceSlavePtr_, slidingInterface::cutFaceZoneID_, slidingInterface::cutPointEdgePairMapPtr_, slidingInterface::cutPointZoneID_, Foam::deleteDemandDrivenData(), PointHit::distance(), Foam::e, slidingInterface::edgeCoPlanarTol_, slidingInterface::edgeEndCutoffTol_, slidingInterface::edgeFaceEscapeLimit_, PrimitivePatch< Face, FaceList, PointField, PointType >::edges(), primitiveMesh::edgesPerFace_, edge::end(), Foam::endl(), PrimitivePatch< Face, FaceList, PointField, PointType >::faceEdges(), PrimitivePatch< Face, FaceList, PointField, PointType >::faceFaces(), Foam::FatalError, FatalErrorInFunction, forAll, HashTable::found(), PointHit::hit(), PointHit::hitPoint(), DynamicID::index(), HashSet< Key, Hash >::insert(), edge::line(), plane::lineIntersect(), PrimitivePatch< Face, FaceList, PointField, PointType >::localPoints(), line::mag(), Foam::mag(), Foam::magSqr(), slidingInterface::masterFaceCells(), slidingInterface::masterFaceZoneID_, slidingInterface::masterPatchID_, slidingInterface::masterPointEdgeHitsPtr_, slidingInterface::masterStickOutFaces(), Foam::max(), Foam::constant::atomic::me, mesh, polyTopoChanger::mesh(), PrimitivePatch< Face, FaceList, PointField, PointType >::meshPointMap(), PrimitivePatch< Face, FaceList, PointField, PointType >::meshPoints(), Foam::min(), polyMeshModifier::name(), line::nearestDist(), face::nextLabel(), slidingInterface::nFacesPerSlaveEdge_, Foam::nl, PrimitivePatch< Face, FaceList, PointField, PointType >::pointEdges(), enrichedPatch::pointMap(), enrichedPatch::pointMergeMap(), PrimitivePatch< Face, FaceList, PointField, PointType >::pointNormals(), polyTopoChange::pointRemoved(), points, Foam::Pout, slidingInterface::projectedSlavePointsPtr_, slidingInterface::retiredPointMap(), slidingInterface::retiredPointMapPtr_, face::reverseFace(), polyTopoChange::setAction(), List::setSize(), List::size(), slidingInterface::slaveFaceCells(), slidingInterface::slaveFaceZoneID_, slidingInterface::slavePatchID_, slidingInterface::slavePointEdgeHitsPtr_, slidingInterface::slavePointFaceHitsPtr_, slidingInterface::slavePointPointHitsPtr_, slidingInterface::slaveStickOutFaces(), Foam::sqr(), edge::start(), line::start(), HashTable::toc(), polyMeshModifier::topoChanger(), List::transfer(), edge::vec(), line::vec(), and ZoneMesh::whichZone().

◆ clearPointProjection()

void clearPointProjection ( ) const
private

Clear projection.

Definition at line 1250 of file slidingInterfaceProjectPoints.C.

References Foam::deleteDemandDrivenData().

Here is the call graph for this function:

◆ clearCouple()

void clearCouple ( polyTopoChange ref) const
private

Clear old couple.

Definition at line 36 of file slidingInterfaceClearCouple.C.

References Foam::endl(), forAll, mesh, Foam::name(), Foam::Pout, and polyTopoChange::setAction().

Here is the call graph for this function:

◆ decoupleInterface()

void decoupleInterface ( polyTopoChange ref) const
private

Decouple interface (returns it to decoupled state)

Note: this should not be used in normal operation of the sliding mesh, but only to return the mesh to its original state

Definition at line 37 of file decoupleSlidingInterface.C.

References Foam::abort(), DynamicList::append(), cells, Foam::endl(), polyTopoChange::faceRemoved(), Foam::FatalError, FatalErrorInFunction, face::flip(), forAll, HashSet< Key, Hash >::insert(), mesh, PrimitivePatch< Face, FaceList, PointField, PointType >::meshPointMap(), Foam::name(), Foam::nl, polyTopoChange::pointRemoved(), points, Foam::Pout, polyTopoChange::setAction(), List::size(), and List::transfer().

Here is the call graph for this function:

◆ TypeName()

TypeName ( "slidingInterface"  )

Runtime type information.

◆ masterFaceZoneID()

const Foam::faceZoneID & masterFaceZoneID ( ) const

Return master face zone ID.

Definition at line 327 of file slidingInterface.C.

◆ slaveFaceZoneID()

const Foam::faceZoneID & slaveFaceZoneID ( ) const

Return slave face zone ID.

Definition at line 333 of file slidingInterface.C.

◆ attached()

bool attached ( ) const
inline

Return true if attached.

Definition at line 353 of file slidingInterface.H.

References slidingInterface::attached_.

◆ changeTopology()

bool changeTopology ( ) const
virtual

Check for topology change.

Implements polyMeshModifier.

Definition at line 339 of file slidingInterface.C.

References Foam::endl(), mesh, Foam::name(), and Foam::Pout.

Here is the call graph for this function:

◆ setRefinement()

void setRefinement ( polyTopoChange ref) const
virtual

Insert the layer addition/removal instructions.

into the topological change

Implements polyMeshModifier.

Definition at line 380 of file slidingInterface.C.

◆ modifyMotionPoints()

void modifyMotionPoints ( pointField motionPoints) const
virtual

◆ updateMesh()

void updateMesh ( const mapPolyMesh m)
virtual

Force recalculation of locally stored data on topological change.

Implements polyMeshModifier.

Definition at line 646 of file slidingInterface.C.

References polyMesh::boundaryMesh(), Foam::endl(), polyMesh::faceZones(), mesh, Foam::name(), polyMesh::pointZones(), Foam::Pout, and dynamicFvMesh::update().

Here is the call graph for this function:

◆ pointProjection()

const Foam::pointField & pointProjection ( ) const

Return projected points for a slave patch.

Definition at line 678 of file slidingInterface.C.

◆ setTolerances()

void setTolerances ( const dictionary dict,
bool  report = false 
)

Set the tolerances from the values in a dictionary.

Definition at line 688 of file slidingInterface.C.

References dict, Foam::endl(), Foam::Info, dictionary::lookupOrDefault(), and Foam::nl.

Here is the call graph for this function:

◆ write()

void write ( Ostream os) const
virtual

Write.

Implements polyMeshModifier.

Definition at line 746 of file slidingInterface.C.

References Foam::endl(), Foam::name(), Foam::nl, and Foam::type().

Here is the call graph for this function:

◆ writeDict()

void writeDict ( Ostream os) const
virtual

Write dictionary.

Implements polyMeshModifier.

Definition at line 770 of file slidingInterface.C.

References intersection::algorithmNames_, token::BEGIN_BLOCK, token::END_BLOCK, token::END_STATEMENT, Foam::endl(), Foam::name(), Foam::nl, Foam::type(), and WRITE_NON_DEFAULT.

Here is the call graph for this function:

Field Documentation

◆ typeOfMatchNames_

const Foam::NamedEnum< Foam::slidingInterface::typeOfMatch, 2 > typeOfMatchNames_
static

Direction names.

Definition at line 87 of file slidingInterface.H.

◆ masterFaceZoneID_

faceZoneID masterFaceZoneID_
private

◆ slaveFaceZoneID_

faceZoneID slaveFaceZoneID_
private

◆ cutPointZoneID_

pointZoneID cutPointZoneID_
private

Cut point zone ID.

Definition at line 100 of file slidingInterface.H.

Referenced by slidingInterface::checkDefinition(), and slidingInterface::coupleInterface().

◆ cutFaceZoneID_

faceZoneID cutFaceZoneID_
private

Cut face zone ID.

Definition at line 103 of file slidingInterface.H.

Referenced by slidingInterface::checkDefinition(), and slidingInterface::coupleInterface().

◆ masterPatchID_

polyPatchID masterPatchID_
private

Master patch ID.

Definition at line 106 of file slidingInterface.H.

Referenced by slidingInterface::checkDefinition(), and slidingInterface::coupleInterface().

◆ slavePatchID_

polyPatchID slavePatchID_
private

Slave patch ID.

Definition at line 109 of file slidingInterface.H.

Referenced by slidingInterface::checkDefinition(), and slidingInterface::coupleInterface().

◆ matchType_

const typeOfMatch matchType_
private

Type of match.

Definition at line 112 of file slidingInterface.H.

Referenced by slidingInterface::projectPoints().

◆ coupleDecouple_

Switch coupleDecouple_
mutableprivate

Couple-decouple operation.

If the interface is coupled, decouple it and vice versa. Used in conjuction with automatic mesh motion

Definition at line 117 of file slidingInterface.H.

◆ attached_

Switch attached_
mutableprivate

◆ projectionAlgo_

intersection::algorithm projectionAlgo_
private

Point projection algorithm.

Definition at line 123 of file slidingInterface.H.

Referenced by slidingInterface::projectPoints().

◆ trigger_

bool trigger_
mutableprivate

Trigger topological change.

Definition at line 126 of file slidingInterface.H.

Referenced by slidingInterface::projectPoints().

◆ pointMergeTol_

scalar pointMergeTol_
private

Point merge tolerance.

Definition at line 131 of file slidingInterface.H.

Referenced by slidingInterface::projectPoints().

◆ edgeMergeTol_

scalar edgeMergeTol_
private

Edge merge tolerance.

Definition at line 134 of file slidingInterface.H.

Referenced by slidingInterface::projectPoints().

◆ nFacesPerSlaveEdge_

label nFacesPerSlaveEdge_
private

Estimated number of faces an edge goes through.

Definition at line 137 of file slidingInterface.H.

Referenced by slidingInterface::coupleInterface(), and slidingInterface::projectPoints().

◆ edgeFaceEscapeLimit_

label edgeFaceEscapeLimit_
private

Edge-face interaction escape limit.

Definition at line 140 of file slidingInterface.H.

Referenced by slidingInterface::coupleInterface(), and slidingInterface::projectPoints().

◆ integralAdjTol_

scalar integralAdjTol_
private

Integral match point adjustment tolerance.

Definition at line 143 of file slidingInterface.H.

Referenced by slidingInterface::projectPoints().

◆ edgeMasterCatchFraction_

scalar edgeMasterCatchFraction_
private

Edge intersection master catch fraction.

Definition at line 146 of file slidingInterface.H.

Referenced by slidingInterface::projectPoints().

◆ edgeCoPlanarTol_

scalar edgeCoPlanarTol_
private

Edge intersection co-planar tolerance.

Definition at line 149 of file slidingInterface.H.

Referenced by slidingInterface::coupleInterface().

◆ edgeEndCutoffTol_

scalar edgeEndCutoffTol_
private

Edge end cut-off tolerance.

Definition at line 152 of file slidingInterface.H.

Referenced by slidingInterface::coupleInterface(), and slidingInterface::projectPoints().

◆ cutFaceMasterPtr_

labelList* cutFaceMasterPtr_
mutableprivate

Cut face master face. Gives the index of face in master patch.

the cut face has been created from. For a slave-only face this will be -1

Definition at line 160 of file slidingInterface.H.

Referenced by slidingInterface::coupleInterface().

◆ cutFaceSlavePtr_

labelList* cutFaceSlavePtr_
mutableprivate

Cut face slave face. Gives the index of face in slave patch.

the cut face has been created from. For a master-only face this will be -1

Definition at line 165 of file slidingInterface.H.

Referenced by slidingInterface::coupleInterface().

◆ masterFaceCellsPtr_

labelList* masterFaceCellsPtr_
mutableprivate

Master zone faceCells.

Definition at line 168 of file slidingInterface.H.

Referenced by slidingInterface::calcAttachedAddressing().

◆ slaveFaceCellsPtr_

labelList* slaveFaceCellsPtr_
mutableprivate

Slave zone faceCells.

Definition at line 171 of file slidingInterface.H.

Referenced by slidingInterface::calcAttachedAddressing().

◆ masterStickOutFacesPtr_

labelList* masterStickOutFacesPtr_
mutableprivate

Master stick-out faces.

Definition at line 174 of file slidingInterface.H.

Referenced by slidingInterface::calcAttachedAddressing().

◆ slaveStickOutFacesPtr_

labelList* slaveStickOutFacesPtr_
mutableprivate

Slave stick-out faces.

Definition at line 177 of file slidingInterface.H.

Referenced by slidingInterface::calcAttachedAddressing().

◆ retiredPointMapPtr_

Map<label>* retiredPointMapPtr_
mutableprivate

Retired point mapping.

For every retired slave side point, gives the label of the master point that replaces it

Definition at line 182 of file slidingInterface.H.

Referenced by slidingInterface::calcAttachedAddressing(), and slidingInterface::coupleInterface().

◆ cutPointEdgePairMapPtr_

Map<Pair<edge> >* cutPointEdgePairMapPtr_
mutableprivate

Cut edge pairs.

For cut points created by intersection two edges, store the master-slave edge pair used in creation

Definition at line 187 of file slidingInterface.H.

Referenced by slidingInterface::calcAttachedAddressing(), and slidingInterface::coupleInterface().

◆ slavePointPointHitsPtr_

labelList* slavePointPointHitsPtr_
mutableprivate

Slave point hit. The index of master point hit by the.

slave point in projection. For no point hit, set to -1

Definition at line 191 of file slidingInterface.H.

Referenced by slidingInterface::coupleInterface(), and slidingInterface::projectPoints().

◆ slavePointEdgeHitsPtr_

labelList* slavePointEdgeHitsPtr_
mutableprivate

Slave edge hit. The index of master edge hit by the.

slave point in projection. For point or no edge hit, set to -1

Definition at line 195 of file slidingInterface.H.

Referenced by slidingInterface::coupleInterface(), and slidingInterface::projectPoints().

◆ slavePointFaceHitsPtr_

List<objectHit>* slavePointFaceHitsPtr_
mutableprivate

Slave face hit. The index of master face hit by the.

slave point in projection.

Definition at line 199 of file slidingInterface.H.

Referenced by slidingInterface::coupleInterface(), and slidingInterface::projectPoints().

◆ masterPointEdgeHitsPtr_

labelList* masterPointEdgeHitsPtr_
mutableprivate

Master point edge hit. The index of slave edge hit by.

a master point. For no hit set to -1

Definition at line 203 of file slidingInterface.H.

Referenced by slidingInterface::coupleInterface(), and slidingInterface::projectPoints().

◆ projectedSlavePointsPtr_

pointField* projectedSlavePointsPtr_
mutableprivate

Projected slave points.

Definition at line 206 of file slidingInterface.H.

Referenced by slidingInterface::coupleInterface(), and slidingInterface::projectPoints().

◆ pointMergeTolDefault_

const Foam::scalar pointMergeTolDefault_ = 0.05
staticprivate

Point merge tolerance.

Definition at line 281 of file slidingInterface.H.

◆ edgeMergeTolDefault_

const Foam::scalar edgeMergeTolDefault_ = 0.01
staticprivate

Edge merge tolerance.

Definition at line 284 of file slidingInterface.H.

◆ nFacesPerSlaveEdgeDefault_

const Foam::label nFacesPerSlaveEdgeDefault_ = 5
staticprivate

Estimated number of faces an edge goes through.

Definition at line 287 of file slidingInterface.H.

◆ edgeFaceEscapeLimitDefault_

const Foam::label edgeFaceEscapeLimitDefault_ = 10
staticprivate

Edge-face interaction escape limit.

Definition at line 290 of file slidingInterface.H.

◆ integralAdjTolDefault_

const Foam::scalar integralAdjTolDefault_ = 0.05
staticprivate

Integral match point adjustment tolerance.

Definition at line 293 of file slidingInterface.H.

◆ edgeMasterCatchFractionDefault_

const Foam::scalar edgeMasterCatchFractionDefault_ = 0.4
staticprivate

Edge intersection master catch fraction.

Definition at line 296 of file slidingInterface.H.

◆ edgeCoPlanarTolDefault_

const Foam::scalar edgeCoPlanarTolDefault_ = 0.8
staticprivate

Edge intersection co-planar tolerance.

Definition at line 299 of file slidingInterface.H.

◆ edgeEndCutoffTolDefault_

const Foam::scalar edgeEndCutoffTolDefault_ = 0.0001
staticprivate

Edge end cut-off tolerance.

Definition at line 302 of file slidingInterface.H.


The documentation for this class was generated from the following files: