Hisham, Fire is the result of exothermic chemical reactions and thus it can be modeled with appropriate setting of the control volume, boundary conditions and state equations.
It was once done in COMSOL. Please read the abstract :
"Analysis of burning candles is extremely complex; combustion produces a highly non-linear temperature profile through the flame in which local temperatures may exceed 1400 °C. Heat transfer includes radiation, conduction and convection components and the low melting point of the candle wax leads to a phase change that allows mass transport via capillary flow prior to combustion in the flame. COMSOL Multiphysics has been combined with generalized strategies to analyze heat transfer and fluid flow during candle burning. Radiation was included through a radiating surface that was non-locally coupled to the radiating gas volume. The dynamic behavior of the plume was incorporated by artificial diffusion to give a time-averaged approximation. Heat transfer within the liquid wax used an anisotropic thermal conductivity to account for convection in the horizontal direction. The analyses predict the velocity flow field for a half-burned three-wick candle and demonstrate spreading of the flow away from the flame. Predicted temperature distributions in the wax and candle container compare favorably with experimental measurements"
We are doing that since...1980! Please see: N.C.Markatos,et al,Int.J.Heat Mass Transfer,vol25,no1,pp63-75,1982,,N.Hoffmannand N.C.Markatos,Appl.Math.Modelling,vol12,2,129-140,1988,vol13,5,298-306,1989,,N.C.Markatos and K.A.Pericleous,Revue Generale du Thermique,vol23,n0266,67-78,1984,,Stavrakakis,G.M. and N.C.Markatos Int.J. Heat Mass Transfer,52,(11-12),pp2690-2703,2009,,N.C.Markatos,Asia-Pacific J .of Chem.Engineering,7(2),pp182-205,2012 and many more.
Dear Hicham, I think that FDS (Fire Dynamics Simulator) can simulate fire very well and easely. It is free and open source. You can use it in Windows environment with Pyrosim