FYS2160 Lab 2

Download as pdf or txt
Download as pdf or txt
You are on page 1of 15

Lab Session 2 - Phase Transitions

FYS2160 at University of Oslo

Simen Løken
October 2020

Contents
1 Abstract 1

2 Introduction 1

3 Method 2

4 Results 3

5 Discussion 4

6 Conclusion 6

7 Appendices 7

1 Abstract
We find out that Trouton’s rule, though a good general solution to such problems, is not applicable
to all types of fluids, specifically water in this case. We additionally look at different methods of
finding the enthalpy of phase transitions, and find Hm = 178898.25J for melting an ice cube in a
28◦ C water bath, and Hv = 42883.06 ± 831.96J

2 Introduction
In thermodynamics, perhaps one of the most important concepts is that of phase-transitions. It is
central to many concepts in our everyday life, like cooking or air-conditioning.
We’ll take a closer look at the concept of phase-transitions in this report, more specifically the heat
of vaporization and melting of water, respecitvely.

1
To do this, we’re going to employ a few equations relating to the relationship between pressure
and temperature, for example the Clausius-Clapeyron relation:
δP H
= (1)
δT T ∆V
where δP is the change in pressure, δT is the change in time, H is the enthalpy and ∆V is the
change in volume.
A perhaps more intuitive way of extracting the values we wish to study (the enthalpy) would be to
look at the left hand side of the equation, and realize that what we’re looking at here is the slope
of a P (T ) pressure-temperature coexistence line.
Additionally, if we examine a system in equilibrium, where we assume that the molar volumes are
negligible in comparison to each other and that we’re working with an ideal gas with constant
enthalpy for small ∆T ’s, we can rewrite Equation [1] to be:
 
P1 Hv 1 1
ln =− − (2)
P2 R T1 T2

where P1 , T1 and P2 , T2 are two different points on the liquid-vapour coexistence line.
Additionally, we establish two more relations which we can use to calculate the enthalpy of melting,
namely:
m [Hm + Cv (T2 − T0 )] = C0 (T1 − T2 ) (3)
where m is the mass, Hm is the enthalpy of melting, Cv is the specific heat capacity of water and
T0 , T1 , T2 are temperatures at three different points along the logging of data. C0 can be calculated
as:
δT
C0 = UI
δt
where δT
δt are the changes in temperature with regards to time, or more intuitively, the slope of a
graph measuring these two. U and I are the voltage and current respectively. With what we’ve
now established, we now need only to log the respectively required data (P and T for Hv and T
and t for Hm ), which is described below in the Method section.

3 Method
For measuring the heat of vaporization, we’re going to be using an apparatus to decrease
the pressure in a container to below that of the atmospheric pressure. This in turn will lower the
vaporization temperature of our liquid. We repeat this for a set number of different pressures,
noting the pressure and associated vaporization temperature for each one. After retrieving these
values, we can do a fit on our data in order to predict the enthalpy of vaporization.
For measuring the heat of melting, we’re going to first fill a calorimeter with a known volume of
water. From there we will heat it to a specified, known temperature. When we’ve stabilized at this
temperature, which we will measure using Capstone, we retrieve an ice cube of about m = 250g and
leave it in the calorimeter. As the ice cube melts, we continue to monitor and log the temperature
change using Capstone. When all the ice is melted and the temperature has finally stabilized, we
can then use the data collected in order to determine the enthalpy of melting.

2
4 Results
Let us first tackle the heat of vaporization. We retrieve the data-points, and plot them in regards
of Equation [2]:

Figure 1: A least-squares fitted plot using the points logged when creating equilibrium between
pressure and temperature


And we retrieve a slope as a = −5154.40 which is our ∆H R through the points: (T1 = 87.1 C, P1 =

62.1kP a) (T2 = 91.2 C, P2 = 73.0kP a), such that H = 42833.06J
Let us now move on to the heat of melting:
We retrieve a block of ice with the mass m = 236.79g, which loses about 0.71g worth of mass before
putting it in the calorimeter. It’s new mass is then m = 236.08g. We note the temperature before
dropping in the ice cube to be T1 = 28.0◦ C, and that the slope a = 0.0113, we can then find C0 in
Equation [3]
90.19V · 0.7559A J
C0 = = 6033.15
0.0113 kg · K
We further note that the temperature at the bottom plateau (ie. where all the ice has melted), is
T2 = 13.4◦ C, such that, using Equation [3]. Recall additionally that T0 = 0◦ C

(28◦ C − 13.4◦ C) · 4200J/kg · K


Hm = − (13.4◦ C)6033.15J/kg · K
236.08 × 10−3 kg
Hm = 178898.25J

3
5 Discussion
Regarding the sample size
One of the most glaring issues of this report is the lack of data points. This is entirely my fault, I
wasn’t aware of the fact that the experimental lab videos provided on the semester page [1] didn’t
include proper data (which they did last time), and by the time I found out it was too late. However,
that being said I don’t think it messes up our results too much, as I did some extra digging around
and found [2] and used data from there and found much the same results, specifically:

Figure 2: A least-squares fitted plot using the points extracted from Engineering Toolbox

which gives us a slope of a = −5060.74 ± 11.96 which, although significantly different, indicates
that our original data isn’t a total disaster. Hope this isn’t too much of a problem!
Accuracy of Hv
Perhaps one of the most interesting things to discuss would be to compare H to the relation:
Hv
= 11 ± 1
RTb
Hv
R is already known (it is our slope), and we can multiply this with our x-elements in the plot
(these are already on the form T1b ). We find the following values:

Temperature [◦ C] Pressure [kPa] Constant


1: 87.07 62.07 14.31
2: 91.2 73.0 14.15

Table 1: Constants indicating whether or not our H is a realistic value.

We see that we do miss by a little bit, but not by much. Besides, the theoretical entropy of water
vaporization is H = 40650J/mol.
Additionally, we should remind ourselves that the system is not perfect, and that the pressure will
increase again over time, instead of being constant.

4
All in all, I’d probably add a ±100 to our HRv meaning that Hv = 42883.06 ± 831.96J
Additionally, I’d like to say that another reason why we get such a large deviance from expected
values is explained below in Question 1.
Accuracy of Hm
In my opinion, there aren’t as many sources of error here as the other experiment. The only things I
can think of are potential thermal leakage from the calorimeter, or alternatively the ice cube losing
mass when being transported from the weight and into the calorimeter, although this is much less
dramatic than the thermal leakage. Therefore, I decide not to include any inaccuracies to the result,
as both of these factors are incredibly small in comparison to the final result. That being said, I do
believe there is something wrong with my calculation here, though I can’t for the life of me track
down what that error may be.
In conclusion, there is an error somewhere, but otherwise we’re pretty much correct, I’m assuming.
Given questions

• 1:
My results aren’t very good, but here’s what I do know The likely deviation between Trouton’s
rule and water is mainly (I believe) a result of physical phenomena, not inaccurate measure-
ments. The reason I believe this is because Trouton’s rule does not account for interactions
between molecules, in our case the very famous hydrogen bonding, which of course causes the
high boiling point of water, thus deviating from the rule’s predicted values.
Do note that this is also the case for other molecules that form strong bonds like ethanol,
which also hydrogen bonds
• 2:
It will likely have a small effect on our readings, but I do believe it is ultimately negligible to
the data as a whole.

• 3:
If we turned off the cooling then the steam would travel throughout the entire system, likely
causing the assumptions we made when declaring Equation [2] to fail, such as that the moral
volume of water was negligible compared to the vapour.
• 4:
Because we are interested in seeing the temperature of the vapour, not of the liquid. As
the liquid is supplied energy, it’s temperature increases until it hits a break point where
significantly more energy must be supplied until the vapour ”unbinds itself” from the liquid.
The reasoning for this is discussed in Question 5 below. And as such, we might get inaccurate
and/or unstable readings should be examine the liquid instead of the gas.
• 5:
Because the energy required to transition phases from liquid to gas is significantly higher than
from solid to liquid. This is the case because we need significantly more kinetic energy in
order to fully separate particles, as opposed to the kinetic energy in a liquid, where the kinetic
energy is ”just enough so that they can move around eachother”.

5
6 Conclusion
In conclusion, we find that Trouton’s rule isn’t applicable to all different fluids, particularly in this
case for water, H2 O because of it’s strong hydrogen bindings. We have also looked into different
ways of extracting the enthalpy of phase-transitions, for both solid → − liquid and liquid → − vapour
respectively.
We find then enthalpy of Hm = 178898.25J for melting an ice cube in a 28◦ C water bath, and
Hv = 42883.06 ± 831.96J for water boiling in a semi-vacuum.

References
[1] URL: https://www.uio.no/studier/emner/matnat/fys/FYS2160/h20/index.html.

[2] URL: https://www.engineeringtoolbox.com/water-properties-d_1573.html.


[3] Experimental assignment. URL: https://www.uio.no/studier/emner/matnat/fys/FYS2160/
h20/Labs/Lab2/lab2_experimental.pdf.
[4] Numerical assignment. URL: https://www.uio.no/studier/emner/matnat/fys/FYS2160/
h20/Labs/Lab2/lab2_numerical.pdf.

6
7 Appendices
Appendix A - Molecular Dynamics
We initially see that there is little to no movement at the temperature T = 250K. We then increase
the temperature to T = 300K, and as the temperature of the ice approaches it’s melting point we
see increased movement and increased degrees of freedom. The total energy of such an environment
is illustrated by this plot:

Figure 3: The total energy of H2 O as it goes from rather stationary ice and over to more free
flowing water.

At first I thought something had gone wrong with this plot. I’m not too well versed with MD
and I thought it was a bit weird as to why the temperature was oscillating so violently, not to
mention that it was so compact. However, when you consider the fact that the entire area of the
plot dedicated to liquid had a total of 20000 time-steps, and that the temperature was oscillating
on the readings in the command prompt window (plus I did it twice just to be sure and got the
same results) , I now believe that this plot is correct.
As to commenting the results, as expected, the energy of the system increases with higher temper-
atures.
All in all the readings make sense, and if we increase the temperature further we get:

Figure 4: The total energy of H2 O as it goes from liquid into vapour

7
Here we see much the same behavior. In fact, we’d probably get practically the same plot as
Figure [3]. The only reason I reckon this one is not the same is because I limited it to only 1000
time steps, which I felt was sufficient seeing as:
a) The plot wasn’t very interesting.
b) The run time for 1000 time steps was already 35 minutes.
So in conclusion, we see clearly the extra energy that is supplied when the material experiences
a phase shift. I imagine if we let it run for longer the, the second plot Figure [4] would probably
stretch even higher.

Appendix B - the van der Waals Equation


• The pressure
The pressure of a van der Waals fluid is

N kB T aN 2
P = − 2
V − Nb V
otherwise known as the Equation of State for a van der Waals fluid
• Gibbs free energy
Knowing from above P and the given F, we can express the Gibbs free energy as:
   
3V N aN b 3N bV
G = −N kT ln − 1 bnQ (T ) + 1 − +P
3N b Vb 3N b

• Entropy
δF
S=−
δT
   
nQ (V − N b) δ
S = N KB ln + 1 + N kB T ln t3/2
N δT
   
nQ (V − N b) 5
S = N KB ln +
N 2

• Enthalpy
If the enthalpy is given as H = F + T S + P V , we know that U = F + T S, which gives:
 
3 Na
U =N kB T −
2 V

Which means that H is given as:


 
3 Na
H=N kB T − + P (V − N b)
2 V

8
We can find the critical parameters using the first and second derivatives at inflection to equal
zero, that is:  
δP
=0
δV C
 2 
δ P
=0
δV 2 C
which then gives
8a a
VC = 3N b, TC = , PC =
27bk 27b2
As such, we can use this to represent the reduced variables as:
V T P
VR = , TR = , PR =
VC TC PC
We can now use these reduced variables to find the reduced Gibbs free energy per particle.
Reader beware, this is a very ugly and messy expression (in my opinion, pretty hard to look at):
   
3V N aN b 3N bV
G = −N kT ln − 1 bnQ (T ) + 1 − +P
3N b Vb 3N b

Let us now insert the reduced variables, such that:


G N kT aN 3bpVR
=− (ln(3VR − 1)bnQ (T ) + 1) − +
N kTC N kTC 3bN kTC VR kTC
We see now that we can cancel out a fair bit:
G aN 27b 3bpVR 27b
= −TR ln(3VR − 1) + f (TR ) − +
N kTC 3bN VR a 8a
We see now that we have the requested dimensionless Gibbs free energy per particle, as:
G 8 3
GR = 3 = − TR ln(3VR − 1) − + PR VR + f (TR )
8 N kTC
3 VR

9
The plots are as follows: We find the coexistence line to be:

(a) PR (VR ) (b) GR (VR )

(c) GR (PR )

Figure 5: The different requested plots. We use the the coordinates where the function crosses itself
in Figure [5c] to create a linear regressed line for the coexistence line.

Figure 6: The coexistence line for the van der Waals fluid plotted for 0.3TB to 1TB

10
This calculation should be fairly accurate, but given that I used five points to find the best-fit, we
also get a deviation, and a pretty large one at that, with a standard deviation of ±14.237. This
suggests to me that the line probably should’ve been a curve instead of a straight line, and as such,
not very accurate (I’m assuming).
We find then that the slope is given as a = 0.458, giving us:
∆P H
= 0.458 =
∆T T ∆V
I don’t know what to do from here, sadly, so I cannot find H, but we can map van der Waals fluid
to water as:

Figure 7: The van der Waals fluid mapped onto water.

• Trouton’s Rule follows corresponding states


I’d say yes(?), but I can’t argue as to why. My only reasoning is that I can’t see why it
wouldn’t/where the two theorem/rules/ideas conflict, though that might just be my lack of
understanding. I did however see some research online indicating that the two are related, cit-
ing that Trouton’s rule follow the similarity of the potential function of molecular interaction,
but this is beyond the bounds of my knowledge.

• Alternative explanation for Trouton’s Rule using entropy change


Trouton’s rule can be explained using Boltzmann entropy, S = kB ln Ω, where Ω is some
quantity of an ideal gas, on the relative change in free volume as a fluid goes from liquid to
vapour.

11
Appendix C - Notes and Equipment
Notes:
I would just like to include here that I hope it’s not too big a problem that I had such little data
to work with, with everything that’s going on (Covid, other courses etc.) I’ve been so busy the
idea that the data wasn’t included on the semester page completely crossed my mind, and although
that’s no excuse I’d like to apologize for that and I hope it’s not too big of a deal.
For measuring Hv :
• Glass apparatus with water and pebbles

• Thermometer
• Cooling element
• Heating element
• Valve to vacuum pump

• Valve to atmosphere
• Buffer volume glass apparatus
• Pressure sensor

For measuring Hm :
• Calorimeter
• Power supply
• Amperemeter

• Voltmeter
• Thermometer compatible with Capstone
• Digital balance

• Block of ice

12
Appendix D - Python code

# −∗− c o d i n g : u t f −8 −∗−
import numpy a s np
import m a t p l o t l i b . p y p l o t a s p l t
import s c i p y . s t a t s a s s c

”””
EXPERIMENTAL PART
Data from s e m e s t e r −page ( not v e r y good )
”””
plt . figure ()
T = [1/(87.07+273.15) , 1/(91.2+273.15)]
P = [ np . l o g ( 6 2 . 0 7 ) , np . l o g ( 7 3 . 0 ) ]
l i n = s c . l i n r e g r e s s (T, P)
x = np . l i n s p a c e ( 2 0 , 1 0 0 , 1 0 0 0 )
def f i t ( x ) :
return l i n [ 0 ] ∗ x + l i n [ 1 ]
t e s t = np . a r r a y (T)
c o n s = t e s t ∗− l i n [ 0 ]
plt . plot (x , f i t (x ))
p l t . x l a b e l ( r ’ $ \ f r a c {1}{T} $ ’ , s i z e =16)
p l t . y l a b e l ( r ’ $ \ l n {P} $ ’ )
p l t . t i t l e ( ’ P l o t u s i n g r e a l data ’ )
p l t . show ( )
”””
A l t e r n a t i v e d a t a found on e n g i n e e r i n g t o o l b o x
”””
plt . figure ()
T = [1/(60+273.15) , 1/(70+273.15) , 1/(80+273.15) , 1/(90+273.15) , 1/(96+273.15)]
P = [ np . l o g ( 1 9 . 9 5 ) , np . l o g ( 3 1 . 2 ) , np . l o g ( 4 7 . 4 1 ) , np . l o g ( 7 0 . 1 8 ) , np . l o g ( 8 7 . 7 7 ) ]
l i n = s c . l i n r e g r e s s (T, P)
x = np . l i n s p a c e ( 2 0 , 1 0 0 , 1 0 0 0 )
def f i t ( x ) :
return l i n [ 0 ] ∗ x + l i n [ 1 ]
t e s t = np . a r r a y (T)
c o n s 2 = t e s t ∗− l i n [ 0 ]
plt . plot (x , f i t (x ))
p l t . x l a b e l ( r ’ $ \ f r a c {1}{T} $ ’ , s i z e =16)
p l t . y l a b e l ( r ’ $ \ l n {P} $ ’ )
p l t . t i t l e ( ’ P l o t u s i n g data p r o v i d e d by E n g i n e e r i n g Toolbox ’ )
p l t . show ( )

”””
ANALYTICAL PART

13
”””
V = np . l i n s p a c e ( 0 . 5 , 3 , 2 0 0 0 )
T = [0.9 , 0.95 , 1 , 1.05 , 1.1]
def P(V, T ) :
return 8/3∗T/ (V−1/3) −3/(V∗ ∗ 2 )
def G(V, T ) :
return −(8/3)∗T∗np . l o g ( 3 ∗V−1) −3/V + P(V, T) ∗V
plt . figure ()
lst = []
f o r i in T :
l s t . append (P(V, i ) )
j = 0
f o r i in l s t :
p l t . p l o t (V, i [ : ] , l a b e l= ’T = %g ’ %(T [ j ] ) )
j += 1
p l t . x l a b e l ( r ’ $ \ f r a c {V}{V C} $ ’ )
p l t . y l a b e l ( r ’ $ \ f r a c {P}{P C} $ ’ )
p l t . t i t l e ( r ’ $P R (V R) $ ’ )
plt . legend ()
p l t . show ( )

plt . figure ()
lst2 = []
f o r i in T :
l s t 2 . append (G(V, i ) )
j = 0
f o r i in l s t 2 :
p l t . p l o t (V, i [ : ] , l a b e l= ’T = %g ’ %(T [ j ] ) )
j += 1
p l t . x l a b e l ( r ’ $ \ f r a c {V}{V C} $ ’ )
p l t . y l a b e l ( r ’ $ \ f r a c {G}{G C} $ ’ )
p l t . t i t l e ( r ’ $G R (V R) $ ’ )
plt . legend ()
p l t . show ( )

plt . figure ()

f o r i in range ( len (T ) ) :
p l t . p l o t ( l s t [ i ] , l s t 2 [ i ] , l a b e l= ’T = %g ’ %(T [ i ] ) )

plt . x l a b e l ( r ’ $ \ f r a c {P}{P C} $ ’ )
plt . y l a b e l ( r ’ $ \ f r a c {G}{G C} $ ’ )
plt . t i t l e ( r ’ $G R ( P R ) $ ’ )
plt . legend ()
plt . show ( )

14
plt . figure ()

T2 = np . l i n s p a c e ( 0 . 9 , 0 . 9 5 , 5 )

f o r i in T2 :
p l t . p l o t (P(V, i ) , G(V, i ) , l a b e l= ’T = %g ’ %( i ) )
p l t . x l a b e l ( r ’ $ \ f r a c {P}{P C} $ ’ )
p l t . y l a b e l ( r ’ $ \ f r a c {G}{G C} $ ’ )
p l t . t i t l e ( ’ P l o t used t o b e s t f i t a l i n e through t h e p o i n t s where t h e p l o t i n t e r s e c t s i t
plt . legend ()
p l t . show ( )

plt . figure ()
Pco = [ 0 . 6 4 7 , 0 . 6 8 6 , 0 . 7 2 7 , 0 . 7 6 9 , 0 . 8 1 2 ]
Gco = [ − 4 . 0 7 7 , −4.046 , −0.417 , −3.988 , −3.959]

l i n = s c . l i n r e g r e s s ( Pco , Gco )
def f i t 2 ( x ) :
return l i n [ 0 ] ∗ x + l i n [ 1 ]

x = np . l i n s p a c e ( 0 . 3 , 1 , 1 0 )
plt . plot (x , f i t 2 (x ))
p l t . x l a b e l ( r ’ $Temperature [ T B ] $ ’ )
plt . ylabel ( ’ Pressure ’ )
p l t . t i t l e ( ’A l i n e a r f i t f o r t h e l i q u i d −g a s c o e x i s t e n c e l i n e ’ )
p l t . l e g e n d ( [ ’ a = %.3 f \nb = %.3 f ’ %( l i n [ 0 ] , l i n [ 1 ] ) ] )
plt . grid ()
p l t . show ( )
Hv = l i n [ 0 ]

V = np . l i n s p a c e ( 0 . 5 , 3 , 2 0 0 0 )
T = [0.9 , 0.95 , 1 , 1.05 , 1.1]
Pc = 2 2 . 0 6 4 e6
Tc = 6 4 7 . 0 9 6
Pr = P(V, Tc ) / Pc
plt . figure ()
p l t . p l o t (V, Pr )
p l t . x l a b e l ( ’ Volume [V] ’ )
p l t . y l a b e l ( r ’ $P R$ ’ )
p l t . t i t l e ( ’A van d e r F l u i d mapped onto water ’ )
p l t . show ( )

15

You might also like