Python implementation of the ASFLIP advection method

Overview

ASFLIP Demo

Screenshot 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.

Dependencies

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.

Run the Demo

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.

BibTex Citation

@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}
}

You might also like...
Batch obfuscator based on the obfuscation method used by the trick bot launcher

Batch obfuscator based on the obfuscation method used by the trick bot launcher

A Gura parser implementation for Python

Gura parser This repository contains the implementation of a Gura format parser in Python. Installation pip install gura-parser Usage import gura gur

A python implementation of differentiable quality diversity.

Differentiable Quality Diversity This repository is the official implementation of Differentiable Quality Diversity.

Reference python implementation of Chia pool operations for pool operators
Reference python implementation of Chia pool operations for pool operators

This repository provides a sample server written in python, which is meant to server as a basis for a Chia Pool. While this is a fully functional implementation, it requires some work in scalability and security to run in production.

A fast python implementation of DTU MVS 2014 evaluation

DTUeval-python A python implementation of DTU MVS 2014 evaluation. It only takes 1min for each mesh evaluation. And the gap between the two implementa

Double Pendulum implementation in Python, now with added pendulums and trails :D
Double Pendulum implementation in Python, now with added pendulums and trails :D

Double Pendulum Using Curses in Python. A nice relaxing double pendulum simulation using ASCII, able to simulate multiple pendulums at once, and provi

Demo of a WAM Prolog implementation in Python

Prol: WAM demo This is a simplified Warren Abstract Machine (WAM) implementation for Prolog, that showcases the main instructions, compiling, register

Python implementation of Newton's Fractal

Newton's Fractal Animates Newton's fractal between two polynomials of the same order. Inspired by this video by 3Blue1Brown. Example fractals can be f

Python implementation for Active Directory certificate abuse

Certipy is a Python tool to enumerate and abuse misconfigurations in Active Directory Certificate Services (AD CS). Based on the C# variant Ce

Comments
  • Minor updates

    Minor updates

    1. Display current scheme name image
    2. Simplify simulation code. E.g., ti.max to max. Note that Taichi automatically translates max to ti.max.
    3. Add requirements.txt
    4. Minor updates to README.md [preview]
    opened by taichi-gardener 0
Owner
Raymond Yun Fei
Senior Researcher
Raymond Yun Fei
Implementation of the Angular Spectrum method in Python to simulate Diffraction Patterns

Diffraction Simulations - Angular Spectrum Method Implementation of the Angular Spectrum method in Python to simulate Diffraction Patterns with arbitr

Rafael de la Fuente 276 Dec 30, 2022
Implementation of the MDMC method to search for magnetic ground state using VASP

Implementation of MDMC method ( by Olga Vekilova ) to search for magnetic ground state using VASP

Utkarsh Singh 1 Nov 27, 2021
Python meta class and abstract method library with restrictions.

abcmeta Python meta class and abstract method library with restrictions. This library provides a restricted way to validate abstract methods. The Pyth

Morteza NourelahiAlamdari 8 Dec 14, 2022
Lagrange Interpolation Method-Python

Lagrange Interpolation Method-Python The Lagrange interpolation formula is a way to find a polynomial, called Lagrange polynomial, that takes on certa

Motahare Soltani 2 Jul 5, 2022
A python package to adjust the bias of probabilistic forecasts/hindcasts using "Mean and Variance Adjustment" method.

Documentation A python package to adjust the bias of probabilistic forecasts/hindcasts using "Mean and Variance Adjustment" method. Read documentation

null 1 Feb 2, 2022
This is a method to build your own qgis configuration packages using osgeo4W.

This is a method to build your own qgis configuration packages using osgeo4W. Then you can automate deployment in your organization with a controled and trusted environnement.

RĂ©gis Haubourg 26 Dec 5, 2022
tetrados is a tool to generate a density of states using the linear tetrahedron method from a band structure.

tetrados tetrados is a tool to generate a density of states using the linear tetrahedron method from a band structure. Currently, only VASP calculatio

Alex Ganose 1 Dec 21, 2021
A simple method to create strong password.

A simple method to create strong password.

null 1 Jan 23, 2022
AHP Calculator - A method for organizing and evaluating complicated decisions, using Maths and Psychology

AHP Calculator - A method for organizing and evaluating complicated decisions, using Maths and Psychology

null 16 Aug 8, 2022
Extract gene length based on featureCount calculation gene nonredundant exon length method.

Extract gene length based on featureCount calculation gene nonredundant exon length method.

laojunjun 12 Nov 21, 2022