Codes
All of our released code is available on Github. Here, we provide a basic MATLAB tutorial for the nonlinear numerical simulation of flexible structures using the discrete differential geometry method.
Mass_spring_system
Single_DOF: Single DOF mass-spring system 
Multiple_DOF: Multiple DOF mass-spring system 
2d_curve
Case_1: Beam deflection under gravity 
Case_2: Buckling of a compressive beam 
Case_3: Snapping of a pre-buckled beam 
3d_curve
Case_1: 3D helix under gravity 
Case_2: Bifurcation of pre-buckled ribbon 
Case_3: Growth of annular ribbon 
2d_surface
Case_1: Inflation of an axisymmetric plate 
Case_2: Snap-through of the axisymmetric shell 
3d_surface
Case_1: Plate deflection under gravity 
Case_2: Plate wrinkling under gravity 
Case_3: Indentation of a cylindrical shell 
Rod_network
Case_1: Flexible net under gravity 
Case_2: Form-finding of gridshell 
Case_3: Lattice grid under gravity 
Hyper_elastic
Case_1: Hyperelastic planar cable 
Case_2: Hyperelastic axisymmetric membrane 
External_interaction
Case_1: Magnetic actuation 
Case_2: Fluid-structure interaction 
Case_3: Frictional contact 
