Mesoscale model of the deformation in multiphase systems