Difference between revisions of "PolyDualMesh"

From OpenFOAMWiki
(First version)
 
(Description: Improve description thanks to comments in the source code)
 
Line 9: Line 9:
 
==Description==
 
==Description==
 
Calculate the dual of a ''polyMesh''. Adheres to all the feature and patch edges.
 
Calculate the dual of a ''polyMesh''. Adheres to all the feature and patch edges.
A feature ''ANGLE'' expressed in degrees [0-180] is required in argument.
+
 
 +
Detects any boundary edge (angle > ''ANGLE'') and creates multiple boundary faces for it. Normal behaviour is to have each point become a cell (1.5 behaviour).
 +
 
  
 
'''-concaveMultiCells'''
 
'''-concaveMultiCells'''
:Split cells on concave boundary edges into multiple cells
+
:Split cells on concave boundary edges into multiple cells. Might limit the amount of distortion on some meshes.
 
'''-doNotPreserveFaceZones'''
 
'''-doNotPreserveFaceZones'''
 
:Disable the default behaviour of preserving ''faceZones'' by having multiple faces inbetween cells
 
:Disable the default behaviour of preserving ''faceZones'' by having multiple faces inbetween cells
 
'''-splitAllFaces'''
 
'''-splitAllFaces'''
:Have multiple faces inbetween cells
+
:Normally 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)
 
'''-overwrite'''
 
'''-overwrite'''
 
:Overwrite the existing mesh files
 
:Overwrite the existing mesh files
Line 37: Line 39:
 
:Display the help and exit
 
:Display the help and exit
  
 +
Note: is just a driver for <tt>meshDualiser</tt>. Substitute your own <tt>simpleMarkFeatures</tt> to have different behaviour.
  
 
[[Category:Mesh manipulation utilities]]
 
[[Category:Mesh manipulation utilities]]

Latest revision as of 20:18, 3 September 2012

1 Name

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

Valid versions: OF Version 21.png

2 Synopsis

polyDualMesh [OPTIONS] ANGLE

3 Description

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

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


-concaveMultiCells

Split cells on concave boundary edges into multiple cells. Might limit the amount of distortion on some meshes.

-doNotPreserveFaceZones

Disable the default behaviour of preserving faceZones by having multiple faces inbetween cells

-splitAllFaces

Normally 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)

-overwrite

Overwrite the existing mesh files

-noZero

Exclude the 0 directory from the times list

-time RANGES

Select time steps. RANGES follows the time selection rules

-latestTime

Apply only on the latest time available

-constant

Include the constant directory in the times list


-case DIR

Execute the command on the case directory DIR. If not provided, use the current directory

-noFunctionObjects

Skip the execution of the functionObjects

-help

Display the help and exit

Note: is just a driver for meshDualiser. Substitute your own simpleMarkFeatures to have different behaviour.