From Tim Davis's Github page you can download software that you can use to model the stress and displacements due to fractures in elastic media as well as their slip/opening and their propagation.
From Mehdi Nikhoo's webpage you can download matlab functions that will make it simple for you to model the stress and displacement field caused by a dislocation or by a pressurized magma chamber of generic shape.
This seminar, which is part of a broader series organized by the Volcanic and Plumbing Systems (VIPS) commission of IAVCEI, explains in simple terms how magma propagates in brittle-solid rocks, what are the implications of this form of transport for magma chemistry and its evolution, and how we can ...
In this seminar, which is part of a broader series on magma ascent in subduction zones, I explain in simple terms how magma propagation by diking is modelled, what are fundamental principles and how we can forecast magma trajectories and eruptive sites.