Gas flows generated by solid-propellant burning