I want to learn more about how CFD software model's natural convection,like say bottom heating of a container.Kindly post some resources from where i can learn both analytical/theoretical part and CFD formulation of the same
You need to activate the gravitational accelerations. Here are related publications that will give you complete idea:
A.K. Sleiti, "Transient Flow of Air through Rectangular Vents in Horizontal Partition", HVAC&R Research Vol. 15, No. 6, November 2009. https://www.tandfonline.com/doi/abs/10.1080/10789669.2009.10390883
[A. K. Sleiti “Effect of Vent Aspect Ratio on Unsteady Laminar Buoyant Flow Through Rectangular Vents in Large Enclosures”, International Journal of Heat and Mass Transfer 51 (2008) 4850–4861. https://doi.org/10.1016/j.ijheatmasstransfer.2008.02.027
R. Kumar, A. K. Sleiti and J. S. Kapat, 2006” Unsteady Laminar Buoyant Flow Through Rectangular Vents in Large Enclosures”, AIAA Journal of Thermophysics and Heat Transfer, Vol. 20, No.2, pp. 276-284, April-June 2006. https://doi.org/10.2514/1.11438
You have to deal with gravity. I recommend you to refer ANSYS User guide and Tutorial Guide. There you can find the procedures and theory behind. Moreover please refer to "Introduction to Computational Fluid Dynamics" by Prof. Malalasekara.