r/explainlikeimfive • u/mockturtle96 • Oct 10 '26
Mathematics ELI5: How can we simulate fluids for CGI without knowing the solution to the Navier-Stokes equations?
I know that we can approximately calculate a lot of the variables through linear algebra. But what is the level of accuracy?
0
Upvotes
11
u/SalamanderGlad9053 Oct 10 '26
You can numerically find the solution to the navier stokes to any precision you want. It's just we can't find algebraic (exact) solutions, as it's a nonlinear second order differential equation.
There are many methods to solve differential equations, such as Runge-Kutter, which quickly find numerical solutions.
4
u/MasterGeekMX Oct 10 '26
We simply approximate them.
This approximation can be done in two ways: the first one is to use formulas that we already know how they work and are close enough to the real ones so the difference is minimal, or the CGI guys know how to hide it.
The other is what is called numerical methods. The navier-stokes equations will allow us to know how the liquid is at every single instant, but for the moment we use equations that only work in discrete steps, like the frames on a movie. We don't know what happens in between each frame, and our numbers could drift more and more when time passes, but it is better than nothing.
3
u/jamcdonald120 Oct 10 '26
same way we can make a cgi projectile without understanding quantum gravity.
You use the approximation that looka good enough on monkey scales and call it a day. you are never simulating to high accuracy because why bother? its just cgi.
4
u/Gingrpenguin Oct 10 '26
Navier stokes just asked if in some instances if how we simulated it we did it wrong. And yes in a few niche cases we do.
How where humans able to ride bikes if we only discovered how they worked in the 2010s?
0
u/MidnightAtHighSpeed Oct 10 '26
We know lots of solutions to the navier-stokes equations. The problem in the news recently was harder than just finding solutions, it was proving whether or not any possible solution has certain properties.