Thanks to visit codestin.com
Credit goes to github.com

Skip to content

broken mesh after remove_orphaned_nodes() #993

@dominik-kern

Description

@dominik-kern

In many cases remove_orphaned_nodes() works well, but on the example t3.py from the Gmsh-python tutorial it causes problems

import meshio
mesh=meshio.read('t3.msh')      # https://gitlab.onelab.info/gmsh/gmsh/-/blob/master/tutorial/python/t3.py
mesh.write('t3_OK.vtu')
#mesh.remove_lower_dimensional_cells()    # intended use, but not needed to demonstrate problem with remove_orphaned_nodes()
mesh.remove_orphaned_nodes()
mesh.write('t3_trouble.vtu')

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions