Skip to content

Only generate 3D elements #524

Discussion options

You must be logged in to vote

I think I found a solution, not sure if this is the correct way but it seems to work so far.

elems = mesh.cells[2].data
coords = mesh.points

cells = [("tetra", elems)]
meshio.write_points_cells('test.vtk',coords,cells)

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@nschloe
Comment options

@dthillaithevan
Comment options

Answer selected by dthillaithevan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants