Investigation of a side wall heated cavity by using lattice Boltzmann method