This is an intensive study taken in my M.Tech., where I used CFD code for running the gerotor oil pump and checking the maximum mass flow rate which can be achieved by the gerotor oil pump. For this research paper I got the best paper award in the 15 th national conference on science, engineering and technology. (2018)