Extensions to the solution of the Graetz problem