Investigation on numerical schemes in the simulation of barotropic cavitating flows