































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
Main topics for this course are Brownian dynamics, chaos, fluctuation, genetic algorithm, modelling and simulations, moments and variance, Monte Carlo modelling of neutron motion. Main points for this lecture are: Non-linear, Models, Autonomous, System, Ordinary, Differential, Equations, Stationary, Equilibrium, Derivative, Visualization
Typology: Slides
1 / 39
This page cannot be seen from the preview
Don't miss anything!
































Consider a model of two-dimensional dynamical system that obeys the following ordinary differential equations (ODEs):
It is an autonomous system as it does not explicitly involve the independent variable t. If such a system involves a nonlinear term such as x^2 (t), x(t)y(t), sinx(t), exp(ay) etc., then the system is said to be nonlinear one. Recall the chain rule for differentials: (dy/dx)(dx/dt) is equal to dy/dt. It means that
We use x as a angular displacement, v(t) as its time rate of change,
and a(t) as the second derivative of x(t).
A a mass m is attached to a rigid rod and the mass is at distance L from the frictionless pivot. The system moves in a plane. The motion of is governed by the equation for torque: - I a(t)
dt
2 2 x x
where, (t), is the torque around the pivot point;
I is the moment of inertia about the pivot point, and
a(t) is the angular acceleration.
We use x as a angular displacement; v (t) as its time rate of
change, and a(t) as the second derivative of x(t).
Then torque is mgLsinx with I = mL^2.
The model equation is then
2 2 sin^0 ;^2 /^1.^0
2 g L dt
d
Major features of the mathematical model:
( 0 ) 0 , '( 0 ) 0 '.
Here Dependent and independent variable are y and t;
Order: 2; Linearity: It is a nonlinear equation as it has no product terms. Homogeneity: It is homogeneous equation with no force term Conditions: Initial conditions are given. Coefficients: There are constant coefficients. Model Equation Type: It is a single ordinary differential eq. based model.
θ
m
L
Solution: STEP 1: Use Newton's Second Law to find the equation of motion, or model the abstract form of the system: a = F(t, x, v), STEP 2: Choose the initial conditions, x 0 & v 0 ; choose maximum time scale for simulation ( tmax ). STEP 3: Decide on the step size h. STEP 4: Begin a loop. Execute the loop while the time is less than tmax. STEP 5: Plot (t, x) or make a portrait by plotting (x, v). STEP 6: Calculate k 1 , k 2 , k 3 , and k 4 from the Runge-Kutta formulas, and use them to update x: x (^) i 1 xi x
STEP 7: Update v with the Runge-Kutta formulas: v^ i^ ^1 vi v STEP 8: Increment the time: t = t + h. STEP 9: End of STEP4 and then Stop.
Outline a simulation algorithm for the equation of a pendulum in an undamped system. The initial conditions are given for the position and velocity.
Algorithm for Motion of a Simple Pendulum
mass = 1 and L = 9.8, x(0) = 10 and v(0) = 0.
-4 0 50 100 150 200 250 300
0
1
2
3
4
angular displacement,
time, t
undamped motion of pendulum
initial conditions : and ' = 0.
XY Graph
sin TrigonometricFunction simout To Workspace
simout To Workspace (^1) s Integrator
(^1) s Integrator
- Gain
-4 0 50 100 150 200 250 300
0
1
2
3
4
angular velocity, d
dt
time, t
undamped motion of pendulum
initial conditions : and ' = 0.
2 sin^0 ;^2 /^1.^0
2 ddtx x as g L
mass = 1 and L = 9.8,
2 sin^0 ;^2 /^1.^0
2 ddtx x as g L
XY Graph
sin TrigonometricFunction simout To Workspace
simout To Workspace (^1) s Integrator
(^1) s Integrator
- Gain
-3-6 -5 -4 -3 -2 -1 0 1 2 3 4 5 6
0
1
2
3
d
/dt
time, t
Phase portrait for given initial conditions:
x(0) = -1.5 and dx/dt(0) = 0.
mass = 1 and L = 9.8,
XY Graph
sin TrigonometricFunction simout To Workspace
simout To Workspace (^1) s Integrator
(^1) s Integrator
- Gain
-6 -5 -4 -3 -2 -1 0 1 2 3 4 5 6
0
1
2
d
/dt
time, t
Phase portrait for given initial conditions:
x(0) = -3.0 and dx/dt(0) = 0.
2 sin^0 ;^2 /^1.^0
2 ddtx x as g L
Phase Space: a Simple Pendulum
Mathematical meteorologist E. N. Lorentz came across three-dimensional nonlinear system which showed exotic behaviors. The model equations are
( x ( t ) y ( t )), dt
dx (^)
x(t)z(t) rx(t) y(t), dt
dy (^)
Where , , r & b are constants. These equations are found in number of processes including motion of water wheel, lasers, dynamos and simple convection part of models for atmosphere.
Lorentz simulated three-dimensional trajectories for above system and found that trajectory is a set of complicated shape and its not fixed points or limit cycles.