heat_2d
Location: http://people.sc.fsu.edu/~jburkardt/classes/math1091_2020/heat_2d/heat_2d.html
heat_2d,
considers the solution of the time dependent heat equation
in 2 spatial dimensions.
The notes:
Useful code:
-
cnsew.m,
returns the variable indices of the C, N, S, E, W nodes
in a grid.
Exercises: Look at these after you have tried to do the
work on your own.
-
exercise1.m,
solve the steady heat equation in the square, with
a nonzero source term.
-
exercise2.m,
"solves" a time dependent equation in the square,
but really simply copies the exact solution each time.
-
exercise3.m,
uses the forward Euler "engine".
-
exercise4.m,
uses the backward Euler "engine".
-
exercise5.m,
uses the Crank Nicolson "engine".
Homework: My version posted after you have turned yours in.
-
hw5.m,
uses the theta-method engine.
Images:
Last revised on 2 May 2020.