A computational procedure for analysis of fractures in two-dimensional multi-field media