Numerical simulation of microwave-induced polymerization