Professional Documents
Culture Documents
21 Problems in fluids
Example Schedule of Topics for
ChE Fluids (2 credit hour)
Polymath: Differential
Equation Solver (DEQ) &
COMSOL
Adv. ChE Fluids (2 cr)
Typical Fluids Problems
ChE Course Problem Name Numerical Method Illustrated Equations
Fluids Calculations involving Friction Factors Solution of a system of simultaneous nonlinear ∆𝑃 𝜌𝑣 2
for Flow in Pipes (POLYMATH Text 8.7) algebraic equations (NLE) = 2𝑓𝐹
∆𝐿 𝐷
and pipeflow homework 𝑓𝐹 = 𝑓 𝜀 𝐷 , 𝑅𝑒
frictionfactorcalcsoln.pdf 𝑅𝑒 = 𝜌𝑣𝐷 𝜇
Excel Tutorial Solver Add-Ins rev4.pdf
Unsteady-state tank drainage using a Solution of an first order ordinary differential equation 𝑑ℎ 𝑇 𝐴𝑜𝑢𝑡
= 𝑣𝑜𝑢𝑡
siphon tube (similar to POLYMATH text (DEQ) 𝑑𝑡 𝐴𝑡𝑎𝑛𝑘
8.14) 𝑣𝑜𝑢𝑡 = 𝑓 ℎ 𝑇
C&S8-14soln.pdf
Advanced NonNewtonian fluid flow through a Solution of 2 simultaneous first order ordinary 𝑑 𝑟𝜏𝑟𝑥 𝑑𝑃
=− 𝑟
Fluids pipe (POLYMATH Text 8.2c) differential equations with split boundary value 𝑑𝑟 𝑑𝑥
NonNewtonian C&S 8.2 solutions & conditions and comparison with solution using (𝑛−1)
𝑑𝜐𝑥 𝑑𝜐𝑥
comsol.pdf COMSOL which is an advanced finite element program 𝜏𝑟𝑥 = −𝐾
𝑑𝑟 𝑑𝑟
NonNewtonian fluid flow through an
annulus (POLYMATH Text 8.4)
NonNewtonian C&S8.4
polymath&comsol & 3.8-8 solutions
2017.pdf
POLYMATH in a classroom
• Students need to understand the models that
they use.
• Have students derive the model equations
• Then enter them into POLYMATH
POLYMATH is not a “canned” program in which
the equations are hidden such as in COMSOL
and ASPEN
The next slides give an example of using
POLYMATH with a problem in Fluids
Newtonian Fluid Flow Between Parallel
Plates Example y
1 cm
m
50 c
100 cm
behavior
• Control Volume – shell
y
balance
• Derivation
• Simplifications: steady-
0 0
state etc.
Analytical Solution
• Newtonian Fluid
• Boundary Conditions
➢𝑦 = 0 𝑣𝑥 = 𝑚𝑎𝑥 𝜏𝑦𝑥 = 0
➢𝑦 = 𝑤𝑎𝑙𝑙 𝑣𝑥 = 0 𝜏𝑦𝑥 = max
• Integrate Twice: Analytical Solution
𝑑𝑃 𝛿 2 𝑦 2
➢𝑣𝑥 = − 𝑑𝑥 2𝜇 1− 𝛿
y
Numerical Solution z
1 cm
m
50 c
100 cm
• Newtonian Fluid
POLYMATH Differential
Equation Solver (DEQ)
𝑣ቚ =0
𝑦=𝑤𝑎𝑙𝑙
𝜏𝑦𝑥 ቚ = 𝑏𝑖𝑔
𝑦=𝑤𝑎𝑙𝑙
y
1 cm
m
50 c
100 cm
𝜕𝑣𝑥 𝜏𝑦𝑥
=
𝜕𝑦 −𝜇
𝜕𝜏𝑦𝑥 𝑑𝑃
=−
𝜕𝑦 𝑑𝑥
0.12
Solution 0.1
vx
0.06
vAnal
0.04
0.02
0
0 0.001 0.002 0.003 0.004 0.005 0.006
Spacing Between plates (m)
0.2
0.18
Trials using interpolation after
0.16
3rd guess
0.14
v at center v at wall
0.02
0
0 0.001 0.002 0.003 0.004 0.005 0.006
Spacing Between plates (m)
2nd Order ODE or 2 coupled ODE’s with
Split Boundary Conditions
• NonNewtonian fluid flow
through a pipe (POLYMATH Text
8.2c)
𝑑 𝑟𝜏𝑟𝑥 𝑑𝑃
• 𝑑𝑟
= − 𝑑𝑥 𝑟
𝑑𝜐𝑥 𝑑𝜐𝑥 (𝑛−1)
• 𝜏𝑟𝑥 = −𝐾 𝑑𝑟 𝑑𝑟
• Boundary Conditions:
𝑟 = 0 𝑣𝑥 = max 𝜏𝑟𝑥 = 0
𝑟 = 𝑤𝑎𝑙𝑙 𝑣𝑥 = 0 𝜏𝑟𝑥 = 𝑚𝑎𝑥
Annular Flow C&S 8.4