How to write vector to pointdata? #1333
Unanswered
Grayson3455
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
Is there a possible way to write vector data using
write_points_cells
?For example,
d
is the 3D displacement field. I can write each scalar component to a.vtk
file as:meshio.write_points_cells('xxx.vtk', points, cells, {'d-x':d[0::3],'d-y':d[1::3],'d-z':d[2::3]})
But I am not be able to find a proper way to put
d
there. Any suggestions?Thanks!
Best,
Beta Was this translation helpful? Give feedback.
All reactions