R2BackwardEulerTimeIntegration#

Source: models/common/BackwardEulerTimeIntegration.py

Define the backward Euler time integration residual \(r = s - s_n - (t - t_n) \dot{s}\), where \(s\) is the variable being integrated, \(\dot{s}\) is the variable rate, and \(t\) is time. Subscripts \(n\) denote quantities from the previous time step.

Inputs#

variableinput · R2 · required

Variable being integrated

timeinput · Scalar · default t

Time

Outputs#

variable_residualoutput · R2 · default variable_residual

Optional name for the derived output (defaults to ‘variable_residual’, i.e. the ‘variable’ variable name with the ‘_residual’ suffix).

Other options#

ratestr

Override name for the variable rate.