where ![]() ![]() ![]()
and the forcing can be some arbitrary function of state, time and space.
The term,
The continuity equation can be recovered by setting
The driver routine that calls the routines to calculate tendencies are S/R CALC_GT and S/R CALC_GS for temperature and salt (moisture), respectively. These in turn call a generic advection diffusion routine S/R GAD_CALC_RHS that is called with the flow field and relevant tracer as arguments and returns the collective tendency due to advection and diffusion. Forcing is add subsequently in S/R CALC_GT or S/R CALC_GS to the same tendency array.
The space and time discretization are treated separately (method of
lines). Tendencies are calculated at time levels
where ![]() ![]() ![]() ![]()
The tracers are stepped forward in time using the extrapolated tendency:
Strictly speaking the ABII scheme should be applied only to the advection terms. However, this scheme is only used in conjunction with the standard second, third and fourth order advection schemes. Selection of any other advection scheme disables Adams-Bashforth for tracers so that explicit diffusion and forcing use the forward method.
![]() ![]() ![]() ![]() Next: 2.16 Linear advection schemes Up: 2.15 Tracer equations Previous: 2.15 Tracer equations Contents mitgcm-support@dev.mitgcm.org |
|
|
|
|
![]() |
![]() |
![]() |