In this study temperature distributions occurring in samples were analyzed while quenching of the porous stainless steel cylinders produced by Powder Metallurgy. Then cooling curves of the metals were drawn. This problem was modeled in FLUENT software. In the problem, heat transfer coefficient, heat conduction coefficient and the properties of the water are changed with the changing temperature. User defined function (UDF) was written in C compiler for the varying heat transfer coefficient and the heat conduction coefficient then the UDF transferred to the FLUENT software. For size phi 2.5x3, different points in inner sides, top-bottom sides and outer sides were analyzed. For 10 %, 20 % and % 40 porosity, cooling curves were compared. Results were compared with other numerical studies and generally it is seen that they are compatible with the other studies.