Towards the simulation of cavitating flows in inducers through a homogeneous barotropic flow model