Numerical simulation of cavitation for liquid injection in non-condensable gas