OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

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:
Collaboration diagram for slidingInterface:

List of all members.


Public Types

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

Public Member Functions

 TypeName ("slidingInterface")
 Runtime type information.
 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.
 slidingInterface (const word &name, const dictionary &dict, const label index, const polyTopoChanger &mme)
 Construct from dictionary.
virtual ~slidingInterface ()
const faceZoneID & masterFaceZoneID () const
 Return master face zone ID.
const faceZoneID & slaveFaceZoneID () const
 Return slave face zone ID.
bool attached () const
 Return true if attached.
virtual bool changeTopology () const
 Check for topology change.
virtual void setRefinement (polyTopoChange &) const
 Insert the layer addition/removal instructions.
virtual void modifyMotionPoints (pointField &motionPoints) const
 Modify motion points to comply with the topological change.
virtual void updateMesh (const mapPolyMesh &)
 Force recalculation of locally stored data on topological change.
const pointField & pointProjection () const
 Return projected points for a slave patch.
virtual void write (Ostream &) const
 Write.
virtual void writeDict (Ostream &) const
 Write dictionary.

Static Public Attributes

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

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 69 of file slidingInterface.H.


Member Enumeration Documentation

Type of match.

Enumerator:
INTEGRAL 
PARTIAL 

Definition at line 78 of file slidingInterface.H.


Constructor & Destructor Documentation

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 116 of file slidingInterface.C.

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

Construct from dictionary.

Definition at line 214 of file slidingInterface.C.

~slidingInterface (  )  [virtual]

Definition at line 310 of file slidingInterface.C.


Member Function Documentation

TypeName ( "slidingInterface"   ) 

Runtime type information.

const Foam::faceZoneID & masterFaceZoneID (  )  const

Return master face zone ID.

Definition at line 325 of file slidingInterface.C.

References Foam::deleteDemandDrivenData().

Here is the call graph for this function:

const Foam::faceZoneID & slaveFaceZoneID (  )  const

Return slave face zone ID.

Definition at line 331 of file slidingInterface.C.

bool attached (  )  const [inline]

Return true if attached.

Definition at line 348 of file slidingInterface.H.

bool changeTopology (  )  const [virtual]

Check for topology change.

Implements polyMeshModifier.

Definition at line 337 of file slidingInterface.C.

void setRefinement ( polyTopoChange &  ref  )  const [virtual]

Insert the layer addition/removal instructions.

into the topological change

Implements polyMeshModifier.

Definition at line 378 of file slidingInterface.C.

void modifyMotionPoints ( pointField &  motionPoints  )  const [virtual]

Modify motion points to comply with the topological change.

Implements polyMeshModifier.

Definition at line 411 of file slidingInterface.C.

void updateMesh ( const mapPolyMesh &  m  )  [virtual]

Force recalculation of locally stored data on topological change.

Implements polyMeshModifier.

Definition at line 638 of file slidingInterface.C.

const Foam::pointField & pointProjection (  )  const

Return projected points for a slave patch.

Definition at line 670 of file slidingInterface.C.

void write ( Ostream &  os  )  const [virtual]

Write.

Implements polyMeshModifier.

Definition at line 681 of file slidingInterface.C.

void writeDict ( Ostream &  os  )  const [virtual]

Write dictionary.

Implements polyMeshModifier.

Definition at line 697 of file slidingInterface.C.


Member Data Documentation

Direction names.

Definition at line 85 of file slidingInterface.H.


The documentation for this class was generated from the following files:
Copyright © 2000-2009 OpenCFD Ltd