Simulations of the galaxy cluster CIZA J2242.8+5301 - I. Thermal model and shock properties