A relaxation method for solving nonlinear stress equilibrium problems