OOF2: The Manual

Name

Backward Euler (BackwardEuler) — Fully implicit first order time stepping.

Synopsis

BackwardEuler()

Details

Description

The Backward Euler method is a method of numerically integrating ordinary differential equations. Like the ForwardEuler method, it is first order in time, meaning that it makes an error of order \( (\Delta t)^2 \)
  on each step. It is more stable than the Forward Euler method, especially for diffusion equations, but requires more effort to compute. It is less accurate than CrankNicolson, but in some cases less prone to oscillations.

Given a vector \(\phi_n\) of unknowns (i.e. Field values in OOF2) at time \(t_n\), and the first order differential equation


      \[ \frac{d\phi}{dt} = f(\phi, t) \]
    (6.126)

the Backward Euler solution is given by solving

 
      \[ \phi_{n+1} = \phi_n + \Delta t f(\phi_{n+1}, t_{n+1}) \]
    (6.127)

for \(\phi_{n+1}\), with \( \Delta t = t_{n+1}-t_n
  \). Because \(\phi_{n+1}\) appears on the right hand side, this is an implicit method and is relatively costly to compute, especially when \(f\) is nonlinear.

BackwardEuler can be applied to equations with second order time derivatives via equation (6.141).