Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 940 Bytes

README.md

File metadata and controls

28 lines (21 loc) · 940 Bytes

MPS-Fluid-Simulation

Basic fluid simulator of weakly-compressible moving particle semi-implicit (MPS) in Python. The code is very simply, altought extremely slow, to make it a good starting point to anyone who want to learn the basics of the MPS.

2D dam-break simulation Youtube (in Portuguese) fig2Ddam

Module dependencies

Run

In the command prompt (terminal)

py mps_explicit.py

Output

This code writes vtk files as output. You can visualize them by open with Paraview 👀.

Acknowledgments

Code largely inspired by:

https://www.youtube.com/watch?v=-0m05gzk8nk

https://doi.org/10.1016/C2016-0-03952-9