.. _sphx_glr_api_gallery_pde_heat:
The heat equation
-----------------
Fourier's series solution, the theta-method family (FTCS, Crank-Nicolson,
backward Euler), and the method of lines on a 2D plate.
.. raw:: html
.. thumbnail-parent-div-open
.. raw:: html
.. only:: html
.. image:: /api/gallery/pde/heat/images/thumb/sphx_glr_plot_01_fourier_heat_series_thumb.png
:alt:
:doc:`/api/gallery/pde/heat/plot_01_fourier_heat_series`
.. raw:: html
Fourier's heat equation: a sine series whose modes decay
.. raw:: html
.. only:: html
.. image:: /api/gallery/pde/heat/images/thumb/sphx_glr_plot_02_crank_nicolson_thumb.png
:alt:
:doc:`/api/gallery/pde/heat/plot_02_crank_nicolson`
.. raw:: html
Crank-Nicolson: large, stable, second-order heat steps
.. raw:: html
.. only:: html
.. image:: /api/gallery/pde/heat/images/thumb/sphx_glr_plot_03_method_of_lines_2d_heat_thumb.png
:alt:
:doc:`/api/gallery/pde/heat/plot_03_method_of_lines_2d_heat`
.. raw:: html
The method of lines: a hot plate as a system of ODEs
.. thumbnail-parent-div-close
.. raw:: html
.. toctree::
:hidden:
/api/gallery/pde/heat/plot_01_fourier_heat_series
/api/gallery/pde/heat/plot_02_crank_nicolson
/api/gallery/pde/heat/plot_03_method_of_lines_2d_heat