Questions tagged [fluid-sim]
The fluid-sim tag has no usage guidance.
15 questions
0
votes
0
answers
21
views
Jos Stam's "Stable Fluids": Why Use Multiplication by `h` Instead of Division in Divergence Calculation of Projection Term?
I'm learning about Stable Fluids from the document Stable Fluids and I have a question regarding the implementation of the project function.
In the code, the ...
1
vote
1
answer
420
views
Having trouble understanding advection from GPU gems fluid dynamics example
So I am trying to implement a fluid simulation, as described in Chapter 38 of GPU Gems.
I am also drawing heavily from the excellent implementation by Pavel.
Where I'm getting a bit stuck is with ...
1
vote
0
answers
39
views
How to extract surface of smoothed particle hydrodynamics smoothly?
I'm working on a fluid simulation project where two spheres are simulated using smoothed particle hydrodynamics (SPH). I have generated two sets of particles inside and on the surface of a sphere. You ...
1
vote
1
answer
318
views
Rendering a particle system as a smooth blob
What is a good algorithm for rendering a particle system as a coherent mesh, in realtime? I am running a smoothed-particle hydrodynamics fluid simulation, and I would like to render the particles not ...
4
votes
1
answer
57
views
Finite difference wave equation shown in paper is wrong?
I'm trying to produce wave surface animations, and I came across this paper: Fast_Water_Animation_Using_the_Wave_Equation_with_Damping. In the paper they go to provide the following equation:
At ...
4
votes
2
answers
838
views
2D metaballs with marching squares and linear interpolation
I struggle do understand how linear interpolation works in the marching square rendering algorithm context.
I created simple example in GDScript (Godot) of random floating metaballs to demonstrate ...
3
votes
1
answer
847
views
Rendering Fluid Simulations?
I've read about Lagrangian and Eulerian fluid simulations and here's what I take from their methods:
Lagrangian - Simulating fluid particles by calculating displacement for each particle
Eulerian - ...
7
votes
1
answer
232
views
Hodge Decomposition in fluid simulations
I have just started implementing a fluid simulator based on the navier stokes equation.
I am following Jos Stam's paper to do so.
In this paper, it says that the velocity field must be mass conserving....
5
votes
2
answers
274
views
Rigorous and simple explanation for satisfying boundary conditions in Stam and Bridson papers
I read Stable Fluids and the code by Jos Stam and FLUID SIMULATION SIGGRAPH 2007 Course Notes by Robert Bridson. The boundary conditions in the two papers are different in my sight. I don't understand ...
3
votes
1
answer
641
views
Jos Stam's "Stable Fluids" boundary conditions
In the paper Stable Fluids by Jos Stam, I am confused about the boundaries in the set_bnd function in the code. I don't know what kind of boundaries is this. Is it Neumann boundary condition or ...
0
votes
1
answer
351
views
Particle & Fluid Simulation: Where to learn? [closed]
Where can I learn about particle and fluid simulation? Is there a good book available? I want to couple volume rendering with fluid/particle simulation to be able to finally render smoke and ocean ...
2
votes
1
answer
3k
views
Fluid sim: CPU vs. GPU
I have very recently started looking into real-time fluid simulation. Idea is to make a game that would use 3D fluid simulation as a core gameplay mechanic.
Looking around the web, I found this ...
8
votes
1
answer
190
views
Conserving Mass in Liquid Simulation
I am trying to implement a 2D version of Foster and Fedkiw's paper, "Practical Animation of Liquids" here: http://physbam.stanford.edu/~fedkiw/papers/stanford2001-02.pdf
Mostly everything works, ...
10
votes
1
answer
277
views
How could I check the correctness of my result of fluid simulation?
I wrote a particle based fluid simulating program. It's hard to tell if I get the right result. The visualized result seems reasonable, but some part of it looks weird. I don't know wether it's a ...
8
votes
0
answers
744
views
Code runs differently on different hardware
I wrote a 2D fluid-solver in OpenGL (code here) some time back.
While it runs flawlessly on my onboard Intel GPU,
the simulation very quickly "blows-up" when same code is run using nvidia card :
...