Effect of uniform and nonuniform heat source on natural convection flow of micropolar fluid