Crank-Nicolson time scheme


  • Second order
  • Transient
  • Bounded
  • When using uniform time steps the scheme equates to:

    \[ \ddt{\phi} = \frac{\phi - \oldold{\phi}}{2 \Delta t} \]


The scheme is specified using:

    default         CrankNicolson <coeff>
    ddt(phi)        CrankNicolson <coeff>;

The coefficient provides a blending between Euler and Crank-Nicolson schemes:

  • 0: Euler
  • 1: Crank-Nicolson
  • A value of 0.9 is a good compromise between accuracy and robustness

Further information

Source code


  • Crank and Nicolson [11]

Would you like to suggest an improvement to this page? Create an issue

Copyright © 2016 OpenCFD Ltd.

Licensed under the Creative Commons License BY-NC-ND Creative Commons License