Automatically delete empty patches from boundary file after stitchMesh
Hello foamers,
I was wondering if there is a straightforward/out-of-the-box way to automatically delete empty patches from the boundary file after a successful stitchMesh? Although pyFoam has a utility to add empty patches to the boundary file, I haven't found any to remove them. Thanks! |
I know createPatch removes empty boundaries; try grouping all the empty patches together and see if createPatch will remove them.
|
renumberMesh also sometimes does that... but i may be mistaken... its a good idea to renumber after stitching to get the most optimal mesh for decomposition...
|
I think that the problem is that the boundary is in the 0/polyMesh directory instead of in the constant/polyMesh one. Move the 0/polyMesh directory into constant (overwrite the old one) and run pyFoamClearEmptyBoundary again. It worked for me
|
createPatch with no entries under patches in the createPatchDict file will always remove zero-sized patches.
You do not even have to group them together. Regards |
All times are GMT -4. The time now is 07:13. |