Numerical solution of the Navier-Stokes equations for viscous compressible flows