def plane_stress_isotropic(e, nu): from numpy import array d = array([[1.0, nu, 0.0],[nu, 1.0, 0.0],[0.0, 0.0, (1.0 - nu)/ 2.0]]) * e / (1.0 - nu * nu) return d