On the Maxwell-Stefan Approach to Diffusion: A General Resolution in the Transient Regime for One-Dimensional Systems Erminia Leonardi* ,† and Celestino Angeli ‡ CRS4, Center for AdVanced Studies, Research and DeVelopment in Sardinia, Parco Scientifico e Tecnologico, Polaris, Edificio 1, I-09010 Pula, Italy, and Dipartimento di Chimica, UniVersita ` di Ferrara, Via Borsari 46, I-44100 Ferrara, Italy ReceiVed: January 26, 2009; ReVised Manuscript ReceiVed: October 13, 2009 The diffusion process in a multicomponent system can be formulated in a general form by the generalized Maxwell-Stefan equations. This formulation is able to describe the diffusion process in different systems, such as, for instance, bulk diffusion (in the gas, liquid, and solid phase) and diffusion in microporous materials (membranes, zeolites, nanotubes, etc.). The Maxwell-Stefan equations can be solved analytically (only in special cases) or by numerical approaches. Different numerical strategies have been previously presented, but the number of diffusing species is normally restricted, with only few exceptions, to three in bulk diffusion and to two in microporous systems, unless simplifications of the Maxwell-Stefan equations are considered. In the literature, a large effort has been devoted to the derivation of the analytic expression of the elements of the Fick-like diffusion matrix and therefore to the symbolic inversion of a square matrix with dimensions n × n (n being the number of independent components). This step, which can be easily performed for n ) 2 and remains reasonable for n ) 3, becomes rapidly very complex in problems with a large number of components. This paper addresses the problem of the numerical resolution of the Maxwell-Stefan equations in the transient regime for a one-dimensional system with a generic number of components, avoiding the definition of the analytic expression of the elements of the Fick-like diffusion matrix. To this aim, two approaches have been implemented in a computational code; the first is the simple finite difference second- order accurate in time Crank-Nicolson scheme for which the full mathematical derivation and the relevant final equations are reported. The second is based on the more accurate backward differentiation formulas, BDF, or Gear’s method (Shampine, L. F.; Gear, C. W. SIAM ReV. 1979, 21, 1.), as implemented in the Livermore solver for ordinary differential equations, LSODE (Hindmarsh, A. C. Serial Fortran SolVers for ODE Initial Value Problems, Technical Report; https://computation.llnl.gov/casc/odepack/odepack_ home.html (2006).). Both methods have been applied to a series of specific problems, such as bulk diffusion of acetone and methanol through stagnant air, uptake of two components on a microporous material in a model system, and permeation across a microporous membrane in model systems, both with the aim to validate the method and to add new information to the comprehension of the peculiar behavior of these systems. The approach is validated by comparison with different published results and with analytic expressions for the steady-state concentration profiles or fluxes in particular systems. The possibility to treat a generic number of components (the limitation being essentially the computational power) is also tested, and results are reported on the permeation of a five component mixture through a membrane in a model system. It is worth noticing that the algorithm here reported can be applied also to the Fick formulation of the diffusion problem with concentration-dependent diffusion coefficients. Introduction The description, interpretation, modeling, and simulation of the multicomponent diffusion process is a crucial aspect in many research and industrial activities. For this reason, it is the subject of a large number of books and reviews, as well as an active research field. An overview of the different theoretical ap- proaches to diffusion is beyond the scope of this paper. We restrict ourselves to remind that multicomponent diffusion can be described essentially within three strategies. In the following, a short summary of these approaches is reported; the reader is referred to recent reviews for more details. 3-6 Moreover, the attention is focused on one-dimensional systems (z being the considered coordinate), given that this is the subject of the present work. The first approach is known as the Fick law of diffusion; the molar flux of component i, N i , is written as a linear combination of the concentration gradients, dc j /dz, of all components This formulation is phenomenological; the diffusion coefficients, D ij , are obtained from experiments and can show a marked dependence on the concentrations. An example can be found in a work of Krishna and Wesselingh, 3 where an analysis of an experimental study reported by Duncan and Toor 7 in 1962 on an ideal ternary gas mixture indicates a curious behavior for * To whom correspondence should be addressed. E-mail: ermy@crs4.it. † Parco Scientifico e Tecnologico. ‡ Universita ` di Ferrara. N i )- ∑ j)1 n D ij dc j dz (1) J. Phys. Chem. B 2010, 114, 151–164 151 10.1021/jp900760c 2010 American Chemical Society Published on Web 12/14/2009