OpenDrift is an open-source Python-based framework for Lagrangian particle modelling under development at the Norwegian Meteorological Institute with contributions from the wider scientific community. The framework is highly generic and modular, and is designed to be used for any type of drift calculations in the ocean or atmosphere. A specific module within the OpenDrift framework corresponds to a Lagrangian particle model in the traditional sense. A number of modules have already been developed, including an oil drift module, a stochastic search-and-rescue module, a pelagic egg module, and a basic module for atmospheric drift. The framework allows for the ingestion of an unspecified number of forcing fields (scalar and vectorial) from various sources, including Eulerian ocean, atmosphere and wave models, but also measurements or a priori values for the same variables. A basic backtracking mechanism is inherent, using sign reversal of the total displacement vector and negative time stepping. OpenDrift is fast and simple to set up and use on Linux, Mac and Windows environments, and can be used with minimal or no Python experience. It is designed for flexibility, and researchers may easily adapt or write modules for their specific purpose. OpenDrift is also designed for performance, and simulations with millions of particles may be performed on a laptop. Further, OpenDrift is designed for robustness and is in daily operational use for emergency preparedness modelling (oil drift, search and rescue, and drifting ships) at the Norwegian Meteorological Institute.
During its periodic motion, a particle floating at the free surface of a water wave experiences a net drift velocity in the direction of wave propagation, known as the Stokes drift (Stokes 1847 Trans. Camb. Philos. Soc.8 , 441–455). More generally, the Stokes drift velocity is the difference between the average Lagrangian flow velocity of a fluid parcel and the average Eulerian flow velocity of the fluid. This paper reviews progress in fundamental and applied research on the induced mean flow associated with surface gravity waves since the first description of the Stokes drift, now 170 years ago. After briefly reviewing the fundamental physical processes, most of which have been established for decades, the review addresses progress in laboratory and field observations of the Stokes drift. Despite more than a century of experimental studies, laboratory studies of the mean circulation set up by waves in a laboratory flume remain somewhat contentious. In the field, rapid advances are expected due to increasingly small and cheap sensors and transmitters, making widespread use of small surface-following drifters possible. We also discuss remote sensing of the Stokes drift from high-frequency radar. Finally, the paper discusses the three main areas of application of the Stokes drift: in the coastal zone, in Eulerian models of the upper ocean layer and in the modelling of tracer transport, such as oil and plastic pollution. Future climate models will probably involve full coupling of ocean and atmosphere systems, in which the wave model provides consistent forcing on the ocean surface boundary layer. Together with the advent of new space-borne instruments that can measure surface Stokes drift, such models hold the promise of quantifying the impact of wave effects on the global atmosphere–ocean system and hopefully contribute to improved climate projections. This article is part of the theme issue ‘Nonlinear water waves’.