Advanced design of a UV reactor for water treatment using computational fluid dynamics