Phase field modeling of quasi-static and dynamic crack propagation: COMSOL implementation and case studies. (August 2018)