Professional Documents
Culture Documents
a r t i c l e i n f o a b s t r a c t
Article history: Despite the large potential of unconventional resources, many unknowns still exist regarding the physics
Received 18 August 2016 controlling the extraction processes in these settings. These include accurate representation of phase
Received in revised form equilibrium in tight formations and effective implementation of relevant models in simulation tools.
14 October 2016
When a fluid is confined in pore spaces of nanometer size, significant interfacial curvatures may occur
Accepted 11 November 2016
that can result in large capillary pressures between the liquid and vapor phases: The pressure difference
Available online 14 November 2016
between the two phases will likely affect the vapor-liquid equilibrium state. Previous efforts have shown
that this effect is negligible for conventional reservoirs (with pores in the micron range) and current
Keywords:
Stability analysis
commercial reservoir simulators commonly ignore the effect of capillary pressure in the VLE calculations.
Capillary pressure However, experimental and modeling efforts have shown that ignoring capillary pressure in the VLE
Algorithms calculations will not be a valid approximation for unconventional (tight) reservoirs.
Convergence behavior In this work, we analyze the numerical aspects of including capillarity phenomena in VLE calculations
in an effort to arrive at robust and efficient algorithms for stability analysis that can be used in
compositional modeling/simulation of unconventional reservoirs. While the equality of chemical po-
tentials is a necessary condition for equilibrium, it is not a sufficient one. A sufficient condition for
equilibrium is the minimization of Gibbs energy, and the latter can be tested using the tangent plane
distance (TPD) criteria. We show that stability analysis based on the TPD criteria remains valid for sys-
tems with large capillary pressures and propose effective/robust algorithms for stability testing. The
proposed algorithms are tested for multicomponent reservoir fluid systems over a range of relevant
temperatures, pressures and pore radii.
© 2016 Elsevier B.V. All rights reserved.
http://dx.doi.org/10.1016/j.fluid.2016.11.013
0378-3812/© 2016 Elsevier B.V. All rights reserved.
M. Sherafati, K. Jessen / Fluid Phase Equilibria 433 (2017) 56e66 57
[3,4,7e10] have shown that neglecting capillary pressure in VLE cal- simplicity. We also assume, by default, that the rock is strongly
culations is not a good assumption for unconventional reservoirs. liquid wet ðq ¼ 0Þ. We use the correlation of Macleod [13] and
Furthermore, a standard and reliable measurement of fluid properties Sugden [14] to calculate interfacial tension (IFT),
and VLE for confined fluids in ultra-tight rocks is still not available [3].
" #E
Numerous researchers have worked on analyzing phase enve- X
nc
lopes of confined fluids. Nojabaei et al. [8] coupled capillary pres- s¼ ci xi rL yi rV ; (4)
sure and phase equilibrium calculations for binary and i¼1
X
nc
2. Methodology TPDðwÞ ¼ wi mw w z z
i ðw; p Þ mi ðz; p Þ ; (5)
i¼1
In this section, we discuss the stability analysis of a confined
fluid and the related impact of capillary pressure. Starting from where z is the feed composition existing at pressure pz and w is a
Helmholtz energy, one can derive the equilibrium condition, in trial phase composition existing at pw. The assumption of neglect-
terms of the chemical potential, m, for a system that includes the ing the interfacial contribution to changes in Gibbs energy, as
contribution from surface energy [12]. outlined above, is consistent with the formulation of Sandoval et al.
[2] for tracing phase boundaries. This is seen from Eq. (5) where the
mli ðT; px ; xÞ ¼ mvi ðT; py ; yÞ; i ¼ 1; ::; nc ; (1) TPD will equal zero on the phase boundary where the incipient
phase (w) exists is in equilibrium with the bulk phase (z).
l v
In Eq. (1), the phase pressures (p and p ) are related through the At this stage, we can follow the approach of Michelsen [20], and
Young-Laplace equation (written for a spherical interface) introduce a modified TPD via the variable transformation
bw
ln Wi þ ln 4 w
i di þ ln p ¼ 0; i ¼ 1; ::; nc : (11) while the Hessian matrix is calculated as
v2 tm qffiffiffiffiffiffiffiffiffiffiffiffi vlnb
4w 1 gi
i
Hij ¼ ¼ dij þ Wi Wj þ d i; j ¼ 1; ::; Nc :
vvi vvj vWj 2 vi ij
2.2. Solution methods (19)
The stationary points of Eq. (7) can be found via the restricted
To find the stationary points of the modified tangent plane
step algorithm suggested by Hebden [22].
distance, Eq. (11) must to be solved for the independent variables
(W, pw). Due to its simplicity, direct substitution is an obvious ðH þ bIÞDv þ g ¼ 0; (20)
choice for solving the above equations where subsequent iterates of
W are determined from to handle cases where the Hessian matrix is indefinite [20]. In Eq.
(20), b is found iteratively to arrive at jjDvjj equal to a specified
ln Witþ1 ¼ di ln b w;t
4 i
w;t
ln p ; i ¼ 1; ::; nc : (12) maximum step length (see Hebden [22] for additional discussion of
step adjustments). In this formulation, the trial-phase pressure is
The trial phase pressure (pw) is initialized as equal to the feed
not included as an independent variable and must be updated
pressure (pz). In subsequent iterations, the capillary pressure is
separately via direct substitution (as discussed above) or by a
calculated from Eq. (3) based on phase compositions and the phase
Newton iteration on the residual form of Eq. (9). Here, we use the
pressures. The trial phase pressure is then updated accordingly by
Newton update of the trial-phase pressure to promote convergence
direct substitution. It is important to note that the capillary pres-
of the overall (sequential) scheme. We note that the Newton update
sure is calculated at the end of the iteration, such that the capillary
only requires the pressure derivative of the molar volume of the
pressure updates are lagging one iteration behind the direct sub-
trial phase (available from the calculation of fugacity coefficients).
stitution of the trial-phase compositions.
Alternatively, the pressure of the trial phase can be treated as an
In order to locate the stationary points of the modified tangent
independent variable by forming a new variable vector
plane distance, it is necessary to test multiple initial estimates. For
two-phase VLE problems, we select two estimates: One vapor-like h pffiffiffiffiffiffiffiffi pffiffiffiffiffiffiffiffi pffiffiffiffiffiffiffiffiffi iT
initial estimate and one liquid-like. Wilson's equation provides a s ¼ 2 W1 ; 2 W2 ; ::; 2 Wnc ; pw : (21)
reasonable approximation for initial estimates
With this set of independent variables, we define a new set of
Pc;i Tc;i equations to be solved as follows
Ki ¼ z exp 5:42ð1 þ ui Þ 1 ; (13)
p T
gi i ¼ 1; ::; Nc
FðsÞ ¼ (22)
where Pc;i ; Tc;i and ui are the critical properties and acentric factor Pc ±ðpw pz Þ i ¼ Nc þ 1
of the component i and Ki is the equilibrium constant. The vapor-
The Jacobian of the above function can be defined as follows
like and liquid-like initial estimates (W) are then calculated from
8
>
> Hij i ¼ 1; ::; Nc ; j ¼ 1; ::; Nc
Wi ¼ Ki zi ; (14) >
>
>
>
> pffiffiffiffiffiffi
>
> W
vlnb4w i
þ
1
i ¼ 1; ::; Nc ; j ¼ Nc þ 1
and >
> i w w
>
< vp p
Ji;j ¼ qffiffiffiffiffiffi vP c (23)
Wi ¼ zi=K : (15) >
> Wj i ¼ Nc þ 1; j ¼ 1; ::; Nc
i >
> vWj
>
>
>
>
To study the convergence behavior, we define an error for the >
> c
>
> vP
trial-phase composition as the norm of the vector e : ±1 i ¼ Nc þ 1; j ¼ Nc þ 1
vpw
bw
ei ¼ ln Wi þ ln 4 w
i di þ ln p ; (16) Hebden's restricted-step algorithm can again be used to solve
the above set of equations
and consider the solution converged when the jjejj is less than 108 .
To enhance the convergence behavior of the direct substitution ðJ þ bIÞDs þ F ¼ 0: (24)
method, we utilize the acceleration approach (Dominant
M. Sherafati, K. Jessen / Fluid Phase Equilibria 433 (2017) 56e66 59
In the formulation of Eq. (22) and Eq. (23), both the tangent Table 2
plane distance and the error in the capillary pressure are mini- Non-zero binary interaction coefficients.
mized simultaneously. However, the Jacobian matrix (Eq. (23)) is N2 CO2 CH4
less attractive to evaluate, due to the dependency of capillary N2
pressure (via IFT) on phase compositions and pressures. In addition, CO2 0.017
the factorization of the J is more CPU intensive than the factoriza- CH4 0.0311 0.12
tion of H (non-symmetric versus symmetric matrix). We discuss C2 0.0515 0.12
C3 0.0852 0.12
this further in the result section.
iC4 0.1033 0.12
In the following section, we compare the performance of the 4 nC4 0.08 0.12
different algorithms discussed above including: a) Direct substi- iC5 0.0922 0.12
tution, b) Accelerated direct substitution, c) Sequential minimiza- nC5 0.1 0.12
C6 0.08 0.12
tion of TPD with separate Newton update of trial-phase pressure
PS1 0.08 0.1 0.028349
and d) Minimization of the TPD with a full set of independent PS2 0.08 0.1 0.044813
variables. PS3 0.08 0.1 0.062256
PS4 0.08 0.1 0.077679
3. Results PS5 0.08 0.1 0.0952
In this study, we use a 15-component fluid description that is The phase envelope constructed in Fig. 1 serves as the basis for
representative of a sample from a realistic reservoir fluid. Table 1 testing the stability analysis algorithms outlined above. The critical
lists the components, their critical properties, acentric factors, temperature and pressure of the fluid sample shown in Fig. 1 are
molecular weights, volume shift parameters, parachors and 721.38 K and 113.16 atm, respectively. Stability analysis was per-
composition of oil and condensate systems. The last 5 components formed along constant temperature lines (383.15 K, 700 K and
of the fluid composition are pseudo-components created during 780 K) to identify the lowest pressure at which the feed composi-
characterization of the C7þ fraction of the reservoir fluid. The tion is stable at a given temperature (last positive/zero value of tm):
Soave-Redlich-Kwong (SRK) equation of state was used in all cal- This pressure must be identical to the saturation pressure dictated
culations. Table 2 reports the non-zero binary interaction co- by the phase envelope at that temperature. Fig. 1 reports the results
efficients for the components. of stability analysis for three different regions of the phase enve-
lope. At each temperature, the lowest pressure where the given
3.2. The phase envelope feed is stable is marked with a black square. First, stability analysis
was performed on the bubble-point side of the PT phase envelope
We first present the phase envelope for the 15 component fluid (T ¼ 383.15 K). The highest pressure corresponding to a negative
using the oil feed composition. The phase envelope was initially tangent plane distance is in agreement with the suppressed liquid
constructed for two scenarios: a) without confinement and b) with phase saturation pressure at the given temperature. The stability
confinement corresponding to an average pore size of 10 nm. The analysis indicates, as expected, an unstable vapor-like trial phase.
construction of phase envelopes follows the work of Sandoval et al. Next, we choose a point relatively close to the critical point
[2]. Fig. 1 shows the phase envelopes and demonstrates that (T ¼ 700 K). In this region, the direct substitution method takes
capillary pressure effects suppress the bubble point pressures for considerably longer to converge compared to the minimization
the entire temperature range of the bubble point branch. Close to approaches. The vapor-like trial phase converges to a negative
Table 1
Fluid properties and compositions.
Comp Tc [K] Pc [atm] Acentric factor [-] MW [g/mole] Volume shift [-] Parachor Oil composition Condensate composition
140
normal envelope
PLiquid
120
PGas
60 60
50
40
40
20
30
780 800 820 840
0
100 200 300 400 500 600 700 800 900
Temperature (K)
Fig. 1. Phase envelope of the 15-component oil with and without capillary pressure (rc ¼ 10 nm). Triangle ¼ critical point.
value of TPD, while the liquid-like trial phase arrives at the trivial 3.4. Convergence behavior
solution. Finally, we perform stability analysis on the dew-point
branch of the envelope (T ¼ 780 K), close to the cricondentherm. The calculation examples provided above illustrates the accu-
The highest pressure resulting in a negative TPD is again in agree- racy and robustness of the suggested algorithms for stability anal-
ment with the relevant phase envelope. Here, the liquid-like trial ysis including effects of capillary pressure. All calculations to locate
phase results in a negative TPD. Fig. 2 reports the reduced TPD the stationary points of Eq. (7) were performed four times: Once
(tpd ¼ TPD/RT) at the stationary point as a function of pressure using direct substitution, once using accelerated substitution
along constant temperatures of T ¼ 383.15 K, T ¼ 700 K and (extrapolation based on the largest eigenvalue), once using the
T ¼ 780 K. minimization approach with separate Newton update of the trial-
Let us first examine the tangent plane distance for T ¼ 383.15 K phase pressure (Eqs. (9), (17) and (19)) and once using the mini-
on the bubble point side, with liquid as the reference phase and mization approach including the trial-phase pressure as an inde-
vapor as the trial phase. Starting at a pressure higher than the pendent variable (Eqs. (21)e(23)). All algorithms identify the same
saturation pressure, tpd is positive at the stationary point before values of TPD at the stationary points. The main difference between
reaching the saturation pressure (tpd ¼ 0), indicating a stable feed. these approaches is the rate of convergence. The left tab of Fig. 3
As we cross the phase boundary, tpd at the stationary points be- provides a comparison of the convergence behavior of the four
comes negative and indicative of an unstable feed. By further algorithms at T ¼ 383.15 K and 83 atm (just below the bubble point
reducing the pressure we find even lower values of the tpd at the branch) and an average pore radius of 10 nm.
stationary points inside the two-phase region of the phase As can be seen, all algorithms perform well and converge after a
envelope. moderate number of iterations. The right tab of Fig. 3 provides a
Near the critical point (T ¼ 700 K), and at pressure above the comparison of the convergence rates at T ¼ 700 K (in the vicinity of
phase boundary, all solution approaches arrive, as expected [23], at the critical point). Near the critical point, the minimization ap-
the trivial solution (z ¼ w). Right above the phase boundary, small proaches require a considerably lower number of iterations to
positive tpd values are observed, corresponding to a narrow converge than both the direct substitution approach and the
“shadow region” [23] in the vicinity of the critical point. When the accelerated substitution approach. The accelerated substitution, as
saturation pressure is reached, negative values of tpd are observed tested here with a single eigenvalue, is not sufficient to promote the
by further reducing the pressure. On the dew point branch convergence of the direct substitution significantly (since the
(T ¼ 780 K), the reference phase (z) and the trial phase (w) are eigenvalue approaches unity near the critical point). At these con-
assumed to be vapor and liquid, respectively. At pressures well ditions, it is preferable to use a minimization approach (also
above the dew-point pressure, all algorithms arrive at the trivial pointed out by Michelsen [20]). In practical applications, one may
solution (with tpd ¼ 0) before reaching the so-called “shadow re- start with direct substitution and transition to a minimization
gion” where positive values of tpd are found right above the satu- approach if the convergence is progressing slowly.
ration pressure. Again, as the pressure is reduced further, tpd As discussed above, the update of the capillary pressure (and
transitions to negative values just below the saturation pressure. trial-phase pressure) is performed separately from the update of
The results presented above demonstrate that the proposed trial-phase compositions in the first three algorithms. Near the
algorithms for stability testing accurately identify the phase critical point, the algorithms proposed here will behave (become)
boundaries over the full range of relevant temperatures. For most identical to the original work of Michelsen [20] and preserve the
calculations (with the exception of the vicinity of the critical point) favorable convergence behavior of the minimization approaches.
a modest number of iterations is required to converge to the sta- When the capillary pressure (and trial-phase pressure) is updated
tionary points. A comparison of the convergence behavior of the outside the main iterative scheme, one would expect the conver-
different algorithms is provided below. gence of the trial-phase pressure (and capillary pressure) to be
M. Sherafati, K. Jessen / Fluid Phase Equilibria 433 (2017) 56e66 61
T=383.15K
0.04
0.02
tpd
0
-0.02
-0.04
80 81 82 83 84 85 86 87 88 89 90
pressure(atm)
-4
x 10 T=700K
0
tpd
-2
-4
116 117 118 119 120 121 122 123 124 125 126
pressure(atm)
-3
x 10 T=780K
2
0
tpd
-2
-4
-6
80 81 82 83 84 85 86 87 88 89 90
pressure(atm)
Fig. 2. Reduced tangent plane distance vs. pressure at constant temperatures of T ¼ 383.15 K (top), T ¼ 700 K (middle) and T ¼ 780 K (bottom).
T=383.15 K T=700 K
5 5
Direct Substitution
Accelerated Direct Substitution
0 Minimization 1
0
Minimization 2
-5
-5
-10
log(||err||)
log(||err||)
-10
-15
-15
-20
-20
-25
-25 -30
0 5 10 15 0 10 20 30
iteration iteration
Fig. 3. Convergence behavior of direct substitution, accelerated substitution and minimization with lagged pw updates (Minimization 1) and minimization with the full Jacobian
(Minimization 2) at a) T ¼ 383.15 K, p ¼ 83 atm and b) T ¼ 700 K, p ¼ 119 atm for rc ¼ 10 nm.
slower than the convergence of the trial-phase compositions phase pressure). To investigate the convergence rate of the capil-
(particularly for the minimization approach with lagging trial- lary pressure in more detail, we define the error in the capillary
62 M. Sherafati, K. Jessen / Fluid Phase Equilibria 433 (2017) 56e66
T=383.15 K T=700 K
5 5
Direct Substitution
Accelerated Direct Substitution
0 0 Minimization 1
Minimization 2
-5 -5
log(p error)
log(p error)
-10 -10
c
c
-15 -15
-20 -20
-25 -25
-30 -30
0 5 10 15 0 10 20 30
iteration iteration
Fig. 4. Convergence of the capillary pressure for direct substitution, accelerated substitution, minimization with lagged pc updates (Minimization 1) and minimization with the full
Jacobian (Minimization 2) at T ¼ 383.15 K, p ¼ 83atm and T ¼ 700 K, p ¼ 119atm for rc ¼ 10 nm.
pressure (epc) relative to the converged solution (P*c) based on a reduction of the errors in trial-phase compositions. As a result, a
tolerance of 1.1e-15. separate update of the capillary pressure does not significantly
affect the convergence of the stability analysis calculations and the
proposed algorithms can be implemented via modest revision of
epc ¼ abs Pc Pc* : (25)
existing codes for stability testing.
Fig. 4 depicts the convergence behavior as observed for direct A comparison of the convergence rates for the two minimization
substitution, accelerated substitution and the two minimization approaches in Figs. 3 and 4 demonstrates the expected quadratic
approaches. convergence behavior for the algorithm using a full set of inde-
Calculations at the two temperatures are representative of the pendent variables, while a separate update (Newton) of the trial-
bubble point branch (T ¼ 383.15 K, p ¼ 83 atm) and the near-critical phase pressure results in a super linear convergence. Additional
region (T ¼ 700 K, p ¼ 119 atm) of the phase envelope, respectively. computational work (a factor of two) is required for factorization of
A comparison of Figs. 3 and 4 demonstrates that the error in the the matrix J given in Eq. (23) (non-symmetric matrix) relative to the
capillary pressure is reduced rapidly for the first three approaches factorization of the symmetric matrix H given in Eq. (19). In addi-
as well: For both calculation examples (383.15 K and 700 K) re- tion, working with a full set of independent variables requires the
ported in Fig. 4 the capillary pressure is stabilized (small error evaluation of compositional and pressure derivatives of the capil-
compared to the converged solution) at rates that are similar to the lary pressure in Eq. (23). Accordingly, the algorithm with separate
140
120
100
Pressure (atm)
80
Pl , rc=10nm
Pg , rc=10nm
60
Pl , rc=5nm
40 Pg , rc=5nm
Pl , rc=3nm
20 Pg , rc=3nm
0
100 200 300 400 500 600 700 800 900
Temperature (K)
Fig. 5. Detection of phase boundaries by stability analysis at different capillary radii (rc 10 nm). Triangle ¼ critical point.
M. Sherafati, K. Jessen / Fluid Phase Equilibria 433 (2017) 56e66 63
140
95
90 120
85
80 100
360 380 400
Pressure (atm)
80 Pl , rc =50nm
Pg , rc =50nm
60
Pl , rc =20nm
Pg , rc =20nm
40
Pl , rc =10nm
20 Pg , rc =10nm
0
100 200 300 400 500 600 700 800 900
Temperature (K)
Fig. 6. Detection of phase boundaries via stability analysis at different capillary radii (rc > 10 nm). Triangle ¼ critical point.
update of the trial-phase pressure (minimization 1) provides for than 10 nm and one for pore radii larger than 10 nm. Fig. 5 reports
the more efficient approach for stability testing when capillary the phase envelopes along with phase boundaries detected by
pressure is included. stability analysis at T ¼ 383.15 K for a capillary radius of 3, 5 and
10 nm.
As the pore radius decreases, the depression of saturation
3.5. Effect of pore radius
pressures becomes more significant. However, stability testing is
invariably able to detect the phase boundary without any conver-
In the calculation examples presented above, the capillary
gence problems. Although we report results for calculation with
pressure calculations, based on Eq. (3), were performed for an
pore radii down to 3 nm, continuum-scale considerations may not
average radius. In practice, however, a wide range of pore radii is
be suitable at this scale and more detailed analysis using molecular
observed in tight formations. The porosity of the Middle Bakken
dynamics simulation may be more appropriate [26e29]. Next, we
region is approximately 6% and the corresponding oil effective
repeat the calculations at T ¼ 383.15 K for capillary radii of 10, 20
permeability is in the range of 30e100 nanodarcies. From the
and 50 nm as reported in Fig. 6. As expected, when the average pore
Kozeny-Carman equation [24,25] Nojabaei et al. [8] concluded that
radius is increased, the phase envelope including capillary pressure
the corresponding pore-throat radius should be in the range of
approaches that of the bulk fluid. The differences between the two
10e40 nm. In the calculation examples provided above, we used a
curves are already minimal for a capillary radius of 50 nm.
constant pore radius of 10 nm. Here, we examine the effect of pore
Fig. 7 reports the calculated saturation pressures (detected via
radius on the calculated phase boundaries to further test the pro-
stability testing along a constant temperature line in p-T space) for
posed algorithms for stability testing by repeating the example
varying capillary radii at a constant temperature of T ¼ 383.15 K.
calculations for a range of pore radii of 3e50 nm. We present the
The saturation pressure of the bulk fluid at the given temperature is
calculation results in 2 separate figures: one for pore radii smaller
100
90
80
Psat (atm)
70
60
50
40
5 10 15 20 25 30 35 40 45 50
rc (nm)
150
normal envelope
critical point
PLiquid
100
PGas
Pressure (atm)
unstable feed
50
0
100 150 200 250 300 350 400
Temperature (K)
Fig. 8. Detection of phase boundaries via stability analysis for a condensate system (rc ¼ 10 nm).
99 atm. We observe that the saturation pressure is reduced to less 3.6. Effect of composition
than half (46 atm) for a capillary radius of 3 nm. Changes in the
saturation pressure with respect to capillary radius is non-linear Next, we consider a condensate reservoir with the fluid
and increases exponentially with decreasing capillary radius. description and feed composition given in Table 1, assuming an
-4
x 10 T=250K
0
tpd
-2
-4
110 111 112 113 114 115 116 117 118 119 120
pressure(atm)
-3
x 10 T=300K
4
2
tpd
-2
-4
145 146 147 148 149 150 151 152 153 154 155
pressure(atm)
T=365K
0.02
0.01
tpd
-0.01
-0.02
75 76 77 78 79 80 81 82 83 84 85
pressure(atm)
Fig. 9. Reduced tangent plane distance vs. pressure at constant temperature for T ¼ 250 K (top), T ¼ 300 K (middle) and T ¼ 365 K (bottom) for condensate fluid.
M. Sherafati, K. Jessen / Fluid Phase Equilibria 433 (2017) 56e66 65
average pore radius of 10 nm. Fig. 8 depicts the phase envelope and on saturation pressures and related production operations.
the phase boundaries as identified by stability testing at 4 different
temperatures. In comparison to the heavier reservoir fluid consid- Nomenclature
ered above (oil), the changes in saturation pressures along the
bubble point branch are smaller for the condensate fluid descrip- b Step size in Hebden's algorithm
tion. This is mainly because the interfacial tension is smaller due to q Contact angle for wetting phase
smaller density difference between the two equilibrium phases. As r Molar density, mole/m3
a result, smaller values of capillary pressure are observed that, in bi
4 Fugacity coefficient
turn, result in smaller changes in the saturation pressure relative to s Interfacial tension, dyne/cm
the bulk fluid. This is in agreement with previous results reported mi Chemical potential
for multicomponent systems based on the multicomponent Kelvin ci Parachor coefficient
equation [6]. The critical point for this fluid composition is at E General exponent for interfacial tension model
T ¼ 247.63 K and P ¼ 111.94 atm. The 4 different temperatures along F Alternative minimization formulation
the phase envelope represent the bubble point branch, the near- gi Gradient of tm function
critical region and the dew point branch including the criconden- Hij Hessian of tm function
therm. In all cases, the stability analysis detects the phase bound- Jij Jacobian of F, as described by Eq. (23)
aries accurately. Ki Equilibrium constant
Fig. 9 explores the reduced TPD at the stationary points as a n Number of moles
function of pressure at constant temperatures of T ¼ 250 K, nc Number of components
T ¼ 300 K and T ¼ 365 K for the condensate system. Similar to Fig. 2, Pc;i Critical pressure, atm
we observe, near the critical point, that the stability analysis finds Pc Capillary pressure, atm
the trivial solution until the pressure is close, but still greater than px Liquid phase pressure, atm
the saturation pressure. Very close to the phase boundary Py Vapor phase pressure, atm
(0.005 atm above psat), a positive value of tpd (1.25e-8) is found. Pw Trial phase pressure, atm
This is expected as the shadow region is very narrow near the Pz Reference pressure, atm
critical point. Finally, as we cross the phase boundary, we start rc Pore radius, nm
observing increasingly negative values of the tpd. For the temper- R Radius of curvature of interface, nm
atures on the dew point branch (away from the critical point), we s Transformed variable as defined by Eq. (21)
observe a change of sign in the reduced tangent plane distance T Temperature, K
more clearly as we cross the phase boundary. Tc;i Critical temperature, K
The proposed algorithms do not allow for negative values of tm Reduced modified tangent plane distance
vapor and liquid phase pressures. As a result, special care must be tpd Reduced tangent plane distance
taken in the lower portion of the dew point branch. Sandoval et al. TPD Tangent Plane Distance as defined by Eq. (5)
[2] suggested an algorithm for phase envelope calculations allow- v Transformed variable as defined by Eq. (17)
ing for negative phase pressures, which can be incorporated in the Wi Mole number of component i in the trial phase
algorithms for stability analysis proposed here. Negative phase Wt Total mole numbers of the trial phase
pressures are, however, unlikely to be encountered during wi Mole fraction of component i in the trial phase
compositional simulation at realistic reservoir conditions. xi Mole fraction of component i in the liquid phase
yi Mole fraction of component i in the gas phase
4. Summary zi Mole fraction of component i in reference phase
[10] L. Wang, E. Parsa, Y. Gao, J.T. Ok, K. Neeves, X. Yin, E. Ozkan, Experimental IFT prediction of reservoir fluids, SPE Reserv. Eval. Eng. 1 (03) (1998)
study and modeling of the effect of nanoconfinement on hydrocarbon phase 207e217.
behavior in unconventional reservoirs, in: SPE Western North American and [20] M.L. Michelsen, The isothermal flash problem. Part I. Stability, Fluid Phase
Rocky Mountain Joint Meeting, 2014. No. SPE-169581-MS. Equilibria 9 (1) (1982) 1e19.
[11] N.S. Alharthy, T. Nguyen, H. Kazemi, T. Teklu, R. Graves, Multiphase compo- [21] H. Orbach, C.M. Crowe, Convergence promotion in the simulation of chemical
sitional modeling in small-scale pores of unconventional shale reservoirs, in: processes with recycle e the dominant eigenvalue method, Can. J. Chem. Eng.
SPE Annual Technical Conference and Exhibition, 2013. No. SPE-166306-MS. 49 (1971) 509e513.
[12] A. Firoozabadi, Thermodynamics of Hydrocarbon Reservoirs, first ed., [22] M.D. Hebden, An Algorithm for Minimization Using Exact Second Derivatives,
McGraw-Hill, 1999. UKAEA Theoretical Physics Division Harwell, 1973.
[13] D.B. Macleod, On a relation between surface tension and density, Trans. [23] C.P. Rasmussen, K. Krejbjerg, M.L. Michelsen, K.E. Bjurstrom, Increasing the
Faraday Soc. 19 (1923) 38e41. computational speed of flash calculations with applications for compositional,
[14] S. Sugden, The variation of surface tension with temperature and some related transient simulations, SPE Reserv. Eval. Eng. 9 (2006) 2e38.
functions, J. Chem. Soc. Trans. 125 (1924) 32e41. [24] J. Kozeny, Über kapillare Leitung des Wassers im Boden: (Aufstieg, Versick-
[15] C.F. Weinaug, D.L. Katz, Surface tensions of methane-propane mixtures, Ind. erung und Anwendung auf die Bewa €sserung), Ho€ lder-Pichler-Tempsky, 1927.
Eng. Chem. 35 (2) (1943) 239e246. [25] P.C. Carman, Fluid flow through granular beds, Chem. Eng. Res. Des. 75 (1997)
[16] E.W. Hough, G.L. Stegemeier, Correlation of surface and interfacial tension of S32eS48.
light hydrocarbons in the critical region, Soc. Pet. Eng. J. 1 (04) (1961) [26] R. Evans, U.M.B. Marconi, P. Tarazona, Fluids in narrow pores: adsorption,
259e263. capillary condensation, and critical points, J. Chem. Phys. 84 (4) (1986)
[17] S.T. Lee, M.C.H. Chien, A new multicomponent surface tension correlation 2376e2399.
based on scaling theory, in: SPE Enhanced Oil Recovery Symposium, 1984. No. [27] F. Restagno, L. Bocquet, T. Biben, Metastability and nucleation in capillary
SPE-12643-MS. condensation, Phys. Rev. Lett. 84 (11) (2000) 2433.
[18] A.S. Danesh, A.Y. Dandekar, A.C. Todd, R.A. Sarkar, Modified scaling law and [28] N. Giovambattista, P.J. Rossky, P.G. Debenedetti, Effect of pressure on the
parachor method approach for improved prediction of interfacial tension of phase behavior and structure of water confined between nanoscale hydro-
gas-condensate systems, in: SPE Annual Technical Conference and Exhibition, phobic and hydrophilic plates, Phys. Rev. E 73 (4) (2006) 041604.
1991. No. SPE-22710-MS. [29] Z. Jin, A. Firoozabadi, Thermodynamic modeling of phase behavior in shale
[19] D.S. Schechter, B. Guo, Parachors based on modern physics and their uses in media, SPE J. 21 (1) (2016) 190e207.