Thermodynamics Compiled Vinodkallur
Thermodynamics Compiled Vinodkallur
Thermodynamics Compiled Vinodkallur
dL
4
Integrating between the two locations of the piston,
2
1
2 1
pdV W
This is the equation we use to determine the work. Please note that in general p cannot
be taken out of the integral sign as p may be continuously changing as above.
If we have a p vs. V curve, we can determine the integral as area under the curve.
The area under the curve a21b is the work done on the gas.
We can carry out a process differently with the same initial and final states given
by the points 1 and 2. Since it is a different process, the curve will be different. In that
case the area under the curve will also be different which means to say the work done is
different though the initial and final states are same. Thus the work depends upon the
process or path or how the state is changing. Such quantities are called path functions.
Since heat is also energy in transit as the work is, heat must also be a path function. No
matter what process, as long we have same initial and final states, it brings about the
same pressure difference. Such properties which depend only on state are called state
properties.
1
2
a b
p
V
5
dL f dW
,
_
A
V
d pA
pdV
Thermodynamics
Basic Concepts
Session 2
Equilibrium state:
A system is said to be in thermodynamic equilibrium if it satisfies the condition
for thermal equilibrium, mechanical equilibrium and also chemical equilibrium. If it is in
equilibrium, there are no changes occurring or there is no process taking place.
Thermal equilibrium:
There should not be any temperature difference between different regions or
locations within the system. If there are, then there is no way a process of heat transfer
does not take place. Uniformity of temperature throughout the system is the requirement
for a system to be in thermal equilibrium.
Surroundings and the system may be at different temperatures and still system
may be in thermal equilibrium.
Mechanical equilibrium:
There should not be any pressure difference between different regions or locations
within the system. If there are, then there is no way a process of work transfer does not
take place. Uniformity of pressure throughout the system is the requirement for a system
to be in mechanical equilibrium.
Surroundings and the system may be at pressures and still system may be in
mechanical equilibrium.
6
Chemical equilibrium:
There should not be any chemical reaction taking place anywhere in the system,
then it is said to be in chemical equilibrium. Uniformity of chemical potential throughout
the system is the requirement for a system to be in chemical equilibrium.
Surroundings and the system may have different chemical potential and still
system may be in chemical equilibrium.
Thermodynamic process:
A system in thermodynamic equilibrium is disturbed by imposing some driving
force; it undergoes changes to attain a state of new equilibrium. Whatever is happening to
the system between these two equilibrium state is called a process. It may be represented
by a path which is the locus all the states in between on a p-V diagram as shown in the
figure below.
For a system of gas in piston and cylinder arrangement which is in equilibrium, altering
pressure on the piston may be driving force which triggers a process shown above in
which the volume decreases and pressure increases. This happens until the increasing
p
V
1
2
7
pressure of the gas equalizes that of the surroundings. If we locate the values of all
intermediate states, we get the path on a p-V diagram.
Phase rule:
The two gas samples below have the same density, viscosity and all other intensive
properties.
1 m3 of nitrogen at a pressure of 2 atmosphere and 300 K
2 m3 of nitrogen at a pressure of 2 atmosphere and 300 K
If a gas behaves ideally, then
RT
p
V
n
nRT pV
0
This means that net heat transfer to the system is the net work done by the system.
p
V
1
2
3
17
Cyclic process consists of several steps. In the cyclic process shown in the diagram, there
are three steps viz., 1-2, 2-3 and 3-1.
Let us have another cyclic process for which heat and work interaction are known as
below.
Step Heat interaction Work interaction
1-2 Q
1-2
is added to the system No work interaction
2-3 Q
2-3
is removed form the system W
2-3
is the work done by the system
3-1 Q
3-1
is added to the system W
3-1
is the work done on the system
Net heat transfer to the system, 1 3 3 2 2 1
+ Q Q Q Q
Net work done by the system, 1 3 3 2
W W W
and
W Q
Flow processes:
So far we considered closed systems only. Let us look at open systems. Mass
exchange can occur. If the process variables do not change with respect to time for the
system, the process is said to be under steady state conditions. Under such conditions the
mass of the system is constant. This is due to the equality of mass entering and leaving.
If the system as a whole is moving undergoing changes, it constitutes steady state flow
process only when the system at a fixed location will have fixed values.
18
This diagram shows an open and steady state flow process. The equipment considered is
between 1 and 2. The gas enters at 1 and leaves at 2. Steady state flow process requires
mass entering at 1 is equal to mass leaving at 2. If certain mass of gas considered to be
the system, such as cylindrical shaped gas at 1, when it reaches a particular location such
as A, it will be at a state (having certain fixed values for all the properties). No matter
what time, the system at A will be in the same state. This is true for all locations.
However, state of the system differs from location to location. There is no variation of the
state with respect to time at a given location.
Heat in, Q
Work output, W
s
1
2
z
1
z
2
A
19
Thermodynamics
Session 4
First law applied to flow process:
Following is the equipment through which the steam is flowing.
Steam enters at 1 and leaves at 2. There is a heat exchanger which adds heat Q to
the steam making it superheated. The superheated steam runs the turbine and shaft work
is obtained. Thus the gas does the work W
s
. The kinetic, potential and internal energy of
the gas changes as it goes from one location to the other. The entrance 1 is at height z
1
and exit is at height z
2
from some reference datum. The velocity of the gas varies as the
flow area varies along the path.
Let us consider unit mass of steam whose volume is the volume of cylinder shown
at location 1. This steam element enters the equipment, goes through it receiving heat Q
in the exchanger, doing work at the turbine and comes out at 2. There are changes
occurring in potential (as the height at which the steam element is present changes),
Heat in, Q
Work output, W
s
1
2
z
1
z
2
20
kinetic energy (as the velocity changes) and internal energy. Let u
1
and u
2
be the
velocities at location 1 and 2. Change in kinetic energy, since m =1, is
) (
2
1
2
1
2
2
u u E
K
Change in potential energy of the steam from 1 to 2 is
) (
1 2
z z mg E
P
Let the change in internal energy be . U We must account for all heat and work
interaction that occur during the process of steam element moving form 1 to 2. The heat
Q is getting transferred in the heat exchanger to the steam element. Apart from work
output of the turbine, there are other fork forms. At location 1, the surrounding has to do
the work on the steam element to push it into the equipment. If the pressure of the steam
is p
1
, and the cross sectional area of the pipe is a
1
, then the distance moved by the steam
element is V
1
/ a1 where V
1
is the specific volume of the steam at 1. The work done at the
entrance on the steam element at 1 is then,
1 1
1
1
1 1 1
) ( V p
a
V
a p W
(Work done on the system)
Similarly work needs to be done by the steam element at section 2 as it has to push the
surrounding which is given by
2 2
2
2
2 2 2
) ( V p
a
V
a p W
(Work done by the system)
The entrance and exit work are also called as flow work. The product of pressure and
volume is the flow work.
21
If the steam element gets into the equipment, it receives work done by the previous steam
element and uses it to push the element next to it. Thus the net work is zero for all the
locations inside the equipment.
Thus the net work done by the element,
1 2
W W W W
S
+
1 1 2 2
V P V P W W
S
+
Substituting in first law of thermodynamics,
) ( ) (
) (
1 1 1 2 2 2
1 1 2 2 1 2
1 1 2 2
V p U V p U E E W Q
V p V p U U E E W Q
E E V p V p W Q
U E E W Q
P K S
P K S
P K S
P K
+ + + +
+ + +
+ + +
+ +
The group
pV U +
occurs frequently in flow processes and is called enthalpy denoted
by the letter H.
pV U H +
Since internal energy, pressure and volume are state functions, enthalpy is also state
function. The above equation becomes,
H E E W Q
H H E E W Q
P K S
P K S
+ +
+ +
1 2
This equation is first law of thermodynamics applied to flow processes. If the changes in
potential and kinetic energy are very small then,
H W Q
S
Heat capacity:
Heat capacity of a substance is defined as the heat transfer necessary to bring
about a change in the temperature of unit amount of substance by one degree centigrade.
Since it is heat transfer which is a path function, it depends upon the way heating is done.
For example gases can be heated to increase the temperature by two different methods.
The unit quantity of gas taken in container with rigid wall, when heated its volume
remains constant. Another method is to have the wall which is flexible. If the piston is
movable in the piston and cylinder arrangement, gas when heated pushes piston and
22
pressure will be constant. Even if we take unit amount of gas in both these heating
methods, it is observed the heat transfer is not the same. Thus we have heat capacity and
constant volume and heat capacity at constant pressure. Mathematically,
dT
dQ
C
p
p
dT
dQ
C
V
V
dT
dQ
C
The heat capacity at constant volume will not be equal to that at constant pressure.
23
Thermodynamics
Session 5
Prepared by Vinod Kallur, RVCE, Bangalore.
PVT Behavior of fluids
Pressure, temperature and volume of gases vary in a definite manner. Based upon the
conditions, matter can exist in solid, liquid and gas phase. This is represented in graphical
form as below. This diagram is for pure water. All pure substances will have more or less
similar diagrams.
Based upon the values of pressure and temperature, if the point lies in a region, the
substance will exist in the corresponding state represented. For example the point a
represents solid state and b represents vapor state. Any point lying on the curve
represents both the phases which are in equilibrium. For example, the point d represents
liquid water and its vapor in equilibrium. Thus there are numerous pair of pressure and
temperature values on the curve and all those points represent liquid and vapor in
equilibrium. Each curve will have always two phases in equilibrium.
T
p
24
Liquid
Solid
Vapor
Critical Point.
Fluid
Gas
a b
d
p T diagram for pure water
The point where all the curves meet is called triple point and at this condition, all the
three phase exist in equilibrium. Critical point is the highest temperature and highest
pressure where the liquid and its vapor can exist in equilibrium.
For all pressures and temperatures higher than those at critical point, the liquid and vapor
properties become similar. This state is called fluid.
Phase is considered liquid if it can be vaporized by reduction in pressure keeping T
constant. This is represented by vertical downward arrow in the figure. The initial point is
in liquid phase region. Phase is considered gas if it can be condensed by reduction in T
keeping p constant. This is shown by horizontal arrow pointing towards left. The point a
represents solid state which on increasing the temperature at constant pressure, only the
temperature of the solid increases until it reaches curve where first drop of liquid appears
and beyond this only vapor exists. This is shown as arrow a b.
The other way is representation using p V diagram for pure substance which is given in
the next figure.
S / V
L / V
L S
C
p
C
p
V
S / L
V
C
T
C
Gas
V
fluid
25
p V diagram for pure substance
There are regions where two phases co-exist in equilibrium. The dashed curve labeled Tc
represents an isotherm at critical temperature.
In thermodynamics, we deal largely with either vapor or gases. The significant portion of
the diagram is given below.
26
The substance at point 1 is in liquid state. If we decrease pressure keeping temperature
constant, the volume decreases along the dashed curve. But this change is very small and
this is why liquids are considered incompressible. Volume change with pressure at
L / V
L
C
p
C
p
V
V
C
T
C
Gas
V
fluid
1
2 3
T
1
4
27
p V diagram for pure substance
constant temperature is negligible for liquids. Decreasing pressure from 1 at constant
temperature (T
1
), a point 2 will be reached where first bubble of vapor appears. Any
further attempt to decrease the pressure fails bringing pressure down, instead more and
more liquid becomes vapor and the pressure and temperature remain constant represented
by dashed horizontal line. Thus point such as 3 represent liquid and vapor in equilibrium.
Further attempt in decreasing the pressure brings the state to the point 4 where all the
liquid becomes vapor. Further decrease in pressure at constant will follow the dashed
curve in the gas region. Thus the dashed line represents an isotherm (T
1
). Given in the
figure there is one more isotherm at a temperature less than T
1
. The dumb bell shaped
curve represents the locus of all points on all isotherms where the points similar to 2 and
3 lie. The isotherms of higher temperature lie on higher and saturated liquid and vapor
volume become closer and closer and finally merge at the critical point. This is point
where liquid and vapor cannot be distinguished. Isotherm T
C
has a point of inflexion at
the critical point.
A point on the curve is called point of inflexion if there is a tangent at that point which
lies on either side of the curve as shown below.
How do we represent this complicated behavior mathematically? This is a challenge
which led to lot of research and we have several mathematical equations. All these
equations do have limitations. We will use simple mathematical equation. This is not a
limitation as no matter what equation all it does is relate pressure, temperature and
volume of gases.
Ideal gas equation: For one mol of any gas,
Internal energy is a function of temperature only.
28
RT pV
2
1
T
T
V
dT C U
2
1
T
T
P
dT C H
No matter what process, the changes in internal energy and enthalpy are given by the
above expression not only for ideal gases even for real gases.
This law is valid for low pressures, large volumes and low temperatures.
At constant pressure
At constant volume
Isochoric Process:
Any process in which volume of the system does not change is called isochoric process.
Work done is zero.
Isobaric process:
pdV dQ dU
29
, dT C dQ
dT
dQ
C
P
p
P
,
_
, dT C dQ
dT
dQ
C
V
V
V
,
_
W Q U
Q U
) (
1 2
2
1
T T C dT C U
V
T
T
V
Q T T C dT C H
P
T
T
P
) (
1 2
2
1
dT C dQ
P
) ( ) (
1 2 1 2
V V p T T C
pdV dT C dU
P
P
) (
1 2
T T C Q H
P
) (
1 2
V V p W
Relation between heat capacities:
Isothermal Process:
Since the temperature is constant there will not be any change in internal energy.
RdT dU dH
RT U H
PV U H
+
+
+
RdT dT C dT C
V P
+
R C C
V P
+
R C C
V P
V P
C C >
30
dW dQ
dW dQ dU
2
1
1
2
ln ln
p
p
RT
V
V
RT W Q
0 U H
Adiabatic Process:
There will not any heat exchange, Q = 0.
dW dU
2
1
V
V
pdV
2
1
V
V
dV
V
RT
2
1
ln
p
p
RT
2
1
ln
p
p
RT
2
1
V
V
pdV W Q
dV
V
RT
dT C
V
dV
V
RT
dT C
V
V
dV
C
R
T
dT
V
31
2
2 2
1
1 1
T
V p
T
V p
V V
P
C
R
C
C
1
V V
P
C
R
C
C
1
1
V
C
R
The temperature and volume change according to the above equation.
The pressure, temperature and volume all vary in the adiabatic process.
Let us get a relation between the other variables.
Since the gas is ideal,
V
dV
T
dT
) 1 (
V
dV
T
dT
) 1 (
2
1
2
1
) 1 (
V
V
T
T
V
dV
T
dT
1
2
1
2
ln ) 1 ( ln
V
V
T
T
1
2
1
1
2
,
_
V
V
T
T
1
2
1
1
2
ln ln
,
_
V
V
T
T
32
2
2 2
1
1 1
T
V p
T
V p
1 1
2 2
1
2
V p
V p
T
T
1
2
1
2
1
1
2
,
_
V
V
V
V
p
p
2 2 1 1
V p V p
p T
T
V
T V
p
H
,
_
,
_
2
1
T
T
V
dT C W U
dW dU
) (
1
1 2
T T
R
1
2 2 1 1
V p V p
W
2
1
2
1
dT C U
dT C H
V
P
33
) (
1 2
T T C W
V
1
1 2
RT RT
1
1 1 2 2
V p V p
2 2 1 1
V p V p
,
_
1
2
2
1
V
V
p
p
1
2
1
1
2
,
_
p
p
V
V
1
1
1
]
1
,
_
1
2
1
1
2 1 1
1
1 p
p
p
p V p
W
1
1
1
]
1
,
_
1
1
2
1
2 1 1
1
1 p
p
p
p V p
1
1
1
]
1
,
_
1
1
1
2 1 1
1
1 p
p V p
W
( )
; 1
1
/ 1
1
2 1 1
1
1
]
1
,
_
p
p V p
W
( )
1
1
]
1
,
_
/ 1
1
2 1 1
1
1 p
p V p
U
Polytropic Process:
It is a representation of all the processes in a mathematical form as below.
Sl. No n Process
1. 0 Isobaric
2. 1 Isothermal
3.
Isochoric
Generally n lies between 1 and .
34
const pV
n
Thermodynamics
Session 6
Prepared by Vinod Kallur, RVCE, Bangalore.
Guidelines to represent processes on p V diagram:
In the figure above there are two isotherms shown. For these isotherms,
.
1 2
T T >
There
is one isotherm passing through every point on p V diagram. Higher the temperature
higher will be location of the isotherm. As they go downwards they converge as shown.
No two isotherms will ever intersect.
p
V
T
1
T
2
35
Similarly every point has an adiabatic curve passing through it. The adiabatic curve
follows the relation const pV
C
V
p
and 0
2
2
,
_
C
V
p
Van der Waals equation of state:
( ) RT b V
V
a
p
,
_
+
2
Here a and b are constants that depend upon the gas. If we apply the partial derivative
conditions, we get,
C
C
C
C
p
RT
b
p
T R
a
8
;
64
27
2 2
36
p
V
Isotherm
Adiabatic curve
The Van der Waals equation is cubic in V. Therefore it should have three roots for a
given set of values of pressure and temperature and for a given substance. For any
temperature higher than critical temperature, there is one positive root. For critical
temperature and critical pressure, all the three roots will be equal which gives critical
volume. For temperature and pressure less than critical values, there will be three roots,
least one gives the molar volume of saturated liquid and highest gives that of saturated
vapor which are volumes given by the two ends of horizontal section of the isotherm.
Redlich Kwong Equation:
T b V V
a
b V
RT
p
) ( +
a
T
T
V a
dT C U
1
1
To use this we need to know temperature at a. Since it is closed system and volume is
same at 1 and a,
1 1
T p T p
a a
Since pressure at a is same as that at 2,
K
p
T p
p
T p
T
a
a
1490
1
) 298 ( 5
2
1 1 1 1
a
T
T
V a
dT C U
1
1
kJ
J
R
dT
R
775 . 24
7 . 24775
) 298 1490 (
2
) 314 . 8 ( 5
) 298 1490 (
2
5
2
5
1490
298
Thus Q
1-a
= U
1-a
= 24.775 kJ.
38
1
kJ J dT C H
P a
686 . 34 34686 ) 298 1490 (
2
) 314 . 8 ( 7
1490
298
1
2
2
T
T
V a
a
dT C U
kJ
J
R
dT
R
775 . 24
7 . 24775
) 1490 298 (
2
5
2
5
298
1490
kJ J dT C H
P a
686 . 34 34686 ) 1490 298 (
2
) 314 . 8 ( 7
298
1490
2
pdV dW
2
2
a
a
pdV W
Along the path a 2, since pressure is constant and equal to 5 bar,
2
2
a
a
pdV W
) ( 10 5
2
5
a
V V x
We should know the volume at a.
From gas law, at the initial condition,
3
5 1
02477 . 0
10 1
) 198 ( 314 . 8
m
x
V
Note that we have taken one mol.
39
1
1 1
2
2 2
T
V p
T
V p
Similarly,
3
5
1245 . 0
10 1
) 1498 ( 314 . 8
m
x p
RT
V
a
a
a
kJ J x V V p W
a a
773 . 59 59773 ) 1245 . 0 004954 . 0 ( 10 5 ) (
5
2 2
For the entire process,
kJ Q Q Q
a a
773 . 59 ) 548 . 84 ( 775 . 24
2 1 2 1
+ +
0 686 . 34 686 . 34
0 775 . 24 775 . 24
2 1 2 1
2 1 2 1
+
+
a a
a a
H H H
U U U
kJ W W W
a a
773 . 59 ) 773 . 59 ( 0
2 1 2 1
+ +
Since there are no changes in internal energy and enthalpy, work done on the system is
given out as heat.
40
Thermodynamics
Session 7
Determination of changes in internal energy and enthalpy:
No matter what is the process the internal energy and enthalpy are determined using the
following formulae.
dT C dH
dT C dU
P
V
a
T
T
V
dT C U
Since
, T T
a 2
2
1
2 1
T
T
V
dT C U
Any process between any two states can be replaced by either an isothermal process
followed by constant volume process or constant volume process followed by an
isothermal process. The total change in internal energy is the change in internal energy
for constant volume step only. Thus no matter what process the change in internal energy
is given by
dT C dU
V
.
Same idea may be extended to change in enthalpy.
Deviations of real gases form ideal behavior:
The deviation from ideal behavior is measured using what is known as
compressibility factor defined as the ratio of volume determined using ideal gas law
to the actual volume at any given temperature and pressure.
For ideal gases, Z = 1. Higher the value Z away from one higher will be the non-ideality.
Following figure gives the value of Z as a function pressure for different gases. All gases
approach ideal gas behavior at low pressures. This figure is called compressibility chart.
There will be as many curves as there are number of gases. The chart that is given here is
for one temperature. Therefore this figure becomes highly cumbersome if applied for all
gases and all temperatures.
43
RT
pV
V
V
Z
ideal
actual
Theory of corresponding states:
It states that all fluids, when compared at the same reduced temperature and reduced
pressure, will have same compressibility factor and all deviate from ideal behavior to the
same extent.
CH
4
N
2
Z
1.0
p
44
The reduced pressure and temperature are defined by
45
C
r
C
r
T
T
T
p
p
p
Here all gases with the same reduced temperature and pressure lie on the same curve.
This chart is called generalized compressibility chart. Different gases are indicated by
different points on the curve. There will be as many curves as there are temperatures.
This is less cumbersome compared to compressibility chart.
Z
p
r
0 1. T
r
5 1. T
r
5 2. T
r
46
The above table gives two gases with the same Z for different T and p. The reason is that
the critical values are different.
T p
T
c
p
c
T
r
p
r
N
2
189.
3
83.7
5
126.
2
33.
5
1.
5
2.
5
CH
4
286.0
5
114.
5
190.
7
45.
8
1.
5
2.
5
47
Thermodynamics
Session 8
Standard Heat of reaction:
It is defined as the enthalpy change accompanying a reaction when both reactants and
products are at their standard states at 298 K and is denoted by
298
0
H
.
) g ( CO ) g ( O ) s ( C 2 2
2
+
kJ . H 2 221 298
0
If the stoichiometry of the above reaction is represented as
Then,
kJ .
kJ .
H 6 110
2
2 221
298
0
,
_
,
_
It is clear that efficiency of Carnot engine depends upon only the temperatures between
which it is operating and not on the working substance undergoing the cycle. Since
Carnot engine is reversible, it must have maximum efficiency.
From first law,
55
CD AB net
Q Q W
H
C
AB
CD
AB
CD AB
AB
net
T
T
1
Q
Q
1
Q
Q Q
Q
W
H
C
AB
CD
T
T
1
Q
Q
1
H
C
AB
CD
T
T
Q
Q
Let QCD is heat removed, and be equal to QC; and heat added as Q
H
, with sign convention,
H
C
H
C
T
T
Q
Q
The maximum efficiency of any engine operated between two temperatures is always
given by
H
C H
T
T T
H
C
H
C
T
T
dQ
dQ
<
H
H
C
C
T
dQ
T
dQ
<
In general,
0
T
dQ
This is called Clausius inequality. The sum of dQ / T terms over a cycle is less than or
equal to zero depending upon whether the cycle is irreversible or reversible.
The changes in entropy are always determined using,
58
T
dQ
dS
v Re
Let A1B Represent irreversible process and A2B represent reversible process between
the same states.
To determine entropy change we must have only reversible path. However the entropy
change between the states 1 and 2 is same regardless of the path as it is a state function.
What the above equation says is entropy is not equal to dQ/T along an irreversible path.
A
B
1
2
p
V
59
T
dQ
dS
v Re
B 2 A
B A
T
dQ
S d p
T
V
T V d T C d H
p
P
1
1
]
1
,
_
+
To determine entropy change for any irreversible path between two states, replace the
path by a reversible path with the same states, and find the entropy of the reversible path.
Entropy and irreversibility:
Let us look at a cyclic process given below.
Let A1B Represent reversible process and B2A represent irreversible process between
the same states. Therefore A2B is also irreversible. Since A1B is reversible,
B 1 A
B 1 A
T
dQ
S
Since cycle as a whole is irreversible and as per Clausius inequality,
A
B
1
2
p
V
60
0
T
dQ
T
dQ
A 2 B B 1 A
< +
RHS is independent of the path which will be equal to
B 1 A
S .
LHS is dQ / T term and it is along an irreversible path and therefore it does not represent
entropy change.
Mathematical Statement of II law:
For a process involving transfer of heat Q from heat source at T
1
to a heat sink at T
2
,
The process can be made less and less irreversible by lowering the temperature T
1
closer
and closer to T
2
.
As the temperatures become closer and closer, irreversibility decreases and
For any heat transfer there has to be some temperature difference. Therefore T
1
> T
2
and
hence,
61
2
T
dQ
<
2
T
dQ
S
A 2 B
B 2 A
< +
2
T
dQ
S
A 2 B
A 2 B
< +
A 2 B
A 2 B
S
T
dQ
<
2 2
total
T
Q
T
Q
) S ( +
,
_
2 2
2 2
total
T T
T T
Q ) S (
. 2 S
total
. 2 S
total
This is the mathematical statement of II law of thermodynamics. Thus the entropy of the
universe always increases and the energy is conserved.
Because of irreversibility, there will be some dissipation and degradation of energy which
will not be available as work. This is called lost work which is given by
total 0 lost
S T W
Where T
0
refers to the temperature of the sink to which heat is rejected.
Determination of entropy changes:
This is the basic equation. The heat transfer term may replaced by any term using first
law or any equation applicable to the process for which entropy change is to be
determined. This is applicable only the process is reversible. For example, for an ideal
gas undergoing isothermal reversible process,
pdV dW dQ
T
pdV
dS
V
RdV
dS
1
2
V
V
ln R S
This is how entropy changes may be determined
62
T
dQ
dS
R
Thermodynamics
Session 11
Fundamental Property Relations:
Apart from enthalpy, internal energy and entropy, there are other thermodynamic
properties which are necessary to apply to phase equilibria and reaction equilibria. So far
we have treated only closed systems which consist of single phase without any reaction.
In order treat the systems we need to know other energy terms involved with reaction and
phase equilibria. The use these properties will get clearer when we do the chapters on
these areas.
Let us derive the fundamental property relations from basics.
Enthalpy:
From I law,
dW dQ dU
Vdp TdS dH
Vdp pdV pdV TdS
Vdp pdV dU
d(pV) dU dH
pV U H
pdV TdS dU
+
+ +
+ +
+
+
Helmholtz free energy:
It is defined as
A = U TS
63
Differentiating,
dA = dU-d(TS)
= TdS pdV TdS SdT
dA= - pdV SdT
Gibbs Free energy:
It is defined as G = H TS
Differentiating, dG= dH TdS SdT
= TdS +Vdp TdS SdT
dG = Vdp - SdT
These four equations are called fundamental property relations as many equations are
derived from these equations.
Maxwells relations
As some of the thermodynamic properties are not directly measurable, we must write the
equations in terms of measurable properties. The measurable and determinable (by
experiment) properties are temperature, pressure, volume, heat capacities and in some
cases even enthalpies. These relations are derived from fundamental property relations.
The derivations are based upon a mathematical relation applied to exact differential
equations.
If z = f(x,y) then
dy
y
f
dx
x
f
df
x y
,
_
+
,
_
This equation is also written as
df = Mdx + Ndy
For this differential equation to be exact,
y x
x
N
y
M
,
_
,
_
64
Applying these conditions to all the property relations, we get,
Ndy Mdx df +
y x
x
N
y
M
,
_
,
_
pdV TdS dU
V S
S
p
V
T
,
_
,
_
Vdp TdS dH +
p
S
S
V
p
T
,
_
,
_
SdT pdV dA
T V
V
S
T
p
,
_
,
_
SdT Vdp dG
T p
p
S
T
V
,
_
,
_
Generating function:
Consider
2 2
T R
) RT ( Gd RTdG
RT
G
d
,
_
dT
RT
G
dG
RT
1
2
dT
RT
TS H
) SdT Vdp (
RT
1
2
,
_
RT
SdT
RT
HdT
RT
SdT
RT
Vdp
2
+
dT
RT
H
dp
RT
V
2
65
dT
RT
H
dp
RT
V
RT
G
d
2
,
_
From this equation, at constant temperature and at constant pressure we can write,
2 p
T
RT
H
T
) RT / G (
;
RT
V
p
) RT / G (
1
]
1
1
]
1
,
_
Since
TdS dQ
,
T
C
T
S
T
S
T C
P
p
p
P
,
_
,
_
And
T
C
T
S
T
S
T C
V
V
V
V
,
_
,
_
Using these,
,
_
1
2
P
T
T
P
p
T
T
ln C
T
dT
C S
2
1
and
66
,
_
1
2
V
T
T
V
V
T
T
ln C
T
dT
C S
2
1
If S is considered as
S = f (T,p) then
dp
p
S
dT
T
S
dS
T p
,
_
+
,
_
,
_
Similarly by taking S as function of V and T, we get,
dV
T
p
dT
T
C
dS
V
V
,
_
+
If there is any relation between three variables, from mathematics we have, a relation
between p, V and T as
1
V
T
T
p
p
V
p V T
,
_
,
_
,
_
+
Internal energy may also be written as
1
1
]
1
+
,
_
pdV dp
T
V
T dT C dU
p
P
67
Using
, Vdp TdS dH +
we get
dp
T
V
T V dT C dH
p
P
1
1
]
1
,
_
+
68
Thermodynamics
Session 12
Internal energy changes:
The internal energy changes can be expressed in terms measurable quantities such as heat
capacities, pressure, volume and temperature. We can use Maxwells relations to get
these expressions.
The following are fundamental property relations.
We have derived the following relations.
Let us derive the expression for internal energy in terms C
P
and C
V
.
Replace dS in terms of C
V
,
dp
T
V
dT
T
C
dS
p
P
,
_
dV
T
p
dT
T
C
dS
V
V
,
_
+
dV
) p / V (
) T / V (
dT
T
C
dS
T
p
V
69
2
V
T
T
p
p
V
p V T
,
_
,
_
,
_
pdV TdS dU
pdV dV
) p / V (
) T / V (
dT
T
C
T dU
T
p
V
1
]
1
dV p
) p / V (
) T / V (
T dT C dU
T
p
V 1
]
1
+
pdV TdS dU
Vdp TdS dH +
SdT pdV dA
SdT Vdp dG
Internal energy change in terms of C
p
:
Replace dS in terms of C
p
,
Enthalpy changes:
Starting from
in the same way we can get,
We can use these expressions and find the changes in enthalpy. These equations are
applicable for any gas. P-V-T relations used should be for the gas for which you are
determining the changes.
Use these relations and derive the expressions for dH and dU for ideal gas.
Effect of p, V and T on U, H and S:
This is one of the Maxwells relations which gives the effect of pressure on entropy at
constant temperature.
This equation derived earlier gives the effect of temperature on entropy at constant
pressure.
70
pdV TdS dU
pdV dp
T
V
dT
T
C
T dU
p
P
1
1
]
1
,
_
1
1
]
1
+
,
_
pdV dp
T
V
T dT C dU
p
P
Vdp TdS dH +
dp
T
V
T V dT C dH
p
P
1
1
]
1
,
_
+
p T
T
V
p
S
,
_
,
_
T
C
T
S
P
p
,
_
At constant volume,
Or
This gives the effect of temperature on internal energy at constant volume.
At constant temperature, since dT is zero,
This gives the effect of volume of internal energy at constant temperature.
Similarly from
we can get,
At constant pressure,
At constant temperature,
These expressions give the effect of temperature and pressure on enthalpy.
Relationship between the heat capacities:
The heat capacities are related by the following expression.
which can also be written as
using the cyclic relation of partial derivatives of p, V and T.
71
dV
) p / V (
) T / V (
T Vdp dT C dU
T
p
V 1
]
1
+
V
C
dT
dU
V
V
C
T
U
,
_
1
]
1
+
,
_
p
) p / V (
) T / V (
T
V
U
T
p
T
dp
T
V
T V dT C dH
p
P
1
1
]
1
,
_
+
P
p
C
T
H
,
_
p T
T
V
T V
p
H
,
_
,
_
V p
V P
T
p
T
V
T C C
,
_
,
_
T
2
p
V P
V
p
T
V
T C C
,
_
,
_
are called Volume expansivity and isothermal Compressibility. The difference between
heat capacities is written in terms of these as
Effect of pressure and volume on heat capacities:
These are given by the following equations.
72
T
p
V
V
2
,
_
;
T
V
V
2
p
,
_
VT
C C
2
V P
p
2
2
T
P
T
V
T
p
C
,
_
,
_
2
R
V
p T
S
U
T
,
_
V
2
2
T
V
T
p
T
V
C
,
_
,
_
T
p
2
2
T
V
p
V
T
p
T
p
C
,
_
,
_
,
_
Thermodynamics
Session - 13
The equation of state of a gas
is given by
and the specific heat is given by
Derive the expressions for changes in internal energy, enthalpy and entropy for an
isobaric process.
As pressure is constant, dp = 0,
Internal energy:
Enthalpy:
Entropy:
73
2
T
c
p
RT
V
bT a C
p
+
) V V ( p ) T T (
2
b
) T T ( a U
2 2
2
2
2
2 2 2 2 2
+
pdV dT ) bT a ( dU +
pdV dT C dU
P
1
1
]
1
+
,
_
pdV dp
T
V
T dT C dU
p
P
dp
T
V
T V dT C dH
p
P
1
1
]
1
,
_
+
dT C dH
P
) T T (
2
b
) T T ( a H
2
2
2
2 2 2 2 2
+
dT
T
bT a
dS
,
_
) T T ( b
T
T
ln a S
2 2
2
2
2 2
+
dp
T
V
dT
T
C
dS
p
P
,
_
dT
T
C
dS
P
2
2
T
T
2 2
T
dQ
S
2
2
T
T
p
T
dT C
Total entropy change = 5(0.2161)=1.0805 kJ / K
Prove that
dp ) T p ( V dT ) pV C ( dU
p
+
Where
p T
T
V
V
1
,
p
V
V
1
,
_
,
_
dp
p
U
dT
T
U
dU
T p
,
_
+
,
_
p p p
T
V
p
T
S
T
T
U
,
_
,
_
,
_
3
2
T
T
3 2
T
dQ
S
3
2
T
T
V
T
dT C
75
K . kg / kJ 2222 . 2
222
222
ln
222
222
ln 22 . 2 K . kg / kJ 2222 . 2
2 2 2 2 2 2
S S S
+
K . kg / kJ 2222 . 2
2222 . 2 2222 . 2 S
2 2
) p , T ( U U
pdV TdS dU
T
dQ
dS
T
dT C
dS
p
T
C
T
S p
p
,
_
p
p
p
T
V
p
T
C
T
T
U
,
_
,
_
,
_
pdV TdS dU
T p
p
S
T
V
,
_
,
_
T T T
p
V
p
p
S
T
p
U
,
_
,
_
,
_
,
_
,
_
76
T p T
p
V
p
T
V
T
p
U
,
_
,
_
,
_
dp
p
V
p
T
V
T dT
T
V
p
T
C
T dU
T p p
p
1
1
]
1
,
_
,
_
+
1
1
]
1
,
_
,
_
dp
p
V
p
T
V
T dT
T
V
p C
T p p
p
1
1
]
1
,
_
+
,
_
1
1
]
1
,
_
dp ) pV V T ( dT ) pV C (
p
dp ) T p ( V dT ) pV C ( dU
p
+
pdV TdS dU
T T
S
V
p T
S
U
,
_
,
_
V T
p
T
p T
S
U
,
_
,
_
R
pV
T
R
V
p
T
V
,
_
2
R
V
p T
S
U
T
,
_
pdV TdS dU
p
V
S
T
V
U
T T
,
_
,
_
T V
V
S
T
p
,
_
,
_
p
T
p
T
V
U
V T
,
_
,
_
2 p
V
R
T
V
U
T
,
_
And hence
77
pV H U
pV U H
+
1
1
]
1
,
_
,
_
,
_
V
p
V
p
p
H
p
U
T T T
p T
T
V
T V
p
H
,
_
,
_
1
1
]
1
,
_
1
1
]
1
,
_
,
_
V
p
V
p
T
V
T V
p
U
T p T
T p T
p
V
p
T
V
T
p
U
,
_
,
_
,
_
2
p
RT
p
p
R
T
p
U
2
T
,
_
2
S
U
V
U
p
U
T T T
,
_
,
_
,
_
Thermodynamics
Session 14
Fugacity:
This is a concept used to determine Gibbs free energy for real gases. Recall that Gibbs
free energy is an important thermodynamic property used in phase and reaction
equilibria. We have one fundamental property relation,
At constant temperature,
If the gas is ideal,
Obviously this equation is not valid for real gases. To make it valid for real gases, let us
replace actual pressure by a fictitious term f, so that the equation becomes valid even for
real gases as
Here f is called fugacity and it will have the units of pressure.
Integrating,
For ideal gases,
Therefore
The fugacity is proportional to pressure.
78
SdT Vdp dG
Vdp dG
( ) p ln RTd dp
p
RT
dG
( ) p ln RTd dG
( ) f ln RTd dG
2
2
2 2
f
f
ln RT G G G
2
2
2 2
p
p
ln RT G G G
p f ., e . i
p
p
f
f
2
2
2
2
,
_
1
1
]
1
,
_
,
_
2
2
p
RT
H H
T
f ln
,
_
,
_
( ) f ln RTd Vdp dG
( ) dp
p
Z
dp
RT
V
f ln d
2 p
p ln
dp
p
Z
dp
p
2
dp
p
2
+
( ) dp
p
2 Z
p ln d
+
dp
p
2 Z
p
f
ln d
,
_
( ) dp
p
Z
f ln d
( ) dp
p
2 Z
ln d
Method of residual volumes:
Residual volume is defined by
Using this in the relation,
af
Using equation of state:
81
( ) dp
p
2 Z
ln d
( )
p
2
p
2
dp
p
2 Z
ln d
p
RT
V
( ) dp
RT
V
f ln d
dp
RT
2
p
RT
,
_
+
dp
p
2
RT
,
_
+
( )
,
_
+ p ln d dp
RT
dp
RT p
f
ln d
,
_
( ) p d
RT
ln d
p
o
p
2
p d
RT
ln
p
o
( ) f ln RTd Vdp dG
( ) Vdp
RT
2
f ln d
( )
p
p
p
p
2 2
Vdp
RT
2
f ln d
p
p 2
2
Vdp
RT
2
f
f
ln
We need to apply the above result to the equation of state of your choice.
Application to Van der Waals equation:
Equation of state is
Substituting this in
We get,
Consider the integral,
Put
82
p
p 2
2
Vdp
RT
2
f
f
ln
2
2
V
a
b V
RT
p
RT ) b V (
V
a
p
,
_
+
dV
V
a 2
) b V (
RT
dp
2 2
,
_
p
p 2
2
Vdp
RT
2
f
f
ln
dV
V
a 2
) b V (
RT
V
RT
2
f
f
ln
2 2
V
V 2
2
,
_
V
V
2
V
V
2
2 2
RTV
aVdV 2
) b V (
VdV
V
V
2
V
V 2
2 2
) b V (
VdV
RTV
a 2
f
f
ln
+
V
V
2
2 2
2
) b V (
VdV
RTV
a 2
RTV
a 2
f
f
ln
V
V
2
2
2
) b V (
VdV
RTV
a 2
f
f
ln
2
) b V (
VdV
du dV
u b V
Since V
0
is at a very low pressure, it is very large. As an approximation which is valid,
0 0
V b V
This equation gives the expression for fugacity of a gas that follows Van der Waals
equation.
83
,
_
+ du
u
b
u
2
2
2
u
du ) b u (
u
b
u ln
b V
b
) b V ln(
b V
b
b V
b
b V
b V
ln
) b V (
VdV
2 2
V
V
2
2
,
_
b V
b
b V
b V
ln
2
,
_
2
) b V (
VdV
V
V
2
2
2
) b V (
VdV
RTV
a 2
f
f
ln
b V
b
b V
b V
ln
) b V (
VdV
2
V
V
2
2
,
_
b V
b
b V
b V
ln
RTV
a 2
f
f
ln
2 2
+
,
_
b V
b
V
b V
ln
RTV
a 2
p
f
ln
2 2
+
,
_
b V
b
V ln ) b V ln(
RTV
a 2
p ln f ln
2 2
+ +
b V
b
p
RT
ln ) b V ln(
RTV
a 2
2
+
,
_
+
b V
b
p ln ) RT ln( ) b V ln(
RTV
a 2
p ln f ln
2 2
+ +
RTV
a 2
b V
b
b V
RT
ln f ln
+
,
_
,
_
2
p
f
( ) 2 x x ln Lim
2 x
RT
p
2
p
f
RT
p
2
p
f
+
,
_
+
p
RT
V
RT
p
2
p
f
,
_
+
p
RT
V
RT
p
p f
2
,
_
+
p
RT
V
RT
p
p f
2
p
RT
V p
p f
2
+
RT
V p
f
2