freefoam-splitMeshRegions — Splits mesh into multiple regions.
freefoam splitMeshRegions [-cellZones] [-help] [-makeCellZones] [-sloppyCellZones] [-blockedFaces <faceSet name>] [-largestOnly] [-srcDoc] [-doc] [-overwrite] [-insidePoint <point>] [-parallel] [-case <dir>] [-detectOnly]
Each region is defined as a domain whose cells can all be reached by cell-face-cell walking without crossing - boundary faces - additional faces from faceset (-blockedFaces faceSet). - any face inbetween differing cellZones (-cellZones)
Output is: - volScalarField with regions as different scalars (-detectOnly) or - mesh with multiple regions or - mesh with cells put into cellZones (-makeCellZones)
writes maps like decomposePar back to original mesh: