Modeling aerosol dynamics during forest fires