houkensjtu / taichi-2d-vof

A single file VOF fluid solver implementation in Taichi.
MIT License
30 stars 10 forks source link

How to export .obj data using paraview #6

Open mhy9989 opened 1 week ago

mhy9989 commented 1 week ago

Your work is excellent! I am currently trying to run your code and render it using blender. I have never tried to render paraview data using blender before. If you can provide the some rendering process or help, I will be very grateful.

houkensjtu commented 1 week ago

Hi there! Thank you for interested in my code. I used gridToVTK library in Python to export my VOF field data to .vtr file. Then I import the .vtr files in Paraview to extract the surface using the IsoVolume filter. Next, export the surface to .obj files and import in Blender. There will be plenty of tutorials online about how to rendering .obj files in Blender.

mhy9989 commented 1 week ago

Thank you for your answer. I did not find the entrance to export the .obj file in the latest version of Paraview. Can you provide the version number of the paraview you use? Thanks