Numerical Solver for Dense Gas Flows