Numerical investigation of detonation sweeping an interface of inert gas and its decoupling