In numerical weather prediction and climate modeling, time stepping refers to the process of advancing the simulation in time. This is typically done by discretizing the time domain into small intervals, or “time steps,” and updating the state of the system at each time step based on the governing equations.
There are several methods for time stepping, each with its own advantages and disadvantages. This section is a reference of the most commonly used algorithms.
Given an equation for the tendency of a random variable
These methods are used to approximate the solution to a differential equation by starting at an initial point and taking a series of small, discrete steps forward in time.
Unlike single-step methods that only use information from the most recent time step, multistep methods increase accuracy by using information from several previous steps to compute the next step.
Multistage methods calculate the solution at the next time step by performing several intermediate calculations, or “stages,” within a single time interval. Instead of using data from previous time steps (like multistep methods), they evaluate the derivative function multiple times between the current and next points to get a more accurate slope estimate.
The core idea is to take a “trial” step, re-evaluate the derivative at this new trial position, and then use this more accurate information to take the final, full step.
2nd-Order RK: Often called the midpoint method, this scheme first takes a half-step to the midpoint of the time interval. It then uses the derivative calculated at that midpoint to compute the full step, which is more accurate than just using the derivative from the start of the interval.
4th-Order RK: This is one of the most widely used numerical methods for solving differential equations. It achieves very high accuracy by cleverly performing four derivative evaluations within each time step: one at the beginning, two at the midpoint, and one at the end of the interval. These are combined in a weighted average to produce a result that is remarkably accurate and robust.