Modeling and numerical simulation of combustion process inside a solid-propellant crack cavity