Viscous flow solutions with a cubic spline approximation