High-Performance Multi-Material Continuum Physics Engine (work in progress).
The solver is being developed using Taichi, therefore it is cross-platform and supports multithreaded CPUs and massively parallel GPUs.
The plan is
python3 -m pip install taichi
python3 demo/demo_2d.pyand you will see
python3 demo_3d.pyand you will see a 3D simulation visualized in 2D.
python3 demo_3d_letters.py(wait for at least 10 frames)
sim_2020-07-27_20-55-48) will be created under the current folder.
python3 engine/render_particles [particle_input_folder] [begin] [end] [step] [render_output_folder]
python3 engine/render_particles.py sim_2020-07-27_20-55-48/ 0 100 1 frames
renderedfolder. For example, 100 million MPM particles simulated in 8 hours on a V100 GPU:
(Not sure if it is the standard approach, but it works for now.)
The output looks like
import sys print(sys.exec_prefix)
/XXX/blender-2.81a-linux-glibc217-x86_64/2.81, which means python3 is located at
./python3.7m -m pip install --upgrade taichi(Note: as of July 28 2020, Taichi version is
v0.6.22. Please use the latest version.)
python3 install_blender_addon.pyto install the addon