This paper presents an analysis of heat transfer and flow due to natural convection in air around heated square cylinders of varying sizes inside an enclosure with cold vertical walls and insulated horizontal walls. Utilizing the finite element method, it examines the effects of aspect ratio and Rayleigh number on airflow patterns and temperature distribution. Results are illustrated through diagrams showing isotherms, streamlines, and vectors related to heat transfer around the cylinders.