Modeling the synthesis of mechanocomposites in binary systems