In this study, a software program called MARCODE is developed in MATLAB environment that can analyze the temperature distribution, gap conductance value, and fuel and clad displacement in both solid and annular fuel rods. With a comparison of the maximum fuel temperature, fuel average temperature, fuel surface temperature, and gap conductance in solid and annular fuel, the effects of a central hole on the fuel temperature distribution are investigated.