A Galerkin Method for the Simulation of Laminar Boundary Layers on Heated Walls