FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

meshDualiser Class Reference

Creates dual of polyMesh. Every point becomes a cell (or multiple cells for feature points), a walk around every edge creates faces between them. More...


Detailed Description

Creates dual of polyMesh. Every point becomes a cell (or multiple cells for feature points), a walk around every edge creates faces between them.

Put all points you want in the final mesh into featurePoints; all edge(mid)s you want in the final mesh into featureEdges; all face(centre)s in faceFaces.

Usually to preserve boundaries:

  • all boundary faces are featureFaces
  • all edges and points inbetween different patches are featureEdges/points.

In same way you can also preserve internal faces (e.g. faceZones)

Source files

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