Go to the first, previous, next, last section, table of contents.
- gnuplot_heat(dt,step)
-
:: 熱伝導方程式を数値的に解く.
- return
-
なし
- dt
-
浮動小数点数
- step
-
整数
- 熱伝導方程式
du/dt = d^2 u/dx^2, u(t,0) = u(t,1) = 0
を初期条件
u(0,x) = x (0 <= x <= 0.5), u(0,x) = 1-x ( 0.5 <= x <= 1.0)
で解く.
- Heat_N は空間方向でのメッシュの数.
- この関数は将来
pde_heat_demo
と呼ばれる予定.
[232] Heat_N = 20$
[233] gnuplot_heat(0.001,30)$
Go to the first, previous, next, last section, table of contents.