0% found this document useful (0 votes)
54 views

Lecture 24 2019 Fugacity Final

This lecture introduces the concept of departure functions, which quantify how the thermodynamic properties of real gases depart from ideal gas behavior at the same temperature and pressure. Departure functions are defined for properties like entropy (S), enthalpy (H), and internal energy (U). They allow calculating changes in properties between any two states using a three-step path through an ideal gas reference state. Common departure functions are expressed in terms of the compressibility factor Z, which measures the deviation of a real gas volume from an ideal gas.

Uploaded by

Jay Steele
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
54 views

Lecture 24 2019 Fugacity Final

This lecture introduces the concept of departure functions, which quantify how the thermodynamic properties of real gases depart from ideal gas behavior at the same temperature and pressure. Departure functions are defined for properties like entropy (S), enthalpy (H), and internal energy (U). They allow calculating changes in properties between any two states using a three-step path through an ideal gas reference state. Common departure functions are expressed in terms of the compressibility factor Z, which measures the deviation of a real gas volume from an ideal gas.

Uploaded by

Jay Steele
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 10

Lecture 24: Fugacity

24.1 Recommended textbooks


Tester and Modell, Ch. 8.5, 9.7, 9.1, 9.2

24.2 Topics in this lecture


• Departure functions

• Fugacity of a single-component system

• Introduction to mixtures

24.3 Announcements
• Problem Set 6 due Thursday

• Additional expressions for departure functions (possibly needed for Problem Set 6) are in-
cluded in notes accompanying this / last lecture.

24.4 Departure functions


In the last lecture, we finished our discussion of general P V T isotherm behavior. Referring back
to Lecture 22, the chemical potential of a material in any phase can be fully specified if its P V T
behavior and heat capacity, CP , are known. Thus, our next task was to discuss calculations of
CP . In general, CP is a materials property that could be tabulated for a system, but as it depends
on both temperature and pressure it would be difficult to tabulate all relevant values. Instead,
a common approach is to only tabulate the behavior of CP for the ideal gas state of a material,
and then relate this value of CP to thermodynamic properties at other temperatures and pressures
of interest. To illustrate why ideal gas values of CP are sufficient to define properties at other
conditions, we first set out to define departure functions by considering the change in a generic
property, B, of a real gas between two points in the T − P plane:

∆B = B(T2 , P2 ) − B(T1 , P1 ) (24.1)

We defined a three-step pathway between these two points, recognizing that B is a state function
so any paths will yield the same value of ∆B. Our path will first involve the isothermal change
of state from T1 , P1 to an ideal gas reference state at the same temperature (i.e., we let P → 0 or

1
University of Wisconsin-Madison Lecture 24
CBE 710, Fall 2019 - Prof. R. C. Van Lehn December 3, 2019

equivalently V → ∞ to reach the ideal gas state), then the change of the ideal gas reference state
to T2 , and finally the change from the ideal gas reference state to the real state at T2 , P2 . Letting
B be the entropy, S, we wrote out this three-step path as:

∆S = [S(T2 , P2 ) − S(T2 , 0)] + [S(T2 , 0) − S(T1 , 0)] + [S(T1 , 0)] − S(T1 , P1 )] (24.2)
Z P2   Z T2    Z 0 
∂S ∂S ∂S
= dP + dT + dP (24.3)
0 ∂P T T1 ∂T P ideal gas P1 ∂P T
Z P2   Z T2    Z 0 
∂V CP ∂V
=− dP + dT − dP (24.4)
0 ∂T P T1 T ideal gas P1 ∂T P

We can evaluate the temperature derivative given a P V T equation of state. We can integrate
the second term over the temperature range of interest, but the first and third terms give issues.
Specifically, a singularity will arise as P → 0 - we can see this if we consider for example the ideal
gas equation of state, for which ∂V R
∂T P = P . However, because we know that the system behaves
like an ideal gas as P → 0, we can add and substract integrals of the ideal gas equation of state
such that as P → 0 the integrand goes to 0. Specifically, we can write:

Z P2   Z T2    Z 0  
∂V CP ∂V
∆S = − dP + dT − dP (24.5)
0 ∂T P T1 T ideal gas P1 ∂T P
Z P2 Z P2
Z 0 Z 0
R R R R
+ dP − dP + dP − dP (24.6)
0 P 0 P P1 P P1 P
Z P2    Z T2   Z P2 
∂V R CP R
=− − dP + dT − dP (24.7)
0 ∂T P P T1 T P1 P ideal gas
Z 0   
∂V R
− − dP (24.8)
P1 ∂T P P
Z P2    Z T2    Z 0   
∂V R CP P2 ∂V R
=− − dP + dT − R ln − − dP
0 ∂T P P T1 T P1 ideal gas P1 ∂T P P
(24.9)

With this last expression, we eliminate the singularities in the first and third integrals because
as P → 0 the ideal gas value of the partial derivative will cancel out with the real gas partial

2
University of Wisconsin-Madison Lecture 24
CBE 710, Fall 2019 - Prof. R. C. Van Lehn December 3, 2019

derivative. We now have a closed form method to calculate the change in S between any two states
in the P − T plane if given an appropriate equation of state and ideal gas heat capacity.
The key to this approach is that we have defined three terms - the first and third represent
the difference in the entropy between a real gas at pressure P and an ideal gas at pressure P , or
in other words the departure of the entropy of a real gas from that of an ideal gas at the same
temperature and pressure. We generally refer to these terms which capture of departures from
ideality as departure functions. For some generic property B (where B ≡ H, G, S, U, etc.) we
can define the departure function for B in terms of two equivalent definitions depending on whether
we first integrated with respect to pressure or temperature:

B(T, P ) − B 0 (T, P ) (24.10)


0
B(T, V ) − B (T, V ) (24.11)
Here, B(T, P ) and B(T, V ) are the values of the property at a given temperature as a function
of either volume or pressure and B 0 is the corresponding property of an ideal gas at the same
conditions; the 0 superscript indicates the ideal reference state. The choice of a volume-specific or
pressure-specific departure function will largely depend on mathematical convenience, depending
on if a system’s equation of state (or compressibility factor) is more easily integrated as a function
of P or V . Referencing the same formalism as above, we can then write the three-step path through
phase space in terms of the departure function as:

∆B = B2 (T2 , P2 ) − B1 (T1 , P1 ) (24.12)


= [B(T2 , P2 ) − B 0 (T2 , P2 )] + [B 0 (T2 , P2 ) − B 0 (T1 , P1 )] + [B 0 (T1 , P1 ) − B(T1 , P1 )] (24.13)
The first and third terms represent the departure functions and the second term represents the
variation of the property in an ideal gas state. Following a similar framework as for the entropy
above, we could then derive departure functions for various properties. Departure functions are
often defined in terms of the compressibility factor, denoted by Z. The compressibility factor
measures the deviation of the volume of a real gas/fluid from that of an ideal gas, and is defined
as:

PV
Z= (24.14)
RT
Z = 1 for an ideal gas, while the value is typically much lower for liquids (approx. 0.01-0.3
depending on the phase state of the fluid). Z can be determined from an equation of state if given,
or from other approximations. Here, we will present several departure functions as a function of
pressure, and are written in terms of the compressibility factor as is common:

Z P   
∂V R
S(T, P ) − S 0 (T, P ) = − − dP (24.15)
0 ∂T P P
Z P  Z P
∂Z dP dP
= −RT −R (Z − 1) (24.16)
0 ∂T P P 0 P
Z P
dP
G(T, P ) − G0 (T, P ) = RT (Z − 1) (24.17)
0 P
Z P 
0 2 ∂Z dP
H(T, P ) − H (T, P ) = −RT (24.18)
0 ∂T P P

3
University of Wisconsin-Madison Lecture 24
CBE 710, Fall 2019 - Prof. R. C. Van Lehn December 3, 2019

Using departure functions thus provides a mathematically convenient way to compute property
changes between any two points in P T space while always computing isobaric paths for an ideal gas
state for which materials parameters can be readily tabulated. Referring back to our motivation for
defining only ideal gas heat capacities, we further see that changes in entropy can be computed for
real systems using only ideal gas heat capacities following the departure function approach, which
simplifies experimental data collection immensely.

24.5 Single-component phase equilibrium: defining fugacity


We have now described departures from ideality with respect to the P V T behavior of systems by
defining the compressibility factor, Z = P V /RT , and deriving the general form for a departure
function. In principle, we now have the framework necessary to compute the chemical potential
and thus determine conditions of phase equilibrium. Recall that for a single-component system,
phase equilibrium is reached at constant temperature and pressure if the following condition is met:

µ(1) (T, P ) = µ(2) (T, P ) (24.19)


where (1) and (2) refer to the two phases that coexist in the system. We can relate the chemical
potential to the temperature and pressure via the Gibbs-Duhem relation in intensive form:

dµ = −SdT + V dP (24.20)
∴ µ = f1 (T, P ) (24.21)

We now want to calculate values of µ at phase equilibrium, and will consider vapor-liquid
equilibrium in a single-component system as a representative example. To calculate µ in either
the liquid or vapor phase, we can integrate the Gibbs-Duhem equation from a reference state to
the chemical potential of interest. As in our discussion of departure functions, a common choice of
reference state is an ideal gas state at the same temperature, T , as the system at phase equilibrium.
This reference state is convenient because we can obtain the value of the chemical potential for any
given temperature at constant pressure for an ideal gas if we know the temperature dependence of
CP0 (with the 0 indicating the ideal gas state as above); this follows from the relationship between
the entropy and the heat capacity derived in the last two lectures. To obtain the chemical potential
for any given T and P we can thus integrate the Gibbs-Duhem equation at constant temperature
T from P ref to P , yielding:
Z P
µ(T, P ) − µ(T, P ref ) = V dP (24.22)
P ref
This integral is straightforward if we know the P V T behavior of the system either through
tabulated compressibility factors or equations of state. Again, note that we only have the dP term
because we are assuming a isothermal path between a reference state at the same temperature.
However, there is an issue associated with this calculation when using an ideal gas reference state
that may not be obvious. For example, consider the pressure variation of the chemical potential
over a range of pressures in which the system acts like an ideal gas, so that we can substitute in
the ideal gas equation of state for the molar volume to obtain:

4
University of Wisconsin-Madison Lecture 24
CBE 710, Fall 2019 - Prof. R. C. Van Lehn December 3, 2019

Z P
0 0 ref RT
µ (T, P ) − µ (T, P )= dP (24.23)
P ref P
Z P
1
= RT dP (24.24)
P ref P
 
P
= RT ln (24.25)
P ref

This last expression illustrates the issue - the system will behave like an ideal gas as P ref → 0,
but the chemical potential will approach negative infinity in the same limit. This issue, which also
appeared in our treatment of departure functions, motivates the definition of a new quantity, the
fugacity, which is better behaved.
We define the fugacity in terms of the isothermal departure function of the molar Gibbs free
energy (or, equivalently, chemical potential):

f
G(T, P ) − G0 (T, P ) = µ(T, P ) − µ0 (T, P ) ≡ RT ln (24.26)
P
Here, f is the fugacity and is a function of temperature and pressure. G0 is the molar Gibbs
free energy of the ideal gas reference state. The fugacity has units of pressure, and by inspection
of this definition we see that f = P if the system is an ideal gas, f > P if the system has repulsive
interactions between its molecules that would lead to an increase in the chemical potential, and
f < P if the system has attractive interactions that would lead to a decrease in the chemical
potential. Because f = P and therefore µ(T, P ) = µ0 (T, P ) for an ideal gas, we can also think
of the fugacity as the pressure of an ideal gas that has the same chemical potential as
the real fluid of interest at the same temperature. Thus, the fugacity effectively captures
departures of the pressure from ideality. We can also write the fugacity in differential form as:


d ln(f ) = (24.27)
RT
Finally, we can also define a related, unitless quantity, the fugacity coefficient, as:

f
φ≡ (24.28)
P
Returning to the condition of phase equilibrium, if two phases (e.g., the liquid and vapor phases
of a pure component) are in equilibrium, then the chemical potentials are equal, leading to:

µliq (T, P ) = µvap (T, P ) (24.29)


µliq − µ0 (T, P ) = µvap (T, P ) − µ0 (T, P ) (24.30)
f liq f vap
RT ln = RT ln (24.31)
P P
∴ f liq = f vap (24.32)
∴ φliq = φvap (24.33)

5
University of Wisconsin-Madison Lecture 24
CBE 710, Fall 2019 - Prof. R. C. Van Lehn December 3, 2019

Since the ideal gas reference state is the same for both phases, the reference state chemical
potentials ,µ0 (T, P ), can be subtracted from each phase’s chemical potential and we find that
fugacities are equal between two phases at equilibrium. We also establish the equivalence of fugacity
coefficients since pressures are equal at equilibrium. Summarizing, the fugacity has the following
properties:

• For an ideal gas, f = P .

• For a gas with repulsive intermolecular interactions, f > P .

• For a gas with attractive intermolecular interactions, f < P .

• Since the fugacity is monotonically related to the chemical potential, at constant T and P
the phase with a lower fugacity will be present at equilibrium.

• At phase equilibrium, f (1) = f (2) and φ(1) = φ(2) .

24.6 Calculating the fugacity


Next, let’s consider how to calculate the fugacity as a function of the pressure in analogy to what was
discussed above for the chemical potential. Our eventual goal is to try to identify a single pressure,
the saturation pressure, for which the fugacities of the liquid and vapor phases of a material are
equal, which would then satisfy the condition of phase equilibrium. First, we can write from the
definition:

   
∂ ln f 1 ∂µ
= (24.34)
∂P T RT ∂P T

The intensive form of the Gibbs-Duhem relation is:

dµ = −SdT + V dP (24.35)
 
∂µ
∴ =V (24.36)
∂P T
 
∂ ln f V
= (24.37)
∂P T,N RT
  Z P
f (P ) 1
ln = V dP (24.38)
f (P ref ) RT P ref

Note that this integral is performed at constant T and N . We thus obtain a similar expression
as was originally developed for the chemical potential in terms of an ideal gas. If our reference state
is defined such that the molar volume V is not a strong function of pressure, then we can directly
integrate this expression. For example, if we consider a change in the fugacity of a condensed
state (i.e., a liquid), then the molar volume is largely invariant with respect to pressure since most
liquids/solids are incompressible. In this case, a reasonable reference pressure is the saturation
pressure, P sat , where the vapor fugacity is equal to the liquid fugacity, and we integrate to the
pressure of interest at constant volume and temperature:

6
University of Wisconsin-Madison Lecture 24
CBE 710, Fall 2019 - Prof. R. C. Van Lehn December 3, 2019

V liq (P − P sat )
 
liq sat sat
f (P ) = f (P ) exp (24.39)
RT

The exponential term is called the Poynting correction and accounts for the change in the
fugacity associated with pressures that are higher than the saturation pressure. Recall that com-
pressibility factors for liquids are often quite small (Z ≈ 0.01 − 0.3) and the term in the exponential
is equivalent to the difference in the compressibility factor of the liquid at a pressure P relative to
the saturation pressure. Therefore, the term in the exponential is also typically ≈ 0 and the Poynt-
ing correction is typically close to 1 unless the pressure is significantly larger than the saturation
pressure, allowing the correct to be safely neglected.

The prior framework is useful for computing liquid-phase fugacities, but is not particularly
helpful in determining conditions of phase equilibrium because it presupposes that we know the
saturation pressure, which is exactly the quantity that we seek to determine. Moreover, we cannot
use the Poynting approach for vapor phases because in general the vapor-phase volume will be a
strong function of pressure. Instead, we can return to our definition of the fugacity coefficient as
equal to the isothermal Gibbs departure function and use this to calculate fugacities directly from
tabulated or analytical compressibility factors (or equations of state). First, recall the expression
for the isothermal Gibbs departure function:

Z P
0 dP
G(T, P ) − G (T, P ) = RT ln φ = RT (Z − 1) (24.40)
0 P
Z P
dP
∴ ln φ = (Z − 1) (24.41)
0 P

In principle we can integrate this expression directly. A problem, however, is that Z(P ) is
generally a poorly behaved function for real gases at phase coexistence, since many gas equations
of state are cubic with respect to volume and thus would be multivalued for a given value of P
corresponding to volumes of different phases. For example, the van der Waals equation of state is:

RT a
P = − (24.42)
V −b V2
b represents excluded molecular volume and a measures the attraction between molecules. This
expression is cubic in V and when plotted would have pressures that correspond to multiple different

7
University of Wisconsin-Madison Lecture 24
CBE 710, Fall 2019 - Prof. R. C. Van Lehn December 3, 2019

volumes as expected for any equation of state that can describe phase equilibrium. This equation
of state is the simplest that properly captures two different molecular volumes corresponding to a
vapor and liquid phase if plotted at constant temperature; the smaller volume corresponds to the
liquid phase (V L ), while the larger corresponds to the vapor phase (V V ) in a two-phase region.
Thus, Z(P ) is not a well-defined function because it is multivalued for a given value of P , so we
can instead use Z(V ) to calculate the fugacity coefficient. From the definition of Z, we can write
a total differential for Z at constant T as:

Z = P V /RT (24.43)
ZRT = P V (24.44)
RT dZ = V dP + P dV (24.45)
 
dP RT dV
= dZ − (24.46)
P PV V
dZ dV
= − (24.47)
Z V
Substituting this expression into the fugacity coefficient expression gives:

Z P  
dP
ln φ = (Z − 1) (24.48)
0 P
Z Z   Z V
 
dZ dV
= (Z − 1) − (Z − 1) (24.49)
1 ∞ Z V
Z Z Z Z Z V  
dZ dV
= dZ − − (Z − 1) (24.50)
1 1 Z ∞ V
Z ∞ 
Z −1
= Z − 1 − ln Z + dV (24.51)
V V

Note that we have chosen appropriate limits of integration for each integral to reflect an ideal gas
reference state - at P = 0, Z = 1 since that is the ideal gas state, and also at P = 0, V = ∞ since
volume and pressure are inversely related. Also, recall that all of these integrals are along isothermal
paths (i.e., at constant T and N ). We now have an expression in which the integral is related to
volume, which would be appropriate for a compressibility factor given as Z(V ). From knowledge
of the compressibility factor, we thus have a means of computing fugacities and determining the
conditions of equilibrium - we could choose a pressure, determine the corresponding molar volumes
of the liquid and vapor phases associated with the isotherm for that pressure (i.e., roots of the
cubic equation of state), calculate the fugacity for each molar volume, and iterate until a pressure
is found such that the fugacity corresponding to each volume is identical. This pressure would be
the saturation pressure. A similar procedure could be performed using tabulated compressibility
factor data by interpolating between known data points as needed.

24.7 Introduction to mixtures: partial molar properties


So far, we have only calculated the fugacity of a single-component system at phase equilibrium.
Now, we will extend our framework to consider mixtures. First, let’s consider some simple defini-
tions when dealing with mixtures. We define xi as the mole fraction of component i, such that:

8
University of Wisconsin-Madison Lecture 24
CBE 710, Fall 2019 - Prof. R. C. Van Lehn December 3, 2019

Ni
xi ≡ Pn (24.52)
i=1 Ni
Ni
= (24.53)
N
n
X
xi = 1 (24.54)
i=1

Each of the Ni is given in moles, and N is the total number of moles in the mixture. Note that
by convention xi refers to mole fractions in a liquid or solid phase and yi refers to mole fractions in
a vapor phase. Using xi (or yi ) in place of Ni allows us to write an intensive form of some potential
B; for example, the intensive Gibbs free energy of a multicomponent mixture is then:

G(T, P, x1 , x2 , . . . xn ) (24.55)

We could also write two equivalent expressions for the extensive value of the Gibbs free energy:

G(T, P, N1 , N2 , . . . Nn ) = G(T, P, x1 , x2 , . . . xn−1 , N ) (24.56)

We can determine xn from the other mole fractions by the constraint above. Now, let us consider
what happens to system properties during the process of mixing relative to the properties of the
independent pure components of that mixture. In other words, the process we consider is taking
separate single-component systems and mixing their constituents into a single-phase mixture with
a given composition, as illustrated below:

For example, consider the volume of a two-component mixture relative to the volume of the
two initially separate pure phases. Intuitively, we might guess that the molar volume of a mixture
would be the weighted average of the molar volumes of the two components. However, in general
this will not hold for a real mixture, or in other words:

V 6= x1 V1 + x2 V2 (24.57)
The difference in volume will emerge from the interactions between the two components, which
will likely differ in their attraction or repulsion from interactions of a given component with other
molecules of the same type. To account for interactions between components, we can instead define
the increment in the value of some parameter B for the entire system upon addition of a single
component, i, which we refer to as a partial molar property of component i:

9
University of Wisconsin-Madison Lecture 24
CBE 710, Fall 2019 - Prof. R. C. Van Lehn December 3, 2019

 
∂B
Bi ≡ (24.58)
∂Ni T,P,Nj 6=Ni

Here, the overline indicates a partial molar property of component i and the partial derivative
indicates the change in the (extensive) value of B for the mixture upon increment of component i,
with the amount of each other component j held fixed. By definition, partial molar properties are
defined with the temperature and pressure also held constant, as these are the two independent
variables commonly associated with phase behavior. Note that all partial molar properties are
intensive since derivative is performed with respect to the number of moles of a single component.

10

You might also like