On Wed, 15 Feb 2017, John Peterson wrote:
On Wed, Feb 15, 2017 at 1:12 AM, Rémy Mercenier <[email protected]> wrote:In order to represent failure of a material, i am using a creep system coupled to a damage system in libMesh. Based on the results of the damage system, i delete the elements for which the damage exceeds a critical value. This element deletion produces a segmentation fault if the mesh is refined adaptively or uniformly within libMesh. Thus, the question: is it possible to delete single child elements without causing a segmentation fault? Otherwise to make the child element marked for deletion inactive and then delete the parent element and the children later on (when they reach the critical value)?Unfortunately, it's not currently possible to delete one child of a refined element, although you are not the first person to ask for this capability. It's actually not possible to "delete" children at all, although all the children of a given parent element can be simultaneously "coarsened" so that their parent again becomes active, i.e. a hole is not created in the Mesh.
This is correct. There may be ways to work around it, though. Perhaps using subdomain-specific variables, then moving the conceptually-deleted elements to a different subdomain? --- Roy
------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________ Libmesh-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libmesh-users
