The simplest cycle: Mathematical model $\to$ Discretization $\to$ Solve
Consider
It takes a lot to create
What if the computer time to compute a forecast for 1 day is more than 1 day?
Many process in physics are modelled as PDEs.
These are all partial differential equations!
PDEs appear in many areas, including
By fast methods we mean improving the asymptotics with respect to the problem size.
Consider solution of linear system with a sparse matrix $A$:
$$Au = b,$$where $A$ is a 5-point Laplacian discretization:
$$\frac{u_{i+1, j} + u_{i-1, j} + u_{i, j-1} + u_{i, j+1} - 4 u_{ij} }{h^2} = f_{ij}.$$What are the complexities (next slide, but let us guess).
Suppose physical setting: we have an ideally conducting surface $\Omega$ (for example, surface of a cube), which is attached to a battery.
The charges can appear only at the surface, i.e.
$$\Delta V(x) = 0, \quad x\not\in \partial \Omega$$but at the surface the potential should be constant:
$$V(x) = V_0, \quad x\in \partial\Omega$$This is a classical example of external problem.
The potential has to be defined in the full $\mathbb{R}^3$ space.
It is quite expensive, boundary conditions on the outer boundary are not straightforward.
The concept of equivalent sources leads to the boundary integral formulation of the problem.
The charges can appear only at the boundary. The charge creates the field $\frac{1}{r}$.
In $\mathbb{R}^3$ function $G(x,y) =\frac{1}{4\pi\|x-y\|}$ is fundamental solution of the operator $\Delta$, since it satisfies
$$\Delta G (x,y) = \delta(x-y),$$where $\delta$ is a delta-function.
We have $$\Delta V(x) = \int_{\partial \Omega} q(y) \Delta_x\left(\frac{1}{\Vert x - y\Vert}\right) dy = 4\pi\int_{\partial \Omega} q(y) \delta (x-y) dy = (\text{why?}) = 0, \quad x\not\in\partial\Omega$$
therefore it is sufficient to find the unknown function $q$ that satisfies the Dirichlet boundary condition
$$\int_{\partial \Omega} \frac{q(y)}{\Vert x - y\Vert} dy = V_0, \quad x \in \partial \Omega$$That is the first kind integral equation with singular kernel.
The main benefit is that the unknown function is defined only on $\partial \Omega$!
However, the operator is "non-local" compared with the PDE formulation.
The underlying equation is the Helmholtz equation
$$\Delta p + k^2 p = f, $$plus boundary conditions (typically, Neumann boundary conditions), and $f$ are sound sources (typically, point sources).
The fundamental solution is
$$G(x,y) = \frac{\exp(i k \Vert x - y \Vert)}{\Vert x - y \Vert}.$$
In [1]:
from IPython.core.display import HTML
def css_styling():
styles = open("./styles/custom.css", "r").read()
return HTML(styles)
css_styling()
Out[1]: