Finite element programming in non-linear geomechanics and transient flow. (2021)