How realistic can a simulation be? - FluidX3D CFD raytraced in 8K
Dr. Moritz Lehmann Dr. Moritz Lehmann
20.7K subscribers
5,523 views
161

 Published On Mar 24, 2024

FluidX3D on #GitHub: https://github.com/ProjectPhysX/FluidX3D

How realistic can a #CFD simulation be? Here is a 1 billion cell #FluidX3D simulation of an impacting raindrop, fully raytraced in 8K. FluidX3D contains state-of-the-art volume-of-fluid and surface tension models for highly accurate free surface simulations. Combined with my own #OpenCL graphics engine, results are raytraced on-the-fly at image resolution as large as remaining #GPU VRAM can hold.

The simulation here (17355 time steps at 1060x1060x900 resolution) took only 1 hour, but 8K raytracing (4x 1200 frames) almost 5 hours. 8K means every frame is 33 MegaPixels. For every pixel, up to 10 rays are computed for 2 consecutive reflections/refractions. The entire simulation domain gets refracted through every droplet. The png images alone fill 48GB. Working with such large image/video resolution gets quite difficult, as no free video editing software supports it besides ffmpeg.

This was computed on a single #AMDInstinct MI210 64GB #HPC GPU, which has neither dedicated #raytracing hardware nor any sort of #rendering hardware. FluidX3D can still render/raytrace using OpenCL.

Setup and parameters for reproducibility: https://github.com/ProjectPhysX/Fluid...
For validation and numerical details, see my dissertation: https://doi.org/10.15495/EPub_UBT_000...

Timestamps:
0:00 view 1
0:20 view 2
0:40 view 3
1:00 view 4
1:20 view 1 zommed in
1:40 view 2 zommed in
2:00 view 3 zommed in
2:20 view 4 zommed in

show more

Share/Embed