Boundary value problems arise in many real applications such as nanofluids and other areas of applied sciences. The temperature/nanoparticles concentration are usually expressed as singular 2ndorder ODEs. So, it is a challenge to obtain the exact solution of these problems due to the difficulty of the singularity encountered in the governing equations. By means of a suitable transformation, a direct approach is introduced to solve a general class of 2nd-order ODEs. The efficiency of the obtained results is validated through selected problems in the literature. It is found that several existing solutions can be deduced as special cases of our generalized one. Moreover, the present results may be invested for similar future problems in fluid mechanics, especially nanofluids