How to generate the su mesh file? #1834
Unanswered
zhang-qiang-github
asked this question in
Q&A
Replies: 1 comment 5 replies
-
There are no publicly available tools to directly convert vtkpolydata to an su2 file, you'll have to write the connectivity and point information to a file yourself, this is easy when you are e.g. in paraview or in python. You also need to write the boundary surfaces and connectivity information as separate entities. You can also look into the capabilities of meshio, which is a very good python library with support for many mesh types. You could also try to export your data as cgns data and read a cgns file directly in su2. |
Beta Was this translation helpful? Give feedback.
5 replies
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.
-
Is your feature request related to a problem? Please describe.
Currently, I can segment a aorta vessel mask. How can I convert it to the mesh file?
Describe the solution you'd like
I can generate the surface
(vtkPolyData)
byvtk
. Is there any tool can convertvtkPolyData
tosu
file?Or is there any tool can convert a 3D mask to
su
file?Beta Was this translation helpful? Give feedback.
All reactions