Enhanced capability of crack plugin
Hi Christophe,
For the crack plugin, is it possible to provide a toggle option to be able to specify a closed boundary physical group (ClosedBoundaryPhysicalGroup) instead of an open boundary physical group (OpenBoundaryPhysicalGroup)?
For us, we work with patched surfaces that we want to crack. We want the patch boundaries internal to the surface to be open, whilst the outer surface boundary is kept closed. We add patches to our surface to grow it outwards, and keep track of the surface's outer boundary, not the patch boundaries internal to the surface. Moreover, we do this without any regard to the topology, only the geometry. Having such a capability in the crack plugin would make it very easy for us as we would simply create a curve that runs around the outer boundary of our patched surface that we would demand stays closed. I imagine others would find such a feature useful as well.
I had a look at Crack.cpp and it appears this would be relatively easily implemented. Currently the nodes in bndVertices that are also in bndVerticesFromOpenBoundary are removed from bndVertices. An example implementation for my proposed capability might be, when the option is set, at a similar point in the code to instead set bndVertices equal to the intersection between bndVertices and "bndVerticesFromClosedBoundary".
Best, Stephen