Professional Documents
Culture Documents
Metodos Numericos
CIV-317
x (a, b),
u(a) = ,
u(b) = .
Joaqun Mura
1 Ingenier
a
Notas:
Cuando la condicion en el borde asigna directamente un valor en la
variable, por ejemplo u(a) = , esta se le dice Condicion de Dirichlet
(o esencial).
En cambio, si la condicion corresponde es en la derivada de la
variable, se le llama Condicion de Newmann (o natural), ej. u0 (a) = .
Una combinacion de las anteriores, es decir, u0 (a) + u(a) = se le
dice Condicion de Robin.
CIV317
02/2013
2 / 10
j = 1, . . . , N
1
(uj+1 2uj + uj1 ) = fj ,
h2
u0 = ,
1
[u2 2u1 + u0 ] = f1 ,
h2
es decir,
j = 1, . . . , N 1,
u2 + 2u1 = h2 f1 + /h2 .
uN +1 = .
Donde uj u(xj ).
J. Mura (Ing. Civil PUCV)
CIV317
02/2013
3 / 10
CIV317
02/2013
4 / 10
Para j = N :
Finalmente, el sistema lineal a resolver es
u1
2 1
0
0
1
u2
2
1
..
..
..
..
.
.
.
.
..
..
..
..
..
.
.
.
.
.
1
2 1 uN 1
uN
0
1
2
1
2 [uN 2uN + uN 1 ] = fN ,
h
es decir,
2uN uN 1
= h2 fN + /h2 .
CIV317
02/2013
5 / 10
2
=h
f (x1 ) + /h2
f (x2 )
..
.
..
.
f (xN 1 )
f (xN ) + /h2
CIV317
02/2013
6 / 10
0
1
2
1
0
1
2 1
.
..
..
.
.
.
.
..
.
.
..
.. ...
.
1
2 1
1
2 1
0
0
1
u0
u1
u2
..
.
..
.
uN 1
uN
uN +1
h2 f (x1 )
h2 f (x2 )
..
.
=
..
2 .
h f (xN 1 )
h2 f (xN )
CIV317
p 1
0
1
2 1
0
1
2
1
..
..
..
.
.
.
..
..
..
..
.
.
.
.
1
2 1
1
2 1
0
0
1
p
u0
u1
u2
..
.
..
.
uN 1
uN
uN +1
p
2
h f (x1 )
h2 f (x1 )
..
.
..
.
2
h f (xN 1 )
h2 f (xN )
p
7 / 10
CIV317
02/2013
8 / 10
x (a, b)
u (b) =
1
(uj+1 2uj + uj+1 )+ (uj+1 uj1 )+uj = f (xj ),
2
h
2h
j = 1, . . . , N.
1
(u(xN +1 ) u(xN ))
h
CIV317
1
(uN +1 uN ) = .
h
02/2013
9 / 10
0
a
b c
0
a
b
c
..
.. ..
..
.
.
.
.
a
b c
0
0
1
1
con a = 1
h
2
, b = 2 + h2 y c = 1 +
CIV317
h
2
u0
u1
..
.
..
.
uN
uN +1
h2 f (x1 )
..
.
..
.
2
h f (xN )
h
02/2013
10 / 10