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

Does FluidX3D support multi-component calculations? #205

Closed xupeiwust closed 1 month ago

xupeiwust commented 1 month ago

Does FluidX3D support multi-component calculations? For example, in the case of natural gas leakage, the focus is on the content of natural gas in the air after a period of leakage. In addition, for a large scene, such as a range of several kilometers, how fast is FluidX3D calculated? Can it achieve real-time calculation?

ProjectPhysX commented 1 month ago

Hi @xupeiwust,

FluidX3D cannot do multiphase/-component. However you can use passive tracer particles to at least estimate such gas leakage/dilution problems.

You always get at most ~1000³ cells (more accurately, 19 million cells per GB of VRAM). If you make the box large at 1km³, that makes your cells also large at 1m³. If you make the box small at 1mm³, that gives you tiny 1µm³ cells. Fluid flow physics depend on Reynolds number, not on length scale alone.

Real-time is possible at any absolute length scale if you go low enough with resolution, like 100³ cells, or for a 1km³ box 10m³ cells, if that's sufficient for your analysis.

Kind regards, Moritz

xupeiwust commented 1 month ago

thank you 。I try it