Straight contortion of 3D discrete rod. |
Hex parachute falling with drag. |
Energy-conserving Newmark-beta ( |
Energy-conserving implicit midpoint integration. |
A discrete differential geometry deformable structure simulator based on Dismech.
To install this Python library within a new virtual environment execute the following bash commands. If you wish to use your own package manager (conda), only execute the commands after the comment.
python -m venv .venv
source .venv/bin/activate #.venv/Script/activate for Windows
# after virtual environment setup
pip install -r requirements.txt
pip install -e . # Editable installation for developmentThis Python library has been updated to work with uv.
uv pip install -e . # automatically creates .venv- 3D discrete elastic rod stretching, bending and twisting.
- 3D discrete elastic shell hinge and mid-edge bending.
- Pytest numerical validation suite (compared against Dismech Matlab).
- Dismech Matlab compatabile input format.
- Implicit integration schemes (Euler and Newmark-beta).
- Dense and sparse (PyPardiso) solvers.
- Significant speedup for dynamic simulations.
To run example experiments, please run the python notebooks located in experiments. They rely on local paths to tests/resources, so they will break if moved.
- IMC rod contact and friction modeling.
- Shell contact and friction modeling.
- Sphinx documentation.
- Slinky NN demonstration.




