Minimum divergence viscous flow simulation through finite difference and regularization techniques