Numerical studies of the ignition process of charring and noncharring solid materials