A simple MATLAB code for simulating 2-D dynamic rupture in isotropic elastic media using the finite-difference method.
The code includes examples of subshear and supershear rupture.
- 2-D isotropic elastic wave equation
- Staggered-grid finite-difference method
- Second-order accuracy in space
- Second-order accuracy in time
- Linear slip-weakening friction law
- Sponge absorbing boundary
2D-Dynamic-Rupture/
│
├── dynamic_rupture_2d.m # Core dynamic rupture solver
├── demo_subshear.m # Subshear rupture example
├── demo_supershear.m # Supershear rupture example
├── rwb_colormap.m # Red-white-blue colormap
│
└── Results/ # Simulation results