InteractiveComputerGraphics / SPlisHSPlasH

SPlisHSPlasH is an open-source library for the physically-based simulation of fluids.
https://splishsplash.physics-simulation.org/
MIT License
1.58k stars 284 forks source link

Pressure solver on GPU? #91

Closed Kulitorum closed 3 years ago

Kulitorum commented 3 years ago

Is any work being done on this? - I build concrete 3D printers and I want to simulate the concrete flow with Splishsplash, but it's slow... (Intel 10850)

At the same time, my RTX 3090 is just sitting there, almost idle and it's hurting my heart.

Any beta version available or something?

BluePrintRandom commented 3 years ago

https://www.technologyreview.com/2020/10/30/1011435/ai-fourier-neural-network-cracks-navier-stokes-and-partial-differential-equations/?fbclid=IwAR1O4eMPDRNiQMeQUxNbYVNxi5q5AOKIBy_bboFzn0xL3FiWyVf7kHdneRM

this could really speed things up no?

janbender commented 3 years ago

A master student implemented two pressure solvers on the GPU:

https://github.com/InteractiveComputerGraphics/SPlisHSPlasH/pull/53

However, we never merged that since there were again some issues and in the end the implementation was not faster than the CPU version. Maybe we will try again with a GPU implementation in the future but currently we don't have the capacity.

Kulitorum commented 3 years ago

On what CPU/GPU system were the CPU faster? - Hardware development on GPU seems to move fast thses days... (But then again, so does CPU development)

BluePrintRandom commented 3 years ago

https://www.technologyreview.com/2020/10/30/1011435/ai-fourier-neural-network-cracks-navier-stokes-and-partial-differential-equations/?fbclid=IwAR1O4eMPDRNiQMeQUxNbYVNxi5q5AOKIBy_bboFzn0xL3FiWyVf7kHdneRM

@kulitorum

On Mon, Nov 9, 2020 at 4:12 PM Kulitorum notifications@github.com wrote:

Closed #91 https://github.com/InteractiveComputerGraphics/SPlisHSPlasH/issues/91.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/InteractiveComputerGraphics/SPlisHSPlasH/issues/91#event-3976360036, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABW3SWOE6HE6C7WOVUJJAHDSPCAP3ANCNFSM4TOUP45Q .