Prerequisite:
pip3 install taichipython3 linear_fem_minimal.pypython3 linear_fem_invertible.pyThis script includes the implementation of
Invertible corotatedconstitutive model. From the paper "Energetically Consistent Invertible Elasticity".Invertible neo-hookeanconstitutive model. From the paper "Stable Neo-Hookean Flesh Simulation".
This script uses the invertible neo-hookean model by default. Modify CONSTITUTIVE_MODEL=INVERTIBLE_COROTATED in code to use the invertible coroated model.
The results of the two models are shown as follows:
| Invertible Corotated | Invertible Neo-Hookean |
|---|---|
![]() |
![]() |
The SIGGRAPH course "Dynamic Deformables: Implementation and Production Practicalities" is an excellent article. However, there are some typos in the derivation of the invertible neo-hookean model, which could lead to misunderstandings. We have tried to correct these mistakes, and you can find more details here: A Derivation of Stable Neo-Hookean Constitutive Model.

