Elliptic
You have one of these when the answer is a value at every point in a region, and nothing travels.
Elliptic, not averaging. The answer is a value at every point. An average is one number over what you cannot list, and it comes with an error bar.
What you are modelling
A settled state. The system has had time to reach equilibrium, so there is no rate of change left in the model. What remains is a balance that has to hold at every point, with conditions given on the edge.
The model you write down
with given on part of the boundary and its derivative given on the rest. The simplest case is Laplace's equation, with : no source, and a value on every edge.
What it becomes on a computer
Worked number. For on with at both ends, , whose maximum is at .
A mesh, one unknown at each node, and a large sparse linear system
The matrix is symmetric and positive definite in the simple case, which is a strong statement: it has a fast, reliable iterative method, and the answer is unique.
The cost is in solving that system. A direct solve is fine in two dimensions and becomes a memory problem in three. An iterative method is cheap per step and needs to move information across the whole mesh.
The system is the problem. The figure solves a one-dimensional version by conjugate gradients. The field moves toward the exact curve, and the residual below it falls to the floor in at most one iteration per cell.
The signature
There is no speed of propagation, because there is no propagation. A change in one boundary value changes the solution everywhere immediately. A smoother is one sweep of Jacobi or Gauss–Seidel; multigrid uses a coarse mesh for the part of the error a sweep cannot see. A method that moves information one cell per step needs a number of steps that grows with the width of the mesh. Jacobi and Gauss–Seidel need of order the width squared. A Krylov method such as conjugate gradients, which the figure uses, does better — of order the width — but still grows. Multigrid is the one whose count does not grow with the mesh at all.
Two consequences follow:
- Multigrid is not an optimisation of another method; it is what the class makes available. It moves the smooth part of the error on a coarse mesh, where it is not smooth at all.
- The solution is smooth even when the data is not. A point load gives a continuous answer, and its derivative is the thing that has a corner.
Flags that matter here
- A coefficient that varies. Layers and jumps in make a simple iterative method fail; algebraic multigrid is built for this.
- A non-linear coefficient. Then each outer step is an elliptic solve, and the loop is a root problem.
- Any coupling to a constraint. If a rule is enforced by a second unknown, the problem is a saddle point, and the positive-definite guarantee is gone.
Techniques
Every method named here is in Methods, A to Z, with its price and what it will not do.
Start from the model you have. Each row is a property of the model in front of you, the methods that fit it, and what the fit costs. The method-keyed table below is the same list sorted by name.
| what your model is | the methods that fit | the price |
|---|---|---|
| a constant coefficient, and a small mesh | Sparse direct (Cholesky, LU) | cubic in the unknowns |
| a constant coefficient, and a large mesh | Conjugate gradients, multigrid, algebraic multigrid | the iteration count depends on the mesh |
| a coefficient that varies or jumps | Preconditioners (ILU, AMG, Jacobi), domain decomposition | the preconditioner decides the rate |
| a non-symmetric term | GMRES, BiCGSTAB | no short recurrence, so storage grows |
| a simple operator on a rectangle | Fast Fourier transform, Jacobi, Gauss–Seidel, SOR | the geometry has to be simple |
| a boundary value on a large domain | Boundary element | a dense system in the boundary unknowns |
| technique | what it does | when it wins | when it is the wrong tool |
|---|---|---|---|
| Sparse direct (Cholesky, LU) | Factorises the matrix once | Two dimensions; many right-hand sides | Three dimensions: the factors fill in |
| Conjugate gradients | Minimises the energy over a Krylov subspace | Symmetric positive definite | Any coupling or convection makes it fail |
| GMRES, BiCGSTAB | Krylov methods for general matrices | Not symmetric; a constraint is present | A symmetric problem, where CG is cheaper |
| Jacobi, Gauss–Seidel, SOR | Simple sweeps over the mesh | As a smoother inside multigrid | Alone: the step count grows with the mesh |
| Multigrid, algebraic multigrid | Solves on several meshes at once | Large, smooth, elliptic problems | Non-elliptic problems; jumping coefficients without AMG |
| Preconditioners (ILU, AMG, Jacobi) | Makes the system easier for a Krylov method | Almost always, in practice | You have not measured the iteration count |
| Domain decomposition | Splits the region into pieces | Very large problems on many cores | The interface problem is not solved well |
| Fast Fourier transform | Diagonalises a constant-coefficient operator | Periodic, constant coefficients | Varying coefficients or complex boundaries |
| Boundary element | Solves on the boundary only | Linear, homogeneous, unbounded regions | Varying coefficients inside the region |
Systems that live here
- Steady heat conduction in a casting, before it is pulled.
- Electrostatics and magnetostatics.
- Potential flow around a body.
- Linear elasticity: the stress in a loaded bracket.
- Groundwater flow through soil.
- The pressure equation inside an incompressible flow solver, which is how a saddle point constraint is paid.
- The elliptic coordinate conditions in numerical relativity — the lapse equation among them.
What goes wrong
| symptom | cause | fix |
|---|---|---|
| The iteration count grows as the mesh is refined | No preconditioner, or a smoother used alone | Multigrid, or AMG |
| It ran all night and moved nowhere | The method moves information one cell per step | A method that sees the whole region at once |
| Conjugate gradients stalls or returns nonsense | The matrix is not symmetric positive definite | Check symmetry; use GMRES or MINRES |
| The answer looks right but the flux is wrong | The boundary condition is on the wrong quantity | Check whether the value or its derivative was given |
| Refining the mesh changes the answer a lot | A point load or a re-entrant corner | Graded mesh, or a formulation that expects it |
| Two different solvers agree but the numbers differ | The system is ill-conditioned | Scale the unknowns; check the residual, not the answer |
Used in this collection
No page in this collection names this class yet.
Read next
- Where the matrix comes from — the working under this class: the weak form, the element, and the assembled matrix.
- Saddle point — what an elliptic problem becomes when a constraint is added.
- Parabolic — the same operator, with time put back in.
- Reading the class off the equation — the one number that says an equation like this one is elliptic.
- The class is a choice — the relativity conditions in a formulation that can be evolved, and the one sign that decides it.
- When it goes wrong — the symptom table for every class.
Back to the map: the nine kinds puts this class among the other eight.