Documentos de Académico
Documentos de Profesional
Documentos de Cultura
Este es un metodo de solución numérica mas importante por su estabilidad incondicional y alto
orden de convergencia.
𝜕𝑇
Este método consiste en combinarlas aproximaciones de con diferencias hacia adelante
𝜕𝑡
apoyándose en la fila “l”, y la aproximación con diferencias hacia atrás apoyándose en la fila “l+1”,
con lo que se obtiene un algoritmo implícito.
𝜕𝑇 𝜕2 𝑇
Al aproximar 𝜕𝑡 en el nodo (i,l) con diferencias hacia adelante y 𝜕𝑥 2
con diferencias centradas.
𝑇𝑖𝑙+1 − 𝑇𝑖𝑙 𝑙
𝑇𝑖−1 − 2𝑇𝑖𝑙 + 𝑇𝑖+1
𝑙
=𝑘 … … … (1)
∆𝑡 ∆𝑥 2
𝜕𝑇
𝜕𝑡
Diferencia hacia atrás
𝜕2 𝑇
𝜕𝑥 2
Diferencia centrales
2𝑇𝑖𝑙+1 − 2𝑇𝑖𝑙 𝑙
𝑇𝑖−1 − 2𝑇𝑖𝑙 + 𝑇𝑖+1
𝑙 𝑙+1
+𝑇𝑖−1 − 2𝑇𝑖𝑙+1 + 𝑇𝑖+1
𝑙+1
= 𝑘[ ]
∆𝑡 ∆𝑥 2
Ordenando enformaadecuada
𝜆 𝑙
𝑇𝑖𝑙+1 − 𝑇𝑖𝑙 = [𝑇𝑖−1 − 2𝑇𝑖𝑙 + 𝑇𝑖+1
𝑙 𝑙+1
+𝑇𝑖−1 − 2𝑇𝑖𝑙+1 + 𝑇𝑖+1
𝑙+1
] … … … . (3)
2
La ecuación (3) es el algoritmo de crank- nicolson de la figura anterior, si aplicamos anterior a los
nodos (1,0), (1,1) es decir i=1, l=0
𝜆
𝑇11 − 𝑇10 = [𝑇00 − 2𝑇10 + 𝑇20 +𝑇01 − 2𝑇11 + 𝑇21 ]
2
𝜆 = 0.020875
En t=0 la temperatura en la barra es cero y las temperaturas en los extremos son T(0)=100°c y
T(10)=50°c
0.020875 0
𝑇11 − 𝑇10 = [𝑇0 − 2𝑇10 + 𝑇20 +𝑇01 − 2𝑇11 + 𝑇21 ]
2
0.020875
𝑇11 − 0 = [100 − 0 + 0 + 100 − 2𝑇11 + 𝑇21 ]
2
𝑇11 2.045
𝑇21 0.021
𝑇31 0.0106
𝑇41 1.0225
Tarea realizarelproceso hasta tres segundo y grafica
Solucion numerica para una EDP hiperbólica con diferencias finitas:
𝜕2𝑢 2
𝜕2𝑢
= 𝑐 … . . (1)
𝜕𝑡 2 𝜕𝑥 2
𝑢𝑡𝑡 = 𝑐 2 𝑢𝑥𝑥
𝑥 𝑥 + ∆𝑥
Considerando
𝜕2𝑢
𝑇2 𝑠𝑒𝑛𝛽 − 𝑇1 𝑠𝑒𝑛𝛼 = 𝜌∆𝑥
𝜕𝑡 2
∆𝑥 𝜕 2 𝑢
𝑡𝑎𝑛𝛽 − 𝑡𝑎𝑛𝛼 = 𝜌
𝑇 𝜕𝑡 2
1 𝜕𝑢 𝜕𝑢 𝜌 𝜕2𝑢
( (𝑥 + ∆𝑥, 𝑡) − (𝑥, 𝑡)) =
∆𝑥 𝜕𝑥 𝜕𝑥 𝑇 𝜕𝑡 2
𝜕2𝑢 2
𝜕2𝑢
∆𝑥 → 0 = 𝑐
𝜕𝑡 2 𝜕𝑥 2
𝜌
𝑐=√
𝑇
Wl problema de cauchy
U(0,x)=f(x)
Uf(0,x)=g(x) velocidad
1 𝑥+𝑐𝑡
𝑢(𝑡, 𝑥) = (1/2)(𝑓(𝑥 − 𝑥𝑡) + 𝑓(𝑥 + 𝑥𝑡)) + ∫ 𝑔(𝑦)𝑑𝑦
2𝑐 𝑥−𝑐𝑡
Aplicaciones
𝜕2𝑢 2
𝜕2𝑢
= 𝑐 … … … … . (∗)
𝜕𝑡 2 𝜕𝑥 2
∆𝑡 2
𝑢𝑖,𝑗−1 − 2𝑢𝑖,𝑗 + 𝑢𝑖,𝑗+1 = 𝑐 2 [𝑢 − 2𝑢𝑖,𝑗 + 𝑢𝑖+1,𝑗 ]
∆𝑥 2 𝑖−1,𝑗
𝜕2 𝑢 𝜕2 𝑢
Ejemplo: = 𝑐2
𝜕𝑡 2 𝜕𝑥 2
𝜕𝑢(𝑥,0)
CI2: = 2𝜋𝑠𝑒𝑛(𝑝𝑖 ∗ 𝑥) 0<𝑥<1
𝜕𝑡
𝑡𝑚𝑎𝑥 1 0.01(1)
Subintevalor: ∆𝑡 = ∆𝑡 = = 0.01 𝜆= = 0.1
100 100 0.1
0. 1.
X 0 0.1 0.2 0.3 0.4 0.6 0.7 0.8 0.9
5 0
CI1 0.3090 0.5877 0.8090 0.9510 0.9510 0.8090 0.5877 0.3090
0 1 0
Sen(pi*x) 176 84 172 74 74 172 84 176
CI2 - - - - --
- 3.6931 5.9756 5.9756 3.6931
2*pi*sen(2 0 3.6932 5.9756 5.9756 3.6931
- 797 840 697 424
pi*x) 171 982 554 050