ProjectPhysX, to GraphicsProgramming

v2.17 is out! Some huge /​ hardware has been announced at , so I've made my code ready. Until now I've been using 32-bit indexing, which overflows for >2³² grid cells in a domain, equivalent to 225 GB VRAM. Now my code will at runtime automatically compile with 64-bit indexing when more cells are used. 🖖🧐
Also, I've added a new raytracing-based field visualization. Thank you @python for the idea! 💡
Release notes 👉 https://github.com/ProjectPhysX/FluidX3D/releases/tag/v2.17

ProjectPhysX, to random

I found an interesting optimization for the marching-cubes algorithm today: Since vertex interpolation happens on axis-aligned edges of the unit cube, it's sufficient to interpolate in 1D instead of 3D. The faster interpolation makes the conditions for which edge to interpolate unnecessary, allowing to get rid of the edge table. That brings the implementation down to 73 lines, including the triangle table. 🖖🤠
https://github.com/ProjectPhysX/FluidX3D/commit/649fd40fa6270fbd0823a53b2a55f4194fc9510b#diff-464b1d19d4b616b9609031b48429081b2c215328d9f98bc5cbeac6b2b84fdbf3R456

ProjectPhysX,

@nickserv that's a bug in 's runtime: fused-multiply-add (fma) is somehow emulated with terrible performance. This is very similar to what @niconiconi found on Nvidia CMP 170HX, where fma was disabled in the driver.
I've just fixed this in , by macro-replacing fma with a*b+c. Performance went up by 8-13x on my Samsung S9+ (ARM Mali-G72 MP18) with this workaround.
https://github.com/ProjectPhysX/FluidX3D/commit/9ce2caecfc85e4fda50fed3350304b75b223b06b
cc @chipsandcheese

ProjectPhysX, to GraphicsProgramming

update alert! v2.15 speeds up framerate in interactive graphics by 20-70%. 🖖🥳💻

How? Turns out iterating over 2 million pixels with a single CPU core is... really slow. I did that 3 times more than necessary for every frame rendered on screen! 🖖😆
I've now eliminated a memory copy of the frame (in favor of pointer swap), and a clear frame/zbuffer operation on CPU since that's already done on .

Release notes: https://github.com/ProjectPhysX/FluidX3D/releases/tag/v2.15

ProjectPhysX, to GraphicsProgramming

One of my #PhD papers got selected for the 2022 Best Paper Award of MDPI Computation! 🖖🥳📃🏆

That was a very bold publication for multiple reasons:

  • I solo-authored it
  • I wrote that paper in only 2 weeks
  • the title contains "Esoteric" twice
  • I submitted it on April 1st

It's serious science though: I discovered a simple algorithm to cut memory demand of the #LBM in half, allowing huge simulations on cheap #GPU​s. This is one of the key innovations in #FluidX3D #CFD.

https://doi.org/10.3390/computation10060092

ProjectPhysX, to GraphicsProgramming

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 #raytracing engine, results are rendered on-the-fly at resolution as large as remaining #GPU VRAM can hold. 🖖😋💧📺
https://youtu.be/MmLNQIW_Sic
FluidX3D is on #GitHub: https://github.com/ProjectPhysX/FluidX3D

ProjectPhysX, to linux

Software should always "just work". To make compiling #FluidX3D easier, I made the compile script smarter: it now automatically detects operating system (#Linux / #macOS / #Android), #X11 support on Linux, and if GNU make is installaled. 🖖🧐
https://github.com/ProjectPhysX/FluidX3D/commit/f990dfbe3f7a922d1cb6523e8e0b8e6d6cf8c905

ProjectPhysX, to GraphicsProgramming

#FluidX3D v2.13 is out, providing faster #VTK export with automatic SI unit conversion and a variety of bug fixes!
Full release notes: https://github.com/ProjectPhysX/FluidX3D/releases/tag/v2.13
#GPU #CFD #OpenCL #GPGPU #HPC #GitHub

ProjectPhysX, to intel

This is wild: #FluidX3D can "SLI" together 🔵 #Intel Arc A770 + 🟢 #Nvidia Titan Xp, pooling 12GB+12GB of their VRAM for one large 450M cell #CFD simulation. Top half on A770, bottom half on Titan Xp. They seamlessly communicate over PCIe. Performance is ~1.7x of what either #GPU could do on its own. 🖖😋🖥🔥
#OpenCL shows its true power here - one implementation works on literally all GPUs at full performance, even at the same time. Happy #SimulationFriday!
https://youtu.be/PscbxGVs52o

ProjectPhysX, to linux

#FluidX3D v2.11 is out! This update fully matches interactive graphics functionality and user interface between Windows and #Linux, and brings faster simulation startup time and bug fixes. 🖖😎💻
Full release notes: https://github.com/ProjectPhysX/FluidX3D/releases/tag/v2.11
#GPU #CFD #HPC #KDE

ProjectPhysX, to github German

has passed 2000 Stars! It is the most popular software on now! 🖖😊⭐️
https://github.com/ProjectPhysX/FluidX3D
Feeling blessed that my work is useful to so many people across the globe, with users in 75 countries already! 🌍
42% EU, 30% Americas, 25% Asia, 3% Oceania+Africa

ProjectPhysX,

The red lightning bolt continues: has passed 3000 Stargazers on - from 82 countries! 🖖🥳⭐
Releasing this software for free really has turned out win-win: I've received so much valuable feedback, and answered with as many bug fixes and updates, with many more to come. I am enabling cutting-edge simulations for everyone, with very little hardware resources, on literally every computer that has a , regardless of vendor.
👉 https://github.com/ProjectPhysX/FluidX3D

ProjectPhysX, to random German

It's #SimulationFriday again! Here is a real time @FluidX3D #CFD simulation of a #Cessna 172, 20M cells, on my old Titan Xp Pascal #GPU. 33 lines of code for this setup.
For #FluidX3D v2.8 I'm improving composite geometries with moving parts, and I'm adding transparent rendering.
https://youtu.be/Gd_MEHPecw0

ProjectPhysX, to random German

#FluidX3D v2.7 is out! I added slice and surface pressure visualization modes, both much requested. This was 1 day of programming for me! 🖖😁
The video is a 25M cell #CFD #simulation in real time, featuring the new #datavisualization modes. Have fun! 🖖😎
https://youtu.be/uL8usTb0Czg
https://github.com/ProjectPhysX/FluidX3D/releases/tag/v2.7

ProjectPhysX, to random German

5 years ago I had this wild idea to write my own #CFD software from scratch in #OpenCL. I wanted to know how fluid simulations work, and to make them ridiculously fast on any #GPU. Today, #FluidX3D has ⭐1.4k stars on #GitHub: https://github.com/ProjectPhysX/FluidX3D

how it started: how it's going:

image/png

  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • mdbf
  • ngwrru68w68
  • modclub
  • magazineikmin
  • thenastyranch
  • rosin
  • khanakhh
  • InstantRegret
  • Youngstown
  • slotface
  • Durango
  • kavyap
  • DreamBathrooms
  • JUstTest
  • GTA5RPClips
  • tacticalgear
  • normalnudes
  • tester
  • osvaldo12
  • everett
  • cubers
  • ethstaker
  • anitta
  • Leos
  • cisconetworking
  • provamag3
  • lostlight
  • All magazines