ProjectPhysX / FluidX3D

The fastest and most memory efficient lattice Boltzmann CFD software, running on all GPUs via OpenCL. Free for non-commercial use.
https://youtube.com/@ProjectPhysX
Other
3.81k stars 301 forks source link

Moving geometry export #69

Closed DanW97 closed 1 year ago

DanW97 commented 1 year ago

Hi,

Firstly, this is an absolutely fantastic project!

I was wondering if it is possible to export moving objects as an stl/ vtk format to better visualise moving geometries in Paraview?

Cheers,

Dan

TTN- commented 1 year ago

Hello, I am also interested in visualizing results. I do want acknowledge that this is a research project first and foremost rather than for usability. But was wondering, do you have any tips?

Very quickly vorticity completely fills the screen in the space shuttle example and others: image-000002160

This is an extremely cool project. Thank you for your time!

randomwangran commented 1 year ago

I kinda walk around by manual generating buch of stl and loading them into timesteps. There must be a better way to do it. For example: https://youtu.be/e9olrpGwhRg

ProjectPhysX commented 1 year ago

Hi @DanW97,

thank you for suggesting this feature! As part of the v2.7 release, I have now added binary .vtk export of the triangle mesh with lbm.write_mesh_to_vtk(Mesh* mesh);. This allows you to visualize the triangle mesh in the velocity field in ParaView.

Kind regards, Moritz