Time Discretization
This section describes the various approaches used to discretize the governing equation in the temporal domain such as two step, multistep and multistage methods.
In order to determine a numerical solution of the governing differential equations the temporal domain must also be discretised apart from the spatial domain. The direction of influence of the time coordinate is only in the future. Therefore, all the solution methods for time dependent problems advance in time from a given initial data.
A vast majority of the methods used for temporal discretization are linear in nature. The time dependent variable is updated using a linear combination of the variable and its time derivatives. Linear approaches can be broadly categorized based on the number of steps, stages and derivatives used in the discretization.
Some of the widely used time discretization approaches are described below.
Generalized Two Step Methods
Two step methods involve function values at two instances in time, generally considering the current time step at which the solution is known and the next time step at which the solution has to be computed.
Consider a first-order ordinary differential equation for a dependent variable expressed as:
with an initial condition .
A generalized scheme using a weighted average value for the approximation of the variable value at the n+1th time step is expressed as:
where represents the function value at the nth time step and represents the weight.
The nature and stability of the temporal discretization scheme depends on the choice of the weight and represent the forward Euler, Crank-Nicholson and the backward Euler schemes, respectively.
Multistep Methods
Multistep methods involve function values at more than two instances of time. These methods are generally derived by fitting a polynomial to the temporal derivative of the dependent variable, that is, .
These methods include the Adams-Bashforth and Adams-Moutlton methods. The order of the method depends on the number of points in time at which the polynomial fitting it used. A third-order accurate Adams-Moulton method is expressed as:
These methods require initial data at many steps, hence they are not self starting.
Multistage Methods
Multistage methods involve computation of the function values multiple times at the same time step. They generally involve predictor and corrector steps to compute the values at the n+1th time step.
Numerical solution schemes are often referred to as being explicit or implicit. When a direct computation of the dependent variables can be made in terms of known quantities the computation is said to be explicit. When the dependent variables are defined by coupled set of equations, and either a matrix or iterative technique is needed to obtain the solution, the numerical method is said to be implicit.
Explicit methods are easy to program but are conditionally stable whereas implicit methods offer better stability but are computationally expensive. Predictor-Corrector methods offer a compromise between these choices. A variety of methods exist based on the choice of base method and the time instants used in the predictor and corrector steps.
- Explicit Euler Predictor:
- Implicit Euler Corrector:
- Mid-point rule Predictor:
- Simpsons rule Corrector:
Generalized- Method
The generalized method is an implicit method of time integration which achieves high frequency numerical dissipation while at the same time minimizing unwanted low frequency dissipation and offers unconditional stability for linear problems. It is a variant of the generalized two step theta scheme discussed above where the first temporal derivatives are evaluated as variables.
For a linear system defined by:
where is the time step size and are free parameters.
The above four equations combine to yield the following system:
where the solution vector at is defined as .