BenJury22 / Fluid-Simulation

0 stars 0 forks source link

Density #4

Closed BenJury22 closed 1 month ago

BenJury22 commented 2 months ago

Create a function which can continuously track the density at all points in the fluid. This function will be used to find the pressure force exerted on each particle to make particles move from areas of high density to areas of low density.

Resources:

  1. https://www.youtube.com/watch?v=rSKMYc1CQHE Calculating density section, 3:58 - 7:53

  2. https://en.wikipedia.org/wiki/Smoothed-particle_hydrodynamics Wiki on Smoothed-Particle Hydrodynamics, the technique used in the video

  3. https://www.sciencedirect.com/science/article/pii/S0045793016301773?via%3Dihub Paper including stuff on boundary conditions

  4. https://chatgpt.com/c/c1334f35-0886-4c34-888a-963863355ddd Chatgpt explaining boundary conditions

BenJury22 commented 1 month ago

The density function we're using at the moment has some issues so I want to create a colourmap to track the density of every point on the surface (not just at the particles) to better understand these issues.

BenJury22 commented 1 month ago

I fixed the density issue but didn't make the colour map because it would be too memory intensive (and i couldn't figure out how to do it)