WorksPhysics and Astronomy
Volume-preserving Lagrangian averaging using polar factorization
Abstract
The generalised Lagrangian mean (GLM) theory of Andrews & McIntyre provides a powerful framework to study the interactions between waves and flows. A drawback of this theory is that the Lagrangian mean velocity is divergent even for incompressible fluids because the mean flow map, which sends the Lagrangian labels of fluid parcels to their mean positions, does not preserve volume. This results, for instance, in vortices shrinking under Lagrangian averaging. We overcome this drawback by revising the definition of the mean flow map, choosing it as the volume-preserving map closest to the "bare" GLM mean map. A standard result of optimal-transport theory then shows that the new mean map is the volume-preserving factor in the polar factorization of the GLM mean map. We develop and implement a numerical method for the computation of the corresponding Lagrangian mean fields from simulation data. The implementation builds on recently developed algorithms for the on-the-fly computation of Lagrangian means using the exponential and Butterworth filters. We demonstrate the value of volume-preserving Lagrangian averaging in simulations of the two-dimensional incompressible and shallow-water models. We compare the Lagrangian-mean fields obtained with and without the volume-preservation constraint.
Introduction
Averaging is a key tool for the mathematical and numerical modelling of fluid flows with multiple time scales. Standard averaging is Eulerian, that is, carried out at fixed spatial location. An alternative is Lagrangian averaging, carried out at fixed particle label, that is, along particle trajectories. Lagrangian averaging has conceptual and practical advantages over Eulerian averaging. Conceptually, Lagrangian averaging leads to averaged dynamical equations that are often simpler and closer in structure to the original unaveraged equations than those obtained with Eulerian averaging [?, ?, ?, ?, 5, 6, 7, 8, 9]. Practically, Lagrangian averaging avoids the entanglement between fast and slow motion that results from their mutual advection. In particular, it eliminates the blurring of flow features that fast advection introduces in Eulerian averages. This enables a clean separation of the flow into slow and fast components each often associated with vortical and wave motion [10, 11, 12, 13, 14].
The generalised Lagrangian mean (GLM) theory of Andrews and McIntyre [?] provides a framework for the formulation of Lagrangian-averaged models. A key feature is the replacement of particle labels by Lagrangian mean positions as independent variables for the Lagrangian mean fields. The Lagrangian mean positions are usually defined via a straightforward component-wise average of the actual positions. While this definition has the advantage of simplicity, it introduces the so-called divergence effect [9, 15]: for an incompressible fluid, the Lagrangian mean velocity is divergent even though the actual velocity is divergence free. Equivalently, the map between mean and actual positions does not preserve volume.
To illustrate the divergence effect, consider a two-dimensional incompressible fluid in rigid-body rotation. The trajectories of particles are circles. It is intuitively clear that the component-wise average
where is the averaging time, defines a mean position with
see Figure 1. Thus time averaging contracts circular trajectories. A simple computation in appendix A confirms this conclusion and extends it to a broad class of time averages.

Figure 1. Time average of the position of a particle on a circular trajectory: the component-wise average (1) defines a mean position closer to the centre of rotation than the averaged trajectory .
Alternatives to the component-wise averaging of positions have been proposed to remedy the divergence effect and obtain volume-preserving versions of Lagrangian averaging [?, 16, 17, 18]. These have been introduced for perturbative analyses of wave–mean flow process. In this context, they can be regarded as small modifications of standard GLM that trade the simplicity afforded by volume preservation (a constant mean density) against other complications (the perturbation fields acquire non-zero means).
In this paper, we revisit volume-preserving Lagrangian averaging from a different perspective. The new perspective is brought about by the recent development of efficient, PDE-based methods for the numerical computation of Lagrangian averages from simulation data [13, 19, 20, 21]. These methods, used primarily as diagnostic tools, rely on the standard GLM definition of the mean position and therefore suffer from the divergence effect. Here we overcome this drawback by developing a numerical method for the computation of a volume-preserving Lagrangian average.
The method is based on the idea put forward by Gilbert and Vanneste [17] of replacing the mean flow map (sending particle labels to mean positions) of GLM by the closest volume-preserving map. Closest is here understood in a straightforward mean-square sense. With this definition, we can exploit a seminal result of optimal transport theory [22] and characterize the new mean map as the volume-preserving factor in the polar factorization of the GLM map.
We obtain a practical formulation, based on the velocity of the flow rather than the (usually exceedingly intricate) flow map, by considering the time derivative of the polar factorization. This leads to a system of equations relating the divergence-free Lagrangian mean velocity to the flow velocity (§II). This system is similar to that obtained for GLM in that it couples the Lagrangian mean velocity with the map between mean and actual positions, but it also involves an additional scalar field that appears in the polar factorization.
The construction of a volume-preserving mean map via polar factorization is not perturbative, that is, it does not require the common assumption that the flow consists of a large mean component plus small-amplitude perturbations. Under this assumption, we recover results of Ref. [17] and clarify the differences between the mean flows corresponding to GLM, to polar factorization, and to the alternative volume-preserving construction in Refs. [16, 18] (appendix C). We also show how a superficially appealing solution to the divergence effect – the projection of the GLM velocity onto a divergence-free velocity – fails because it leads to mean trajectories that drift away from the particle trajectories.
We demonstrate the capability of the proposed volume-preserving formulation for the computation of Lagrangian time averages from simulation data (§III). We choose the exponential filter as averaging operator. This is the simplest filter in a family of sum-of-exponential filters which make it possible to compute averages alongside the dynamical equations in a truly on-the-fly fashion, through the solution of additional evolution equations [21]. The volume-preserving implementation retains much of the simplicity of the original GLM implementation in Ref. [21], requiring only a modest additional computational effort.
We implement the volume-preserving exponential filter for simulations of a two-dimensional incompressible fluid (§III B) and of a rapidly rotating shallow water system (§III C). We use the incompressible case, in which there are no fast waves to filter out, to contrast the way in which GLM and volume-preserving averaging alter slow vertical motion. The rotating shallow-water flow superposes to a turbulent vortical flow a fast Poincaré wave which the Lagrangian averaging aims to filter out. Although the shallow-water model is compressible, we find benefits in imposing volume-preservation of the mean map in the form of better wave filtering. We relate this finding to the approximate geostrophic balance of Lagrangian mean flows in the rapidly rotating regime [e.g. [23]].
Applications of the central idea of this paper, namely the polar factorization of the GLM mean map, are not restricted to the exponential filter. We exemplify this with an implementation of the 2nd-order Butterworth filter, a more advanced sum-of-exponential filter (appendix D). We expect that the idea can also be adapted to more general filters used for online or offline computations of volume-preserving Lagrangian means.
Formulation
GLM
The motion of a fluid is determined by the flow map which gives the position at time of particles labeled by in a reference configuration. Lagrangian averaging starts by defining an analogous mean flow map . In GLM, it is simply the component-wise average of the flow map:
for . Since we restrict our attention to Euclidean space, we can treat maps as vectors and rewrite (3) as
In what follows we consider two types of averages: time averages of the form
where the kernel satisfies
and ensemble averages of the form
where is a ensemble parameter with probability density such that
Ensemble averages assume an ensemble of flow maps, ; we drop the explicit dependence on in what follows, but it should be kept in mind.
The Lagrangian mean velocity, which we denote by (without a superscript L, to keep the notation light), is the velocity associated with the mean flow map:
With (4), it is also the (componentwise) Lagrangian mean of the velocity in the sense that
The flow map is decomposed as
where is the perturbation map, which depends on for ensemble averaging. With this decomposition and for ensemble average the definition (10) of the Lagrangian mean velocity can be rewritten as
by substituting for the mean position, . The same substitution in (4) gives
With , this becomes
Eqs. (12) and (14) are taken as defining equations for GLM by Andrews and McIntyre [?]. They do not hold for time averages, however, because of the time dependence of the substitution . As a result, (12) and (14) only hold approximately provided that there is a time-scale separation between mean and perturbation.
Volume preservation
Mass conservation implies that the density of a fluid is related to a fixed density in label space according to
where . Expressing the volume element in terms of then gives
Here with denoting determinant is the Jacobian of the flow map. The continuity equation
follows by time differentiation and use of the Jacobi identity.
For a homogeneous incompressible fluid, the densities and are constants which can be taken to be 1: . The flow map preserves volume and its Jacobian is unity. Because this constraint is nonlinear, its average is non-trivial and the mean map does generally not preserve volume. Hence,
Correspondingly, while the velocity of an incompressible fluid is divergence-free, the Lagrangian mean velocity is divergent,
This is the divergence effect in GLM. It necessitates the introduction of a density variable with
or, equivalently since ,
which satisfies the continuity equation
analogous to (17).
It is possible to modify the definition of the mean flow map, hence (12) and (14), to eliminate the divergence effect. We propose to replaces the “bare” GLM mean map (4) by the closest flow map that preserves volume, that is, to replace by
where the integration is over the reference configuration. Here and in what follows we use the subscript to indicate fields associated with the volume-preserving construction. In (23) we measure closeness in terms of an norm; other choices are possible.
A definition equivalent to (23) for ensemble averaging is
as introduced by Gilbert and Vanneste [17]. It states that is the Fréchet mean of the maps for the distance. The equivalence follows from the equalities
using (4). The equivalence does not apply to time averaging because .
The minimization (23) is a standard problem in the theory of optimal transport [e.g. [24]]. It leads to Brenier's [22] polar factorization: the bare mean map can be written as the composition
of the gradient of a convex scalar function with the desired volume-preserving flow map. The characterization (26) is central to the remainder of the paper. For completeness, we provide a formal derivation in appendix B.
Given , it is in principle possible to determine by solving either the minimization problem (23) or a Monge–Ampère equation for the Legendre transform of [22]. For the purpose of computing Lagrangian means from simulation data, it is better to consider the time derivative of (26) to obtain volume-preserving versions of (12) and eq:14`.
Differentiating (26) with respect to and using (10) gives
The Lagrangian mean velocity associated with satisfies
and is divergence free:
For the ensemble average we can freely move on the right-hand side within the average. Using the decomposition
then gives
This equation is conveniently replaced by its divergence and curl, that is,
On the other hand, differentiating (31) with respect to time leads to
Eqs. (29), (33), (34) and (35) are key results of this section. They constitute a closed system that determines , and from . Specifically, (33) and (35) govern the joint evolution of and while is diagnosed from (29) and (34). This system replaces the simpler GLM prescription that couples (35) (without the dagger subscripts) and the relation in (12).
Once is determined, the Lagrangian average of a quantity can be computed. For a scalar field , in particular, this average is defined by
(Again we keep the notation light by omitting a superscript L for the Lagrangian average.) For an ensemble average this reduces to
We conclude this section with three remarks. First, we give an interpretation for the scalar field . Averaging (35) and comparing with (32) shows that
assuming consistent initial conditions. Letting
(38) is equivalent to
This condition, with determined by the condition that is divergence free, replaces GLM’s condition . Thus, in the polar-factorization framework, the perturbation field has a non-zero mean given by the gradient of .
The second remark concerns the difference between the bare GLM mean flow map and its volume-preserving approximation . Provided that captures most of the dynamics in the sense that is close to the identity (or, equivalently, is small), the two maps are close together. We show this explicitly in appendix C where we construct perturbatively assuming a velocity field of the form
where is a fixed background velocity, a zero-mean perturbation velocity and . We establish that for arbitrarily large . We also consider an alternative volume-preserving mean map proposed by Soward and Roberts [16] and defined perturbatively (see also [17, 25]). This second volume-preserving mean map is also -close to .
The final remark concerns a third volume-preserving mean map. Instead of approximating the GLM flow map by a volume-preserving flow map as we do for , it is tempting to approximate the GLM mean velocity by a divergence-free velocity field then use the corresponding flow map as volume-preserving mean map. The simplest construction takes the divergence-free velocity field as , the -projection of on divergence-free vector fields. While this construction is seemingly appealing, we show in appendix C that the resulting flow map does not remain close to for long times, so that it does not properly capture the mean dynamics.
Numerical computation of Lagrangian means
Exponential mean
We now turn to the numerical computation of volume-preserving Lagrangian time averages. We focus on the exponential average
where the parameter is an inverse averaging time scale. The exponential average corresponds to the choice of kernel , with the Heaviside function, in the general time average (5). It has the advantage that satisfies a differential equation, namely
This makes it possible to compute averages on-the-fly, as part of simulations that deliver incrementally. Minz et al. [21] exploit this property for the computation of Lagrangian averages and show it generalizes to given by a sum of exponentials. Baker [26] extends this to time-symmetric kernels by solving differential equations forward and backward in time for the offline computation of Lagrangian averages.
With the average (43), the right-hand side of equation (30) governing the evolution of can be evaluated explicitly. Integration by parts gives
Using (26) and (31) then leads to
Eq. (30) becomes
As in §II B, it is convenient to take the divergence and curl. This gives
These equations should be solved together with the evolution equation (35) for and the divergence-free condition (29) for . Eq. (47a) governs the evolution of and, on inverting the Laplacian, . Eqs. (29) and (35) determine . In an on-the-fly implementation, this system of equations is solved at the same time as dynamical equations for the instantaneous velocity . With and determined, the volume-preserving Lagrangian average of any field can be computed by solving an additional PDE. For a scalar field , this takes the form
as follows from differentiating the definition
with respect to .
Volume-preserving Lagrangian averaging based on polar factorisation is not limited to the exponential mean but can be adapted to various types of filters, e.g. those proposed in Refs. [13, 21]. We illustrate this point by developing a volume-preserving version of the Butterworth filter in appendix D.
Application to a two-dimensional incompressible flow
We implement the system above for solutions of the two-dimensional incompressible Euler equations. This system does not admit fast wave motion. We use it solely to compare the impact of standard and volume-preserving Lagrangian averaging on the slow vortical flow. In vorticity–streamfunction formulation, the Euler equations read
where is the vorticity, the streamfunction and .
We solve the Euler equations (50) in a periodic domain using a modified version of the pseudospectral code in Ref. [20]. We use grid points and Fourier modes, and an RK4 integrator with time step . For numerical stability, we employ dealiasing and we add hyperviscous dissipation to the vorticity equation by multiplying the Fourier transform of the vorticity by at each time step. We take .
Together with the Euler equations, we solve the equations required for the computation of Lagrangian averages. For volume preserving averaging, these consist of (35), (47) and (48). To deal with periodic fields, we use instead of and instead of . We enforce the divergence-free constraint for by means of a streamfunction, letting
With these changes, (35) becomes
and eq:47 become
At each time step, we update and using (53) and (54) then compute by solving (55) using the iteration
where denotes the iterate and . We focus on the Lagrangian average of the vorticity, computed from (49) with . We use bilinear interpolation to evaluate and at position in (49) and (53). For numerical stability, we find it necessary to add to (53) the same hyperviscous dissipation as in the vorticity equation. For comparison, we also compute the standard GLM average of the vorticity. For this, we solve the bare versions of (49) and (53) with , as follows from (44) [see also [21]].
The top row of Figure 2 shows the evolution of the vorticity for an initial condition that consists of two well-separated vortices, specifically

Figure 2. Vorticity in a simulation of two-dimensional incompressible fluid at , , and : instantaneous vorticity (1st row), GLM mean (2nd row), volume-preserving mean (3rd row) and mean obtained using the divergence-free projection of the GLM mean velocity (4th row). We use an exponential average with . An animation of the vorticity fields is available at https://abhijeet-minz.github.io/animations.html.
The dynamics are familiar: the vortices orbit the central point , deform and undergo vortex merger. The second and third rows show the Lagrangian averages and of the vorticity obtained with the exponential filter with inverse time scale . To mitigate the effect of the phase delay that affects the exponential filter, we offset time by the zero-frequency phase delay .
The bare Lagrangian averaging exhibits the expected divergence effect: the vortices in the Lagrangian mean field have much decreased areas compared with those in the instantaneous field . This is successfully corrected by the volume-preserving average. The averaging distorts the vorticity field, primarily because the frequency-dependent phase shift it introduces is only partially compensated by the time offset. Thus, while the slowly evolving filaments at the periphery of the vortex merger are in phase in and , the faster evolving cores are not.
The bottom row of Figure 2 gives a finite-amplitude illustration of the difficulties that arise with the simple replacement of the bare mean velocity by its divergence-free projection discussed for small-amplitude perturbations in appendix C. With this choice, the mean flow map does not stay close to the actual flow map; equivalently, the perturbation map does not stay close to the identity map. As a result, the mean vorticity field develops small-scale features unrelated to the instantaneous dynamics.
A complementary view of the divergence effect and its correction by volume-preserving averaging is offered in Figure 3. The figure shows the probability density function (pdf) of , and at . The pdf of is time independent up to numerical effects (truncation error and dissipation). The pdfs of and are also time independent after an initial adjustment phase. The depletion of high values of reflects the decrease in area of the vortices noted in Figure 2. The pdf of , in contrast, is almost identical to that of , confirming the effectiveness of the volume-preservation algorithm.

Figure 3. Comparison of the pdfs of , and in the simulation of Figure 2 at .
Application to a rotating shallow-water flow
In this section, we apply Lagrangian averaging to a two-time-scale flow, namely a rapidly rotating shallow-water flow that combines slow turbulent vortical motion with a fast mode-1 Poincaré wave. Such a flow is used in Refs. [13, 19, 21] to demonstrate the capabilities of different PDE-based averaging methods.
At first sight, the divergence effect that we address in the present paper does concern the shallow-water model. In this model, the (two-dimensional, depth-averaged) velocity field is divergent because of the free surface, so there appears to be no reason to insist that the mean flow should preserve areas. However, in the rapidly rotating, small-Rossby-number regime that we consider, the vortical part of the flow is approximately in geostrophic balance. This implies that the corresponding velocity is approximately divergence free. More precisely, the Lagrangian mean velocity is approximately geostrophically balanced and divergence free [see [23], and references therein]. For sufficiently small Rossby number, we expect the divergence effect associated with the definition of the Lagrangian mean flow to dominate the small physical divergence associated with finite Rossby number. It is therefore sensible to impose exact area preservation in order to eliminate the divergence effect.
We carry out a simulation using the rotating shallow water model, as given in [21]. The non-dimensional momentum and continuity equations are [27]
where is the Rossby number and is the Froude number. Here , and are the reference velocity, length and depth used for the non-dimensionalization.
We initialise the model with the same initial condition as in [20] and [21], superimposing a geostrophic turbulent flow (obtained by prior solution of an incompressible two-dimensional Navier–Stokes model for the velocity and geostrophic balance for the height field) and a right-travelling mode-1 Poincaré wave. We take the root-mean square velocity of the geostrophic flow as reference velocity and the length scale of the first Fourier mode as reference length so that the doubly periodic domain is . The Rossby and Froude number of the geostrophic flow are and . With these parameters, the frequency of the mode-1 Poincaré wave is corresponding to a period of 0.62 time units. The wave fields in the absence of flow are given by
At the initial time , we add these to the geostrophic flow field. We take the amplitude so that the maximum wave velocity is as large as the geostrophic flow root-mean-square velocity.
To obtain the volume preserving Lagrangian mean of a scalar field, we solve (48) along with the dynamical equations (56), equation (52) for and equations (53) for and . We use a pseudospectral implementation, identical to that of §III B for (52) and (53). For numerical stability, we apply the same dissipation scheme to (56a) and (52) as in §III B.
Figure 4 shows the evolution of the vorticity and of its bare and volume-preserving averages and . The instantaneous vorticity is dominated by the large-scale wave signal, but vortical structures are visible as smaller scale modulations. Much of the wave signal is eliminated by the averaging, leaving similar-looking fields and . The vortices in are smaller than those in and, though this is less obvious to discern, in . Vorticity (as opposed to potential vorticity) is not materially conserved in shallow water, so the area of vortices change in time. Nonetheless we argue that the area changes in are the result of the divergence effect rather than of a physical divergence.

Figure 4. Vorticity field at four successive times in the shallow-water simulation of §III C: the instantaneous vorticity (top row) is compared with its bare and volume-preserving exponential Lagrangian averages and (second and third rows). An animation of the vorticity fields is available at https://abhijeet-minz.github.io/animations.html.
To support this, we show in figure 5 the divergences and of the Eulerian and bare Lagrangian mean velocities. The bare Lagrangian mean for the exponential mean is computed from the relation (which is shown in [21] or can be deduced from (46) by setting ). Both and are dominated by a wave signal that results from the limitation of exponential averaging as a low-pass filter. The slow signal, correlated with the vortical structure in figure 4, is much larger in , suggesting it results from the averaging rather than from a physical process. We also show in figure 5 (right panel) the Jacobian field . Since

Figure 5. Divergence of the Eulerian and bare Lagrangian mean velocities, (left panel) and (middle panel) at the end of the shallow-water simulation (). The averages use the exponential filter with . The right panel shows the Jacobian at the same time.
this Jacobian is the ratio of the height changes associated with the compressibility of and , respectively. The compressibility of is weak because is dominated by an oscillatory wave component that has little time-integrated effect. The large values in , up to 2, are dominated by the compressibility of induced by the divergence effect.
Figure 6 shows the first components , and of the velocity and of its Lagrangian means at fixed as functions of and . The instantaneous (top row) is dominated by the fast Poincaré wave. The bare Lagrangian mean primarily captures the slow dynamics of the simulation, but a substantial wave signal remains, reflecting the limitation of the exponential mean as a low-pass filter. Remarkably, the wave signal is much reduced in the volume-preserving version (third row) obtained from eq:47. We attribute this improvement to the fact that the Poincaré wave is divergent and partially filtered from by the divergence-free constraint . We find the same improvement between the bare and volume-preserving Lagrangian averages when the exponential filter is replaced by the 2nd-order Butterworth filter (fourth and fifth rows of Figure 6). The benefit of volume preservation combines with the better low-pass filtering of the Butterworth filter to produce a Lagrangian mean velocity that is almost perfectly free of fast oscillations.

Figure 6. First component of the velocity in the shallow-water simulation as a function of and for : the instantaneous velocity (first row) is compared with the Lagrangian mean velocities obtained using the bare exponential filter (second row), the volume-preserving exponential filter (third row), the bare 2nd-order Butterworth filter (fourth row), and the volume-preserving 2nd-order Butterworth filter (fifth row).
Discussion
This paper develops and implements a method for the computation of Lagrangian averages referred to mean positions that are related to the initial positions of particles by a volume-preserving mean flow map . Equivalently, the Lagrangian mean velocity is divergence free: . For incompressible fluids, this also means that the perturbation map between mean and actual positions preserves volume.
The volume-preservation properties are in contrast with the standard GLM for which the mean and perturbation maps and do not preserve volume and the Lagrangian mean velocity is non-divergent, . Our construction is nonetheless anchored to standard GLM since is chosen as the volume-preserving map closest to or, equivalently, as the volume-preserving factor in the polar factorization of . Note however that can be alternatively defined as the Fréchet mean of an ensemble of flow maps, without explicit reference to the GLM mean map (see (24)).
The polar-factorization characterization we use relies on the (arbitrary) choice of the -norm to measure the closeness of to . In principle, other -norms could be chosen, but the corresponding optimal-transport theory is considerably more complicated. Alternatively, as proposed in [17], it is possible to replace the pointwise -norm by a more intrinsic measure of distance between maps, namely the distance that arises naturally in the interpretation of flow maps as points in a Lie group with right-invariant metric [e.g. [28]]. Turning the resulting abstract definition of the mean map (termed “geodesic mean” in [17]) into a practical algorithm is a formidable challenge, however. The volume-preserving mean of Soward and Roberts [16] (termed “glm”, see [17]), which is defined perturbatively assuming small-amplitude perturbations, is similarly challenging. With this in mind, we contend that the polar-factorization definition of a volume-preserving mean map offers the most convenient way of overcoming the divergence effect of GLM in numerical Lagrangian averaging.
Our simulation results suggest that the divergence effects can strongly distort the slow dynamics. This may not have been fully appreciated in the past because most studies of GLM assume small-amplitude perturbations and track the slow dynamics over relatively short times. Over multiple eddy times scales, however, the divergence effect leads to a significant contraction of vortices and, conversely, significant expansion of hyperbolic regions. This occurs even though the divergence of the Lagrangian mean velocity is weak because the process of volume or area change is multiplicative. The distortion of the slow dynamics is problematic when Lagrangian averaging is used to separate fast waves from slow flows by substracting full and averaged fields [e.g. [13]]. It would be worthwhile investigating how the adoption of the volume-preserving mean flow of this paper improves this separation.
This paper focuses entirely on the kinematics of GLM and its volume-preserving variant. Key advantages of GLM over Eulerian averaging lie however in the structure of its averaged dynamical equations. An important question is therefore whether this structure persists for volume-preserving Lagrangian averaging. The answer is yes. As Gilbert and Vanneste [17, 25] emphasise, much of the structure of the GLM equations is independent of the specific choice made for the Lagrangian mean map. The Lagrangian mean momentum equation, in particular, is only affected through changes in the specific form of the pseudomomentum, with extra terms arising because . Whether the associated complications outweigh the benefits brought about by volume preservation may be a matter ot taste.
Supplementary movies are available at https://abhijeet-minz.github.io/animations.html
The code developed for the numerical applications in §III B and §III C and is openly available [29].
We are grateful to H. A. Kafiabad and C. Maitland-Davies for useful discussions.
The authors report no conflict of interest.
Rotating particle
Consider a two-dimensional fluid in rigid rotation with angular velocity . The position of a particle, in complex notation, satisfies
and is given by
where
The initial position can be interpreted as a label for the particle. The corresponding Lagrangian mean position is
We focus on time averages of the form (5). With the additional assumption , the triangle inequality implies that , hence
This shows that averaging contracts trajectories. The Lagrangian mean velocity
is divergent,
unless
In this paper we propose a definition of the mean flow map that replaces the straightforward coordinate-wise mean of GLM by the closest volume-preserving flow map. For rigid-body rotation, this amounts to replacing in (65) by the nearest point on the circle of radius , that is, by
This represents a rigid-body rotation. The velocity
is divergence-free.
Polar factorization
We give a formal argument for the polar factorization (26). First observe that
where the constant is independent of because
using that preserves volume. We next consider the maps as near-identity, volume-preserving perturbations of the extremum . Near-identity perturbations can be expressed in terms of a generating vector field as
The divergence-free condition ensures that these perturbations preserve volume. With , this gives
With this expression and (71), the condition that minimises the left-hand side of (71) reads
on changing integration variable from to and omitting terms. For the inequality to hold, the first integral on the last line of (75) must vanish for all divergence-free . This implies that
for some , as follows from the orthogonality of the Helmholtz decomposition [e.g. [30]]. Rearranging gives the polar factorization (26). Introducing (76) into the second integral and integrating by parts gives
i.e. convexity of .
Small-amplitude perturbations
We now obtain an approximation to the volume-preserving Lagrangian mean velocity for a velocity field of the form (41). The velocity is divergence free such that . We use an ensemble average, with . We solve (29), (32) and (35) perturbatively. We expand
anticipating some and terms. Introducing this into (35) gives
at . Here we introduce the notation
for the Lie derivative (or commutator) of vector fields. We note that the solution satisfies and . For divergence-free vector fields like and , the Lie derivative takes the alternative form
making it plain it is also divergence free. Averaging the terms in (35) yields
where we use that . The middle term on the right-hand side of (84) has the component expression
with summation over repeated indices implied. This term can be rewritten by noting that
This identity can established in components starting with the first term on the right-hand side:
using (81) in the form . Rearranging yields (86).
Introducing (86) into (84) gives
Now, according to (40), is a gradient, , with determined by the condition . Since , this implies
where denotes the (Leray) projection on divergence-free vector fields. This reduces (88) to
and recovers the result of the ‘optimal transport’ formulation of [17].
We can now compare the volume-preserving Lagrangian mean velocity resulting form the polar factorization (26) with other Lagrangian mean velocities. The standard GLM Lagrangian mean velocity is with
It is obtained by setting in (88). Comparing with (90) shows that the polar factorization construction introduces the projection in the last term. The glm construction of Soward and Roberts [16], reducing to the solenoidal Stokes drift of Vanneste and Young [18] for , is
An important point is that the three Lagrangian mean velocities (90), (91) and (92) differ by terms that are derivatives along the leading order flow, . This implies that the mean trajectories corresponding to the three mean velocities are close for long times. More precisely, we have that
where is the flow map associated with and .
We verify (93) by taking the time derivative of the right-hand side to obtain
This matches the time derivative of the left-hand side.
A similar computation shows that
with .
We conclude from the closeness of , and shown by (93) and (95) that they represent the mean motion equally well.
We contrast this closeness with the behaviour of the trajectories of a superficially appealing divergence-free alternative to , namely its projection on divergence-free vector fields. Since
and and do not commute, the difference between and is not a derivative along the leading order flow. As a result, the trajectories of do not remain close to ; they do not capture the mean motion and lead to the uncontrolled growth of the displacement field .
Volume-preserving Lagrangian averaging with a Butterworth filter
Volume-preserving Lagrangian averaging is not limited to the exponential filter of §III. It can be extended to a broad class of filters including the top-hat filter of Ref. [20] or the 2nd-order Butterworth filter of Ref. [21]. The key step is to identify the bare mean flow map and substitute the polar decomposition .
To illustrate this, we apply the construction to the 2nd-order Butterworth filter, an efficient low-pass filter in the class of sum-of-exponential filters considered by Minz et al. [21]. For this filter, the mean flow map can be obtained by solving the system of equations
where is an auxiliary field and the matrix
is positive definite. Defining by , this can be rewritten as
where and .
The auxiliary velocity is defined by (see [21]).
We now obtain a volume-preserving version of eq:D3. We substitute into (97) and compose with to find
where , and . With and , the first row in (101) becomes
where and . The second row of (101) is
Together with the divergence-free condition , (102) and (103) determine , and assuming and are known. Evolution equations for and are obtained by time differentiation of and and are given by (99) with all fields decorated by .
In two dimensions, we can take . The divergence and curl of (103) then give the system
analogous to (53).
References
References
- [5]D. D. Holm, Variational principles for Lagrangian-averaged fluid dynamics, J. Phys. A Math. Gen. 35, 679 (2002).DOI
- [6]D. D. Holm, Lagrangian averages, averaged Lagrangians, and the mean effects of fluctuation in fluid dynamics, Chaos 12, 518 (2002).
- [7]O. Bühler and M. E. McIntyre, On non-dissipative wave–mean interactions in the atmosphere or oceans, Journal of Fluid Mechanics 354, 301 (1998).
- [8]R. Salmon, An alternative view of generalized Lagrangian mean theory, Journal of Fluid Mechanics 719, 165 (2013).DOI
- [9]O. Bühler, Waves and mean flows (Cambridge University Press, 2014).
- [10]C. J. Shakespeare and A. M. Hogg, Spontaneous surface generation and interior amplification of internal waves in a regional-scale ocean model, Journal of Physical Oceanography 47, 811 (2017).
- [11]C. J. Shakespeare, A. H. Gibson, A. M. Hogg, S. D. Bachman, S. R. Keating, and N. Velzeboer, A new open source implementation of Lagrangian filtering: A method to identify internal waves in high-resolution simulations, Journal of Advances in Modeling Earth Systems 13 (2021).
- [12]C. S. Jones, Q. Xiao, R. P. Abernathey, and K. S. Smith, Using Lagrangian filtering to remove waves from the ocean surface velocity field, Journal of Advances in Modeling Earth Systems 15, e2022MS003220 (2023).DOI
- [13]L. E. Baker, H. A. Kafiabad, C. Maitland-Davies, and J. Vanneste, Lagrangian filtering for wave–mean flow decomposition, Journal of Fluid Mechanics 1009, A40 (2025).DOI
- [14]H. Wang, D. Balwada, and J.-H. Xie, Wave-mean decomposition of scale-dependent kinetic energy from surface drifters, arXiv preprint arXiv:2606.03744 (2026).arxiv.org/abs/2606.03744
- [15]M. E. McIntyre, A note on the divergence effect and the Lagrangian-mean surface elevation in periodic water waves, Journal of Fluid Mechanics 189, 235 (1988).DOI
- [16]A. M. Soward and P. H. Roberts, The hybrid Euler–Lagrange procedure using an extension of Moffatt’s method, Journal of Fluid Mechanics 661, 45 (2010).DOI
- [17]A. D. Gilbert and J. Vanneste, Geometric generalised Lagrangian-mean theories, Journal of Fluid Mechanics 839, 95 (2018).
- [18]J. Vanneste and W. R. Young, Stokes drift and its discontents, Philosophical Transactions of the Royal Society A: Mathematical, Physical and Engineering Sciences 380, 20210032 (2022).DOI
- [19]H. A. Kafiabad, Grid-based calculation of the Lagrangian mean, Journal of Fluid Mechanics 940, A21 (2022).DOI
- [20]H. A. Kafiabad and J. Vanneste, Computing Lagrangian means, Journal of Fluid Mechanics 960, A36 (2023).DOI
- [21]A. Minz, L. E. Baker, H. A. Kafiabad, and J. Vanneste, Efficient Lagrangian averaging with exponential filters, Physical Review Fluids 10, 074902 (2025).
- [22]Y. Brenier, Polar factorization and monotone rearrangement of vector-valued functions, Communications on Pure and Applied Mathematics 44, 375 (1991).DOI
- [23]H. A. Kafiabad, J. Vanneste, and W. R. Young, Wave-averaged balance: a simple example, Journal of Fluid Mechanics 911, R1 (2021).DOI
- [24]F. Santambrogio, Optimal transport for applied mathematicians: Calculus of variations, pdes, and modeling, volume 87 of Progress in nonlinear differential equations and their applications (2015).
- [25]A. D. Gilbert and J. Vanneste, Geometric approaches to Lagrangian averaging, Annual Review of Fluid Mechanics 57, 117 (2025).
- [26]L. E. Baker, OceananigansLagrangianFilter.jl: A set of tools to perform online or offline Lagrangian filtering of Oceananigans.jl simulations. (2026).
- [27]V. Zeitlin, Geophysical fluid dynamics: understanding (almost) everything with rotating shallow water models (Oxford University Press, 2018).
- [28]V. I. Arnold and B. A. Khesin, Topological methods in hydrodynamics (Springer, 1998).
- [29]A. Minz, L. E. Baker, and J. Vanneste, Code and data for Volume-preserving Lagrangian averaging using polar factorization (2026).
- [30]V. Girault and P.-A. Raviart, Finite Element Methods for Navier–Stokes Equations: Theory and Algorithms, Springer Series in Computational Mathematics, Vol. 5 (Springer-Verlag, Berlin, Heidelberg, 1986).