CrankNicolson

Crank-Nicolson time integrator.

The Crank Nicolson time integration scheme is a second-order implicit method. It is unconditionally stable.

Description

With UU, the vector of nonlinear variables, and AA, a nonlinear operator, we write the PDE of interest as:

Ut=A(t,U(t))\dfrac{\partial U}{\partial t} = A(t, U(t))

Using t+Δtt+\Delta t for the current time step, and tt for the previous step, the Crank Nicolson time integration scheme can be written:

U(t+Δt)=U(t)+Δt12(A(t,U(t))+A(t+Δt,U(t+Δt)))U(t+\Delta t) = U(t) + \Delta t \dfrac{1}{2} \left( A(t, U(t)) + A(t+\Delta t, U(t+\Delta t)) \right)

This method can be expressed as a Runge-Kutta method with the following Butcher Tableau:

00011/21/21/21/2\begin{array}{c|cc} 0 & 0 & 0 \\ 1 & 1/2 & 1/2 \\ \hline & 1/2 & 1/2 \end{array}

Input Parameters

  • variablesA subset of the variables that this time integrator should be applied to

    C++ Type:std::vector<VariableName>

    Unit:(no unit assumed)

    Controllable:No

    Description:A subset of the variables that this time integrator should be applied to

Optional Parameters

  • control_tagsAdds user-defined labels for accessing object parameters via control logic.

    C++ Type:std::vector<std::string>

    Unit:(no unit assumed)

    Controllable:No

    Description:Adds user-defined labels for accessing object parameters via control logic.

  • enableTrueSet the enabled status of the MooseObject.

    Default:True

    C++ Type:bool

    Unit:(no unit assumed)

    Controllable:No

    Description:Set the enabled status of the MooseObject.

Advanced Parameters