SPH fluid simulation: 1st test review
Uploader Comments (jahkr)
All Comments (14)
-
@jahkr Thank you for your reply. Apparently it works just fine. Does it affect much pressure results? Good luck for the future work
-
Hi I'm into python and opengl, would it be possible to release (parts) of the source?
-
I am starting the work on a SPH sim for blender based on kotsoft's code, but your code is already python so it could be a bit simpler to make it work in Blender.
Send me a message if you can
-
Interesting stuff but some explanation to us outsiders might be considered.
I liked the view of the wave front contaminating the free flow out the beaker presumably a wave effect in the original resevoir caused the bifurcation that explains why there is always some residue?
Repeat the pour at enough height to eliminate backlash.
Nice work :) I'd love o know how do you apply surface tension on the fluid i'd like to see if i coud aply them in the code i'm using
ricardomartins3 8 months ago
Well, the model I used for surface tension is very simple (and probably wrong) and can be summarized in two steps:
1 - calculate the number of individuals that exist around each of the fluid particles in a radius equal to two or three times the length of smoothing
2 - If the number of particles is less than a certain amount (which occurs on the surface) add the calculated force (as if they were connected by springs) of the particle on its neighbors.
Thanks for your comment
jahkr 7 months ago
i wonder that how was your complexity?
Cyber12321 2 years ago
sorry but I don't understand the question.
jahkr 2 years ago
Interesting and enjoyable. Why did you use python over matlab?
dibbuck 2 years ago
I used matlab for many years and is faster than python, but I prefer to use free tools.
jahkr 2 years ago