Efficient Finite Element Method for Two-Dimensional Fluid Flow and Heat Transfer Problems