Differenze Finite
Differenze Finite
Phenomena Modeled
Ordinary differential equation: equation containing derivatives of a
function of one variable
Partial differential equation: equation containing derivatives of a
function of two or more variables
Models:
Air flow over an aircraft wing
Blood circulation in human body
Water circulation in an ocean
Bridge deformations as its carries traffic
Evolution of a thunderstorm
Oscillations of a skyscraper hit by earthquake
Strength of a toy
Financial Markets
Model of Sea Surface Temperature
in Atlantic Ocean
explicitly
Matrix-free algorithms represent matrix values
(wave equations)
Difference Quotients
f (x+ h /2 )
f '(x)
f (x-h /2 )
x-h x-h /2 x x+ h /2 x+ h
Formulas for 1st, 2d Derivatives
f ( x h / 2) f ( x h / 2)
f ' ( x)
h
f ( x h) 2 f ( x ) f ( x h)
f ' ' ( x) 2
h
Vibrating String Problem
1.5
t=0 .0 an d 1 .0
1
t=0 .1 an d 0 .9
0.5
t=0 .2 an d 0 .8
0
t = 0 .3 an d 0 .7
-0.5
t=0 .4 an d 0 .6
-1
t=0 .5
-1.5
hx hx
2(Tm 1,n Tm,n 1 ) (Tm1,n Tm,n 1 ) 2 T 2(3 )Tm,n 0
k k
Case 3
Node at a plane surface with convection
h x h x
(2Tm 1,n Tm ,n 1 Tm ,n 1 ) 2 T 2( 2)Tm ,n 0
k k
Case 4
Node at an external corner with convection
hx hx
(Tm ,n 1 Tm 1,n ) 2 T 2( 1)Tm ,n 0
k k
Case 5
Node at a plane surface with uniform heat flux
2q ' ' x
(2Tm 1,n Tm ,n 1 Tm ,n 1 ) 4Tm ,n 0
k