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.77k stars 300 forks source link

voxelize_mesh_on_device #103

Closed syy-mudong closed 1 year ago

syy-mudong commented 1 year ago

May I ask if the flag established through stl belongs to a solid boundary? May I use stl to establish a fluid node

syy-mudong commented 1 year ago

image Can I create a new function to achieve the goal of using stl to construct fluid nodes by changing the fluid nodes here

ProjectPhysX commented 1 year ago

Yes. The flag here sets the cell type inside the mesh geometry, by default solid (TYPE_S). You can also set it to TYPE_F instead to voxelize as fluid nodes. Make sure to enable the SURFACE extension for this.

syy-mudong commented 1 year ago

Thank you very much for your answer