2 comments

  • cherryteastain5 minutes ago
    Treat this as a &quot;what do I need to do to make fluid flow that looks okayish in graphics&quot; post rather than &quot;how do I implement physics accurate CFD for industrial&#x2F;scientific purposes&quot; post.<p>Lots of points in there like<p>&gt; &quot;Air is an example of a compressible fluid; you squish it and it gets smaller. Water is an example of an incompressible fluid; you squish it and it pushes back, and doesn&#x27;t get any smaller&quot; (this only really depends on the Mach number, Ma&gt;~0.3 and you are in compressible territory for any fluid)<p>&gt; &quot;Incompressible fluids are simpler to simulate because their density and pressure is always constant.&quot; (This is only true if you choose to adopt a grad P = 0 approximation)<p>are incorrect from a physics perspective.<p>If you look at what real incompressible Navier-Stokes solvers do [1], it&#x27;s mathematically totally different from what this post shows. In fact, the part that this post omits (handle the pressure gradient term by first approximate time stepping the velocity term by ignoring the pressure term and then correct by solving a Poisson equation for the pressure residual, and then correct the velocity) is the most expensive step in incompressible solvers by far.<p>[1] <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Projection_method_(fluid_dynamics)" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Projection_method_(fluid_dynam...</a>
  • jlhawn22 minutes ago
    The title should be updated to note this is from 2006.<p>Has there been anything like this published in the past 20 years but for <i>compressible</i> fluids? I have wanted to make a simple atmospheric model for years but have been unable to because of the complexity and probably my lack of complete understanding.