Flow optimization of a Duct: Variational study by pratikp...