Gravar-mail: Optimality to flow and design of T shaped branching ducts