The Semi-Lagrangian scheme (SLS) is a
numerical method
In numerical analysis, a numerical method is a mathematical tool designed to solve numerical problems. The implementation of a numerical method with an appropriate convergence check in a programming language is called a numerical algorithm.
Mathem ...
that is widely used in
numerical weather prediction
Numerical weather prediction (NWP) uses mathematical models of the atmosphere and oceans to predict the weather based on current weather conditions. Though first attempted in the 1920s, it was not until the advent of computer simulation in th ...
models for the integration of the equations governing atmospheric motion. A
Lagrangian
Lagrangian may refer to:
Mathematics
* Lagrangian function, used to solve constrained minimization problems in optimization theory; see Lagrange multiplier
** Lagrangian relaxation, the method of approximating a difficult constrained problem with ...
description of a system (such as the
atmosphere
An atmosphere () is a layer of gas or layers of gases that envelop a planet, and is held in place by the gravity of the planetary body. A planet retains an atmosphere when the gravity is great and the temperature of the atmosphere is low. ...
) focuses on following individual air parcels along their trajectories as opposed to the
Eulerian description, which considers the rate of change of system variables fixed at a particular point in space. A semi-Lagrangian scheme uses Eulerian framework but the discrete equations come from the Lagrangian perspective.
Some background
The Lagrangian rate of change of a quantity
is given by
where
can be a scalar or vector field and
is the velocity field. The first term on the right-hand side of the above equation is the ''local'' or ''Eulerian'' rate of change of
and the second term is often called the ''advection term''. Note that the Lagrangian rate of change is also known as the
material derivative
In continuum mechanics, the material derivative describes the time rate of change of some physical quantity (like heat or momentum) of a material element that is subjected to a space-and-time-dependent macroscopic velocity field. The material de ...
.
It can be shown that the equations governing atmospheric motion can be written in the Lagrangian form
where the components of the vector
are the (dependent) variables describing a parcel of air (such as velocity, pressure, temperature etc.) and the function
represents source and/or sink terms.
In a Lagrangian scheme, individual air parcels are traced but there are clearly certain drawbacks: the number of parcels can be very large indeed and it may often happen for a large number of parcels to cluster together, leaving relatively large regions of space completely empty. Such voids can cause computational problems, e.g. when calculating spatial derivatives of various quantities. There are ways round this, such as the technique known as
Smoothed Particle Hydrodynamics, where a dependent variable is expressed in non-local form, i.e. as an integral of itself times a kernel function.
Semi-Lagrangian schemes avoid the problem of having regions of space essentially free of parcels.
The Semi-Lagrangian scheme
Semi-Lagrangian schemes use a regular (Eulerian) grid, just like finite difference methods. The idea is this: at every time step the point where a parcel originated from is calculated. An interpolation scheme is then utilized to estimate the value of the dependent variable at the grid points surrounding the point where the particle originated from. The references listed contain more details on how the Semi-Lagrangian scheme is applied.
See also
*
Lagrangian and Eulerian specification of the flow field
*
Contour advection
*
Trajectory (fluid mechanics)
External links
ctraj C++ trajectory library, including semi-Lagrangian tracer codes.
References
*
E. Kalnay, ''Atmospheric Modeling, Data Assimilation and Predictability'' (Chapter 3, Section 3.3.3), Cambridge University Press, Cambridge, 2003.
* A. Persson, ''User Guide to ECMWF forecast products'' (Section 2.1.3), http://www.ecmwf.int/sites/default/files/User_Guide_V1.2_20151123.pdf
* D.A. Randall, ''Atmospheric Modeling'' (AT604, Chapter 5, Section 5.11), http://kiwi.atmos.colostate.edu/group/dave/at604.html
Numerical climate and weather models