CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Mesh Utilities (http://www.cfd-online.com/Forums/openfoam-meshing-utilities/)
-   -   How to remove whole mesh region? (http://www.cfd-online.com/Forums/openfoam-meshing-utilities/132316-how-remove-whole-mesh-region.html)

klamorski March 29, 2014 04:14

How to remove whole mesh region?
 
Hello Dear Foamers,

I have few big meshes generated by snappyHexMesh utility. Some of quality checks of this meshes failed - mostly skew faces problem. So I removed problematic cells using setSet and subsetMesh utilities.

But in some cases removing problematic cells caused detaching small cell groups from original mesh. This divided the original mesh into regions. Region 0 groups almost whole mesh's cells, other regions could be safely removed.

The question is, how to remove whole mesh region?

All the best,

Krzysztof

klamorski April 2, 2014 10:35

Solution found
 
It seems that: splitMeshRegions -cellZones -largestOnly -overwrite will do the trick.


All times are GMT -4. The time now is 02:25.