Escolar Documentos
Profissional Documentos
Cultura Documentos
on de difusi
on del calor
Metodos Numericos
CIV-317
Difusion de Calor en 1D+1
Con Diferencias Finitas y Elementos Finitos.
Joaqun Mura
1 Ingenier
a
(x)
= S(x, t)
en (0, L) (0, T ),
t
x
x
u(0, t) = v0 (t)
en {0} (0, T ),
(1)
en {L} (0, T ),
(L, t) = vL (t)
u(x, 0) = u0 (x)
en (0, L) {0}
donde:
u(x, t) representa la distribucion de temperatura a lo largo de una barra que
ocupa el dominio (0, L) para todo tiempo 0 < t < T , con T > 0 fijo.
Puede haber una fuente de calor interna S.
En el lado izquierdo imponemos una temperatura v0 y en el derecho un flujo
q = ku/x = vL para todo instante.
Finalmente, una distribucion inicial de temperatura u0 .
J. Mura (Ing. Civil PUCV)
CIV317
02/2013
2 / 14
u(xi , t) ui (t),
podemos escribir la ecuacion diferencial directamente (supongamos constante):
dui
(t) 2 (ui1 (t) 2ui (t) + ui+1 (t)) =Si (t), t (0, T ), i = 1, . . . , n
dt
h
CIV317
02/2013
4 / 14
Semi-discretizaci
on
Discretizaci
on en tiempo
duh
+ Auh =S
en (0, T ),
dt
uh (0) =u0
(2)
CIV317
02/2013
5 / 14
un+1
unh
h
+ A un+1
+ (1 )unh =S n+1 + (1 )S n
h
t
u0h =u0
para n 0,
Es decir,
si u0h = u0 , resolvemos para n 0 el sistema
un+1
= (I + tA)1 (I (1 )tA) unh + S n+1 + (1 )S n
h
CIV317
Discretizaci
on en tiempo
Ejemplo
02/2013
6 / 14
02/2013
8 / 14
Estabilidad de la solucion:
Izq: (I tA) = 0.9898, Der: (I tA) = 1.1888.
1 2
h
2
[Ejecutar Heat-DF.m]
CIV317
02/2013
7 / 14
CIV317
Sv dx + vL (t)v(L, t)
x x
0
0
0 t
(3)
u(x, t)
N
X
ui (t)i (x)
i=0
N
X
i=0
" Z
!
i j dx
dui
+
dt
Z
0
! #
di dj
dx ui =
dx dx
Sj dx + vL (t)N j
0
para todo j = 0, . . . , N .
J. Mura (Ing. Civil PUCV)
CIV317
02/2013
10 / 14
Semi-discretizaci
on
Discretizaci
on en tiempo
dx dx
0
0
un+1 un
+ K(un+1 + (1 )un ) = bn+1 + (1 )bn
t
Es decir,
Si u0 = u0 , para n 0 resolvemos
un+1 = (M + tK)1 (M (1 )tK)un + tbn+1 + t(1 )bn
en (0, T )
(4)
t <
2
(1 2)i
Observaci
on: El modelo (4) es equivalente a (2) si A = M 1 K y S = M 1 b.
1
e incondicionalmente estable si 1/2 1, siendo {i }N
K.
i=0 los v.p. de M
CIV317
02/2013
11 / 14
CIV317
02/2013
12 / 14
Implementaci
on de condiciones Dirichlet
Comentarios finales
..
.
.
. .. ..
n+1
u
= 0
1
i
..
.. ..
.
.
.
0
vi (tn ) + 0
..
..
..
.
.
.
..
..
. .
.
un + vi (tn )
0
i
..
..
..
.
.
.
..
o bien,
t u + f (u) = S.
..
.
..
n+1 .
u
= 0
i
..
..
.
.
J. Mura (Ing. Civil PUCV)
..
.
0
..
.
..
CIV317
02/2013
13 / 14
CIV317
02/2013
14 / 14