Written partialy for educational purposes and partialy for fun Running on AMD a6-3500
Пікірлер: 6
@sayochikun32883 жыл бұрын
really cool
@Yacine3Dz5 жыл бұрын
can you make a tutorial .Good job BTW.
@dmitrybulgakov26685 жыл бұрын
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.
@janpawowski31115 жыл бұрын
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)
@dmitrybulgakov26685 жыл бұрын
@@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