Dynamic modeling of self propagating high temperature synthesis of titanium carbide ceramics