Multiscale simulation of elastic response and residual stress for ceramic particle reinforced composites