Professional Documents
Culture Documents
• Ran different what-if scenarios to investigate the cause of the explosion to find out how it could
have been prevented
What we will do in CE30240 – Advanced Process
Modelling
• Three more tools to solve chemical engineering problems
𝑑 2 𝐶𝐴 2 𝑑𝐶𝐴 𝑘𝑛 𝑛
• Week 1 - Second order ODEs 𝑑𝑟 2
+ − 𝐶 =0
𝑟 𝑑𝑟 𝐷𝑒 𝐴
𝑑2𝑇
• Week 2 - Boundary value problems 𝑘 2
𝑑𝑧
4
= ℎ (𝑇 − 𝑇air )
𝐷
𝜕𝐶𝐴 𝜕 2 𝐶𝐴
• Week 3 -Partial differential equations 𝜕𝑡
= 𝐷𝐴𝐵
𝜕𝑧 2
− 𝑘𝐶𝐴
10-9 m 102 m
Molecular level Plant level
Mathematical models
in Chemical Engineering
Modelling and simulation are valuable tools since it is much safer and cheaper to perform tests on the
model using computer simulations rather than carrying out repetitive experimentation and
observations on the real system, provided that the model used is VALIDATED.
Relation of this material to your other topics
Transport
phenomena
Mass and energy Thermodynamics
balances
Reaction Mathematical
kinetics Modelling Mathematics,
in Chemical numerical techniques
Engineering and computing
Economics
Environmental
Process engineering
control Material
science
How does it work?
Whenever suits
you Advanced Chemical Two LOIL drop-
Background for Dedicated time
MATLAB Engineering problem in sessions in
computing to work on your
background for solving using MATLAB week 6 and end
workshops coursework
the computing as a tool of week 8
sessions
You said … we did
T =Temperature = f(x,y,z,t)
y
2 2 2
𝜕 𝑇 𝜕 𝑇 𝜕 𝑇 𝜕𝑇
𝑘 2 + 𝑘 2 + 𝑘 2 = 𝜌𝐶𝑣 y
𝜕𝑥 𝜕𝑦 𝜕𝑧 𝜕𝑡 x
z
z Cartesian Coordinates
x
At steady state the temperature changes within the rod as a function of z can be described as:
𝑑2𝑇
𝑘 2 = ℎ𝐴 𝑇 − 𝑇𝑎𝑖𝑟
𝑑𝑧
a) What are the dependent/independent variables of this system?
𝑑2 𝐶𝐴 2 𝑑𝐶𝐴 𝑘𝑛 𝑛
2
+ − 𝐶𝐴 = 0
𝑑𝑟 𝑟 𝑑𝑟 𝐷𝑒
𝑑2 𝐶𝐴𝑏 𝑑𝐶𝐴𝑏
𝐷𝑎 2
+𝑈 − Ω𝑘1 𝐶𝐴𝑏 = 0
𝑑𝑧 𝑑𝑧
How to convert a 2nd order ODE to a system of 1st order ODEs
𝑑2 𝑥 𝑑𝑥
2
+2 − 3𝑥 = 0
𝑑𝑡 𝑑𝑡
𝑑𝑥
Let’s set 𝑣 =
𝑑𝑡
𝑑𝑣
+ 2𝑣 − 3𝑥 = 0
𝑑𝑡
• Convert the second order ODE into a system of two first order ODEs
• What are the two boundary values for this problem?
• MATLAB requires “initial” values (i.e. at z = 0). What can we do?
Wednesday’s problem
A glass tube is originally filled with pure liquid B and exposed to the surroundings filled
with gas A. As the gas is present in large excess its concentration remains constant at
CA0 = 0.2 kmol / m3. The diffusivity of gas A in liquid B is DAB = 1.2 × 10-9 m2 /s and the
liquid level in the tube is L = 10-3 m. Once A diffuses into the liquid, it reacts with B.
𝜕𝐶𝐴 𝜕 2 𝐶𝐴 𝑛
= 𝐷𝐴𝐵 − 𝑘𝐶𝐴
𝜕𝑡 𝜕𝑧 2