Numerical simulation of cavitating flows in space pumps