Sect. 1 Basics of Thermodynamics 1
Sect. 1 Basics of Thermodynamics 1
=
the work done by the surroundings can be calculated:
W
surr
= p
surr
(V
o
-V
f
) + mg (V
o
-V
f
)/A
Force balance on final state: p
f
p
surr
= mg/A
Combine:
W
surr
= - p
f
(V
o
-V
f
) = - p
f
V
f
(V
o
/V
f
- 1) = -nRT (V
o
/V
f
- 1)
For V
o
/V
f
= 3
The surroundings do less work in the reversible
than in the irreversible process
28
Internal equilibrium (system)
Single phase
- no change of pressure, temperature or composition
with time (mechanical, thermal & chem. equilibrium)
- no gradients of any properties, except at interfaces
between phases
Multiphase - each phase must have:
- same temperature (thermal equilibrium)
- same pressure (mechanical equilibrium)
- same chemical potential (chemical equilibrium)
29
External Equilibrium
(between system and surroundings)
Both have the same pressure (unless the
boundary is rigid)
Both have the same temperature (unless the
boundary is adiabatic)
No work can be performed by or on the
system (no Ap, AT or A)
30
Constraints and equilibrium
Constraining a system means fixing two of its
properties
If U and V are fixed (isolated system), equilibrium
occurs when the entropy is a maximum (mainly of
theoretical importance)
If p and T are fixed, equilibrium occurs when the
Gibbs free energy is a minimum (useful for phase
equilibrium and chemical equilibrium)
31
The First Law of Thermodynamics
Cannot be derived from any fundamental principle
(it is one)
Has never failed an experimental test in 150 years
Comes in two versions:
- within a system: the 1
st
law
- between system and surroundings or two
systems: Law of Conservation of Energy
32
1
st
Law
relates changes in system energy to heat and work:
AU + A(PE) + A(KE) = Q W W
S
W
el
U = internal energy
PE = potential energy
KE = kinetic energy
Q = heat (positive if added to the system)
W = expansion (pV) work; + if done by the system
W
S
= shaft work (rotation of a shaft)
W
el
= electrical work (charging a battery)
Heat and work are equivalent in the 1
st
law
Even though Q and W are path-dependent, AU is not
33
Conservation of Energy
Heat and work are exchanged between the
system and the surroundings:
AU
sys
= (Q W)
sys
AU
surr
= -(Q W)
surr
Add the 1
st
Laws for system & surroundings:
AU
sys
+ AU
surr
= 0
This is the Law of Conservation of Energy
34
Where the 1
st
Law is inadequate
Consider an isolated system consisting of two
rigid subsystems of different temperatures that
communicate thermally:
Energy conservation and the 1
st
Law yield:
AU
1
+ AU
2
= Q
1
+ Q
2
= 0 or Q
1
= - Q
2
Either Q
1
or Q
2
must be negative (i.e., one of the
two arrows must be reversed) the 1
st
Law
cannot tell which one, but the 2
nd
Law can.
35
The Second Law of Thermodynamics
The 2
nd
Law was discovered by Clausius from
numerous observations showing that if a process is
reversible, is path-independent.
Any quantity whose change is independent of the
path must be a thermodynamic property as in the
1
st
Law, where Q W is path-independent
Clausius called the property entropy, with the
symbol S:
|
.
|
\
|
2
1
rev
T
Q
d
|
.
|
\
|
=
2
1
rev
1 2
T
Q
d S S
36
Irreversible processes
For irreversible processes, the equality no
longer holds. Instead:
In irreversible processes, entropy is created!
Other forms of the 2
nd
Law:
dS >
|
.
|
\
|
>
2
1
1 2
T
Q
d S S
} }
= =
2
1
rev
rev
0
T
Q
and TdS Q
;
T
Q
37
law of entropy production
Entropy production is to the 2
nd
Law as
energy conservation is to the 1
st
Law
add 2
nd
Law for system and surroundings (T
surr
>T
sys
)
entropy can be produced but never destroyed
}
|
|
.
|
\
|
o > A
2
1
sys
sys
T
Q
S
}
|
|
.
|
\
|
o > A
2
1
surr
surr
T
Q
S
0 S S
surr sys
38
The direction of heat flow revisited
begin with: AS
1
+ AS
2
> 0
but AS
1
= Q
1
/T
1
and AS
2
= Q
2
/T
2
(heat flow to and from
reservoirs is reversible)
T
1
= T
2
, is the source of irreversiblity
Q
1
/T
1
+ Q
2
/T
2
> 0; from 1
st
Law: Q
1
= -Q
2
If T
1
>T
2
, then Q
2
>0
and Q
1
<0
0
T T
T T
Q
T
1
T
1
Q
2 1
2 1
2
2 1
2
>
=
|
|
.
|
\
|
+
39
How to calculate system entropy
change for an irreversible process
Example: doubling the volume of an ideal gas
in an isolated system (AU = 0):
Irreversible version:
initial state (T
o
) final state(T
o
)
Boltzmann eqn: S=nN
Av
klnW; AS=nRln(W
f
/W
o
) = nRln2
40
Reversible version:
41
AU = 0 for the reversible process as well
from the 1
st
Law, Q = W
work can be calculated for the reversible
process only
From the 2
nd
Law:
AS = Q/T = nRln(V
f
/V
o
) = nRln2
Since entropy is a thermodynamic property,
the path used to compute it is immaterial
AS computed for the reversible process is the
same as the AS for the irreversible process
(but, work was done in reversible process)
( ) Q V / V ln nRT pdV W
0 f
V
V
f
0
= = =
42
Entropy, Free Energy and Equilibrium
du = Tds pdv - ow
ext
isolated system, dv = du = 0
Equilibrium: system cannot perform external work, or dw
ext
= 0
- Electrical (battery)
- Chemical (ATPmuscle)
For reversible process: Tds pdv
for a closed system: du = oq - ow
(PV)
-ow
ext
ds
u,v
= 0 s
State of
system
equilibriu
m state
At equilibrium with u & v constant
the entropy is a maximum
o = small increment of heat or work
d = small increment of a thermodynamic property
43
Thermal equilibration of identical solids
T
1
Q
T
2
T
f
T
f
energy conservation:
AU
Tot
=AU
1
+AU
2
= 0
C
V
(T
f
T
1
) + C
V
(T
f
T
2
) = 0 T
f
= (T
1
+ T
2
)
AS
Tot
= AS
1
+ AS
2
=
|
|
.
|
\
|
=
|
|
.
|
\
|
+
|
|
.
|
\
|
2 1
2
f
V
2
f
V
1
f
V
T T
T
ln C
T
T
ln C
T
T
ln C
Eliminate T
f
:
(
(
+
= A
2 1
2
2
1
V tot
T T 4
) T T (
ln C S
T
2
/T
1
AS
Tot
/C
V
0.9 0.0028
1.0 0
1.1 0.0023
Thermal equilibration results in an increase in
the entropy of the isolated system
44
h u + pv dh = du + pdv + vdp use du equation:
dh = Tds + vdp - oW
ext
Enthalpy
Helmholz free energy
f u Ts df = du Tds sdT use du equation:
df = - pdv sdT - oW
ext
Gibbs free energy
g h Ts dg = dh Tds sdT use dh equation:
dg = vdp sdT - oW
ext
45
du = Tds pdv
dh = Tds + vdp
df = - pdv sdT
dg = vdp sdT
These were derived assuming
reversible oq and oW
(pv)
However, since they involve
only state functions (properties),
they are valid for any process
Neglecting external work:
Collectively, they are called:
1. Fundamental differentials, or
2. Tds equations (first two), or
3. Gibbs equations
46
Equilibrium at constant T and p
with dT = dp = 0:
dw
ext
= -dg
Reversible non-pv work at constant p and T
System is at equilibrium when dw
ext
= 0
dg
T,p
= 0
At equilibrium with p & T constant
the Gibbs free energy is a minimum
dg = vdp sdT - oW
ext
equilibrium
state
State of
system
g
47
The Phase Rule
Fixes how many properties can be varied for a
given number of components (C) and phases (P)
The allowable variable properties are called
degrees of freedom (f):
Single component (C = 1) 1 phase (P = 1); f = 2
Single component (C = 1) 2 phases (P = 2); f = 1
e.g. the vapor pressure of a condensed phase = F(T)
Single component (C = 1) 3 phases (P = 3) f = 0
e.g. the triple point where gas, liquid & solid coexist
Two components (C = 2); 3 phases (P = 3) ] = 1
e.g. a metal, its oxide and O
2
gas: at each T, there is a
unique at which M and MO
x
coexist
2
O
p
f = C + 2 P - N
rxn
48