c++ Basic 2d Fluid Simulation

  Рет қаралды 6,743

Jan Pawłowski

Jan Pawłowski

6 жыл бұрын

Written partialy for educational purposes and partialy for fun
Running on AMD a6-3500

Пікірлер: 6
@sayochikun3288
@sayochikun3288 3 жыл бұрын
really cool
@Yacine3Dz
@Yacine3Dz 5 жыл бұрын
can you make a tutorial .Good job BTW.
@dmitrybulgakov2668
@dmitrybulgakov2668 5 жыл бұрын
Hi! Can you share your source code? Or maybe you can tell me what kind of literature you studied for fluid modeling? I'm a student and I can develop in c++, but I don't know how to program fluid behavior. But I really want to learn.
@janpawowski3111
@janpawowski3111 5 жыл бұрын
Hi, I didn't really study anything for it and honestly this is not something worth looking at if you want to create a feasible fluid simulation that works with more particles than what you can see. (Performance tanks with higher number of particles) The way it works is basically "the more penetration between 2 particles and the greater their relative velocity towards weach other = more velocity added to these 2 particles to separete them " but I believe this is not the way to go. And i don't think I still have the source code sorry :/ But good luck with your research. :D PS Also the implementation is terrible as at the time of writing this I had almost no experience with coding (not that this has changed much)
@dmitrybulgakov2668
@dmitrybulgakov2668 5 жыл бұрын
​@@janpawowski3111 today I found an interesting project in which space is divided into cells and in each cell the acceleration vector is calculated. This process is carried out due to the numerical solution of the Navier-Stokes equation. These vectors are used to calculate the velocity and then the coordinates of each cell. In the end I got something like this: kzbin.info/www/bejne/jqbLqZqsr7SMh6s
@PinkeySuavo
@PinkeySuavo 2 ай бұрын
@@dmitrybulgakov2668 nice
JavaScript Physics engine + fluid simulation
5:06
Dennis Collaris
Рет қаралды 117 М.
Increíble final 😱
00:37
Juan De Dios Pantoja 2
Рет қаралды 22 МЛН
1❤️#thankyou #shorts
00:21
あみか部
Рет қаралды 67 МЛН
When Jax'S Love For Pomni Is Prevented By Pomni'S Door 😂️
00:26
Simulating a Steam Engine with C++ (with sound)
18:41
AngeTheGreat
Рет қаралды 360 М.
Hollow Knight Has Been Recreated in Minecraft
17:27
fireb0rn
Рет қаралды 66 М.
Soft Body Physics Explained
10:47
Gonkee
Рет қаралды 528 М.
Компас 3D уроки - легко! 2
11:07
ТехноРодители
Рет қаралды 93 М.
Building a Physics Engine with C++ and Simulating Machines
11:23
AngeTheGreat
Рет қаралды 673 М.
c++ reading and writing memory example (cs 1.6)
0:57
Jan Pawłowski
Рет қаралды 1,5 М.
ASMR Programming - Spinning Cube - No Talking
20:45
Servet Gulnaroglu
Рет қаралды 3,6 МЛН
Simulating Particle Life
18:18
Digital Genius
Рет қаралды 139 М.
LBM Fluid Simulation in Python with JAX | van Karman Vortex Street
58:23
Machine Learning & Simulation
Рет қаралды 18 М.
Recreating Noita's Sand Simulation in C and OpenGL | Game Engineering
10:03
Increíble final 😱
00:37
Juan De Dios Pantoja 2
Рет қаралды 22 МЛН