Global settings


  • castellatedMesh: boolean to run/skip castellation stage
  • snap: boolean to run/skip snapping stage
  • addLayers: boolean to run/skip layer addition stage
  • singleRegionName Optional entry : single region surfaces get patch names according to surface only. Multi-region surfaces get patch name surface "_ "region. Default is true
  • mergePatchFaces: Optional: avoid patch-face merging. Allows mesh to be used for refinement/unrefinement. Default is true
  • keepPatches: Optional: preserve all generated patches. Default is to remove zero-sized patches (false).
  • mergeTolerance: Merge tolerance. Is fraction of overall bounding box of initial mesh. Note: the write tolerance needs to be higher than this.


  • debug: Optional: debug levels to write intermediate mesh data. Use debugFlags instead for better control

Debug flags

  • debugFlags: Optional: provides fine-grain control over the debug output, including:
    • mesh: write intermediate meshes
    • intersections: write current mesh intersections as .obj files
    • featureSeeds: write information about explicit feature edge refinement
    • attraction: write attraction as .obj files
    • layerInfo: write information about layers

Write flags

  • writeFlags - Optional: provides fine-grain control over the write output, including:
    • mesh: write all mesh information
    • noRefinement: write mesh without refinement information (level0Edges, surfaceIndex)
    • scalarLevels: write volScalarField with cellLevel for postprocessing
    • layerSets: write cellSets, faceSets of faces in layer
    • layerFields: write a volScalarField for layer coverage

Copyright ©  OpenCFD Ltd. 2017, 2018
Creative Commons License