Quasi-Two-Dimensional Simulation of a Rotating Detonation Engine Combustor and Injector