FreeFOAM The Cross-Platform CFD Toolkit
polyDualMeshApp.C File Reference

Calculate the dual of a polyMesh. Adheres to all the feature and patch edges. More...


Detailed Description

Calculate the dual of a polyMesh. Adheres to all the feature and patch edges.

Detects any boundary edge > angle and creates multiple boundary faces for it. Normal behaviour is to have each point become a cell (1.5 behaviour)

Usage
  • polyDualMesh [OPTIONS] <feature angle [0-180]>
Parameters:
-concaveMultiCellsCreates multiple cells for each point on a concave edge. Might limit the amount of distortion on some meshes.
-splitAllFacesNormally only constructs a single face between two cells. This single face might be too distorted. splitAllFaces will create a single face for every original cell the face passes through. The mesh will thus have multiple faces inbetween two cells! (so is not strictly upper-triangular anymore - checkMesh will complain)
-doNotPreserveFaceZones,:By default all faceZones are preserved by marking all faces, edges and points on them as features. The -doNotPreserveFaceZones disables this behaviour.
-overwrite
Overwrite existing data.
-case<dir>
Case directory.
-help
Display help message.
-doc
Display Doxygen API documentation page for this application.
-srcDoc
Display Doxygen source documentation page for this application.
Note:
This is just a driver for meshDualiser. Substitute your own simpleMarkFeatures to have different behaviour.

Definition in file polyDualMeshApp.C.

+ Include dependency graph for polyDualMeshApp.C:

Go to the source code of this file.