Numerical investigation of ram accelerator flow field in expansion tube