The 2024 Developer Survey results are live! See the results

# Questions tagged [fluid-sim]

The tag has no usage guidance.

16 questions
Filter by
Sorted by
Tagged with
19 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
1 vote
373 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 ...
• 179
1 vote
36 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 ...
• 11
1 vote
286 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 ...
• 312
54 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 ...
• 280
777 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 ...
• 141
809 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 - ...
227 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....
• 83
257 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 ...
107 views

### How are fluid simulations handled in Computer Graphics?

How are fluid simulations handled in Computer Graphics? For a novice, there are hardly any novice friendly tutorials explaining how particles or fluids can be simulated. Things like smoke, crown ...
• 2,521
623 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 ...
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,521
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 ...
• 231
188 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, ...
268 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 ...
• 203