Computational analysis of deformation and fracture in composite materials and coatings