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

attachPolyTopoChanger Class Reference

This class is derived from polyMesh and serves as a tool for statically connecting pieces of a mesh by executing the mesh modifiers and cleaning the mesh. More...

Inheritance diagram for attachPolyTopoChanger:
Collaboration diagram for attachPolyTopoChanger:

List of all members.


Public Member Functions

 attachPolyTopoChanger (const IOobject &io, polyMesh &)
 Read constructor from IOobject and a polyMesh.
 attachPolyTopoChanger (polyMesh &)
 Read constructor for given polyMesh.
virtual ~attachPolyTopoChanger ()
void attach (const bool removeEmptyPatches=true)
 Attach mesh. By default filter out empty patches.

Detailed Description

This class is derived from polyMesh and serves as a tool for statically connecting pieces of a mesh by executing the mesh modifiers and cleaning the mesh.

The idea is that a mesh can be built from pieces and put together using various mesh modifiers (mainly sliding interfaces) which are not needed during the run. Therefore, once the mesh is assembled and mesh modification triggered, the newly created point, face and cell zones can be cleared together with the mesh modifiers thus creating a singly connected static mesh.

Note: All point, face and cell zoning will be lost! Do it after attaching the parts of the mesh, as the point, face and cell numbering changes.

Definition at line 52 of file attachPolyTopoChanger.H.


Constructor & Destructor Documentation

attachPolyTopoChanger ( const IOobject io,
polyMesh mesh 
)

Read constructor from IOobject and a polyMesh.

Definition at line 25 of file attachPolyTopoChanger.C.

attachPolyTopoChanger ( polyMesh mesh  )  [explicit]

Read constructor for given polyMesh.

Definition at line 35 of file attachPolyTopoChanger.C.

virtual ~attachPolyTopoChanger (  )  [inline, virtual]

Definition at line 80 of file attachPolyTopoChanger.H.


Member Function Documentation

void attach ( const bool  removeEmptyPatches = true  ) 

Attach mesh. By default filter out empty patches.

Attach mesh.

Definition at line 46 of file attachPolyTopoChanger.C.


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