Unit 4 - Application of ODEs in Fluid Mechanics Problems
Unit 4 - Application of ODEs in Fluid Mechanics Problems
www.udst.edu.q
Fall 2015 2
Mathematical Modeling and Engineering Problem solving
3
Mathematical Modeling and Engineering Problem solving
The basic one-compartment system consists of a function x(t) that represents the amount
of a substance in the compartment at time t, an input rate at which the substance enters the
compartment, and an output rate at which the substance leaves the compartment.
Because the derivative of x with respect to t can be interpreted as the rate of change in the
amount of the substance in the compartment with respect to time, the one-compartment
system suggests:
Example 1 – Mixing System: Consider a large tank holding 1000 L of pure water
into which a brine solution of salt begins to flow at a constant rate of 6 L/min. The
solution inside the tank is kept well stirred and is flowing out of the tank at a rate
of 6 L/min. If the concentration of salt in the brine entering the tank is 0.1 kg/L,
determine when the concentration of salt in the tank will reach 0.05 kg/L
Solution:
First we must determine the rate at which salt enters the tank:
We must now determine the output rate of salt from the tank:
The tank initially contained pure water, so we set x(0) = 0. Substituting the rates in (2) and (3)
into equation (1) then gives the initial value problem
7
Example 2:
Mixing problems occur frequently in chemical industry. We explain here how to solve the basic model
involving a single tank. The tank in figure below contains 1000gal of water in which initially 100lb of salt is dissolved.
Brine runs in at a rate of 10gal/min, and each gallon contains 5lb of dissolved salt. The mixture in the tank is
kept uniform by stirring. Brine runs out at 10 gal/min. Find the amount of salt in the tank at any time t.
Step 1 Setting up a model.
▶ Salt’s time rate of change
dy / dt y '= Salt inflow rate – Salt outflow rate “Balance law”
Salt inflow rate = 10 gal/min × 5 lb/gal = 50 lb/min
Salt outflow rate = 10 gal/min × y/1000 lb/gal = y/100 lb/min
y 1
y ' 50 5000 y
100 100
▶ The initial condition :
y 0 100
▶ General solution : dy 1 1
t
dt ln y 5000 t c* y 5000 ce 100
y 5000 100 100
▶ Particular solution : t
y 0 5000 ce 5000 c 100 c 4900
0
y 5000 4900e 100
8
GROWTH AND DECAY
Many engineering problem such as bacterial growth or radioactive decay follow the
below model:
Eq (1)
Knowing the population at some arbitrary initial time t 0, we can then use the solution of
Eq (1) to predict the population in the future—that is, at times t > t 0.
In physics and chemistry Eq (1) is seen in the form of a first-order reaction—that is, a
reaction whose rate, or velocity, dx/dt is directly proportional to the amount x of a
substance that is unconverted or remaining at time t.
For Example: The decomposition, or decay, of U-238 (uranium) by radioactivity into Th-
234 (thorium) is a first-order reaction.
Example 3
Example 4
Example 5
Mixtures
Exercise. 1 A tank contains 200 liters of fluid in which 30 grams of salt is dissolved.
Brine containing 1 gram of salt per liter is then pumped into the tank at a rate of 4
L/min; the well-mixed solution is pumped out at the same rate. Find the number A(t)
of
grams of salt in the tank at time t.
13
Examples on the Modeling with First-Order Differential Equations
Mixtures
Exercise. 2 A large tank is filled to capacity with 500 gallons of pure water. Brine
containing 2 pounds of salt per gallon is pumped into the tank at a rate of 5 gal/min.
The well-mixed solution is pumped out at the same rate. Find the number A(t) of
pounds of salt in the tank at time t.
14
Examples on the Modeling with First-Order Differential Equations
Mixtures
Exercise. 3 In previous example (E. 9), what is the concentration c(t) of the salt in the
tank at time t? At t = 5 min? What is the concentration of the salt in the tank after a
long time, that is, as t ꚙ? At what time is the concentration of the salt in the tank
equal to one-half this
limiting value?.
15
Examples on the Modeling with First-Order Differential Equations
16
Examples on the Modeling with First-Order Differential Equations
17
Examples on the Modeling with First-Order Differential Equations
18
Exercise 7
19
20
Chemical/Mechanical Engineering
Transport Phenomena
Momentum Mass
Reaction Kinetics
Heat
21
TRANSPORT PHENOMENA
Three Major Properties Involved in Transport Phenomena:
input output
MATHEMATICAL MODEL
PHYSICAL SYSTEM
22
Example:
Three Major Properties Involved in Transport Phenomena
COLD FLUID
HOT FLUID
Heat Transport – exchange of heat between the cold and the hot fluids
23
Background:
Most of the momentum transfer equations are similar to heat
and mass transfers
24
Differential Equation Model
Deriving the differential forms of fundamental laws:
• Identify an infinitesimal element in space and apply the basic laws to those elements.
25
Heat, Mass, and Momentum Transport Laws
Phenomenological Laws
Fick’s Law of Molecular Diffusion (Mass Transport)
26
Heat, Mass, and Momentum Transport Laws
Na dCa
Na D
A dx
Where: Na = mass flux (mole/s.m2)
Na = mass transfer rate (mole/s)
A = area (m2)
D = mass diffusivity (m2 /s)
dCA/dx = concentration gradient along x (mole/m 3/m)
27
Heat, Mass, and Momentum Transport Laws
q dT
Q k
A dx
Where: Q = heat flux (W/m2)
q = heat transfer rate (W = J/s)
A = area (m2)
k = thermal conductivity (W/K.m)
dT/dx = temperature gradient along x (K/m)
28
Heat, Mass, and Momentum Transport Laws
q d ( C pT ) dT
Q k
A dx dx
29
Heat, Mass, and Momentum Transport Laws
Fy dV y
yx gc
A dx
Where: τyx = momentum flux
y = direction of flow (velocity)
x = direction of momentum flux
μ = absolute viscosity
dVy/dx = velocity gradient along x
Fy/A = shear stress
gc = gravitational constant
30
Example 6: Calculate the heat flux across a copper block 10 cm
thick, one side of which is maintained at 00C and the other at
100o C. The k can be assumed constant at 380 W/m-K.
31
Newton’s 2nd law of Motion
• States that “the time rate change of momentum of a body
is equal to the resulting force acting on it.”
• The model is formulated as
F=ma (1.2)
32
Example 7: modeling of a falling parachutist:
dv c
g v
dt m
v(t )
gm
c
1 e
( c / m )t
Dependent variable Parameters
Forcing function
33
Example 8:
• A parachutist of mass 68.1 kg jumps out of stationary hot air
balloon. The drag coefficient is equal to 12.5 kg/s.
a) Find the velocity of the parachutist after t = 5 s.
b) What’s the final velocity of the parachutist at landing (t = )?
gm
v(t ) (1 e ( c / m )t )
c
(9.8)(68.1)
v(t ) (1 e ((12.5) /(68.1) t )
12.5
34
Conservation Laws and Engineering
Conservation laws are the most important and fundamental laws
that are used in engineering.
Change = increases – decreases (1)
Change implies changes with time (transient). If the change is
nonexistent (steady-state), (1) becomes
Increases =Decreases
35
x y z
t
y z vx x vx v
xx x z
y y vy y y
x y vz z vz
z z
vx vy vz
t x y z
While:
𝒖= 𝒗 𝒙
𝒗 =𝒗 𝒚
𝒘 =𝒗 𝒛
41
Example 10:
Example 11:
𝝏𝝆
𝝏𝒕
=−( 𝝏
𝝏𝒙
𝝆 𝒖+
𝝏
𝝏𝒚
𝝆𝒗+
𝝏
𝝏𝒛
𝝆𝒘 )
0.2
Example 12:
Solution:
Check if
44
Example 13:
Solution
Since
45
Example 14:
and , where is the fluid’s viscosity. Generate an expression for stream function along
the vertical dashed line in the Figure. For convenience, let along the bottom wall of the
channel.
46
Solution:
Start with the definition of stream function:
47
Example 15:
As a follow-up to previous Example, calculate the volume flow rate per unit width into
the page of Figure from first principles (integration of the velocity field). Compare your
result to that obtained directly from the stream function.
Solution:
Integrate the velocity along direction to obtain the volume flow rate:
Where W is the width of the channel into the page. So the volume flow rate per unit width
The volume flow rate per unit width obtained directly from the stream function according
to previous Example:
49
50
Exercise 9:
Air flows with a uniform velocity in a pipe with the velocities measured along the
centerline at 40-cm increments as shown. If the density at point 2 is 1.2 kg/m 3, estimate
the density gradient at point 2.
51
52
Thank you
+974 4495 2222
Location
University of Doha for Science &
Technology
68 Al Tarfa, Duhail North
P.O. Box 24449 Doha, Qatar