Beruflich Dokumente
Kultur Dokumente
THERMODYNAMICS
A hands-on training.
Naveed ur Rehman
http://www.naveedurrehman.com/
naveedurrehman.com 2
EES – A software
• EES (pronounced ’ease’): “Engineering Equation Solver”
• Licensed and distributed by F-Chart software
(http://fchart.com)
• Demo version can be acquired free from
http://fchart.com/ees/demo.php
• Licensing and ordering information can obtained from
http://fchart.com/ees/ and http://fchart.com/ees/order.php
• Single user license fee: $600-$1200
• Download software and presentation from
https://goo.gl/U9s8Ud (Disconnect internet while using EES)
naveedurrehman.com 3
Environment
“Menu”
“Toolbar”
“Equations window”
To obtain solution:
[Menu] Calculate > Solve
or
Press “F2” key
naveedurrehman.com 5
Solution Window:
naveedurrehman.com 6
Solving polynomial
Example: 3𝐻2 − 4𝐻 − 5 = 0
3*H^2 - 4*H - 5 = 0
Solution Window:
naveedurrehman.com 7
X + Z = 10 - Y
X - 2*Y = 5
X=4-Z
V = pi * (R^2) * H
H = 10 𝑅= 𝑉 Τ𝜋𝐻
V = 3000
naveedurrehman.com 9
Exercise
A piston cylinder device initially contains 0.4m3 of air at
100kPa and 80°C. The air is now compressed to 0.1m3 in
such a way that the temperature inside the cylinder
remains constant. Determine the work done during this
process.
𝑉2
𝑊𝑖𝑠𝑜𝑡ℎ𝑒𝑟𝑚𝑎𝑙 = 𝑃1 𝑉1 ln
𝑉1
V1 = 0.4
P1 = 100
T1 = 80
V2 = 0.1
Wb = (P1*V1)*ln(V2/V1)
naveedurrehman.com 10
A = 30*Convert(ft,m)
B = 10*Convert(MJ, kJ)
C = 100*Convert(kJ/kg,BTU/lbm)
Solution:
Exercise
Solution:
naveedurrehman.com 13
Built-in Functions
To access built-in functions:
[Menu] Options > Function Info
naveedurrehman.com 14
Exercise
What is the
temperature of
water/steam at
11 MPa and
internal energy
of 2920 kJ/kg?
naveedurrehman.com 15
Exercise
What is the enthalpy of water/steam at 100 ⁰C and 50 kPa?
Solution:
ℎ𝑤𝑎𝑡𝑒𝑟 = ℎ 𝑇=100℃,𝑃=50𝑘𝑃𝑎
Tw = 100
Pw = 50
hw = enthalpy(Steam,T=Tw,P=Pw)
hw = enthalpy(Steam,T=100,P=50)
naveedurrehman.com 16
Exercise
What is the specific volume of water/steam at 100 ⁰C and 50
kPa?
Solution:
𝑣𝑤𝑎𝑡𝑒𝑟 = 𝑣𝑇=100℃,𝑃=50𝑘𝑃𝑎
v = volume(Steam,T=100,P=50)
naveedurrehman.com 17
Exercise
A rigid tank contains 50 kg of saturated liquid water at 90
⁰C. Determine pressure in the tank and volume of tank.
Pw=Pressure(Steam,T=90,x=0)
Vw = 50*Volume(Steam, T=90,x=0)
naveedurrehman.com 18
Exercise
A mass of 200 gm of saturated liquid water is completely
vaporized at a constant pressure of 100 kPa. Determine
the volume change and the amount of energy added to
water.
m = 200/1000
x1 = 0
x2 = 1
Pw = 100
P2 = 3*convert(MPa,kPa)
Wp = v1*(P2-P1)
h2 = h1 + Wp
P3 = P2 qin = h3 - h2
T3 = 350 qout = h4 - h1
h3 = ENTHALPY(Steam,T=T3,P=P3) eta = 1-qout/qin
s3 = ENTROPY(Steam,T=T3,P=P3)
P4 = P1
s4 = s3
h4 = ENTHALPY(Steam,s=s4,P=P4)
naveedurrehman.com 21
THANK YOU!
Naveed ur Rehman
http://www.naveedurrehman.com/