Skip to content

Basic implementation of weakly-compressible moving particle semi-implicit (MPS) in Python

License

Notifications You must be signed in to change notification settings

rubensamarojr/MPS-Fluid-Simulation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Basic implementation of weakly-compressible moving particle semi-implicit (MPS) in Python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages