Overview
Thetimesteppers module provides implicit-explicit (IMEX) time integration schemes for solving initial value problems. These schemes treat stiff linear terms implicitly and nonlinear terms explicitly.
IMEX Multistep Methods
Multistep schemes use multiple previous timesteps to achieve higher order accuracy.SBDF1
- Order: 1
- Implicit: 1st-order BDF (backward Euler)
- Explicit: 1st-order extrapolation (forward Euler)
- Steps: 1
Example
SBDF2
- Order: 2
- Implicit: 2nd-order BDF
- Explicit: 2nd-order extrapolation
- Steps: 2
- Startup: Uses SBDF1 for first step
Example
SBDF3
- Order: 3
- Implicit: 3rd-order BDF
- Explicit: 3rd-order extrapolation
- Steps: 3
- Startup: Uses SBDF2, then SBDF1
SBDF4
- Order: 4
- Implicit: 4th-order BDF
- Explicit: 4th-order extrapolation
- Steps: 4
- Startup: Uses SBDF3, SBDF2, SBDF1
Example
CNAB1
- Order: 1
- Implicit: 2nd-order Crank-Nicolson
- Explicit: 1st-order Adams-Bashforth (forward Euler)
- Steps: 1
CNAB2
- Order: 2
- Implicit: 2nd-order Crank-Nicolson
- Explicit: 2nd-order Adams-Bashforth
- Steps: 2
- Startup: Uses CNAB1
Example
MCNAB2
- Order: 2
- Implicit: 2nd-order modified Crank-Nicolson
- Explicit: 2nd-order Adams-Bashforth
- Steps: 2
CNLF2
- Order: 2
- Implicit: Wide Crank-Nicolson
- Explicit: 2nd-order leap-frog
- Steps: 2
IMEX Runge-Kutta Methods
Runge-Kutta schemes achieve high-order accuracy with intermediate stages within each timestep.RK111
- Order: 1
- Stages: 1
- Type: DIRK (Diagonally Implicit) + ERK (Explicit)
RK222
- Order: 2
- Stages: 2
- Type: L-stable DIRK + ERK
Example
RK443
- Order: 3
- Stages: 4
- Type: L-stable DIRK + ERK
Example
RKSMR
- Order: ~3
- Stages: 3
- Note: Optimized for DNS of turbulence
Example
RKGFY
- Order: 2
- Stages: 2
Usage Examples
Basic Timestepping
Variable Timesteps
Comparison of Schemes
Timestepper Selection Guide
For Stiff Problems
- SBDF2, SBDF3, SBDF4: BDF schemes have excellent stability
- RK222, RK443: Good L-stability properties
For Smooth Problems
- CNAB2: Efficient for moderately stiff problems
- RK443: Good accuracy with moderate stiffness
For Turbulence/DNS
- RKSMR: Optimized for turbulent flows
- RK443: Good high-order alternative
Computational Cost
Multistep (SBDF, CNAB):- Lower cost per timestep
- Require storing previous steps
- Startup overhead with lower-order schemes
- Higher cost per timestep (multiple stages)
- Self-starting
- Better for variable timesteps
See Also
- Solvers - Solver classes
- Problems - Problem definitions
- Quickstart - Initial value problem tutorial