Numerical stabilization

This page is part of a set of pages devoted to discussions of numerical stabilization in PorousFlow. See:

Numerical stabilization is often necessary in PorousFlow simulations. There are a number of issues to consider when choosing an appropriate stabilization scheme.

  • Expense of computing the residual and Jacobian. Naively this dictates how fast MOOSE will run. However, a cheap stabilization sometimes produces very poor nonlinear convergence, so a huge number of nonlinear iterations are required, offsetting the apparent cheapness.

  • Smoothness. Some schemes are "smoother" than others, meaning they converge at the same rate irrespective of the values of the Variables. On the other hand, some schemes are not smooth. For instance, the full upwinding often has trouble converging when the system is close to steady state, because the scheme finds it difficult to know which nodes are "upstream" and which are "downstream" and keeps swapping nodes in and out of each category. Hence, non-smooth schemes may converge very nicely for some simulations, but very poorly in others.

  • Overshoots. Advection often produces spurious overshoots and undershoots, and boundary terms and Dirac sources often attempt to withdraw fluid from regions where there is none. Both of these lead to physically-incorrect predictions and nonlinear convergence problems.

  • Numerical diffusion. Stabilization schemes often add numerical diffusion in order to eliminate the overshoots. This means that precise tracking of tracers or temperature fronts is not possible.

At present, PorousFlow offers two types of numerical stabilization: full upwinding and Kuzmin-Turek stabilization. Both employ mass lumping. The pros and cons of the types of stabilization are shown below

Table 1: Pros and Cons of the stabilization schemes

No stabilizationFull upwindingKT stabilization

The Kuzmin-Turek stabilization is new and users are strongly encouraged to experiment with it and report their findings to the moose-users google group to iron out any problems and so we can collectively gain experience.