You are browsing as a guest. Sign up (or log in) to start making projects!

Fluid Chemistry Simulation

  • 1 Devlogs
  • 1 Total hours

The idea is to expand upon a fluid simulation I built last year and add in the capacity to simulate chemical reactions. The original simulation does an okay job at simulating an incompressible fluid, but considering my new focus on simulating chemistry I'm very prepared to sacrifice a lot of my previous focus on fluid mechanics to actually allow for chemical reactions. I also plan to switch my focus to compressible fluids (to simulate gases).

Open comments for this post

44m 43s logged

First I started by spending quite a bit of time refreshing myself on fluid dynamics and getting somewhat overwhelmed. I had to remind myself that for the purposes of this I Don’t really need to bother 100% accurately simulate everything in a fluid, not even close.

As stated in the project description now, I have decided to focus this project on compressible flows (really just simulating gases), as that seems like a better place to start than working with liquids and solutions in liquids (but I do want to end up there eventually!).

The first while here will be spent just getting pseudo ‘gases’ flowing through a grid. All that I threw together in the first hour or so was effectively a grid where values are diffused from one cell to another. What is shown below is a very simple & temporary visual display made via unity gizmos of that happening. I’ll be throwing together a shader to properly display it promptly (which will likely be made up of recycled code from my previous fluid simulation, as this is pretty much the same thing lmao).

1
0
26

Delete project?

Are you sure you want to permanently delete this project? This action cannot be undone.

All devlogs, followers, and associated data will be removed.

Followers

Loading…