Solving the Maxwell-Stefan equations using two different methods