Numerical modeling of the ballistic limit in the hydrodynamic ram