Modeling environmental effects on crack growth processes