314: Thermodynamics of Materials

L. Lauhon, K. R. Shull

Table of Contents

Catalog Description

Classical and statistical thermodynamics; entropy and energy functions in liquid and solid solutions, and their applications to phase equilibria. Lectures, problem solving. Materials science and engineering degree candidates may not take this course for credit with or after CHEM 342 1. (new stuff)

Course Outcomes

314: Thermodynamics of Materials

At the conclusion of the course students will be able to:
  1. articulate the fundamental laws of thermodynamics and use them in basic problem solving.
  2. discriminate between classical and statistical approaches.
  3. describe the thermal behavior of solid materials, including phase transitions.
  4. use thermodynamics to describe order-disorder transformations in materials .
  5. apply solution thermodynamics for describing liquid and solid solution behavior.

2 Introduction

The content and notation of these notes is based on the excellent book, “Thermodynamics in Materials Science”, by Robert DeHoff [3]. The notes provided here are a complement to this text, and are provided so that the core curriculum of the undergradaute Materials Science and Engineering program can be found in one place (http://msecore.northwestern.edu/). These notes are designed to be self-contained, but are more compact than a full text book. Readers are referred to DeHoff's book for a more complete treatment.

3 Big Ideas of Thermodynamics

The following statements sum up some of foundational ideas of thermodynamics:

3.1 Classification of Systems

Systems can be classified by various different properties such as constituent phases and chemical components, as described below.
image: 4_home_ken_Mydocs_MSEcore_314_figures_syscomp.svg
Figure 3.1: Unary system (left) and multicomponent system (right).
image: 5_home_ken_Mydocs_MSEcore_314_figures_sysphase.svg
Figure 3.2: Homogeneous system (left) and heterogeneous system (right).
image: 6_home_ken_Mydocs_MSEcore_314_figures_open_closed_isolated.svg
Figure 3.3: Open, closed and isolated thermodynamic systems.
image: 7_home_ken_Mydocs_MSEcore_314_figures_sysreact.svg
Figure 3.4: Non-reacting system (left) and reacting system (right).
Another classification is between simple and complex systems. For instance, complex systems may involve surfaces or fields that lead to energy exchange.

3.2 Thermodynamic State Variables

Thermodynamic state variables are properties of a system that depend only on current condition, not history. Temperature, T , is an obvious example, since we know intuitively that the temperature in a room has the same meaning to us, now matter what the previous temperature history actually was. Other state variables include the pressure, P , and the system volume, V . For example, two states A and A , each with their own characteristic values of P, V and T :
A A P,V,T P , V , T (3.1)
The values of the pressure difference Δ P= P -P = is independent of the path that the system takes to move from state A to A . The same is true for Δ V and Δ T . Note that because state variables are often functions of other variables, they are often referred to as state functions of these other variables. For our purposes the terms 'state function' and 'state variable' can be used interchangeably.

3.3 Process Variables

Work and heat are examples of process variables.
Work ( W ) - Done on the system. Note that our sign convention here is that work done ON the system is positive.
Heat ( Q) - Absorbed or emitted. The sign convention in this case is that heat absorbed by the system is positive.
Their values for a process depend on the path.

3.3.1 Work Done by an External Force

The work done by an external force is the force multiplied by distance over which the force acts. In other words, the force only does work if the body it is pushing against actually moves in the direction of the applied force. In differential form we have:
δ W= F d x (3.2)
Note that F and x are vector quantities, but W is a scalar quantity. As a reminder, the dot product appearing in Eq. 3.2 is defined as follows:
A B =| A | | B | cos θ (3.3)
where θ is the angle between the two vectors, illustrated in Figure 3.5.
image: 8_home_ken_Mydocs_MSEcore_314_figures_Dot_Product.svg
Figure 3.5: Definition of the angle θ between two vectors.
The total work is obtained by integrating δ W over the path of the applied force:
W= path F d x (3.4)
For example, when we lift a from the floor to the table as illustrated in Figure 3.6 we increase the gravitational potential energy, U , of the barbell by an amount mgh , where:
Because the potential energy only depends only on the final resting location of the barbell, it is a state variable. The work we expend in putting the barbell there depends on the path we took to get it there, however. As a result this work is NOT a state function. Suppose, for example that we lift the barbell to a maximum height h max and then drop it onto the table. The work, W , we expended is equal to mg h max , which is greater than the increase in potential energy, Δ U . The difference between between W and Δ U is the irreversible work and corresponds to energy dissipated as heat, permanent deformation of the table, etc. We'll return to the distinction between reversible and irreversible work later.
image: 9_home_ken_Mydocs_MSEcore_314_figures_barbell.svg
Figure 3.6: Work done on a barbell.

3.3.2 Work Done by an Applied Pressure

Another important example of work is the work done by an external force in changing the volume of the system that is under a state of hydrostatic pressure. The easiest and most important example to describe is a gas that is being compressed by a piston as shown in Figure 3.7. Equation 3.2 still applies in this case, but the force in this case is given by the product of the area and pressure:
F =P A (3.5)
It may seem strange to write the area as a vector, but it is just reminding us that the pressure acts perpendicular to the surface, so the direction of A is perpendicular to the surface of the piston. Combining Eq. 3.5 with Eq. 3.2 gives:
δ W=P A d x (3.6)
The decrease in volume of the gas is given by A d x , so we can replace A d x with -dV to obtain:
δ W=-PdV (3.7)
This result is an important one that we will use quite a bit later on.
image: 10_home_ken_Mydocs_MSEcore_314_figures_piston.svg
Figure 3.7: Work done by force on a piston.

3.4 Extensive and Intensive Properties

Extensive properties depend on size or extent of the system. Examples include the volume ( V) , mass ( m) internal energy ( U ) and the entropy ( S ). Intensive properties are defined at a point, with examples including the temperature ( T ) and the pressure (P ) and the mass density, ρ .
Extensive properties can be defined as integrals of intensive properties. For example the mass is obtained by integration of the mass density over the total volume:
m= V V ρ ( r ) r (3.8)
Also, intensive properties can be obtained from combinations of extensive properties. For example C k , the molar concentration of component k , is the ratio of two extensive quantities: n k the total number of moles of component k and the volume:
C k lim V0 n k V (3.9)
This approach works for the density as well, with the mass density, ρ , given by the ratio of the sample mass, m , to the sample volume, V :
ρ lim V0 m V (3.10)

The Laws of Thermodynamics

Outcomes for this section:
  1. State the first, second and third laws of thermodynamics.
  2. Write a combined statement of the first and second laws in differential form.
  3. Given sufficient information about how a process is carried out, describe whether entropy is produced or transferred, whether or not work is done on or by the system, and whether heat is absorbed or released.
  4. Quantitatively relate differentials involving heat transfer/production, entropy transfer/production, and work.

4.1 First Law of Thermodynamics

The first law of thermodynamics is that energy is conserved. This means that the increase in the internal energy of the system is equal to the sum of the heat flow, the work done on the system and the heat flow into the system. In mathematical terms:
Δ U=Q+W+W (4.1)
image: 11_home_ken_Mydocs_MSEcore_314_figures_1stlaw.svg Figure 4.1: Conservation of energy
where:

4.2 Second Law of Thermodynamics

The second law of thermodynamics states
that entropy can be transferred or produced, but not destroyed, so the total entropy change in the universe ( Δ S uni ) cannot be negative:
Δ S uni 0 (4.2)
Here Δ S uni includes the system of interest and its surroundings, as illustrated in Figure 4.2.
Δ S uni =[ Δ S t + Δ S p ] +[ Δ S t + Δ S p ] (4.3)
We write the entropy this way to differentiate between entropy produced in the system and surroundings ( Δ S p and Δ S p ) and entropy that is transfered between the system and surroundings ( Δ S t and Δ S t ):
image: 12_home_ken_Mydocs_MSEcore_314_figures_2ndlaw.svg
Figure 4.2: Transfer of entropy
The entropy change for a process can only be zero (for a reversible process) or positive (for an irreversible process) in the universe at large, which includes the systems and the surroundings. In mathematical terms:
Δ S uni = Δ S p + Δ S p 0 (4.4)
For infinitesimal changes (very small Δ ), we replace Δ with the differential, d . We do this because we can always obtain the total change in a quantity, Δ , by integrating over the differential. For example, to calculate the entropy difference between state A and state B we have:
Δ S sys [ AB ] = A B S sys (4.5)
That that while the overall entropy change (system + surroundings) cannot be negative, the system entropy change can be negative, if is compensated for by an appropriate increase in the entropy of the surroundings. In differential terms, d S sys =d S t +d S p where d S sys can be negative.

4.2.1 Reversible and Irreversible Processes

Irreversible processes produce entropy, whereas reversible processes (an idealization) do not. Entropy necessarily increases over time. The rate of entropy production is one measure of how far we are from equilibrium.
Processes carried out very slowly, and which remain very close to equilibrium approach the ideal of reversibility. A perfectly reversible process is extremely useful for calculations, and has the following characteristics.
To compute differences in state functions, for example the specific path between state A and state B in Eq. 4.5 one can chose the simplest path between the two states, which is the reversible path.

4.2.2 Entropy and Heat

The second law of thermodynamics is defined in terms of entropy, but we haven't yet defined what entropy really is. The statistical approach described in Section 9 will shed some light on entropy, but for now we will just introduce the following simple but remarkably important relationship between a differential change in the heat content and the differential change in the entropy:
dS= δ Q T (4.6)
This equation a mathematical statement of the second law of thermodynamics. Qualitatively, it is easy to see that Eq. 4.6 is consistent with what know from common experience. For example, we know that a metal bar that is hot at one end and cold at the other end is not at equilibrium, since over time heat will flow from the hot end to the cold end. Consider a simplistic model of this where heat is flowing between one region at a temperature of T 1 , and a second region at a temperature T 2 , with T 2 > T 1 . When a certain heat increment δ Q moves from region 1 to 2, the entropy in region 1 decreases by δ Q/ T 1 , while the entropy in region 2 increases by δ Q/ T 2 . The net change in entropy is given:
δ S= δ Q/ T 2 - δ Q/ T 1 (4.7)
This is positive whenever T 1 > T 2 , which is consistent with our starting point where the heat was moving from region 1 to region 2. So when heat moves from a hot region to a cold region, the entropy increases, as we know it must for a non-equilibrium process.

4.3 Third Law of Thermodynamics

The third law of thermodynamics states that there is an absolute lower limit to the temperature of matter, and the entropy of all substances is the same at that temperature. In more practical terms, S=0 at T =0K (absolute zero) for all materials.
The fact that we can use absolute zero as a reference temperature for the entropy is quite useful in a variety of situations. It can be used, for example, to provide information about the nature of a chemical reaction. Consider, for example,the following simple chemical reaction, where silicon reacts with carbon to form silicon carbide:
Si + CSiC
Consider the following 4-step process, which begins and ends with Si and C as separate elements at T=0K (see Fig. :
Because we start and end at the same place, and because entropy is a state function, the overall entropy for the cyclic process consisting of all 4 steps is equal to zero: Δ S cyc = Δ S I + Δ S II + Δ S III + Δ S IV =0 (4.8)
We also know that Δ S IV =0, since the reaction takes place at =0K, where all materials have S=0 . As a result we have:
Δ S II =- Δ S I - Δ S III (4.9)
image: 13_home_ken_Mydocs_MSEcore_314_figures_3rdlaw.svg
Figure 4.3: Cyclic process involving formation of silicon carbide.
The quantity Δ S I is the difference between the entropy of the starting compounds (Si and C) at T 1 , compared to the value of the entropy of these compounds at 0K, so Δ S I is simply S Si + S C . Similarly, Δ S III =- S SiC , with the negative sign arising from the fact that process III corresponds to a reduction in the temperature from T 1 to 0K. Finally, Δ S II is, the entropy change associated the SiC-forming reaction, so we have:
Δ S Si+CSiC ( T 1 ) = S SiC ( T 1 ) - S Si ( T 1 ) - S C ( T 1 ) (4.10)
So Δ S for the reaction is simply the difference between the entropy of the products and reactants at the appropriate temperature. Entropies of different compounds are measurable quantities, as are other thermodynamic function state functions discussed later in the text.

4.4 Differential Quantities

In differential form the first law of thermodynamics (Eq. 4.1) is as follows:
dU= δ Q+ δ W+ δ W (4.11)
We can combine this with the expression from the second law from δ Q :
δ Q=TdS (4.12)
We also have the following expression for the work done by an external pressure, P , on changing the volume, V:
δ W=-PdV (4.13) Combination of Eqs. 4.11-4.13 can be combined to give the following combined statement of the first and second laws:
dU=TdS-PdV+ δ W (4.14)
From this equation we see that at constant system entropy ( dS=0 ) and volume ( dV=0 ) the change in internal energy is equal to the non-mechanical reversible work done on the system. In general, entropy and volume are not constant, which is why we more commonly use other thermodynamic potentials as described in the following section.
Finally, if we will assume that there is no additional work done on the system apart from work done by the external pressure ( δ W =0) , we have:
dU=TdS-PdV (4.15)

Thermodynamic Variables and Relations

Outcomes for this section:
  1. Derive differentials of state functions ( V , S , U , F , H , G ) in terms of dP and dT .
  2. Using the Maxwell relations, relate coefficients in the differentials of state functions.
  3. Define the coefficient of thermal expansion, compressibility, and heat capacity of a material.
  4. Express the differential of any given state function in terms of the differentials of two others.
  5. Define reversible, adiabatic, isotropic, isobaric, and isothermal processes.
  6. Calculate changes in state functions by defining reversible paths (if necessary) and integrating differentials for (a) an ideal gas, and (b) materials with specified α , β , and C P ( T ) . (Multiple examples are given for ideal gas, solids, and liquids.)
  7. Special emphasis (Example 4.13): calculate the change in Gibbs free energy when one mole of a substance is heated from room temperature to an arbitrary temperature at constant pressure.
  8. Describe the origin of latent heat, and employ this concept in the calculation of changes in Gibbs free energy G .

5.1 Enthalpy

The enthalpy, H , is defined in the following way:
HU+PV (5.1)
The total differential of the enthalpy is:
dH=dU+PdV+VdP   (5.2)
Now we eliminate dU by using Eq. 4.14:
dH=TdS+VdP+ δ W (5.3)
For a process at constant P, dP=0 (constant pressure, or isobaric ), and if no other work is done δ W =0 . Under these conditions we have:
d H p =Td S p = δ Q p (5.4)
where the ' p ' subscripts indicate that the differential quantities are being evaluated at constant pressure. The enthalpy therefore measures the reversible heat exchange in an isobaric process.

5.2 Helmholtz Free Energy

The Helmholtz free energy is defined in the following way:
FU-TS (5.5)
In differential form this becomes:
dF=dU-TdS-SdT (5.6)
dF=-SdT-PdV+ δ W (5.7)
For a process carried out at constant T (isothermal ), dT=0
d F T =-Pd V T + δ W T = δ W T + δ W T = δ W T,tot (5.8)
F T reports the total (reversible) work done on the system.

5.3 Gibbs Free Energy

The Gibbs free energy, G , is defined in the following way.
GU+PV-TS=H-TS (5.9)
dG=dU+VdP+PdV-TdS-SdT (5.10)
=( TdS - PdV + δ W ) +VdP+ PdV - TdS -SdT (5.11)
dG=-SdT+VdP+ δ W (5.12)
For processes carried out under isothermal and isobaric (constant P ) conditions ( dT,dP=0 ) , then
d G T,P = δ W T,P (5.13)
G reports the total work done other than mechanical work, e.g. chemical reactions and phase transformations.

5.4 Other Material Properties

5.4.1 Volume thermal expansion coefficient

Here we define some material properties that relate different thermodynamic state variables to one one another. The first is the thermal expansion coefficient, α , which describes the temperature dependence of the volume:
α 1 V ( V T ) P ( K -1 ) (5.14)

5.4.2 Isothermal Compressibility

The isothermal compressibility, β , gives the relationship between the pressure and the volume :
β 1 V ( V P ) T ( P a -1 ) (5.15)

5.4.3 Heat Capacity

The heat capacity is the amount of energy needed to change temperature by some amount. Two different heat capacities are typically defined. The first of these, C P , corresponds to a process performed at a constant pressure:
δ Q P C P d T P (5.16)
Here T P indicates that the pressure is being held constant. If the process is reversible, then d Q P =TdS (Eq. 4.12), and we have:
TdS= C P d T p (5.17)
Because the process is happening at constant pressure, we can rewrite Eq. 5.17 in the following way:
C P T = ( S T ) P (5.18)
Empirically, C P is described by four parameters, a,b,  c and d . These four parameters are a convenient way of tabulating the data.
C P ( T ) =a+bT+ c T 2 +d T 2 (5.19)
The
constant volume heat capacity
, C V , is defined in a similar way, but with the volume held constant instead of the temperature:
δ Q V C V d T V (5.20)
The corresponding version of Eq. 5.18 is:
C V T = ( S T ) V (5.21)
Note that C P is necessarily larger than C V . At constant P , the volume increases with increasing temperature, so work is done on the surroundings. Therefore, more energy is needed to achieve the same Δ T . The relationship between C P and C V is obtained below in section 5.6.3.

5.5 Coefficient Relations

A variety of relationships exist between the different thermodynamic functions. These relationships are a consequence of some basic mathematical relationships. Suppose that we have a function, Z of two variables X and Y :
Z=Z( X,Y ) (5.22)
The differential of Z s given by:
dZ= . Z X | Y dX+ . Z Y | X dY (5.23)
The differential forms of U (Eq. 4.15) , F (Eq. ) H (Eq. ) and G (Eq. ) all have the form of Eq. 5.23. The various relationships between the thermodynamic potentials ( U , F , G, H) can be summarized by the thermodynamic square shown in Figure 5.1. Our description of how to use it is taken directly from the appropriate Wikipedia page (https://en.wikipedia.org/wiki/Thermodynamic_square)[2].
image: 14_home_ken_Mydocs_MSEcore_314_figures_maxwellrelations.svg
Figure 5.1: Thermodynamic square used to help determine thermodynamic relations.
  1. Start in the portion of the square corresponding the thermodynamic potential of interest. In our case we'll use U .
  2. The two opposite corners of the potential of interest represent the coefficients of the overall result. In our case these are P and T . When the coefficient lies on the left hand side of the square, we use the negative sign that is shown in the diagram. In our example we have dU=-P[ differential ] +T[ differential ] . Now we just have to figure out what the two differentials are.
  3. The differentials are obtained by moving to the opposite corner of the corresponding coefficient. In our case we have V opposite P and S opposite T , so we end up with dU=-PdV+TdS , which is what we expect to get from Eq. 4.14. We can then use this same procedure to obtain the expressions given previously for dH , dF and dG . Note that two variables on the opposite sides of the thermodynamic square are thermodynamically conjugate variables [1], with have units of energy when multiplied by one another.
We can also use the thermodynamic square of Fig. 5.1 to obtain a variety of expressions for the partial derivatives of the different thermodynamic potentials. The procedure is as follows:
  1. Identify the potential you are interested in, just as before. We'll again take U as our example.
  2. We can differentiate with respect to either of the variables adjacent to the potential we chose. For U we can differentiate with respect to S or V , with the other one of these two variables remaining constant during the differentiation.
  3. The result of the differentiation is given by the variable that is conjugate to (diagonally across from) the variable we are differentiating by. For example, if we differentiate U by S we have , we have . ( U/S ) | V =T . The following 8 expressions are obtained in this way:
T= ( U S ) V , -P= ( U V ) S T= ( H S ) P , V= ( H P ) S -S= ( F T ) V , -P= ( F V ) T -S= ( dG T ) P , V= ( G P ) T (5.24)
The thermodynamic square can be used to illustrate one more set of relationships, referred to as the Maxwell relationships . Consider a state variable Z , which is a function of two other variables, X and Y. A property of state functions is that the order of differentiation doesn't matter, so we have:
2 Z XY = 2 Z YX (5.25) We can rewrite this as:
X ( Z Y ) X = Y ( Z X ) Y (5.26)
Suppose the functions M and N are defined in the following way:
M= ( Z X ) Y ,N= ( Z Y ) X (5.27)
By comparing Eqs. 5.26 and 5.27 we obtain the following expression.
( M Y ) X = ( N X ) Y (5.28)
The expressions for the differentials of the internal energy ( U ), Enthalpy ( H ), Helmoltz free energy ( F ), and Gibbs free energy (G ) all have the form of Eq. 5.23, with values of M and N given in Eq. 5.24. Use of Eq. 5.28 in each of these four cases gives the following relationships between the appropriate partial derivatives:

5.5.1 Internal Energy

dU=TdS-PdV ( T V ) S =- ( P S ) V (5.29)

5.5.2 Enthalpy

dH=TdS+VdP ( T P ) S = ( V S ) P (5.30)

5.5.3 Helmholtz Free Energy

dF=-SdT-PdV ( S V ) T = ( P T ) V (5.31)

5.5.4 Gibbs Free Energy

dG=-SdT+VdP- ( S P ) T = ( V T ) P (5.32)

5.6 Equation of State Relationships

The ideal gas law is an example of an equation of state , where one thermodynamic variable (a dependent variable ) is expressed in terms of two other thermodynamic variables (the independent variables ). Equations of state can also be expressed in differential form, where differential changes in dependent variable are expressed in terms of differentials of the dependent variables. In general, once we know the equation of state for one combination of one independent and two dependent variables, we can express any thermodynamic function in terms of any two thermodynamic variables.

5.6.1 Expression for dS

It will be useful in many of our following derivations to have a general expression for dS in terms of dP and dT . We begin by expressing dS in terms of the appropriate partial derivatives:
dS= ( S T ) P dT+ ( S P ) T dP (5.33)
We can use Eq. 5.32 to replace ( S P ) T with - ( V T ) P :
dS= ( S T ) P dT- ( V T ) P dP (5.34)
Now we can use the definition of the thermal expansion coefficient, α , (Eq. 5.14) to replace ( V T ) P with V α :
dS= ( S T ) P dT-V α dP (5.35)
Finally, we use the definition of the constant pressure heat capacity, C p , (Eq. 5.18) to replace ( S T ) P with C P T , which yields the following relationship expressiong dS in terms of dT and dP , and which involves the two material properties, α and C P :
dS= C P T dT-V α dP (5.36)

5.6.2 Expression for dV

The differential of the volume in terms of dT and dP can also be obtained in a similar manner to the approach described above for obtaining dS . We start with the following expression for dV :
dV= ( V T ) P dT+ ( V P ) T dP (5.37)
The two partial derivatives in this expression appear in the definitions of the volume thermal expansion coefficient, α , and the isothermal compressibility, β , which are With α = 1 V ( V T ) P and β =- 1 V ( V P ) T we can rewrite Eq. 5.37 in the following way:
dV= α VdT- β VdP (5.38)

5.6.3 Relationship between C P and C V

In order to determine the relationship between the constant pressure heat capacity, C P and its constant volume counterpart, C V , we need to get an expression for the dS with temperature and volume as the dependent variables instead of temperature and pressure. We do this by using Eq. 5.38 to get an expression for dP :
dP= α β dT- dV β V (5.39)
This expression for dP can be substituted into Eq. 5.36 for dS to give:
dS=( C P T - V α 2 β ) dT+ α β dV (5.40)
From this we see that ( S T ) V = C P T - V α 2 β . We get the constant-volume heat capacity, C V , from it's definition in Eq. 5.21:
C V =T ( S T ) V = C P - TV α 2 β (5.41)
Note that C V < C P , as mentioned earlier.

The Ideal Gas

We begin to apply these principles by considering an ideal gas , which obeys the following constitutive relationship:
PV=nRT (6.1)
Here n is the number of moles and R is the gas constant :
R=8.314( J/molK ) =1.987( cal / molK ) =0.08206( l-atm/molK ) (6.2)
If n=1, then PV=RT , where V= V m , where V m is the molar volume.

6.1 Thermal Expansion Coefficient of an Ideal Gas

We get the volume thermal expansion coefficient , α , by substituting the ideal gas constitutive law into Eq. 5.14:
α = 1 V ( V T ) P = P nRT T ( nRT P ) P = P nRT nR P = 1 T , (6.3)
We see that the volume thermal expansion coefficient of an ideal gas is simply equal to the inverse of the absolute temperature.

6.2 Compressibility of an Ideal Gas

A very simple expression is also obtained for the isothermal compressibility of an ideal gas, in this case substituting the ideal gas constitutive equation into Eq. 5.15:
β =- 1 V ( V P ) T =- P nRT P ( nRT P ) T =- P nRT ( -nRT P 2 ) = 1 P (6.4)
The isothermal also has a very simple form for an ideal gas, equal to the inverse of the pressure.

6.3 Internal Energy of Ideal Gas

To calculate the internal energy for an ideal gas, the first step is to rewrite the expression for dU with T and P as the dependent variables. We begin with the following expression the first and second laws (Ex. 4.15):
dU=TdS-PdV (6.5)
Using Eq. 5.36 for dS and Eq. 5.38 for dV gives:
dU=( C p -PV α ) dT+V( P β -T α ) dP (6.6)
This expression is general for any constitutive law. For an ideal gas, we also have α =1/T and β =1/P (see previous sections), which gives:
dU=( C p - PV T ) dT (6.7)
We also have PV=nRT for the ideal gas, so we have:
dU=( C p -nR ) dT (6.8)
We see from this result that the internal energy of an ideal gas is independent of the pressure and depends only on the temperature. From Eq.5.41 we see that C V = C P - TV α 2 β , which for an ideal gas gives:
C V = C P - PV T = C p -nR (6.9)
Comparison of Eqs. 6.9 and
dU= C V dT, and C V = 3 2 R
One can then integrate from T 1 to T 2 to get the total change in internal energy at a fixed volume:
Δ U= 3 2 R( T 2 - T 1 )
For an ideal gas, the internal energy depends only on the temperature.

6.4 Specific Heat of Ideal Gas

C V = C P - T ( V α ) 2 β = C P -R (6.10)
We will show that C v = 3 2 R for a monatomic ideal gas. Therefore, C P = 3 2 R+R= 5 2 R .
Example:
Calculate the change in T when 1 mole of gas is compressed reversibly and adiabatically (no heat flow) from V 1 to V 2 .
Solution:
In Example 4.6, we found that dS= C V T dT+ α β dV , which simplifies to d T S =- T α C V β d V S for a reversible, iso-entropic process, for which dS=0) . For an ideal gas, α = 1 T , β = 1 P , so d T S = -T C V P T d V S =- P C V d V S. But P= RT V
d T S = -RT C V d V S V . Evaluate by integrating.
T 1 T 2 d T S T = -R C V V 1 V 2 d V S V ln ( T 2 T 1 ) = -R C V ln ( V 2 V 1 )
ln ( T 2 T 1 ) = ln [ ( V 2 V 1 ) -R/ C V ] T 2 T 1 = ( V 1 V 2 ) R C V
C V = 3 2 R
T 2 = T 1 ( V 1 V 2 ) R/ C V = T 1 ( V 1 V 2 ) 2/3
( V 1 V 2 ) >1 for compression , so T increases.
If the gas expands ( V 2 > V 1 ) , then T decreases. One can also derive T(P) and P(V).

6.5 Some Examples of Ideal Gas Behavior

6.5.1 Free expansion of an ideal gas

[vh] Add text to discuss boundary conditions and why they are important (before listing the boundary conditions for the example). Why each physical condition corresponds to the corresponding boundary condition.
image: 15_home_ken_Mydocs_MSEcore_314_figures_ex4_9.svg
Figure 6.1: Free expansion of an ideal gas - the valve is opened at t 2 and fills both chambers
Walls are rigid: δ W=0
Walls are insulating: δ Q=0
System is closed.
Δ S t =0 , Δ U=0 Δ T=0 (ideal gas)
The gas expands irreversibly.
Entropy is produced, but Δ S is not process dependent because S is a state function.
What is Δ S when 1 mole of gas expands freely to twice its volume? (recall Δ T=0).
dS= C V T dT+ α β dV , dT=0
PV=RT
P T = R V
dS= α β d V T = P T d V T = R V d V T
Δ S T = V 1 V 2 R V V =R ln ( V 2 V 1 ) =R ln ( 2 V 1 V 1 ) =R ln 2
Δ S T =5.76 J/mol-K
This change for a reversible isothermal process is the same as for an irreversible free expansion in an isolated system. S is a state function.

6.5.2 Isothermal Compression of an Ideal Gas

How much heat is absorbed/released when 1 mole of gas is compressed isothermally from 1 to 25 bar at 300K?
To find heat, use S: δ Q rev,T =Td S T
dS= C P T dT- V α dP=- V α d P T
The volume change is unknown, so use V= RT P
d S T = -R T P 1 T dP=-R dP P
Δ S T =-R P i P f dP P =-R ln ( P f P i )
Δ Q rev,T =-RT ln ( P f P i ) =-( 8.314J/mol-K ) 298K ln ( 25 1 ) =-7.975  kJ/mol

6.5.3 Reversibility requires work/heat

The piston in Figure 6.2 below may be withdrawn very slowly to maintain equilibrium.
image: 16_home_ken_Mydocs_MSEcore_314_figures_heat.svg Figure 6.2: Piston-cylinder device
Δ U=0 Δ T=0
Δ S= V i V f nR V V =nR ln ( V f V i )
But no entropy can be produced, so heat flow is needed to maintain T (for free expansion, T decreases)
So actually, Δ U=Q+W=0
W=-Q<0
The system does negative work! Heat flow is positive (inward).
image: 17_home_ken_Mydocs_MSEcore_314_figures_irrvsrev.svg
Figure 6.3: Irreversible Process (top) and reversible process (bottom)
Irreversible process
Reversible process
Δ Q=0
Δ Q0
W=0
W0
Δ U=0
Δ U=0
Δ T=0
Δ T=0
Table 1: Irreversible vs reversible process characteristics
Δ U=0W=- Δ Q
W<0, Δ Q>0
Δ S t >0
What is the amount of heat required to raise the temperature to 1000K isobarically?
δ Q rev,P =Td S p C P d T P
C P = 5 2 R
Δ Q rev,P = C P Δ T= 5 2 R Δ T= 5 2 ( 8.314J/mol-K ) × ( 1000-298 ) K
Note that dH= C P dT+V( 1- T α ) dP . For dP=0 , dH= C P dT Enthalpy measures reversible heat flow in absence of work. This will be useful in the analysis of solids heated under conditions of constant pressure.

6.5.4 Some useful relations for heat flow

δ Q rev,T =Td S T =d U T -d F T
δ Q rev,T =Td S P C P d T P =d H P ( δ W =0 )
δ Q rev,V =Td S V C V d T V =d U V ( δ W =0 )
Example 4.3: Relate S(P,V)
dS=MdP+NdV
dS=MdP+N( V α dT-V β dP ) =( M-N V β ) dP+N V α dT
dS=- V α dP+ C P T dT N= C P V α T = ( S V ) P
M-NV β =- V α
M=- V α + C P V α T V β
M= C P β α T - V α = ( S P ) V
dS=( C P β α T - V α ) dP+ C P V α T dV
Luijten examples
  1. Q for Δ P at constant T
    Reversible, δ Q rev,T =TdS
    Use S( T,P ) like 4.10(a)
  2. Find Δ T given Δ P at constant S
    Use S( T,V ) , also ideal gas law (~4.8)
  3. Free expansion of ideal gas, find Δ S for Δ V
    S( T,V ) (4.9)
  4. Adiabatic reversible compression of a solid.
    T( S,P ) dS=0, Δ P given (4.14)
  5. Change in G for heating at constant P
    G( P,T ) , dP=0 (4.13)
    dG=-SdT+VdP , need to find S( T )
PV=RT
Problem: 1 mole of gas expands at an initial temperature of 300 K, from 1 l to 2 l at constant S . What is the final temperature?
Solution:
dS=MdT+NdP=0
( C P T - ( V α ) 2 P ) dT+ α β dV=0 α = 1 T , β = 1 P
C V T dT=- α β C V dV
dT T = - α β C V dV
dT T = -P T C V dU
dT=- P C V dV
Use PV=RT to get to two variables
P= RT V , C V = 3 2 R
dT= -RT C V V dV=
dT T = -R 3/2R dV V = -2 3 dV V
T 1 T 2 dT T =- 2 3 V 1 V 2 dV V ln ( T 2 T 1 ) = ln ( V 1 V 2 ) 2/3
V 1 V 2 = 1 2 , T 2 = T 1 ( 1 2 ) 2/3 =189 K
Note P 1 = 300R 1 0 -3 m 3 =3 × 1 0 5 R
P 2 = 189R 2 × 1 0 -3 m 3 =0.95 × 1 0 5 R
Pressure drops by threefold
PV=RT
1 mole Fe is compressed reversibly. What is the change in T?
P 1 =1 atm, P 2 =1 0 5 atm
dS= C p T dT- V α dP
dT T = V α C P dP need exponential values
Does C P vary with T ?
If d C P dT 0 , then
ln ( T 2 T 1 ) = V α C P Δ P
α =36 × 1 0 -6 K -1
C P 45.3 J/mol-K
Otherwise, C P T T = V α Δ P
V= 3.1c m 3 mol =7.1 × 1 0 -6 m 3 /mole
T 2 = T 1 × 1.006=300K

Solids and Liquids

Let's begin with an example of the calculation of the free energy as a function of temperature for a substance
Compute Δ G when 1 mole of MgO is heated from 300K to temperature T at constant pressure.
Solution:
dG=-SdT+VdP
dP=0
d G P =-Sd T P =-S( T ) d T P
But C P depends on temperature so does S.
dS= C P T dT- V α dP= C P T dT
( S T ) P = C P T
S= S o + C P ( T ) T T
C P =a+bT, S o =26.8J/mol-K
S= S o + T 1 T 2 T ( a T +b )
Evaluate expression, substitute data at the end
S= S o + C P ( T ) T T = S o + T 1 T 2 T ( a T +b )
S= S o +a ln ( T 2 T 1 ) +b( T 2 - T 1 )
T 1 =300K, T 2 =T
S( T ) =S( 300K ) +a ln ( T 300 ) +b( T-300 )
a ln T+bT+ [ S o -a ln 300-300b ] constant
C P (T ) MgO = 48.99 a + 3.43 × 1 0 -3 T b - 11.34 × 1 0 -5 T 2 ignored ( J mol-K )
Δ G= 300 T G =- 300 T f S( T ) T =- 300 T f ( a ln T+bT+C ) T
=[a( T ln T-T ) + 1 2 b T 2 +cT ] T f 300
Δ G=aT ln T+ 1 2 b T 2 +( C-a ) T=-300a ln 300- 1 2 b(300 ) 2 -( C-a ) 300
Check this, see also sec 7.3 p. 180
a=48.99 J mol-K ,b=3.43 × 1 0 -3 J mol K 2
C=26.8J/mol-K-a ln 300-300b
Consider the following exothermic reaction (referred to as the Thermite reaction ), where Aluminum reacts with iron oxide to form aluminum oxide and iron.
2Al+F e 2 O 3 A l 2 O 3 +2Fe How hot will this system get as the reaction proceeds? We'll do this in two parts. First, we'll calculate the heat generated in the reaction, then we'll figure out how much this heat will increase the temperature of the system.
Consider the change in enthalpy for each half-reaction:
2Al+ 3 2 O 2 A l 2 O 3 Δ H 1 =-1675.7 kJ mol F e 2 O 3 2Fe+ 3 2 O 2 Δ H 2 =823 kJ mol ¯
2Al+ 3 2 O 2 +F e 2 O 3 A l 2 O 3 +2Fe+ 3 2 O 2
Δ H=( -1675.1+823 ) kJ mol =-852.3 kJ mol
The minus sign implies that the reaction is exothermic. Now that we know how much heat is generated, we can figure out what the state of the system will be. Note that Fe melts at 1809 K and boils at 3343 K, and A l 2 O 3 melts at 2325 K. We need to determine to what temperature the system will rise assuming that all heat generated by the reaction is absorbed by the system.
Step 1: Heat Fe and A l 2 O 3 to the melting point of Fe. Δ H A l 2 O 3 ,1 = 289 1809 C P ( T ) T =183,649  J
Δ H Fe,1 involves 3 sub-steps: (2 moles)
α γ : 2 289 1187 C P, α T + Δ H α γ
γ δ : 2 1187 1164 C P, γ T + Δ H γ δ
δ l : 2 1664 1809 C P, δ T + Δ H melt
C P, δ = C P , α
Considering the three integrals of T and three latent heats,
Δ H Fe,1 =157,741 J (for 2 moles)
So through step 1, we have Δ H Fe,1 + Δ H A l 2 O 3 ,1 =341.390 J
Step 2: Heat Fe and A l 2 O 3 to melting point of A l 2 O 3 .
Δ H A l 2 O 3 ,2 = 1809 2325 C P,Al T + Δ H A l 2 O 3 ( Sl ) =( 71,240+107,000 )  J
Δ H Fe,2 =2 1809 2325 C P,Fe( l ) T =43,178  J
How much is left? 852,300-341,390-221,418=289,492 J
Step 3: How much energy is needed to get to the boiling point of Fe?
272,600  J { Δ H Fe,3 =2 2325 3343 C P,Fe ( l ) T Δ H A l 2 O 3 ,3 = 2325 3343 C P,A l 2 O 3 ( l ) T leaving 16.892 J
How much Fe evaporates?
Q Δ H Fe ( lg ) = 16,892J 340,159J =0.05 moles or 5%
Δ H( T ) = Δ aT+ Δ b 2 T 2 - Δ C 1 T + Δ d 3 T 3 - Δ D
Δ D= Δ H( T o ) -[ Δ a T o + Δ b 2 T o 2 - Δ C 1 T o + Δ d 3 T o 3 ]
2Al+F e 2 O 3 2Fe+A l 2 O 3 Exothermic
Compute the final state and temperature assuming adiabataic, reversible reaction at constant pressure.
dT,Q=0,dP=0
Need initial S, C P
image: 18_home_ken_Mydocs_MSEcore_314_figures_tempflow.svg
Figure 7.1: Thermite reaction
Exothermic implies Δ T from heat released.
dS=MdT+N dP
dH=TdS+VdP+ δ W
2Al+ 3 2 O 2 A l 2 O 3 : Δ H 1 =-1875 kJ/mol
2Fe+ 3 2 O 2 F e 2 O 3 : Δ H 2 =-823.4 kJ/mol
2Al+F e 2 O 3 2Fe+A l 2 O 3
2Al+ 3 2 O 2 A l 2 O 3 ; Δ H 1
F e 2 O 3 2Fe+ 3 2 ¯ O 2 ; - Δ H 2
2Al+F e 2 O 3 + 3 2 O 2 A l 2 O 3 +2Fe+ 3 2 O 2
Δ H 1 - Δ H 2 =-852.3kJ/mol
δ Q rev,P =-TdS=dH
Heat is reversibly absorbed by the system.
Δ H Fe,1 = H = 298 1809 C P T =157,741 J for 2 mol
Include Δ H due to increasing T as well as due to phase transitions. For A l 2 O 3 , just C P T
Δ H A l 2 O 3 =183,649 J
For a total change of 341,390 J
Now heat A l 2 O 3 to melting point, and heat Fe( l )
C P T + Δ H melt
Step 2 takes: 221,418 J
852,300 J is provided by the reaction: 852,300-221,418-341,390=289,492 J
image: 19_home_ken_Mydocs_MSEcore_314_figures_FeandAl2O3.svg Figure 7.2: Changes in enthalpy in Fe and A l 2 O 3
dS= C V T dT+ α β dV= 3 2 R T dT+ P T dV= 3 2 R T dT+ R V dV
Good for constant V: relate Δ S to T change.
For constant T: relate Δ S to volume change.
For constant S, dS=0
( T 2 T 1 ) 3/2 =( V 1 V 2 ) T 2 T 1 = ( V 1 V 2 ) 2/3
T 2 T `1 = V 2 V 1 P 2 P 1
( P 2 P 1 ) 3/2 ( V 2 V 1 ) 3/2 = V 1 V 2 ( P 2 P 1 ) 3/2 = ( V 1 V 2 ) 5/2
P 2 P 1 = ( V 1 V 2 ) 5/3
T 1 V 1 γ -1 = T 2 V 2 γ -1
T 1 γ 1- γ P 1 = T 2 γ 1- γ P 2
P 1 V 1 γ = P 2 V 2 γ
γ = C p C V = 5/2 3/2 =5/3
5/3 1-5/3 = 5/3 2/3 =5/2
γ -1=2/3
dU=( C P -P V α ) dT+V( ρ β - T α ) dP
dU=( 5 2 R-R ) dT+V( 1-1 ) dP= 3 2 RT
dS= C P T dT- V α dP= 5 2 R T dT- V T dP
dS= 5 2 R T dT- R P dP
dS= C V T dT+ α β dV= 3 2 R T dT+ P T dV= 3 2 R T dT+ R V dV
Constant P: Δ S= 5 2 R ln ( T 2 T 1 )
Constant T: Δ S=-R ln ( P 2 P 1 )
   Δ S=-R ln ( V 2 V 1 )
Constant V: Δ S= 3 2 R ln ( T 2 T 1 )
Constant S: P 1 P 2 = ( T 2 T 1 ) 5/2 = ( V 1 V 2 ) 5/3
dU=-PdV+TdS
dU= ( -U V ) S dV+ ( U S ) V dS [ S ( -U V ) ] V = [ V ( U S ) V ] S
Note that these are second derivatives of the internal energy, so they should be negative for equilibrium.

Conditions for Equilibrium

Outcomes for this section:
  1. Derive the condition for equilibrium between two phases.
  2. Show that at constant temperature and pressure, the equilibrium state corresponds to that which minimizes the Gibbs free energy G .
  3. Explain why the evolution to a state of lower Gibbs free energy occurs spontaneously.
For an isolated system ( δ Q=0, δ W=0, n fixed), equilibrium corresponds to the state of maximum entropy. So if we maximize S , which is a function of multiple variables, we will have determined the equilibrium state, regardless of the past history.
How do we recognize that a system has reached equilibrium? We need to be able to answer 'yes' to the following questions:
  1. Is the system in a stationary state (i.e. not changing)?
  2. If the system is isolated from its surroundings, will no further changes occur?
A useful example of the application of these systems is the copper rod in contact with hot and cold surfaces, shown in Figure 8.1. When the rod is first put into contact with the hot and cold surfaces, the system is clearly not in equilibrium because the temperature profile is changing and we answer 'no' to question 1. At long times a steady state temperature profile is reached, but the system is not at equilibrium because we would answer 'no' to question 2.
image: 20_home_ken_Mydocs_MSEcore_314_figures_Curod.svg
Figure 8.1: Illustration of a copper rod in contact with hot and cold surfaces. The temperature reaches a steady state profile at long times ( t= t ), but the system is not at equilibrium because the this temperature profile will change to a uniform value if the bar is isolated from its surroundings where it is no longer in contact with the hot and cold surfaces.
z varies monotonically with x,y - there is no global maximum. Constraints such as y=y( x ) may define a maximum in z( x,y ) subject to y=y( x )
image: 21_home_ken_Mydocs_MSEcore_314_figures_3dplane.svg Figure 8.2:
Example 5.1
z=xu+yv
For simple cases, eliminate dependent variables. In general, use Lagrange Multipliers.
Challenge: minimize a funciton of several variables when relationships (constraints) exist between those variables.
Approach: Lagrange Multipliers
 Minimize: ( will be S )   ¯   Given these constraints ( other state functions, vars ) ¯ f( x 1 , x 2 ,... x n ) Φ 1 ( x 1 , x 2 ,... x n ) =0 function of n variables Φ 2 ( x 1 , x 2 ,... ) =0 degrees of freedom=n-m Φ m ( x 1 , x 2 ... ) =0
m constraints.
Define: df+ λ 1 d Φ 1 + λ 2 d Φ 2 +...+ λ m d Φ m =0
λ m : Lagrange multiplier
dF= F x 1 d x 1 + F x 2 d x 2 +...+ F x n d x n
In general, dF= F x 1 d x 1 + F x 2 d x 2 +...+ F x n d x n .
To guarantee that dF=0 for all x 1 , x 2 ... x n , the coefficients F x i must all be zero.
i.e. F x i + k=1 m λ K Φ K x i =0
Example 5.1
z=xu+yv
Constraints
u,v : dependent
x,y : independent
dz+ λ 1 d Φ 2 + λ 2 d Φ 2 =0 Minimize z subject to constraints
=xdu+udx+ydv+vdy+ λ 1 ( dx+dy-du ) + λ 2 ( dx-dy-dv ) =0
=( x- λ 1 ) du+( y- λ 2 ) dv+( u+ λ 1 + λ 2 ) dx+( v+ λ 1 - λ 2 ) dy=0
. x- λ 1 =0 y- λ 2 =0 } λ 1 =x λ 2 =y . u+ λ 1 + λ 2 =0 v+ λ 1 - λ 2 =0 } u=- λ 1 - λ 2 v=- λ 1 + λ 2 u=-x-y v=-x+y
x+y+12-u=0
x-y-8-v=0 ¯
2x+4-( -x-y ) -( -x+y ) =0 -1-y-8-( -( -1 ) +y ) =0 4x+4=0x=-1 -10-2y=0y=-5

8.1 Finding equilibrium conditions

A unary 2-phase system is in equilibrium when the T,P and μ for both phases are equal.
Consider 2 phases α and β of one component.
U= U α + U β , V= V α + V β , S= S α + S β because these are extensive properties.
So U α ( S α , T α , n α ) where n α is the number of moles of α phase.
Then d V α = T α d S α - P α d V α + μ α d n α , where μ ( V α n α ) V α , S α
μ α is the chemical potential of the α phase. To find the equilibrium condition, maximize S.
d S α = dU α T α + P α T α d V α - μ α T α d n α , d S β = d V β T β + P β T β d V β - μ β T β d n β
dS=d S α +d S β = dU α T α + P α T α d V α - μ α T α d n α + d V β T β + P β T β d V β - μ β T β d n β
If the entropy is maximized, then no changes will occur if the system is isolated (rigid walls, insulated).
dU=d U α +d V β =0d U α =-d U β ( no heat is exchanged)
dV=d V α +d V β =0d V α =-d V β ( no work is done)
d n α =-d n β (particle number is conserved)
Then dS=( 1 T α - 1 T β ) d U α +( P α T α - P β T β ) d V β -( μ α T α - μ β T β ) d n α =0
To guarantee dS=0, these coefficients must be zero independently.
Hence, T α = T β , P α = P β , μ A = μ B Conditions for Equilibrium

8.2 Energy Minima

Consider first the internal energy U in an m-component system.
dU=TdS+PdV+ i m μ i d n i where i: index of components
dU= δ Q+ δ W+ δ W
Consider a reversible process in an isolated system
δ Q rev =TdS δ W rev =-PdV δ W = i μ i d μ i “chemical” work associated with reversible reactions
Claim: For a system of constant S,V, n λ , the equilibrium state is a state of minimum internal energy U.
If this is not true, then work can be extracted and reinserted as heat. But then S would increase while nothing else changes. Therefore, energy cannot be extracted from a system under these conditions (unchanging/maximized S v,n ) .
8.2.0.1 Derive conditions for equilibrium again
   dU=0 (minimize U)
   dS=0 d S α =-d S β
   dV=0 d V α =-d V β
   dn=0 d n α =-d n β
   d U α = T α d S α - P α d V α + μ α d n α
   d U β = T β d S β - P β d V β + μ β d n α ¯
   dU=( T α - T β ) d S α -( P α - P β ) d V α +( μ α - μ β ) d n α =0
   T α = T β , P α = P β , μ α = μ β (Additional condition: second derivative)
   Thermal, mechanical, and chemical equilibrium
U will decrease spontaneously if a system of constant S and V is not in equilibrium.
Enthalpy H=U+PV
Hemholtz Free Energy F=U-TS
Gibbs Free Energy G=U+PV-TS
The equilibrium conditions for different situations (constant S , P ; constant T, V ; etc) are outlined below in table xx
Variables Held Constant
Equilibrium Condition
S , P
dH=0
T , V
dF=0
T , P
dG=0
S , V
dU=0
Table 2: Equilibrium conditions.
If T and P are held constant, a system will seek to minimize the Gibbs free energy, G . Consider two states connected by an isothermal and isobaric path:
G 1 = U 1 +P V 1 -T S 1
G 2 = U 2 +P V 2 -T S 2
Δ G= Δ U+P Δ V-T Δ S , and Δ U=Q+W+W
Consider first a reversible path:
W rev,T =-P Δ V and Q rev,P =T Δ S
For any path: Δ G=[ Q+W+W ] - W rev - Q rev Δ G= ( Q- Q rev ) <0 + ( W- W rev ) <0 + W <0
In a system at constant T and P that is not in equilibrium, G will tend to decrease spontaneously to approach chemical equilibrium.
8.2.0.2 Example for two component system
Two isolated systems are defined - each in equilibrium with separate environments.
. P 1 V 1 = n 1 R T 1 P 2 V 2 = n 2 R T 2 } Let them come to equilibrium in isolation
Δ U 1 + Δ U 2 =0
3 2 n 1 R( T f - T i ) + 3 2 n 2 R( T f - T i ) =0 n 1 T f - n 1 T 1 =- n 2 T f + n 2 T 2 T f = n 1 T 1 + n 2 T 2 n 1 + n 2
We can also solve for P f , V i
P f = ( n 1 + n 2 ) R T f V 1 + V 2 = R( n 1 T 1 + n 2 T 2 ) V 1 + V 2 and V 1 = n 1 R T f P f , V 2 = n 2 R T f P f
V 1 + V 2 = n 1 R T f P f + n 2 R T f P f
P f V n 1 + n 2 T f Final

8.3 Maxwell Relations

For free energies:
For Maxwell Relations:
= i.e. - ( S P ) T = ( V T ) P
Note: This does not include the chemical potential. δ W = i m μ i d n i
8.3.0.1 Useful relations between S,T,P,V for an ideal monatomic gas
   dS= C p T dT- V α dP= 5 2 R T dT- V T dP= 5 2 R T dT- R P dP
   dS= C V T dT+ α β dV= 3 2 R T dT+ P T dV= 3 2 R T dT+ R V dV
Constant P: { Δ S= 5 2 R ln ( T 2 T 2 )
Constant T: { Δ S=-R ln ( P 2 P 1 ) Δ S=-R ln ( V 2 V 1 )
Constant V: Δ S= 3 2 R ln ( T 2 T 1 )
Constant S: P 2 P 1 = ( T 2 T 1 ) 5/2 = ( V 1 V 2 ) 5/3
image: 22_home_ken_Mydocs_MSEcore_314_figures_reverspath.svg
Figure 8.3:
dS= C v T dT+ α β dV= 3 2 R T dT+ P T dV= 3 2 R T dT+ R V dV
0= 3 2 R T dT+ R V dV 3 2 ln ( T 2 T 1 ) =- ln ( V 2 V 1 )
( T 2 T 1 ) 3/2 = V 1 V 2 , ( T 2 T 1 ) 5/2 = ( V 1 V 2 ) 5/3 = P 2 P 1
One can show this using P 1 V 1 T 1 = P 2 V 2 T 2 and substituting.

From Microstates to Entropy

Outcomes for this section:
  1. Express the entropy S of the system in terms of equivalent microstates in the equilibrium (most probable) macrostate.
  2. Given the energy levels of a system of particles, calculate the partition function.
  3. Given the partition function, calculate the Helmholtz free energy, the entropy, the internal energy, and the heat capacity.
Destination: S= k B ln Ω
where k B = Boltzmann's constant, 8.317 × 1 0 -5 eV/K,1.38 × 1 0 -23 J/K and Ω = number of equivalent microstates in (equilibrium) macrostate.
Matter is composed of atoms, and is therefore discrete. Contimuum thermodynamics arises from interactions between discrete components and interactions with the environment.
A statistical description is needed to connect the microscopic and macroscopic descriptions.

9.1 Microstates and Macrostates

Microstate: Specification of the state (e.g. energy level) of every atom at a particular point in time.
Example: 4 identical particles in 2 levels, pour 4 balls in 2 boxes.
If balls are placed randomly, which configuration is more likely?
image: 23_home_ken_Mydocs_MSEcore_314_figures_microstates.svg
Figure 9.1:
# Microstates
Distribution
1
(4,0)
6
(2,2)
4
(1,3)
Table 3: Microstates and distribution of balls
Macrostate: collection of equivalent microstates. Equivalent means the same numbers of particles within each of the levels.
Example: the macrostate with 1L, 3R - (1,3)
We will use combinatorics to calculate:
image: 24_home_ken_Mydocs_MSEcore_314_figures_combin.svg
Figure 9.2: Macrostate (1,3)
  1. The distribution function specifies the occupation of atomic states by identical particles, and thus the macrostate.
  2. Number of macrostates number of microstates
  3. If all microstates are equally likely, then some macrostates are much more likely. (e.g. (2,2))
    How do we see this?
9.1.0.1 How many microstates correspond to a given macrostate?
N 0 : # of balls, r: # of boxes, n i : balls in i th box
Ω = N o ! n 1 ! n 2 ! n 3 !... n r ! n!n( n-1 ) ( n-2 ) ...321 = N! Π i=1 n i !
Number of Microstates
Distribution
1
(4,0)
Ω 4,0 = 4! 4!0! =1
6
(2,2)
Ω 2,2 = 4! 2!2! = 4321 2121 =6
4
(1,3)
Ω 1,3 = 4! 1!3! = 4321 1321 =4
Table 4: Microstates corresponding to given macrostates
Total number of possibilities is r N o , or 2 4 =16 . There are 5 macrostates: (4,0) (1,3) (2,2) (3,1) (4,0)
Example: Four atoms in volume V. How many microstates are there, and how many macrostates?
image: 25_home_ken_Mydocs_MSEcore_314_figures_gridstates.svg Figure 9.3:
How many ways can we distribute 4 indistinguishable particles over 2M compartments?
Case I: Ω I
( 2M 4 )= ( 2M ) ! 4!( 2M-4 ) ! = 2M( 2M-1 ) ( 2M-2 ) ( 2M-3 ) 4! (2M ) 4 4!
Case II: How many configurations have all the particles on one side, i.e. M boxes?
Ω II =( M 4 ) M 4 4!
Note that Ω II Ω I 1 2 4 = 1 16 , Ω II is much less likely.
For N atoms, we would find Ω II Ω I = 1 2 N 1
Even a state with 51% on the left would be highly improbable. (1.98M ) N (2M ) N for N N A is vanishingly small.( Try plotting this).
100 - 3.790
1000 - 4 × 1 0 -5
10000 - 2 × 1 0 -44

9.1.1 Postulate of Equal Likelihood

All allowable microstates (energetically equivalent configurations) are equally likely.
P j = Ω j r N o is the probability of finding the system in macrostate j. The most probable macrostate is the one that represents the most microstates in Ω .

9.1.2 The Boltzmann Hypothesis (to be derived)

image: 26_home_ken_Mydocs_MSEcore_314_figures_boltzyo.svg Figure 9.4:
S= k B ln Ω
k B =1.38 × 1 0 -23 J/K
Maximum in  Ω corresponds to a maximum in S. 
How do we determine the most probable macrostate?
What are the conditions of equilibrium?

9.2 Conditions for equilibrium

We aim to minimize S , where S=k ln Ω , or
S= k B ( N o ! Π i=1 r n i ! ) Ω
What tools do we need to do so?
ln ( x y ) = ln x- ln y , ln ( xy ) = ln x+ ln y
d ln x= dx x
Stirling's Approximation: ln x!x ln x-x
This is very accurate for large x. How large?
  1. Express Ω as a sum over logarithms of occupation numbers.
    Ω = N! Π i=1 r n i ! ln Ω = ln N!- ln ( Π i=1 r n i ! )
    Apply Stirling's Approximation, ln ( Π x i ) = ln x i
    ln Ω =N ln N-N- i=1 r ( n i ln n i - n i )
    Note also that N= i=1 r n i (summing occupation numbers gives the total particle number).
    So ln Ω N ln N- N - i=1 r n i ln n i + N
    = i=1 r n i ln N- i=1 r n i ln n i
    ln Ω i=1 r n i ( ln N- n i ) Not too bad
  2. Differentiate
    d ln Ω = i=1 r [ d n i ( ln N- ln n i ) + n i ( dN N - d n i n i ) ]
    = i=1 r ( ln N- ln n i ) d n i + i=1 r ( n i N ) dN dN - i-=1 r d n i dN
    d ln Ω =- i=1 r ln ( n i N ) d n i
  3. Impose constraints
    For an isolated system, the total particle number and energy are constant as ln Ω is maximized.
    N= n 1 + n 2 +... n r = i=1 r n i , dN=0
    U= n 1 Σ 1 + n 2 Σ 2 +...+ n r Σ r = i=1 r n i Σ i , dU=0
    To impose constraints, we use Lagrange Multipliers.
    d ln Ω + λ 1 dN+ λ 2 dU=0
    - i=1 r ln ( n i N ) d n i + λ 1 i=1 r d n i + λ 2 i=1 r Σ i d n i =0
    - i=1 r [ ln ( n i N ) d n i + λ 1 - λ 2 Σ i ] d n i =0 Gives r equations, e.g.
    ln ( n i N ) - λ 1 - λ 2 Σ i =0 n i N = e λ 1 e λ 2 Σ i , i=1,2,...,r
  1. Use constraints to eliminate λ 1 , λ 2
n i N = e λ 1 e λ 2 Σ i
i=1 r n i N =1 i=1 r e λ 1 e λ 2 Σ i =1
e λ 1 = 1 i=1 r e λ 2 i n i N = e λ 2 Σ i j=1 r e λ 2 Σ j 1 Z e λ 2 Σ i
The fractional occupation number of the i th level.
So ln Ω i =- i=1 r n i ( n i N ) =- i=1 r n i ln ( e λ 2 Σ i Z )
=- i=1 r n i ( λ 2 Σ i - ln Z )
ln Ω =- λ 2 i=1 r n i Σ i + ln Z i=1 r n i =- λ 2 U+N ln Z
What is λ 2 ?
Consider response of system to the reversible absorption of an infinitesimal amount of heat δ Q.
d ln Ω =- λ 2 dU+d ( N ln Z )
dU= δ Q rev =TdS
d ln Ω =- λ 2 TdS
So S ln Ω
S= - 1 λ 2 T k B ln Ω = k B ln Ω λ 2 =- 1 k B T
n i N = e - Σ i /kT i=1 r e - Σ i /kT 1 Z e - Σ i /kT
We can calculate macroscopic properties from the partition function.
Recall ln Ω =- λ 2 U+N ln Z, S=k ln Ω
( k ln Ω = ) S=- U T + k B N ln Z
-kT ln Z=U-TSF Hemholtz Free Energy!
So F=-kTN ln Z
F N =-kT ln Z
Also, S=- ( F T ) V =Nk ln Z+NkT ( ln Z T ) V
Then U=F+TS=Nk T 2 ( ln Z T ) V
C V = ( U T ) V =2NkT ( ln Z T ) V +Nk T 2 ( 2 ln Z T 2 ) V
Note that the pressure dependence of Z is needed to calculate V,H,G, C P .

Noninteracting (Ideal) Gas

The definition of an ideal gas is that there are no interactions between the molecules, they only have kinetic energy. The total kinetic energy for an ideal gas of molecules, each with mass,is as follows:
1 2 m v 2 = m 2 ( v x 2 + v y 2 + v z 2 ) (10.1)
Z= 0 L 0 L 0 L V dxdydz - - - e - 1 2kT ( v x 2 + v y 2 + v z 2 ) v x v y v z
=V - e - 1 2kT m v x 2 Gaussians v x - e - 1 2kT m v y 2 d v y - e - 1 2kT m v Z 2 v z
- e - α x 2 x = π α (for α >0 )
e - 1 2kT m α v x 2
Z=V ( 2 π kT m ) 3/2 Now we can easily derive many functions.
ln Z= ln V+ 3 2 ln ( 2 π k m ) + 3 2 ln T , ln Z T = 3 2 1 T
F=-NkT ln Z=-NkT[ ln V+ 3 2 ln ( 2 π kT m ) ]
U=Nk T 2 ( ln Z T ) V =Nk T 2 ( 3 2 1 T ) = 3 2 NkT
U N = 3 2 kT  Energy per particle
C V = ( U T ) V = 3 2 NK= 3 2 ( N N A ) k N A = 3 2 nR
C V n = 3 2 n: moles

10.1 Ideal gas Law

dF=-SdT-PdV+ δ W
-P= ( F V ) T
P=-NkT ( ln Z V ) T =NkT [ V ( ln V+ 3 2 ln ( 2 π k m ) + 3 2 ln T ) ] T
P=NkT 1 V = nRT V
Including these leads to the van der Waals equation:
( P+ a V 2 ) ( V-b ) =RT

Diatomic Gases

Diatomic gases possess rotational and vibrational degrees of freedom.
The kinetic energy of a gas molecule with p degrees of freedom is
Σ = j=1 P b j v j 2 , and Z=V Π j=1 P π kT b j
(e.g. b= m 2 for translations) For rotations v ω , MI
Surprisingly, U and C V do not depend on b j :
( ln Z T ) V = P 2T U=Nk T 2 ( P 2T ) = P 2 NkT
Get 1 2 RT for each degree of freedom
C V = P 2 Nk= P 2 nR
Observations:
Heat capacity measurement reveals the number of degrees of freedom.
image: 27_home_ken_Mydocs_MSEcore_314_figures_diatomic.svg Figure 11.1: Diatomic gas

The Einstein Model of a Crystal

How is the discrete nature of matter manifested in easily observable quantities?
Consider atoms in a simple cubic lattice
image: 28_home_ken_Mydocs_MSEcore_314_figures_einstein1.svg Figure 12.1: Vibration of atoms in harmonic potential
Figure 12.2: Binding to six nearest neighbors
By solving the Schrödinger equation for the harmonic oscillator potential, one can show that
i =( i+ 1 2 ) ω =( i+ 1 2 ) hv i=0,1,2...
h : Planck's constant , v: frequency , : h 2 π
Energy is stored in vibration of atoms. To analyze, calculate the partition function for the vibrations:
Z= i=0 n e - Σ i /kT = i=0 n e -( i+ 1 2 ) hv/kT = e - 1 2 hv kT i=0 n e -ihv/kT
Here n is the number of energy levels. If n is large, we can take the limit n and use
i=0 e -ihv/kT = 1 1- e -hv/kT , Z= e -1/2 hv kT 1- e -hv/kT

12.1 Thermodynamic Properties of a Crystal

Vibrations along each of three bonding axes contribute to energy:
F=-3NkT ln Z=3NkT[ hv 2kT + ln ( 1- e -hv/kT ) ]
= 3 2 Nhv+3NkT ln ( 1- e - hv kT )
Note that the crystal has energy even at zero T!
U=- β ln Z=k T 2 ln Z T ( β =kT) (per particle?)
U=3Nk T 2 ln 2 T =2Nk T 2 T [ - 1 2 hv kT - ln ( 1- e -hv/kT ) ]
U= 3 2 Nhv[ 1+ e -hv/kT 1- e -hv/kT ] How does this change with temperature?
The heat capacity, C V = U T
C V = 3 2 Nhv hv k T 2 e -hv/kT × ( 1- e -hv/kT ) +( 1+ e -hv/kT ) (1- e -hv/kT ) 2
C V =2Nk ( hv kT ) 2 e -hv/kT (1- e -hv/kT ) 2
image: 29_home_ken_Mydocs_MSEcore_314_figures_cvgraph.svg
Figure 12.3: Heat capacity in an atom as a function of temperature
Classical limit ( 3R J mol-K )
The Einstein model captures the qualitative behavior of the heat capacity very well. (But something is missing).
Note here regarding information derived from heat capacity.

Unary Heterogeneous Systems

Outcomes for this section:
  1. State the differential of the Gibbs free energy G as a function of S , T , V , and P .
  2. State the conditions for two phases to coexist in equilibrium.
  3. Explain how isobaric section of the chemical potential μ ( T,P ) as a function of temperature and pressure can be calculated from knowledge of the heat capacity and the entropy at room temperature.
  4. Given μ ( T,P ) for multiple phases, determine the equilibrium phase at a given temperature.
  5. Derive the Clausius-Clapeyron relation: express the general condition for determining the region of two-phase coexistence.
  6. Calculate the Δ H given the C P ( T ) , assuming a negligible contribution from thermal expansion.
  7. Calculate Δ V α β assuming ideal gas behavior.
  8. Integrate dP dT = Δ S Δ V with the assumption that Δ S and Δ V depend only weakly on the temperature.
  9. Given the P-T diagram, qualitatively sketch G( T ) for a specified region.
  10. Given the P-T diagram, specify the sign of Δ V α β .
  11. State Trouton's rule and justify its validity qualitatively.
  12. Sketch the P-T diagram for a one-component system.

13.1 Phase Diagrams

Figure 13.1 shows the unary (one component) phase diagram for copper. The phases in this case are solid (S), liquid (L) and gas (S). In some cases, multiple solid phases are observed, as with
image: 30_home_ken_Mydocs_MSEcore_314_figures_phasediagcuu.svg Figure 13.1: Phase Diagram for copper.
The phase boundary defines the limits of phase stability. Phases co-exist at a phase boundary. A phase transformation occurs when crossing phase boundaries i.e. s,v,sv .
image: 31_home_ken_Mydocs_MSEcore_314_figures_phasediagc.svg Figure 13.2: Phase for carbon.
image: 32_home_ken_Mydocs_MSEcore_314_figures_phasediagh20.svg Figure 13.3: Phase diagram for water ( H 2 O).

13.2 Chemical Potential Surfaces

To find μ ( T,P ) , integrate d μ =dG=-SdT+VdP
knowns: C P , expansion coefficient, compressibility depends on phase
Then repeat for each phase (solid α , solid β , liquid, etc. )
image: 33_home_ken_Mydocs_MSEcore_314_figures_chempot1.svg image: 34_home_ken_Mydocs_MSEcore_314_figures_chempot2.svg Figure 13.4: Solid α and liquid L
μ L ( T,P ) and μ S ( T,P ) (two surfaces) intersect at a line defined by μ L = μ S .
image: 35_home_ken_Mydocs_MSEcore_314_figures_gbsurface.svg
Figure 13.5: Intersection of μ L ( T,P ) and μ S ( T,P )
image: 36_home_ken_Mydocs_MSEcore_314_figures_superpos.svg Figure 13.6: Superposition of Solid, Liquid, and Gas phase μ
AB: solid + liquid
COD: solid +gas
EOF: liquid + gas
O: triple point S+ +S
Relation between chemical potential and the Gibb's free energy (for unary systems).
G: intensive molar Gibbs free enrgy
G =nG: Extensive
d U =TdS -PdV + μ d n 1 , μ = ( u n ) S ,V
G =U +PV -TS
d G =dU +PdV +V dP-TdS -S dT
Susbstitute d U
d G = Td S - Pd V + μ dn+ Pd V +V dP- Td S -S dT
d G =-S dT+V dP+ μ dn
μ = ( G n ) T,P
μ = ( G n ) T,P = ( n ( nG ) ) T,P =G ( n ) T,P =G

13.3 μ ( T,P ) Surfaces

d μ α =d G α =- S α dT+ V α dP
Approach: compute isobaric sections by integrating - S α dT .
d S P α = C P α T dT S α ( T ) = S α ( 298 ) + 298 T C P α ( T ) T T
μ α ( T ) = μ α ( 298 ) - 298 T S α ( T ) T
μ α ( T ) = μ α ( 298 ) - 298 T [ S α ( 298 ) + 298 T" C P α ( T ) T T ] T "
To compare μ α with μ L , we need to calculate μ L from the same reference point.
Connecitng μ α with μ L at the melting point T m :
μ L ( T ) - μ α ( 298 ) = [ μ L ( T ) - μ L ( T m ) ] + [ μ α ( T m ) - μ α ( 298 ) ]
μ L = μ L ( T m ) - T Mm T [ S L ( T m ) * + T m T" C P L ( T ) T T ] T "
Plot G( T ) - G α ( 298 ) versus T for each phase α ,L i.e. plot of G α begins at 0, do example where P=1 bar.
* Note the entropy changes with the phase change
S L ( T m ) = S α ( T m ) + Δ S α L ( T m )
Δ S: latent heat
S L ( T m ) = S α ( T m ) S 298 α + 298 T m C P α ( T ) dT T + Δ S α L ( T m ) latent heat
G L ( T ) - G α ( 298 ) = G L ( T ) - G L ( T m ) + G α ( T m ) - G α ( 298 ) =
= T m T -{ [ S α (298+ 298 T m C P α ( T ) T T S α ( T m ) + Δ S α L ( T m ) S L ( T m ) ] + T m T" C P L ( T ) T T S L ( T> T m ) } +( - ) 298 T m [ S α ( 298 ) + 298 T" C P α ( T ) T T ] T "
image: 37_home_ken_Mydocs_MSEcore_314_figures_deteqstate.svg Figure 13.7: Determining the equilibrium state (at fixed P)

13.4 Clausius-Clapeyron Equation

The Clausius-Clapeyron Equation describes the pressure dependence of the temperature at which two phases are in equilibrium with one another. For a single component system it allows us to determine the complete phase diagram in P-T (pressure - temperature) space. We begin by considering the thermodynamic requirement to have two phases, α and β in equilibrium with one another:
T α = T β =T P α = P β =T μ α = μ β (13.1)
We can use Eq. xx to write differential changes in μ α and μ β to differential changes in T and P :
d μ α =- S α d T α + V α d P α
   d μ β =- S β d T β + V β d P β
But we require equilibrium:
d T α =d T β d P α =d T β d μ α =d μ β
- S α dT+ V α dP=- S β dT+ V β dP
( S β - S α ) dT=( V β - V α ) dP
Δ S α β dT= Δ V β α dP
Δ S α β : difference in molar entropy
Δ V α β : difference in molar volume
dP dT = Δ S α β Δ V α β Classius-Claperyon Equation Slope = Entropy Change Volume Change 
But how do we measure entropy change?
Instead, we measure the heat of fusion of vaporization isobarically under reversible conditions.
So, Q α β = Δ H α β
In equilibrium, G α = G β H α -T S α = H β -T S β ( T α = T β
So Δ S α β = Δ H α β T , and
dP dT = Δ H α β T Δ V α β
Can be integrated to get P( T ) for 2-phase coexistence.
We need Δ H( P,T ) , Δ V( P,T ) from Chapter 4.

13.4.1 Step 1: Find Δ H( T,P )

d( Δ H α β ) =d( H β - H α ) =d H β -d H α dH= C P dT+V( 1- T α ) dP
d Δ H α β = Δ C P dT+ Δ [V( 1- T α ) dP
To find Δ H , we need the temperature dependence of the heat capacity. C P ( T ) is often given empirically as
C P =a+bT+ c T 2 +d T 2 (See Appendix B,E)
Δ C P = Δ a+ Δ bT+ Δ c T 2 + Δ d T 2
Now we can integrate to get Δ H.

13.4.2 Step 2: Find Δ V α β ( T,P ) V β ( P,T ) - V α ( P,T )

First consider the case of β as a vapor phase, and α as liquid or solid.
Δ V α β = V β - V α V β = RT P
Then for sublimation or vaporization to phase β ,
dP dT = Δ H α β T Δ V α β = Δ C P dT T RT P = Δ C P P R T 2 dT small, positive slope
Phase boundaries can be calculated based on knowledge of C P . (or vice versa, as we will see)
For solid solid transformations, ( β is the stable phase at high T)
dP dt = Δ C P α β ( T ) dT T Δ V
Δ V is usually positive but can be negative (e.g. H 2 O )
Δ V ~ constant over few 10's of atmosphere.
An approximate analysis of solid-solid phase boundary:
Δ S, Δ H, Δ V are determined by C P , α , β , but suppose the variation with temperature is weak.
Since dP dT = Δ S Δ V = constant , P- P o Δ S Δ V ( T- T o ) Δ H Δ V ( T- T o T o )
The slope dP dT is generally large since Δ V is small.
image: 38_home_ken_Mydocs_MSEcore_314_figures_logPgraph.svg Figure 13.8:
dP dT Δ H T Δ V Δ H R T 2 P
dP P Δ H( T ) R T 2 dT
If we assume d dT Δ H=0 ,
ln ( P P o ) =- Δ H R ( 1 T - 1 T o )
| dP dT | SL > | dP dT | SV

13.4.3 Justification for Approximations

Consider the enthalpy of transformation
d Δ H α β ( T ) = Δ C p ( T ) dT , and integrate
Δ H( T ) = Δ H( T o ) + T o T Δ C P ( T ) T
Δ H( T o ) : enthalpy change at the transformation temperature.
Heat to drive phase change is larger than that needed to change the temperature.
Thus, Δ H( T ) Δ H( T o )
For vaporization, ln ( P P o ) - Δ H( T o ) R ( 1 T - 1 T o )

13.4.4 Trouton's Rule

Δ S vap is approximately the same for all materials. Δ S= Δ H T materials with high boiling points have larger Δ H vap .
ln ( P P o ) =-( Δ H R ) 1 T +( Δ H R T o )
image: 39_home_ken_Mydocs_MSEcore_314_figures_tempgraph.JPG Figure 13.9:

Open Multicomponent Systems

Outcomes for this section:
  1. Given sufficient information about the dependence of a total property B or Δ B versus composition, find the partial molal properties as a function of composition via calculations of derivatives dB or d Δ B .
  2. Given the partial molal properties as a function of composition, calculate the total properties of the system via integration of the derivatives.
  3. Given the differentials of state functions, write partial derivatives that define the partial molal properties.
  4. What is B k 0 ?
  5. What is μ k - μ k 0 for (a) a component behaving ideally, and (b) in general?
  6. Define the activity of a component.
  7. Given μ k ( T,P, X k ) , calculate changes in the partial molal properties.
  8. State and justify/explain Raoult's law.
  9. State and justify/explain Henry's law.
  10. Explain how the activity coefficient γ can be used to describe the departure from ideal behavior in terms of ``excess'' quantities.
  11. Define a ``regular'' solution and calculate the partial molal properties and total properties versus composition for binary mixtures.
  12. Describe the driving forces for mixing and their origins in statistical mechanics.
  13. Interpret changes in state functions with mixing in terms of ideal behavior and departures from ideality.

14.1 Partial Molal Properties of Open Multicomponent Systems

Volume V is an extrinsic quantity that depends on amount of each component:
V =V ( T,P, n 1 , n 2 ,... n c )
C:  # components x c :  mole fraction n k :  # moles of component k
Then d V = ( V T ) P, n m dT+ ( V P ) T, n k dP+ k=1 c ( V n k ) T,P, n o n k d n k
We previously defined coefficients of dP,dT
For convenience, define V K ( V n k ) T,P, n j n k as partial molal volumes.
We can do the same for any other extensive property B ( U ,S ,F ,G ,H )
d B =MdT+NdP+ k=1 r B k d n k
B K ( B n k ) T,P, n j n k k=1,2,>...<
Consider a system (or sample) that we create by adding various amounts of the components sequentially (holding others constant).
If dT=dP=0, d K T,P = k=1 C V k d n k , which we could integrate.
But V k depends on the composition, which changes continuously.
However, we can calculate changes in state functions using the simplest possible path: add all components simultaneously and in the proportions of the final mixture. Intensive properties ( T,P, X k ) are constant
V = k=1 C V k d n k = k=1 C V k 0 n k n k = k=1 C V k n k and B = k=1 C B k n k
Interpretation: We can calculate how much each component contributes to a given extensive quantity.

14.2 Gibbs - Duhem Equation: Evaluating Differentials

d B =d[ k=1 C ( B k n k ) ] = k=1 c d( B k n k )
Apply product rule:
d B = k=1 C B k d n k + k=1 C n k d B k , but dP,dT are held constant, and
d B = MdT+NdP 0 + k=1 C B k d n k
k=1 C n k d B k =0
Gibbs Duhem equation relates the different partial molal properties. To be shown: given one, the others can be computed. For two components: n 1 d B 1 + n 2 B 2 =0

14.3 The Mixing Process: Calculating changes in energy

image: 40_home_ken_Mydocs_MSEcore_314_figures_mixing.svg Figure 14.1: Mixing of three states into B so ln
Reference and Final States have the same T and P.
B k o : value of property B for pure component, per mole.
B o = k=1 C B k o n k : total value of B
Δ B mix - B so ln - B o
Δ B mix = k=1 C B k n k - k=1 C B k o n k = C=1 k ( B k - B k ) ˙ Δ B k n k
Δ B mix = k=1 C Δ B k n k
per mole
Δ B= Δ B n T = k=1 C Δ B k n k n T = k=1 C Δ B k X k
How does this vary with changes in composition?
Δ B mix = k=1 C Δ B k n k
d( Δ B ) = k=1 C ( B k d n k - B n o d n k ) = k=1 C Δ B k d n k
Alternatively, we could have written
d( Δ B ) = k=1 C ( Δ B d n k + n k d Δ B k ) k=1 C n k d Δ B k =0
We can also express these per mole:
d Δ B mix = k=1 C Δ B k d X k
k=1 C X k d Δ B k =0
How do we find molal properties?
  1. Measurement of total property B or Δ B versus composition.
  2. Measurements of PMP B k versus composition.
We will first apply to two component systems.
B= B 1 x 1 + B 2 x 2 , dB= B 1 d x 1 + B 2 x 2
d x 1 =-d x 2
x 1 + x 2 =1 , x 2 =1- x 1
dB=( B 1 - B 2 ) d X 1
dB d X 1 = B 1 - B 2
B= B 1 x 1 +( B 1 - dB d X 1 ) ( 1- X 1 ) = B 1 - dB d X 1 + dB d X 1 X 1
Solve for B 1
B 1 =B+( 1- X 1 ) dB d X 1 and B 2 =B+( 1- X 2 ) dB d X 2
Note also that
Δ B 1 = Δ B+( 1- X 1 ) d Δ B d X 1 ; Δ B 2 = Δ B+( 1- X 2 ) d Δ B d X 2 from Daltoff 8.2.1
Problem 8.3: Given behavior of volume change upon mixing Δ V mix =2.7 X 1 X 2 2 ( L??/mol ) , derive expressions for partial molal volumes of each component as a function of composition.
Δ V mix =2.7 X 1 X 2 2 =a X 1 X 2 2 a=2.7
To take derivative, express in terms of X 2 :
Δ V mix =a( 1- X 2 ) X 2 2
d Δ V mix d X 2 =2a X 2 -3a X 2 2 =- d Δ V mix d X 1
Now use relations derived in lecture:
Δ B 1 = Δ B mix +( 1- X 1 ) d Δ B mix d X 1 ( BV )

14.4 Graphical Determination of Partial Molal Properties

Δ B 2 = Δ B mix +( 1- X 2 ) d Δ B mix d X 2
Δ B 2 =AB+PB BC PB =AB+BC=AC
image: 41_home_ken_Mydocs_MSEcore_314_figures_graphdet.svg Figure 14.2:
Evaluations of PMPs: given B 1 ( X ) B 2 ( X 1 ) , B
Gibbs - Duhem: X 1 d B 1 + X 2 d B 2 =0 , d B 1 =- X 2 X 1 d B 2
B 1 = B 1 ( x=0 ) + 0 X 2 B 1 = B 1 0 + 0 X 2 ( - X 2 X 1 d B 2 )
d B 2 = d B d X 2 d X 2
Given B 2 ( X 2 ) , we can compute B 1 ( X 2 ) .
Then we can find B= B 1 X 1 + B 2 X 2
Example 8.2:
Given Δ H 2 , find Δ H 1 and Δ H .
Δ H 2 =a X 1 2 Compute total derivative:
\frac{d\Delta\bar{H}_{2}}{dX_{2}}=2aX_{1}\underset{\hookrightarrow=-1}{\frac{dX_{1}}{dX_{2}}}=-2aX_{1}

X 1 + X 2 =1 d X 1 +d X 2 =1
d X 1 =-d X 2
Δ H 1 =- X 2 =0 X 2 X 2 X 1 d Δ H 2 d X 2 X 2 =- X 2 =0 X 2 X 2 X 1 ( -2a X 1 ) X 2
Δ H 1 =2a 0 X 2 X 2 X 2 =a X 2 2
Δ H= X 1 Δ H 1 + X 2 Δ H 2 = X 1 ( a X 2 2 ) + X 2 ( a X 1 2 ) =a X 1 X 2 ( X 1 + X 2 ) =1
Δ H=a X 1 X 2

14.5 Relationships between partial molal properties:

(F', G', H', S', U', their derivative, and coefficient relations)
Apply differential operator ( n k ) P,T, n j to an extensive quantity:
Example: Hemholtz free energy F =U -TS
Differentiating,
( F n k ) T,P, n j = ( U n k ) T,P, n j -T ( S n K ) T,P, n j
By definition,
F k = U k -T S k
See De Hoff for more examples and for coefficient an Maxwell relations.

14.6 Chemical Potential in Multicomponent Systems

Given μ k ( T,P, X k ) , one can find B,B , B ( T,P,X )
The thermodynamic state is specified by C+2 variables:
d U =TdS -PdV + k=1 C μ k d n k , so μ k ( U d n K ) S,V, n j
From Chapter 4 then, δ W = k=1 C μ k d n k (necessary in open systems)
Examining d H ,dF and d G , we find that
Given μ k ( T,P ) = G k , we can express all PMP's in terms of μ k :
S k , V k , H k , U k , F k
S k =- ( G k T ) P, n k =- ( μ k T ) P, n k
V k = ( G k P ) T, n k = ( μ k P ) T, n k
So H k = G k +T S k = μ k -T ( μ k T ) P, n k -P ( μ k P ) T, n k
F k = U k -T S k = μ k -P ( μ k P ) T, n k
μ k is not measured directly
measurement of μ k ( P,T ) enables PMPs to be determined. Note that Δ B k can also be determined by substituting μ k Δ μ k = μ k - μ k 0

14.7 Activity and Activity Coefficient

We found that μ k ( T,P ) = ( G n k ) P,T, μ j G k ( T,P ) but we do not know how to measure directly.
Define μ k - μ k 0 = Δ μ k RT ln a k , where a k is the activity of component k. Further we define the activity coefficient γ k in a k = γ k X k , where X k is the mole fraction.
So Δ μ k =RT ln ( Y k X k )
Next step: derive this for an ideal solution.

14.8 Properties of ideal solutions (e.g. ideal gas mixtures)

Imagine removing the partitions in Figure 14.3 below and allowing the gases to mix while keeping T,P constant. The process is analogous to free expansion.
image: 42_home_ken_Mydocs_MSEcore_314_figures_compart.svg Figure 14.3: Mixture of ideal gases
Each component experiences a decrease in pressure from P to P k . Each gas exerts, through collisions, a partial pressure on the wall of P k = X k P. The total pressure P is
P= k=1 C P k = k=1 C X k P=P k=1 C X k =P
Consider the change in chemical potential for the component, K which we can find by integrating d μ K :
d μ k =- S k dT+ V k dP= V k dP since expansion is isothermal.
For an ideal gas,
V = n T RT P = RT P = RT P k=1 C n k ,
for which we can find V k = ( V n k ) T,P, n j = RT P
So Δ μ k = μ k - μ k 0 = P P k V k P = P P k RT P P =RT ln P k P =RT ln X k
Since the activity a k = X k , we conclude that the activity coefficient γ k =1 for an ideal gas. (no interactions)
How do the partial molal quantities vary?
Δ G k =RT ln X k
Δ V k = ( Δ μ k P ) T, n k =0
Δ S k =- ( Δ μ k T ) P, n k =-R ln X k
Δ H k = Δ μ k +T Δ S k =RT ln X k +T( -R ln X k ) =0
Δ U k = Δ H k -P Δ V k =0
Δ F k = Δ U k -T Δ S k =RT ln X k
The change in total volume, enthalpy, and internal energy is 0, as the changes in partial molal quantities is zero. However, entropy is produced, leading to decreases in the free energies Δ G mix , Δ F mix .
image: 43_home_ken_Mydocs_MSEcore_314_figures_idealsoln.svg
Figure 14.4: Properties of an ideal solution including Δ G mix , Δ S mix , Δ H mix , Δ V mix , Δ U mix and Δ F mix . Maximum temperature shown is 1400 K.

14.9 Behavior of Dilute Solutions

Add a few atoms of component 2 (solute) to a large volume of component 1 (solvent).
The solvent atoms still behave as though they are in an ideal solution, regardless of interactions.
Raoult's Law: lim X 11 a 1 = X 1
The solute atoms interact primarily with solvent atoms, so the average properties will be proportional to X 2 for small X 2 . (However, properties depend on solvent-solute combination.)
Henry's Law: lim X 2 0 a 2 = γ 2 0 X 2 : γ 2 0 ( T,P ) is Henry's Law constant (in particular range), the solute activity coefficient for a dilute solution.
Consider Solute A in Solvent B
γ 2 = e a o X 1 2 /RT for X 1 1 , γ 1 0 = e α 0 /RT
image: 44_home_ken_Mydocs_MSEcore_314_figures_pureb.svg Figure 14.5:
Example: HW 8.4
One mole of solid C r 2 O 3 at 2500K is dissolved in a large volume of a liquid Raoultian solution (at 2300K) of A l 2 O 3 and C r 2 O 3 (20%).
Calculate the resulting Δ H and Δ S given
T m,C r 2 O 3 =2538K , Δ H m,A l 2 O 3 =107,500 σ /mol-K at T m (2324K)
Δ S m,A l 2 O 3 = Δ S m,C r 2 O 3
Recall that under isobaric, reversible conditions, Δ S α P = Δ H α β T
Δ H m,1 T m,1 = Δ H m,2 T m,2 Δ H m,C r 2 O 3 = Δ H m,A l 2 O 3 = Δ H m,A l 2 O 3 × T m,C r 2 O 3 T m,A l 2 O 3
Δ H m,C r 2 O 3 =107,500 J mol-K × 2538K 2324K =117,400J/mol-K
Note: Δ H= Δ H SL + Δ H mix , but for ideal solution, Δ H mix =0
Note: if heating of C r 2 O 3 were required we read C P ( T ) .
Next calculate the change in entropy due to 1) melting and 2) mixing.
“Large” liquid volume no change in X C r 2 O 3 Δ H A l 2 O 3 =0
Focus on change in 1 mole of solid C r 2 O 3 .
Δ S= Δ S m + Δ S mix
Δ S m = Δ H m T m = 117500 2538 =46.26J/K
Δ S mix =-R ln X F -( -R ln X i ) , where X C r 2 O 3 i =1 (assume γ 0 =1 )
Δ S mix =-R ln ( 0.2 )
Δ S=46.26+13.38=59.64J/K
image: 45_home_ken_Mydocs_MSEcore_314_figures_craidiagram.svg Figure 14.6: C r 2 O 3 -A l 2 O 3 Phase Diagram

14.10 Excess Properties, relative to ideal

Δ μ k =RT ln ( a k ) =RT ln ( Y k X k ) , so we can write
Δ G k = RT ln γ k + RT ln X k = Δ G k XS + Δ G k id
If γ k >1, the excess free energy is positive.
If γ k >1 , the excess free energy is negative.
Temperature and pressure derivatives of μ ( P,T ) give the remaining properties in terms of γ k . (See table 8.5)
. Δ H k = Δ G k -T Δ S k = Δ μ k -T ( μ k T ) P, μ k =-R T 2 ( ln γ k T ) P, n k Δ V k = ( Δ G n P ) T, n k = P [ ( RT ln γ k +RT ln X R ) ] T, n k =RT ( ln γ k P ) T, n k }
= 0 for an ideal gas.

14.11 Beyond the ideal solution: the “regular” solution

  1. The entropy of mixing is the same as for an ideal solution
  2. The enthalpy of mixing is not zero, but depends on composition
Partial Molar Δ G k = Δ μ k = Δ H k -T Δ S k
Total Molar Δ G mix = Δ H mix -T Δ S mix
For ideal solution, Δ H mix =0 , For regular : Δ H mix = Δ H mix XS ( X 2, X 3 ,... X c )
For a regular solution, Δ S mix reg = Δ S mix id , so Δ S mix XS =0
Δ G mix XS = Δ H mix XS -T Δ S mix XS
So Δ G m XS = Δ H k =RT ln γ k
We see that γ k can be evaluated from the heat of mixing: γ k =exp( Δ H k RT ) (check in eq 8.102)
Let's look at the simplest binary example:
Let Δ H mix = a o X 1 X 2 = Δ G mix XS , where a o is constant. This corresponds to example 8.1. The change in Gibbs Free energy.
Δ G mix = Δ G XS + Δ G id = a o X 1 X 2 + RT X 1 ln X 1 +RT X 2 ln X 2 Table 8.3
a o determines the departure from ideal behavior arising from interactions between components.
A more realistic model (not symmetric and temperature dependent) of a binary system is
Δ H mix = X 1 X 2 [ α o ( T ) X 1 + α 1 ( T ) X 2 ] = Δ G mix XS
Let's examine the impact of interactions on Δ H mix , Δ S mix , and Δ G mix , starting with the simpler regular solution.
image: 46_home_ken_Mydocs_MSEcore_314_figures_Idealsoln2.svg Figure 14.7: Properties of an ideal solution
image: 47_home_ken_Mydocs_MSEcore_314_figures_regsoln.JPG Figure 14.8: Properties of a regular solution
Δ S k =-R ln γ k -R ln X k -RT ( ln γ k T ) P, n k
Δ U k =R T 2 ( ln γ k T ) P, n k -PRT ( ln γ k P ) T, n k
Δ F k =RT ln γ k +RT ln X k -PRT ( ln γ k P ) T, n k
For reference, not lecture
Gibbs Duhem Equations
X 1 d Δ μ 1 + X 2 d Δ μ 2 =0
Δ μ k =RT ln ( a k )
X 1 d ln γ 1 + X 2 d ln γ 2 =0
a k = γ k X k
Δ μ =- 0 X 2 X 2 X 1 d Δ μ 2 d X 2 X 2
ln γ 1 =- X 1 X 2 X 2 X 1 d ln γ 2 d X 2 X 2
ln a 1 =- 0 X 2 X 2 X 1 d ln a 2 d X 2 X 2
Δ S k =- ( Δ μ k T ) P, n k
Δ H k = Δ μ k +T ( Δ μ k T ) P, n k
Δ G k = Δ μ k = Δ H k -T Δ S k
Δ G mix = Δ H mix -T Δ S mix
For an ideal solution, Δ H mix =0 , for a regular solution Δ S mix reg = Δ S mix id
Δ G mix XS = Δ H mix XS -T Δ S mix XS
Δ S mix XS =0
The entropy of mixing for a regular solution is the same as for an ideal solution (hence Δ S XS =0 )
The enthalpy of mixing for a regular solution deciates from that of an ideal solution ( Δ H id =0, Δ H XS 0 ).
14.11.0.1 Example: HW 8.4
One mole of solid C r 2 O 3 at 2500 K is dissolved in a large colume of a liquid Raoultian solution (2300 K) of A l 2 O 3 and C r 2 O 3 (20%).
Calculate the resulting Δ H and Δ S given
T m,C r 2 O 3 =2538K
Δ H m,A l 2 O 3 =107,500 J/mol-K @ T m (= 2324 K)
Δ S m,A l 2 O 3 = Δ S m,C r 2 O 3
Recall that under isobaric, reversible conditions, Δ S α β = Δ H α β T
Δ H m,1 T m.1 = Δ H m,2 T m,2 Δ H m,C r 2 O 3 = Δ H m,A l 2 O 3 × T m,C r 2 O 3 T m,A l 2 O 3
Δ H m,C r 2 O 3 =107,500 J mol-K × 2538K 2324K =117,400 J mol-K
Note: if heating of C r 2 O 3 were required, we need C P ( T ) . Next calculate changes in entropy due to 1) melting and 2) mixing.
“Large” liquid volume no change in X C r 2 O 3 Δ H A l 2 O 3 =0
Focus on change in 1 mole of solid C r 2 O 3
Δ S= Δ S m + Δ S mix
Δ S= Δ H m T m = 117400 2538 =46.26J/K
Δ S mix =-R ln X F -( -R ln X i ) , where X C r 2 O 3 i =1
Δ S mix =-R ln ( 0.2 )
Δ S=46.26+13.38=59.64 J/K

14.11.1 Mixtures of Real Gases: Fugacity

Describe “real” gases in terms fo their deviation from ideal behavior, starting with molar volume V k
Define α k = V k - RT P (note that α k =0ideal )
The change in chemical potential with mixing is then
Δ μ k = P P k ( α k + RT P ) P = P P k α k P +RT ln ( P k P )
Introduce fugacity f k in
Δ μ k RT ln ( f k P )
Note: a k = f k P
Taking the exponential, we get
f k = P k exp[ P P μ α k P ]
As α k 0 , f k P k
Determination of fugacity (or a k ) finding μ ( P,T )
Key goal of 314-316 Sequence: Predict Microstructure
image: 48_home_ken_Mydocs_MSEcore_314_figures_microstructure.JPG Figure 14.9: Calculated and observed microstructures
image: 49_home_ken_Mydocs_MSEcore_314_figures_multicomp.JPG Figure 14.10: Multicomponent heterogeneous (multi-phase) system

Multicomponent Heterogeneous Systems

Outcomes for this section:
  1. Write a combined statement of the first and second law of thermodynamics for multiple phases.
  2. State the conditions for equilibrium for an arbitrary number of phases and components.
  3. State the Gibbs phase rule and apply it to the description of unary and binary phase diagrams.
  4. Given a single component phase diagram in terms of pressure and temperature, construct alternative representations that enable determination of phase fractions in terms of volume of mole fraction.
  5. Given a two-component phase diagram in terms of pressure, temperature, and activity, construct alternative representations that enable determination of phase fractions in terms of volume or mole fraction.
  6. Use the lever rule to compute phase fractions from temperature versus composition diagrams.
  1. Define conditions for equilibrium
  2. Derive Gibbs Phase Rule
  3. Structure of 1 and 2 component phase diagrams
  4. The Lever Rule
Consider PV=RT (ideal gas)
There are two degrees of freedom: E.g. choose P,T (independent) V (dependent) is determined
Equilibrium between 2 phases implies that the system is in equilibrium.
Homogeneous system: d U = Td S ( δ Q ) - Pd V ( δ W ) + k=1 C μ k d n k ( dn )
image: 50_home_ken_Mydocs_MSEcore_314_figures_greenphases.svg Figure 15.1: Multicomponent heterogeneous and homogeneous systems
Heterogeneous System: d U sys = α =1 P [ T α d S α - P α dV + k=1 C μ k α d n k α ]
image: 51_home_ken_Mydocs_MSEcore_314_figures_alphabetagamma.svg Figure 15.2: Multicomponent heterogeneous (multi-phase) system

15.1 Conditions for Equilibrium

T α = T β P α = P β μ α = μ β likewise for all pairs of phases β / γ , γ ,...P , where P= number of phases
T I = T II =...= T P P-1 independent equations
P I = P II =...= P P P-1 independent equations
. μ 1 I = μ 1 II =...= μ 1 P μ 2 I = μ 2 II =...= μ 2 P μ C I = μ C II =...= μ C P } " " C=#  components "
Equilibrium conditions generate ( C+2 ) ( P-1 ) =n equations. These are constraints on the variables

15.2 Gibbs Phase Rule

F=C-P+2
F=m-n is the number of degrees of freedom
For n equations relating m variables. What is m ?
. T I , P I , X 2 I , X 3 I ... X C I 2+C-1=C+1 T II , P II , X 2 II , X 3 II ... X C II " T P , P P , X 2 P , X 3 P ... X C P " } P sets of C+1 variables
m=P( C+1 )
m-n=P( C+1 ) -( C+2 ) ( P-1 ) = PC +P- PC -2P+C+2
m-n=C-P+2  Gibbs Phase Rule

Phase Diagrams

Outcomes for this section:
  1. Apply a common tangent construction to define the regions of phase stability in a G versus X diagram.
  2. Use a single component G-T diagram to compute Δ G k 0, α β .
  3. Given G versus X at different T , construct a phase diagram in terms of T and X .
  4. Describe the influence of interactions (in a simple regular solution model) on the features of a phase diagram, including phase boundaries, their curvature, and regions of two-phase coexistence.
  5. Describe the origins and consequences of a miscibility gap.

16.1 Unary Phase Diagrams

C=1
F=C-P+2
In single phase regions ( P=1 ), there are two degrees of freedom (e.g. T,P)
image: 52_home_ken_Mydocs_MSEcore_314_figures_unaryphase.svg Figure 16.1: Unary (C=1) phase diagram
  1. P and T required to specify state in single-phase region.
  2. For 2-phase region, P fixes and T (and vice versa)
    1 degree of freedom ( F=1-2+2=1 )
  3. For triple point, F=0
Only three phases are possible for a single component diagram.

16.2 Alternative Representations

P-V , T-X , etc.
Not all useful variables (e.g. V,X) are thermodynamic potentials
2-phase coexistence lines areas
image: 53_home_ken_Mydocs_MSEcore_314_figures_unaryphase2.svg
Figure 16.2: Alternate representations
To describe:
  1. Increasing T, which increases V
  2. Mixture of phases in regions with tie lines, average molar volume.
  3. Triple points
  4. Changes in enthalpy and phase fraction upon heating.

16.3 Binary Phase Diagrams

C=2
There are 5 possible phases: α , ε , β ,L,V
F=C-P+2
For a single phase region, f=3 Plot in P, T, a 2 space. 2-phase regions are planes, 3-phase regions are lines, and 4-phase regions are points.
image: 54_home_ken_Mydocs_MSEcore_314_figures_binaryphase.svg Figure 16.3: Binary (c=2) phase diagram

16.4 Alternative Representations: T vs. X

In Figure 16.4 below, the 2-phase coexistence lines are areas.
image: 55_home_ken_Mydocs_MSEcore_314_figures_altrep.svg Figure 16.4: T vs X for binary phase diagram

16.5 Interpreting Phase Diagrams: Tie Lines

For plots with two degrees of freedom, a point on the diagram corresponds to a state of the system.
  1. Which phases are present (and #) in equilibrium
  2. The state of the phases (P,T, or other variables).
  3. For plots with V or X, the relative amounts.
Example:
State P with average composition X 2 o at temperature T. The phase Σ is in equilibrium with the liquid ( T Σ T L ) .
n T X 2 o = n Σ X 2 Σ + n L X 2 L X 2 o = n Σ n T X 2 Σ + n L n T X 2 L = f Σ X 2 Σ + f L X 2 L
where n= # of moles and f= fraction
In terms of X 2 ,
X 2 o = f Σ X 2 Σ +( 1- f Σ ) X 2 L = X 2 L + f Σ ( X 2 Σ - X 2 o )
f Σ = X 2 o - X 2 L X 2 Σ - X 2 L
and f L = X 2 o - X 2 Σ X 2 L - X 2 Σ
These fractions can be derived from the lengths of segments of a tie line.

16.6 The Lever Rule

image: 56_home_ken_Mydocs_MSEcore_314_figures_leverrule.svg Figure 16.5: Tie lines on an X-T diagram
f L = X 2 o - X 2 Σ X 2 L - X 2 Σ = AP AB
f Σ = X 2 o - X 2 L X 2 Σ - X 2 L = PB AB
X 2 Σ - X 2 L =AB
X 2 Σ - X 2 o =AP
X 2 o - X 2 L =PB
X-T diagrams gives temperature, compositions, and amounts.

16.7 Applications of Phase Diagrams: Microstructure Evolution

Following an isotherm in the X-T diagram of Figure shows the following microstructures:
image: 57_home_ken_Mydocs_MSEcore_314_figures_microstructdiag.JPG Figure 16.6: Microstructure Evolution

16.8 Review

Δ G mix = Δ H mix -T S mix id
Δ G mix = Δ G mix XS +RT( X 1 ln X 1 + X 2 ln X 2 )
Δ G mix ideal =RT( X 1 ln X 1 + X 2 ln X 2 )
image: 58_home_ken_Mydocs_MSEcore_314_figures_revimg1.JPG Figure 16.7: Gibbs free energy of mixing for ideal vs real mixtures
Δ H mix 0 : interactions change Gibbs free energy of mixing
T : particle kinetic energy increases, influence of interactions decreases, behavior is more ideal.

16.9 Types of α -L phase diagrams

Δ H mix = a o X 1 X 2
Note the curvature of the phase boundary in Figure 16.8 below - the sign follows that of a o 2 .
image: 59_home_ken_Mydocs_MSEcore_314_figures_alphal.svg
Figure 16.8: Patterns of phase diagrams can generated by only two phases, α and L, with the simplest regular solution model

Thermodynamics of Phase Diagrams

Goal: Generate phase diagrams from Δ G vs. X curves
Observe: how interactions (changing potential energy) and temperature (changing kinetic energies) influence characteristics of phase diagrams.
Approach: find common tangent lines between Δ G mix α and Δ G mix L to determine regions of phase stability.
Needed: comparison of solid and liquid reference states

17.1 Calculation of Δ G mix from pure component reference states

We can plot Δ G mix for a solid ( α ) or liquid (L) solution using solid or liquid reference states for components 1,2 (4 possibilities).
One cannot directly compare the following:
Need to change reference states
. Δ G mix α = X 1 α ( G 1 α - G 1 o α ) + X 2 α ( G 2 α - G 2 o α ) Δ G mix L = X 1 L ( G 1 L - G 1 oL ) + X 2 α ( G 2 L - G 2 oL ) }
Indicate choice of reference states with brackets:
Reference states the same for α and L phases}
. Δ G mix α = X 1 α ( G 1 α - G 1 o α ) + X 2 α ( G 2 α - G 2 o α ) Δ G mix L = X 1 L ( G 1 L - G 1 oL ) + X 2 α ( G 2 L - G 2 oL ) }
Rewrite:
Δ G mix α = X 1 α ( G 1 α - G 1 o α ) + X 2 α ( G 2 α - G 2 o α ) - X 2 α ( G 2 oL - G 2 o α )
Δ G mix α ( α ,L ) = X 1 α ( G 1 α - G 1 o α ) + X 2 α + X 2 ( G 2 o α - G 2 oL )
Δ G mix α ( α ,L ) = Δ G mix α ( α , α ) + X 2 α Δ G 2 oL α
Similarly,
Δ G mix L ( α ,L ) = Δ G mix L ( L,L ) + X 1 L Δ G 2 o α L
What do these look like?
image: 60_home_ken_Mydocs_MSEcore_314_figures_gmix.svg Figure 17.1:
Next step: plot Δ G α , Δ G L together and find common tangent to determine regimes of phase stability.
image: 61_home_ken_Mydocs_MSEcore_314_figures_gmixes.svg Figure 17.2:

17.2 Common Tangent Construction

The common tangent construction is a graphical represenation of two phase equilibrium for a given P,T. An example is illustrated in Figure 17.3. At this T and P, a solid of composition X 2 α can be in equilibrium with a liquid of composition X 2 L ( T α = T L , P α = P L , μ 1 α = μ 1 L , μ 2 α = μ 2 L ) .
image: 62_home_ken_Mydocs_MSEcore_314_figures_commontan.svg Figure 17.3: Common tangent construction
The intercepts reflect the conditions for chemical equilibrium.
A: . Δ μ 1 α = μ 1 α ( X 2 α ) - μ 1 o α Δ μ 1 L = μ 2 L ( X 2 L ) - μ 1 o α } μ 1 α ( X 2 α ) = μ 1 L ( X 2 L )
Chemical equilibrium of component 1 between α ,L
B: . Δ μ 2 α = μ 2 α ( X 2 α ) - μ 2 o α Δ μ 2 L = μ 2 L ( X 2 L ) - μ 2 o α } μ 2 α ( X 2 α ) = μ 2 L ( X 2 L )
Chemical equilibrium of component 2 between α ,L.
When are two-phase regions ( α +L, α + β ) stable at intermediate compositions?
image: 63_home_ken_Mydocs_MSEcore_314_figures_twophase.svg Figure 17.4:
. X 2 <D: α X 2 >F: β } homogeneous mixtures of 1 and 2 
D< X 2 <F: α + β has lower energy than homogeneous mixture of 1 and 2
B: Δ G for 1 & 2 in β phase
A: Δ G for 1 & 2 in α phase
M: Δ G for EF DF of α and DE DF of β
Δ G M < Δ G A < Δ G B
Sequential transitions between multiple two-phase regions 3 solid phases, 1 liquid phase
image: 64_home_ken_Mydocs_MSEcore_314_figures_seqtrans.JPG Figure 17.5:
How are the single and two phase regions represented on a phase diagram?
image: 65_home_ken_Mydocs_MSEcore_314_figures_singleandtwo.JPG Figure 17.6: Representing single and two phase regions on a phase diagram
We need Δ G( X ) for many temperature. Examine G α ( T ) and G P ( T ) .
To generate Δ G mix vs. X curves, we need G( T ) of pure components to establish “hanging points” (the Δ G i o α β )
image: 66_home_ken_Mydocs_MSEcore_314_figures_deltagvsx.svg Figure 17.7: G(T) of pure components
Next, examine changes in Δ G mix α and Δ G mix L versus T to establish which phases are present.

17.3 A Monotonic Two-Phase Field

image: 67_home_ken_Mydocs_MSEcore_314_figures_monotonic.svg Figure 17.8:
a o α =1000J/mol a o L =-6000J/mol
Δ H mix = a o X 1 X 2

17.4 Non-monotonic Two-Phase Field

a o α =6000J/mol
a o L =-2000J/mol
Δ H mix = a o X 1 X 2
image: 68_home_ken_Mydocs_MSEcore_314_figures_nonmon.svg Figure 17.9:

17.5 Properties of a regular solution

Recall: Regular - Δ G mix id + Δ G mix XS
image: 69_home_ken_Mydocs_MSEcore_314_figures_hmix.svg Figure 17.10: Variation of mixing properties with composition and temperature for the simplest regular solution model. Maximum temperature is 1200 K, and a o =12,500J/mol

17.6 Misciblity Gap: Appearance Upon Cooling

Δ H mix =13.7 X 1 X 2 kJ/mol : below critical T, mixture is driven towards phase separation
a o α =13,700J/mol
image: 70_home_ken_Mydocs_MSEcore_314_figures_miscibility.svg Figure 17.11: Miscibility gap

17.7 Spinodal decomposition: concave down region in Δ G drives unmixing and “uphill” diffusion

image: 71_home_ken_Mydocs_MSEcore_314_figures_spinodal.JPG Figure 17.12: Spinodal decomposition

Summary of 314

The summary is presented in terms of a set of detailed learning outcomes, coupled to the chapters in Dehoff. These are things you should be able to do after completing 314.

18.1 Chapters 2 and 3

  1. State the first, second and third laws of thermodynamics.
  2. Write a combined statement of the first and second laws in differential form.
  3. Given sufficient information about how a process is carried out, describe whether entropy is produced or transferred, whether or not work is done on or by the system, and whether heat is absorbed or released.
  4. Quantitatively relate differentials involving heat transfer/production, entropy transfer/production, and work.

18.2 Chapter 4

  1. Derive differentials of state functions ( V , S , U , F , H , G ) in terms of dP and dT .
  2. Using the Maxwell relations, relate coefficients in the differentials of state functions.
  3. Define the coefficient of thermal expansion, compressibility, and heat capacity of a material.
  4. Express the differential of any given state function in terms of the differentials of two others.
  5. Define reversible, adiabatic, isotropic, isobaric, and isothermal processes.
  6. Calculate changes in state functions by defining reversible paths (if necessary) and integrating differentials for (a) an ideal gas, and (b) materials with specified α , β , and C P ( T ) . (Multiple examples are given for ideal gas, solids, and liquids.)
  7. Special emphasis (Example 4.13): calculate the change in Gibbs free energy when one mole of a substance is heated from room temperature to an arbitrary temperature at constant pressure.
  8. Describe the origin of latent heat, and employ this concept in the calculation of changes in Gibbs free energy G .

18.3 Chapter 5

  1. Derive the condition for equilibrium between two phases.
  2. Show that at constant temperature and pressure, the equilibrium state corresponds to that which minimizes the Gibbs free energy G .
  3. Explain why the evolution to a state of lower Gibbs free energy occurs spontaneously.

18.4 Chapter 6

  1. Express the entropy S of the system in terms of equivalent microstates in the equilibrium (most probable) macrostate.
  2. Given the energy levels of a system of particles, calculate the partition function.
  3. Given the partition function, calculate the Helmholtz free energy, the entropy, the internal energy, and the heat capacity.

18.5 Chapter 7

  1. State the differential of the Gibbs free energy G as a function of S , T , V , and P .
  2. State the conditions for two phases to coexist in equilibrium.
  3. Explain how isobaric section of the chemical potential μ ( T,P ) as a function of temperature and pressure can be calculated from knowledge of the heat capacity and the entropy at room temperature.
  4. Given μ ( T,P ) for multiple phases, determine the equilibrium phase at a given temperature.
  5. Derive the Clausius-Clapeyron relation: express the general condition for determining the region of two-phase coexistence.
  6. Calculate the Δ H given the C P ( T ) , assuming a negligible contribution from thermal expansion.
  7. Calculate Δ V α β assuming ideal gas behavior.
  8. Integrate dP dT = Δ S Δ V with the assumption that Δ S and Δ V depend only weakly on the temperature.
  9. Given the P-T diagram, qualitatively sketch G( T ) for a specified region.
  10. Given the P-T diagram, specify the sign of Δ V α β .
  11. State Trouton's rule and justify its validity qualitatively.
  12. Sketch the P-T diagram for a one-component system.

18.6 Chapter 8

  1. Given sufficient information about the dependence of a total property B or Δ B versus composition, find the partial molal properties as a function of composition via calculations of derivatives dB or d Δ B .
  2. Given the partial molal properties as a function of composition, calculate the total properties of the system via integration of the derivatives.
  3. Given the differentials of state functions, write partial derivatives that define the partial molal properties.
  4. What is B k 0 ?
  5. What is μ k - μ k 0 for (a) a component behaving ideally, and (b) in general?
  6. Define the activity of a component.
  7. Given μ k ( T,P, X k ) , calculate changes in the partial molal properties.
  8. State and justify/explain Raoult's law.
  9. State and justify/explain Henry's law.
  10. Explain how the activity coefficient γ can be used to describe the departure from ideal behavior in terms of ``excess'' quantities.
  11. Define a ``regular'' solution and calculate the partial molal properties and total properties versus composition for binary mixtures.
  12. Describe the driving forces for mixing and their origins in statistical mechanics.
  13. Interpret changes in state functions with mixing in terms of ideal behavior and departures from ideality.

18.7 Chapter 9

  1. Write a combined statement of the first and second law of thermodynamics for multiple phases.
  2. State the conditions for equilibrium for an arbitrary number of phases and components.
  3. State the Gibbs phase rule and apply it to the description of unary and binary phase diagrams.
  4. Given a single component phase diagram in terms of pressure and temperature, construct alternative representations that enable determination of phase fractions in terms of volume of mole fraction.
  5. Given a two-component phase diagram in terms of pressure, temperature, and activity, construct alternative representations that enable determination of phase fractions in terms of volume or mole fraction.
  6. Use the lever rule to compute phase fractions from temperature versus composition diagrams.

18.8 Chapter 10

  1. Apply a common tangent construction to define the regions of phase stability in a G versus X diagram.
  2. Use a single component G-T diagram to compute Δ G k 0, α β .
  3. Given G versus X at different T , construct a phase diagram in terms of T and X .
  4. Describe the influence of interactions (in a simple regular solution model) on the features of a phase diagram, including phase boundaries, their curvature, and regions of two-phase coexistence.
  5. Describe the origins and consequences of a miscibility gap.

314 Problems

Table of Contents

19.1 Phases and Components

19.1.0.1
(2014) For each of the following thermodynamic systems, indicate the number of components, the number of phases, and whether the system is open or closed.
  1. An open jar of water at room temperature (assume that the jar defines the boundaries of the system). Assume that the water molecules do not dissociate.
  2. A sealed jar of water at room temperature.
  3. A sealed jar of water with ice.
  4. An open jar of water with NaCl entirely dissolved within.
  5. If the jar is left open, in what ways might your description change?
  6. How would your answer to (a) change if you take into account equilibrium between water, protons, and hydroxyl ions?

19.2 Intensive and Extensive Properties

19.2.0.1
(2014) Classify the following thermodynamic properties are intensive or extensive:
  1. The mass of an iron magnet.
  2. The mass density of an iron magnet.
  3. The concentration of phosphorous atoms in a piece of doped silicon.
  4. The volume of the piece of silicon.
  5. The fraction by weight of copper in a penny.
  6. The temperature of the penny in your pocket.
  7. The volume of gas in a hot air balloon.

19.3 Differential Quantities and State Functions

19.3.0.1
(2014) Consider the function z=6 x 2 y 3 cos 2 u .
  1. Write down the total differential of z. Identify the coefficients of the three differentials in this expression as partial derivatives.
  2. Demonstrate that three Maxwell relations (see section 2.3) hold between the coefficients identified under (a).
19.3.0.2
(2014) Why are state functions so useful in calculating the changes in a thermodynamic system?
19.3.0.3
(2014) Derive equation 4.41 starting from 4.34 and 4.31. Note that other equations listed in table 4.5 can be derived in a similar fashion.

19.4 Entropy

19.4.0.1
(2015) Following Section 3.6, compute the change in entropy in the formation of one mole of Si O 2 from Si and O at room temperature.
19.4.0.2
(2015) Consider an isolated system consisting of three compartments A, B, and C. Each compartment has the same volume V, and they are separated by partitions that have about. Initially, the valves are closed and volume A is filled with an ideal gas to a pressure P 0 at 298 K. Volumes B and C are under vacuum.
  1. Calculate the change in entropy when the valve between compartment A and B is opened.
  2. Calculate the change in entropy when the valve between compartment B and compartment C is opened.
  3. Without considering the calculations above, how would you know that the overall change in entropy is positive?
  4. What would you need to do to the system to restore the initial condition?

19.5 Thermodynamic Data

19.5.0.1
(2015) This problem requires you to find sources to look up the values of important materials parameters that will be used to compute thermodynamic functions.
  1. Find values of the coefficient of thermal expansion for a metal, a semiconductor, an insulator, and a polymer. Provide the information below in your answer.
    Material Type
    Specific Material
    α
    Source (include page or link info)
    Elemental Metal
    e.g. Gold
    Semiconductor
    Insulator
    Polymer
  1. What is a common material with a negative α ?
  2. How is the coefficient of compressibility related to the bulk modulus?
  3. Which metal has the highest bulk modulus at room temperature, and what is the value?
  4. The heat capacity is an extensive quantity. Define the related intensive quantity.
  5. What trend do you observe in elemental solids?
  6. What is the smallest value you can find for a solid material? (Explain your search method, and cite your sources.)
19.5.0.2
(2014) The density of silicon carbide at 298 K and 1 atm is ~3.2 g/cm3. Estimate the molar volume at 800 K and a pressure of 1000 atm. See tables 4.1 and 4.2 on page 61 of DeHoff for useful materials parameters.
19.5.0.3
(2015) The density of aluminum at 298 K and 1 atm (or “bar”) is  2.7 g/cm3. Estimate the molar volume at 1000 K and a pressure of 1000 atm. See tables 4.1 and 4.2 on page 61 of DeHoff, and Appendix B, for useful materials parameters. Hint: break the problem into two steps, each corresponding to a path.
19.5.0.4
(2015) Use the car mileage dataset provided to do the following:
  1. Create a second order polynomial fit to determine the coefficients for the mileage dataset online. Use the systems of equations we developed during discussion to help you solve for the coefficients. Write your polynomial coefficients down in your submitted assignment.
  2. Using your curve of best fit, determine the optimal speed for driving that maximizes your mileage.
  3. Identify an obvious failure of your model and comment on it below.
19.5.0.5
(2015) Answer the following questions using the heat capacity dataset and the following model:
C p =a+bT+c/ T 2 +d T 2
  1. Use the system of equations derived in class to determine the coefficients a, b, c, d.
  2. Give a possible Gibbs free energy function for bulk silicon using your heat capacity fit. The Gibbs free energy is related to the heat capacity through the following equation:
    C p =-T ( 2 G T 2 ) P
19.5.0.6
(2015) Compare the change in entropy for the specific examples below of isothermal compression and isobaric heating of gases and solids.
  1. One mole of nitrogen ( N 2 ) at 1000 K is compressed isothermally from 1 to 105 bar.
  2. One mole of silicon at 300 K is compressed isothermally from 1 to 105 bar.
  3. One mole of oxygen (O2) at 300 K is heated isobarically from 300 to 1200 K.
  4. One mole of tungsten at 300 K is heated isobarically from 300 to 1200 K.
19.5.0.7
(2015) For each of the following processes carried out on one mole of a monatomic ideal gas, calculate the work done by the gas, the heat absorbed by the gas, and the changes in internal energy, enthalpy, and entropy (of the gas). The processes are carried out in the specified order.
  1. Free expansion into the vacuum to twice the volume, starting from 300 K and 4 bar. Then,
  2. Heating to 600 K reversibly with the volume held constant. Then,
  3. Reversible expansion at constant temperature to twice the volume of the previous state. Then,
  4. Reversible cooling to 300 K at constant pressure.
19.5.0.8
(2015) Consider one mole of a monatomic ideal gas that undergoes a reversible expansion one of two ways.
  1. Under isobaric conditions, the gas absorbs 5000 J of heat in the entropy of the gas increases by 12.0 J/K. What are the initial and final temperatures of the gas?
  2. Under isothermal conditions, 1600 J of work is performed, resulting in an entropy increase of 5.76 J/K and a doubling of the volume. At what temperature was this expansion performed?
19.5.0.9
(2015) In class we learned that the change in entropy of a material with temperature is given by:
S 2 - S 1 = T 1 T 2 C p ( T ) T T (19.1)
In a prior homework, we fit the heat capacity to a polynomial, which we could then integrate. Now, we will numerically integrate the data points using the Trapezoid Rule discussed in class:
T 1 T 2 f( x ) ( T 2 - T 1 ) [ f( T 1 +f( T 2 ) ) 2 ] (19.2)
where the function f( T ) in our case is the right hand side of Equation , is simply the right hand side of Equation 19.1. Do this by creating a “FOR” loop in MATLAB that sums up all the trapezoids in the temperature range. Email your MATLAB script to the TA by the due date.
  1. What is the difference in entropy at 300 K and 1300 K?
  2. Previously, we determined that the heat capacity is given by:
    1. C p =22.83+3.826x1 0 -3 T- 3.533x1 0 5 T 2 +2.131x1 0 -8 T 2 (19.3)
    2. Use Equation 19.1 to analytically solve for the change in entropy using Equation 19.3. Which method do you think is more accurate? Explain your reasoning.

19.6 Temperature Equilibration

19.6.0.1
(2015) 100 g of ice at 250 K is added to 100 g of water at 300 K, and the mixture is allowed to come to equilibrium in an isolated container at constant pressure. You may assume that C p is constant for this problem (though it is not the same for water and ice) and that the melting point is 273 K.
  1. What is the final temperature?
  2. How much liquid is present?
  3. How would your answer change if the initial liquid was 40% ethanol?
19.6.0.2
(2015) A square block of Al, initially at a uniform temperature of 300 K, is brought into contact with another block of aluminum, initially at a uniform temperature of 600K. Both blocks are of equal mass, and they are isolated at constant pressure while they come to equilibrium. The questions below assume equilibrium has been reached.
  1. What do you know about the final temperatures of the Al blocks?
  2. Will the final temperature(s) be 450 K? Justify your answer.
  3. Find the final temperature.

19.7 Statistical Thermodynamics

19.7.0.1
(2015) DeHoff 6.3: Consider a system of two particles (A and B) that may each occupy any of the four energy levels ( ε 1 , ε 2 , ε 3 , ε 4 ).
  1. How many distinct microstates are there for this system?
  2. List each of the microstates and indicate which microstates have the same energy.
  3. How many macrostates are there?
  4. List the most probable macrostates.
19.7.0.2
(2015) DeHoff 6.5 Variant: Consider the system consisting of 9 identical but distinguishable particles, each of which can be in any of three states. The respective energy levels of the states are ε 0 =0, ε 1 = ε , ε 2 =2 ε . The system has a temperature T.
  1. Write the partition function for a single particle.
  2. Calculate the average number of particles in each state.
  3. Determine the number of configurations that have the following occupation numbers for the three states: n 0 =4, n 1 =3, n 2 =2 .
  4. Calculate the entropy of the macrostate described by the occupation numbers above.
  5. Calculate the internal energy.
  6. Choose a different set of occupation numbers to give the same internal energy (e.g. (3,5,1)) and repeat your calculation of the entropy. Which macrostate is more likely?
19.7.0.3
(2015) DeHoff 6.7 variant: A System containing 500 particles and 15 energy levels is in the following macrostate: {14, 18, 27, 38, 51, 78, 67, 54, 32, 27, 23, 20, 19, 17, 15}. Estimate the change in entropyu when the system undergoes a process leading to the following changes in occupation numbers: {0, 0, -1, -1, -2, 0, 1, 0, 3, 2, -1, 1, -1, 0, -1}.

19.8 Single Component Thermodynamics

19.8.0.1
(2015) DeHoff 6.10: Compute the change in entropy when one mole of a monatomic ideal gas is compressed from an initial condition at 273K and 1 bar to 500K at 3.5 bar.
  1. Calculate using the phenomenological thermodynamics of Chapter 4.
  2. Calculate using the results of statistical thermodynamics. Hint: first calculate the initial and final volumes.
19.8.0.2
(2015) DeHoff 7.5: Sketch G( T ) for an element that the pressure corresponding to the triple point. Repeat the sketch for a pressure slightly above and slightly below the triple point.
image: 72_home_ken_Mydocs_MSEcore_314_figures_triplepoint.svg
19.8.0.3
(2015) DeHoff 7.6 See Lecture 17, last page.
19.8.0.4
(2015) DeHoff 7.7 variant: At what pressure will ice melt at -2°C?
19.8.0.5
(2015) DeHoff 7.8: At 1 atm pressure and below 1155 K, the ϵ form of titanium is stable; above 1155 K, the β form is the stable phase ( ϵ becomes metastable). Given the following data:

19.9 Mulitcomponent Thermodynamics

19.9.0.1
(2015) DeHoff 8.1: Titanium metal is capable of dissolving up to 30 atomic percent oxygen. Consider a solid solution in the system Ti–O containing an atom fraction, X 0 =0.12 . The molar volume of this alloy is 10.68 cc/mol. Calculate the following:
  1. The weight percent of O in the solution.
  2. The molar concentration (mol/cc) of O in the solution.
  3. The mass concentration (gm/cc) of O in the solution.
  4. Use these calculations to deduce general expressions for weight percent, molar, and mass concentrations of a component in a binary solution in terms of the atom fraction, X 2 , the molar volume, V , and the molecular weights, M W 1 and M W 2 , of the elements involved.
19.9.0.2
(2015) DeHoff 8.4: Use the partial molal volumes computed in Problem 8.3 (worked out in class) to demonstrate that the Gibbs – Duhem equation holds for these properties in this system.
19.9.0.3
(2015) DeHoff 8.6: For an ideal solution it is known that, for component 2, Δ G 2 =RT ln X 2 . Use the Gibbs – Duhem integration to derive corresponding relation for component 1.
19.9.0.4
(2015) One mole of solid C r 2 O 3 at 2500 K is dissolved in a large volume of a liquid Raoultian solution (also at 2500 K) of A l 2 O 3 and C r 2 O 3 with X C r 2 O 3 = 0.2. Calculate the resulting changes in the total enthalpy and entropy given the following:
T m, C r 2 O 3 =2538 K ; Δ H m, A l 2 O 3 =107,500 J/molat T m, A l 2 O 3 =2324 K ; Δ S m, A l 2 O 3 =Δ S m, C r 2 O 3

19.10 Computational Exercises

19.10.0.1
(2015) For this problem, you will be using MATLAB’s symbolic solver (fzero) and function handles to find the zero of an equation. On last week’s quiz we found that 89.1 grams of ice were necessary to cool a 1 kg block of Pb down to 300 K from 600 K. We will be plotting the change in temperature for both the Pb and ice. You will need the following parameters:
C p Pb =0.1169+4.2x1 0 -5 T kg kgK C p H 2 O =4.2 kJ kgK Δ H fus H 2 O =344 kJ kg dH dt =a Δ T
Here a is a coefficient that controls the heat transfer in conduction, which we will assume to be 3.33x1 0 -3 kJ/Ks , and Δ T is the temperature difference between the two materials.
19.10.0.2
Use the equations derived in class to plot the change in temperature for H2O and Pb. Assume dt=1 s and calculate the first 200 time steps. How do you know when the system is at equilibrium?
  1. Create a plot that shows the amount of water in the system as a function of time. At what time is all the ice gone?
  2. Create a plot that shows the total heat transfer occurring between the Pb and H2O. How can you tell when equilibrium is reached from this plot?
19.10.0.3
(2015) We will be putting together a program to help calculate phase diagrams of all sorts piece by piece. The first step is to create a MATLAB script that solves a system of two equations. The system is below:
G s - X s d G s d X s = G - X d G d X (19.4) d G s d X s = d G d X (19.5) where G s and G are given by the following expressions:
G s ( X s ) = Ω s X s ( 1- X s ) + RT[ X s ln X s +( 1- X s ) ln ( 1- X s ) +200 X s -400( 1- X s ) ] .
G ( X ) = Ω X ( 1- X ) +RT[ X ln X +( 1- X ) ln ( 1- X ) ] .
Here G s is the Gibbs energy of the solid phase, G the Gibbs free energy of the liquid phase, R the gas constant (8.314 J/K), T the absolute temperature, X s and X are the compositions of the solid and liquid phase respectively, and Ω s , Ω are parameters to be defined later. We can rewrite Eqs. 19.4 and 19.5 as follows:
G s - X s d G s d X s - G + X d G d X =0 (19.6) d G s d X s - d G d X =0 (19.7)
Create a MATLAB function that takes X s , X , T , Ω s and Ω as inputs and then create a script that uses the MATLAB command fsolve to calculate X s and X for T =700K, Ω =1500 cal/mol and Ω s =3000 cal/mol .
19.10.0.4
(2015) Now that we are able to solve for the composition of the solid and liquid at one point, we will improve our script to calculate it over a range of temperatures. Start with an initial guess for both the solid and liquid near zero and a temperature of 900 K. Determine the composition of the liquid and solid down to 1 K for each temperature using a for loop. Make sure to update your guess with the correct answer for the previous temperature to help your program converge. Repeat again starting from 600 down to 1 K, this time starting with an initial guess near 1, and plot your results. Use the following parameters to make the Gibbs energy more physical:
T m α =900 K
T m β =600 K
Δ H f α =2000 cal mol
Δ H f β =1300 cal mol
The liquid and solid free energies are given by the following expressions. (Note that the Gibbs energy for the solid phase has changed slightly and should be adjusted in your code. In these units R=1.987 cal/molK
G s ( X s ) = Ω s X s ( 1- X s ) +RT+ [ X s ln X s +( 1- X s ) ln ( 1- X s ) + X s Δ G β s +( 1- X s ) Δ G α s ] .
G ( X ) = Ω X ( 1- X ) +RT[ X ln X +( 1- X ) ln ( 1- X ) ] .
As a reminder, the free energy change for the melting transition can be written in terms of the enthalpic and entropic contributions to the free energy:
Δ G s = Δ H s -T Δ S s
19.10.0.5
(2015) Our phase diagram calculation is almost complete! We only have to find the equilibrium between the two solid phases left. To do that, we simply take the derivative of the Gibbs free energy of the solid phase and set it equal to zero. The equation becomes:
RT ln ( X s 1- X s ) - Ω s ( 2 X s -1 )
Again, assume that Ω s = 3000 cal/mol. This is easily done by creating a for loop that solves for the temperature at each composition between .01 and .99. Plot your results on the same figure from the previous homework and voila, your first phase diagram!
Now with your working code, replot the diagrams for the following interaction coefficients. You will have to change the range of temperatures for one of the sets below. You can figure out which one it is, if you think of the physical significance of the parameters.
  1. Ω s =3000 cal/mol: Ω =0
  2. Ω s =0: Ω =3000 cal/mol
  3. Ω s =0; Ω =0
  4. Ω s =3000 cal/mol: Ω =3000 cal/mol
    For each phase diagram, plot your results and describe how the changing interaction parameters changed the shape of the plot.

References

1"Conjugate Variables (Thermodynamics)", Wikipedia, the free encyclopedia (2015).
2"Thermodynamic Square", Wikipedia, the free encyclopedia (2016).
3DeHoff, Robert T, Thermodynamics in Materials Science (Boca Raton: CRC/Taylor & Francis, 2006).

Index

Nomenclature

$C_P$
Heat capacity at constant pressure
$C_V$
Heat capacity at constant volume
$F$
Helmholtz free energy
$G$
Gibbs free energy
$H$
Enthalpy
$P$
Pressure
$Q$
Heat
$R$
Ideal gas constant, 8.314 $J\, K^{-1}\, mol^{-1}$
$S$
Entropy
$T$
Temperature
$U$
Internal energy
$V$
Volume
$W$
Work
$\alpha$
Coefficient of thermal expansion
$\beta$
Coefficient of compressibility
$\mu$
Chemical potential
$n$
Number of moles
$n_k$
Moles of component k