Skip to main content

Research Repository

Advanced Search

Simulation of three-component two-phase flow in porous media using method of lines

Goudarzi, S.; Mathias, S.A.; Gluyas, J.G.

Simulation of three-component two-phase flow in porous media using method of lines Thumbnail


S. Goudarzi

J.G. Gluyas


Numerical simulation of compositional flow problems commonly involves the use of 1st- or 2nd-order Euler time stepping. Method of lines (MOL), using highly accurate and efficient ODE solvers, is an alternative technique which, although frequently applied to the solution of two-phase, two-component flow problems, has generally been overlooked for problems concerning more than two components. This article presents the development of a numerical simulator for 1D, compressible, two-phase, three-component, radially symmetric flow using the method of lines (MOL) and a 3rd-order accurate spatial discretization using a weighted essentially non-oscillatory (WENO) scheme. The MOL implementation enables application of the MATLAB ODE solver, ODE15s, for time integration. Simulation examples are presented in the context of CO2CO2 injection into a reservoir containing a mixture of CH4CH4 and H2OH2O. Following an assumption of constant equilibrium ratios for CO2CO2 and CH4CH4, a ternary flash calculator is developed providing closed-form relationships for exact interpolation between equations of state for CO2CO2–H2OH2O and CH4CH4–H2OH2O binary mixtures. The numerical code is successfully tested and verified for a range of scenarios by comparison with an existing analytical solution.


Goudarzi, S., Mathias, S., & Gluyas, J. (2016). Simulation of three-component two-phase flow in porous media using method of lines. Transport in Porous Media, 112(1), 1-19.

Journal Article Type Article
Acceptance Date Dec 17, 2015
Online Publication Date Feb 5, 2016
Publication Date Mar 1, 2016
Deposit Date Dec 23, 2015
Publicly Available Date Feb 5, 2017
Journal Transport in Porous Media
Print ISSN 0169-3913
Electronic ISSN 1573-1634
Publisher Springer
Peer Reviewed Peer Reviewed
Volume 112
Issue 1
Pages 1-19


Accepted Journal Article (268 Kb)

Copyright Statement
© The Author(s) 2016 Open Access This article is distributed under the terms of the Creative Commons Attribution 4.0 International License (http://​creativecommons.​org/​licenses/​by/​4.​0/), which permits unrestricted use, distribution, and reproduction in any medium, provided you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made.

You might also like

Downloadable Citations