OOF2: The Manual
Name
2nd order Runge-Kutta (RK2) — Second order Runge-Kutta time stepping.
Synopsis
RK2()
Description
RK2 is a TimeStepper that implements the second
order Runge-Kutta method for solving ordinary differential
equations. The error on each step is of order
.
RK2 is also referred to as the
midpoint method.
Given a vector
of unknowns
(i.e. Field values in OOF2) at
time
,
and the first order differential equation
the second order Runge-Kutta estimate for
is given by
where
.
RK2 can be applied to second order equations
by using equation (6.141).
Because the method is explicit (
doesn't appear as an
argument to
), equation (6.156) doesn't require a nonlinear
solver even if
is nonlinear.


![\[ \frac{d\phi}{dt} = f(\phi, t) \]](equations/6.5.2-eq-32.gif)


