Bare-bones SPH Simulation step-by-step
Hello!
I've tried searching google but have not found anything useful as of yet. My question is, do anyone know of a paper which goes basically through, step-by-step, how to initialize and run a SPH simulation of like a dam-break or something similar simple in nature, ie. conduction of thermal energy?
I am trying to understand the programming aspect more thoroughly and I would like to start with the bare minimum, since it is difficult for me to dissect/understand the DualSPHysics code properly.
Python/Matlab examples would be preferred
Kind regards
I've tried searching google but have not found anything useful as of yet. My question is, do anyone know of a paper which goes basically through, step-by-step, how to initialize and run a SPH simulation of like a dam-break or something similar simple in nature, ie. conduction of thermal energy?
I am trying to understand the programming aspect more thoroughly and I would like to start with the bare minimum, since it is difficult for me to dissect/understand the DualSPHysics code properly.
Python/Matlab examples would be preferred
Kind regards
Comments
This guy developed his own solver and if you go to Section 3, he explains briefly what he did. (It's in C++). Use the second link for the source code.
https://www.semanticscholar.org/paper/Patient-Specific-Computational-Modelling-Of-Embolic-Marshall/dd656693240f40ea93c3f14e917869531d3059b7
https://bitbucket.org/kaveish/blush/src/master/
Lastly,
https://pysph.readthedocs.io/en/latest/
This one is not as advanced as DualSPHysics, but it's pretty easy to follow and it's written in Phyton.
I don't know if those answer your question but good luck!