Computational Framework for Modelling Spray Cooling using the Quadratic Formula --- Applied to Flat-Fan Sprays