This is a python implementation of the ASFLIP advection method (http://yunfei.work/asflip/). We would like to hear from you if you appreciate this work.
This demo depends on the Taichi library (https://taichi.graphics/). You may follow its tutorial for installation, or simply type pip install taichi
under a Python 3 environment.
To run the demo, simply type python pyasflip.py
under a Python 3 environment with Taichi library installed.
Press R to reset; Space
to pause/start the simulation; Left
/Right
to switch between advection schemes.
@article{fei2021asflip,
author = {Fei, Yun (Raymond) and Guo, Qi and Wu, Rundong and Huang, Li and Gao, Ming},
title = {Revisiting Integration in the Material Point Method: A Scheme for Easier Separation and Less Dissipation},
journal = {ACM Trans. Graph.},
issue_date = {August 2021},
volume = {40},
number = {4},
month = aug,
year = {2021},
pages = {109:1--109:16},
articleno = {109},
numpages = {16},
url = {http://doi.acm.org/10.1145/3450626.3459678},
doi = {10.1145/3450626.3459678},
acmid = {3459678},
publisher = {ACM},
address = {New York, NY, USA}
}