Numerical simulations blog by Slawomir Polanski

1D Laplace equation - Analytical solution

The Laplace equation is one of the simplest partial differential equations and I believe it will be reasonable choice when trying to explain what is happening behind the simulation’s scene. Despite it’s simplicity, the equation can be used to understand various engineering and scientific problems, for instance:

In this article, I will solve one-dimensional steady-state heat conduction problem analytically. The equation will take form of Ordinary Differential Equation, but it is good introduction before moving on to bigger things. In the next post I am will try to present how to obtain the same results numerically.

Analytical solution

In one dimensional space, the equation can be written as:

In order to solve it, both left and right side has to be integrated.

MathJax TeX Test Page

In case of heat equation, it is better to write the function $f(x)$ as $T(x)$ as it logically corresponds to the temperature distribution. Also, to understand the heat conduction better, let’s refer to this super-scientific sketch below. Our aim is to find out how the temperature is going to change in the wall.

Example

Assuming that $x=0$ for the outside surface of the wall and $x=1$ for inner side:

Using the obtained function $T(x)$, we can plot following graph.

Temperature distribution

Summary

OK, I admit…The solution isn’t spectacular and it was easy to guess the temperature distribution without solving all these integrals and differential equations… Still, I believe it is a good point to start learning the background of numerical simulations. I will post soon how to solve the equation using Euler method.

SP