3.18 Second order time schemes
A Taylor’s series expansion between the current time and ‘old’ time at relates to the Euler implicit scheme by
|
(3.25) |
Nevertheless, a second order time scheme may be required for simulations that demand higher temporal accuracy or to enable greater computational efficiency by running with larger .
Backward scheme
In Eq. (3.25 ) we can replace by the values at ‘old-old’ time . Subtracting the expression from Eq. (3.25 ) and rearranging terms gives the following relation for the second derivative
|
(3.26) |
|
(3.27) |
Crank-Nicolson scheme
An implicit solution expresses the terms in an equation, e.g. advection, Laplacian, at the current time. The Crank-Nicolson method,13 expresses the terms at the midpoint between the current and old times, to make the Euler time scheme second order accurate. Denoting discretised terms except the time derivative by , the Crank-Nicolson method solves
|
(3.28) |
A modern version of the scheme replaces the two factors by and , introducing the ‘offset coefficient’ , where corresponds to Euler implicit and is Crank-Nicolson Eq. (3.28 ). If is discretised implicitly (as normal), the Crank-Nicolson scheme can be represented as a time derivative discretised by
|
(3.29) |