Generalized Mathematical Model of Reacting Spray Curtains Mitigating Hazardous Releases