



















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
These lecture slides are delivered at The LNM Institute of Information Technology by Dr. Sham Thakur for subject of Mathematical Modeling and Simulation. Its main points are: Mathematical, Modeling, Various, Systems, Flow, Fluids, First, Order, Hydraulic
Typology: Slides
1 / 27
This page cannot be seen from the preview
Don't miss anything!
Models for Flow of Fluids
First Order Models
Let us define the total amount of salt in the tank at any time t equal to y(t).
Let us write down both outflow and in-flows:
The in-flow of salt = P( liters ) × S (kg of salt/liter ).
One liter in tank contains y(t)/M of salt, then P liters outgoing will have = P × y(t)/M ;
We know that the tank contains M (liter) of water in which are dissolved Q (kg) of salt. Then P (liters) of Brian and each liter containing S kg of dissolved salt runs into the tank per minute. The P liters of water leaves the tank.
y t P S M
P dt
dy t ( )
( ) Model equation
Consider y(t) is the total amount of salt in tank.
Inflow rate = 5 x 2 kg per min = 10 kg/min
The tank shown in Figure contains 200 liter of water in which an initial amount of 40 kg of salt is dissolved.
Five liters of brine and each liter contain 2 kg of salt and run into the tank per minute.
The mixture is kept uniform by stirring. It runs out at the same rate.
dy
y(0) = 40, It is an initial value problem
0. 025 y ( t ) 10. 0 ; y ( 0 ) 40 dt
dy
Its Standard form is given below:
The model equation is given below:
Model in SIMULINK: a patch or block diagram
0. 025 y ( t ) 10. 0 ; y ( 0 ) 40 dt
dy
Scope
1/s Integrator
-0.
Gain
10 Constant
Add
Results from SIMULINK
0. 025 y ( t ) 10. 0 ; y ( 0 ) 40 dt
dy
0 100 200 300 400 500
0
100
200
300
400
500
600
salt concentration, y(t)
Time(sec)
y(0) = 40
You can see the equilibrium value is 400 from graph and from above equation when dy/dt = 0.
50 ( 1 cos t ) 0. 05 y ( t ) dt
dy
Inflow rate = 50 x (1 - cos t) kg per min
Let us say y(t) is the total amount of salt in tank.
Salt outflow rate = 0.05y(t)
Time rate of change of y = Inflow rate – outflow rate
One liter contains y(t)/1000 kg of salt, then 50 liter outgoing salt will have = 50y(t)/1000;
Order: first; Dependent variable = y(t); independent Variable = t Linearity: It is a linear equation as it has no product term for y and its derivatives.
y(0) = 200, let us say.
Standard form
dy
Solution of the Model and Interpretation:
Using the Integrating factor method we get
Then using initial condition , the solution is
dy
y ( t ) 1000 2. 494 cos t 49. 88 sin t 802. 5 exp( 0. 05 t )
y(0) = 200,
Model in MATLAB/SIMULINK
dy ^ y(0) = 200.
cos Trigonometric Function
Scope
Ramp
1/s Integrator
50
Gain
-0.
Gain
50 Constant
Add