alphaFeedback

WorksPhysics and Astronomy

Volume-preserving Lagrangian averaging using polar factorization

AI contributions
Not recorded for this paper
View details

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 x(t)=(x(t),y(t))\boldsymbol{x}(t) = (x(t),y(t)) of particles are circles. It is intuitively clear that the component-wise average

xˉ(t)=(xˉ(t),yˉ(t))=T−1∫t−T/2t+T/2(x(s),y(s)) ds,(1)\bar{\boldsymbol{x}}(t) = (\bar{x}(t),\bar{y}(t)) = T^{-1}\int_{t-T/2}^{t+T/2}(x(s),y(s))\,\mathrm{d}s, \tag*{(1)}

where TT is the averaging time, defines a mean position xˉ(t)\bar{\boldsymbol{x}}(t) with

∣xˉ(t)∣<∣x(t)∣,(2)|\bar{\boldsymbol{x}}(t)| < |\boldsymbol{x}(t)|, \tag*{(2)}

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.

Time average of the position of a particle on a circular trajectory

Figure 1. Time average of the position of a particle on a circular trajectory: the component-wise average (1) defines a mean position xˉ(t)\bar{x}(t) closer to the centre of rotation than the averaged trajectory x(t)x(t).

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 φ(a,t)\varphi(a,t) which gives the position at time tt of particles labeled by aa in a reference configuration. Lagrangian averaging starts by defining an analogous mean flow map φˉ(a,t)\bar{\varphi}(a,t). In GLM, it is simply the component-wise average of the flow map:

φˉi(a,t)=⟨φi(a,t)⟩(3)\bar{\varphi}^{i}(a,t)=\left\langle\varphi^{i}(a,t)\right\rangle \tag*{(3)}

for i=1, 2, 3i=1,\,2,\,3. Since we restrict our attention to Euclidean space, we can treat maps as vectors and rewrite (3) as

φˉ(a,t)=⟨φ(a,t)⟩.(4)\bar{\varphi}(a,t)=\left\langle\varphi(a,t)\right\rangle. \tag*{(4)}

In what follows we consider two types of averages: time averages of the form

⟨f⟩(t)=∫−∞∞k(t−s)f(s) ds,(5)\langle f\rangle(t)=\int_{-\infty}^{\infty} k(t-s)f(s)\,\mathrm{d}s, \tag*{(5)}

where the kernel satisfies

∫−∞∞k(t) dt=1,(6)\int_{-\infty}^{\infty} k(t)\,\mathrm{d}t=1, \tag*{(6)}

and ensemble averages of the form

⟨f⟩(t)=∫k(ϖ)f(t,ϖ) dϖ,(7)\langle f\rangle(t)=\int k(\varpi)f(t,\varpi)\,\mathrm{d}\varpi, \tag*{(7)}

where ϖ\varpi is a ensemble parameter with probability density k(ϖ)k(\varpi) such that

∫k(ϖ) dϖ=1.(8)\int k(\varpi)\,\mathrm{d}\varpi=1. \tag*{(8)}

Ensemble averages assume an ensemble of flow maps, φ(a,t,ϖ)\varphi(a,t,\varpi); we drop the explicit dependence on ϖ\varpi in what follows, but it should be kept in mind.

The Lagrangian mean velocity, which we denote by uˉ\bar{u} (without a superscript L, to keep the notation light), is the velocity associated with the mean flow map:

∂tφˉ(a,t)=uˉ(φˉ(a,t),t).(9)\partial_t\bar{\varphi}(a,t)=\bar{u}(\bar{\varphi}(a,t),t). \tag*{(9)}

With (4), it is also the (componentwise) Lagrangian mean of the velocity in the sense that

uˉ(φˉ(a,t),t)=⟨u(φ(a,t),t)⟩.(10)\bar{u}(\bar{\varphi}(a,t),t)=\left\langle u(\varphi(a,t),t)\right\rangle. \tag*{(10)}

The flow map is decomposed as

φ=Ξ∘φˉ,(11)\varphi=\Xi\circ\bar{\varphi}, \tag*{(11)}

where Ξ\Xi is the perturbation map, which depends on ϖ\varpi for ensemble averaging. With this decomposition and for ensemble average the definition (10) of the Lagrangian mean velocity can be rewritten as

uˉ(x,t)=⟨u(Ξ(x,t),t)⟩(12)\bar{u}(x,t)=\left\langle u(\Xi(x,t),t)\right\rangle \tag*{(12)}

by substituting xx for the mean position, x=φˉ(a,t)x=\bar{\varphi}(a,t). The same substitution in (4) gives

x=⟨Ξ(x,t)⟩.(13)x=\left\langle\Xi(x,t)\right\rangle. \tag*{(13)}

With Ξ(x,t)=x+ξ(x,t)\Xi(x,t)=x+\xi(x,t), this becomes

⟨ξ(x,t)⟩=0.(14)\left\langle\xi(x,t)\right\rangle=0. \tag*{(14)}

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 x=φˉ(a,t)x=\bar{\varphi}(a,t). 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 ρ(x,t)\rho(x,t) of a fluid is related to a fixed density ρ0(a)\rho_0(a) in label space according to

ρ(x,t) dx=ρ0(a) da.(15)\rho(x,t)\,\mathrm{d}x=\rho_0(a)\,\mathrm{d}a. \tag*{(15)}

where x=φ(a,t)x=\varphi(a,t). Expressing the volume element dx\mathrm{d}x in terms of da\mathrm{d}a then gives

ρ(x,t)=∣∂φ∂a∣−1ρ0(a).(16)\rho(x,t)=\left|\frac{\partial\varphi}{\partial a}\right|^{-1}\rho_0(a). \tag*{(16)}

Here ∣∂φ/∂a∣\left|\partial\varphi/\partial a\right| with ∣⋅∣\lvert\cdot\rvert denoting determinant is the Jacobian of the flow map. The continuity equation

∂tρ+∇⋅(ρu)=0(17)\partial_t\rho+\nabla\cdot(\rho u)=0 \tag*{(17)}

follows by time differentiation and use of the Jacobi identity.

For a homogeneous incompressible fluid, the densities ρ\rho and ρ0\rho_0 are constants which can be taken to be 1: ρ=ρ0=1\rho=\rho_0=1. The flow map φ(a,t)\varphi(a,t) 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,

∣∂φ∂a∣=1but∣∂φˉ∂a∣≠1.(18)\left|\frac{\partial\varphi}{\partial a}\right|=1\quad\text{but}\quad\left|\frac{\partial\bar{\varphi}}{\partial a}\right|\ne1. \tag*{(18)}

Correspondingly, while the velocity of an incompressible fluid is divergence-free, the Lagrangian mean velocity is divergent,

∇⋅u=0but∇⋅uˉ≠0.(19)\nabla\cdot u=0\quad\text{but}\quad\nabla\cdot\bar{u}\ne0. \tag*{(19)}

This is the divergence effect in GLM. It necessitates the introduction of a density variable ρ~(x,t)\widetilde{\rho}(x,t) with

ρ~(φˉ(a,t),t)=∣∂φˉ(a,t)∂a∣−1(20)\widetilde{\rho}(\bar{\varphi}(a,t),t)=\left|\frac{\partial\bar{\varphi}(a,t)}{\partial a}\right|^{-1} \tag*{(20)}

or, equivalently since ρ−1=∣∂φ/∂a∣=∣∂Ξ/∂x∣∣∂φˉ/∂a∣=1\rho^{-1}=\left|\partial\varphi/\partial a\right|=\left|\partial\Xi/\partial x\right|\left|\partial\bar{\varphi}/\partial a\right|=1,

ρ~(x,t)=∣∂Ξ(x,t)∂x∣,(21)\widetilde{\rho}(x,t)=\left|\frac{\partial\Xi(x,t)}{\partial x}\right|, \tag*{(21)}

which satisfies the continuity equation

∂tρ~+∇⋅(ρ~uˉ)=0(22)\partial_t\widetilde{\rho}+\nabla\cdot(\widetilde{\rho}\bar{u})=0 \tag*{(22)}

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 φˉ\bar{\varphi} by

φˉ†(a,t)=argmin⁡ψ:∣∂ψ/∂a∣=1∫∥ψ(a,t)−φˉ(a,t)∥2 da,(23)\bar{\varphi}_{\dagger}(a,t)=\underset{\psi:\left|\partial\psi/\partial a\right|=1}{\operatorname{argmin}}\int\left\|\psi(a,t)-\bar{\varphi}(a,t)\right\|^2\,\mathrm{d}a, \tag*{(23)}

where the integration is over the reference configuration. Here and in what follows we use the subscript †\dagger to indicate fields associated with the volume-preserving construction. In (23) we measure closeness in terms of an L2L_2 norm; other choices are possible.

A definition equivalent to (23) for ensemble averaging is

φˉ†(a,t)=argmin⁡ψ:∣∂ψ/∂a∣=1⟨∫∥ψ(a,t)−φ(a,t)∥2 da⟩,(24)\bar{\varphi}_{\dagger}(a,t)=\underset{\psi:\left|\partial\psi/\partial a\right|=1}{\operatorname{argmin}}\left\langle\int\left\|\psi(a,t)-\varphi(a,t)\right\|^2\,\mathrm{d}a\right\rangle, \tag*{(24)}

as introduced by Gilbert and Vanneste [17]. It states that φˉ†\bar{\varphi}^{\dagger} is the Fréchet mean of the maps φˉ\bar{\varphi} for the L2L_2 distance. The equivalence follows from the equalities

∫∥ψ(a,t)−φˉ(a,t)∥2 da=∫∥ψ(a,t)∥2−2ψ(a,t)⋅φˉ(a,t)+∥φˉ(a,t)∥2 da=⟨∫∥ψ(a,t)−φ(a,t)∥2 da⟩+∫∥φˉ(a,t)∥2 da−⟨∫∥φ(a,t)∥2 da⟩(25)\begin{aligned} \int\left\lVert\psi(a,t)-\bar{\varphi}(a,t)\right\rVert^2\,\mathrm{d}a &= \int\left\lVert\psi(a,t)\right\rVert^2 - 2\psi(a,t)\cdot\bar{\varphi}(a,t) + \left\lVert\bar{\varphi}(a,t)\right\rVert^2\,\mathrm{d}a \\ &= \left\langle\int\left\lVert\psi(a,t)-\varphi(a,t)\right\rVert^2\,\mathrm{d}a \right\rangle\\ &\quad+ \int\left\lVert\bar{\varphi}(a,t)\right\rVert^2\,\mathrm{d}a - \left\langle\int\left\lVert\varphi(a,t)\right\rVert^2\,\mathrm{d}a \right\rangle \tag*{(25)} \end{aligned}

using (4). The equivalence does not apply to time averaging because ψ(a,t)⋅φˉ(a,t)≠⟨ψ(a,t)⋅φ(a,t)⟩\psi(a,t)\cdot\bar{\varphi}(a,t)\ne\langle\psi(a,t)\cdot\varphi(a,t)\rangle.

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

φˉ=∇λ∘φˉ†(26)\bar{\varphi}=\nabla\lambda\circ\bar{\varphi}^{\dagger} \tag*{(26)}

of the gradient of a convex scalar function λ\lambda 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 φˉ\bar{\varphi}, it is in principle possible to determine φˉ†\bar{\varphi}^{\dagger} by solving either the minimization problem (23) or a Monge–Ampère equation for the Legendre transform of λ\lambda [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 tt and using (10) gives

∇λt∘φˉ†+(∂tφˉ†⋅∇)(∇λ)∘φˉ†=⟨u∘φ⟩.(27)\nabla\lambda_t\circ\bar{\varphi}^{\dagger}+(\partial_t\bar{\varphi}^{\dagger}\cdot\nabla)(\nabla\lambda)\circ\bar{\varphi}^{\dagger}=\langle u\circ\varphi\rangle. \tag*{(27)}

The Lagrangian mean velocity uˉ†\bar{u}^{\dagger} associated with φˉ†\bar{\varphi}^{\dagger} satisfies

∂tφˉ†(a,t)=uˉ†(φˉ†(a,t),t)(28)\partial_t\bar{\varphi}^{\dagger}(a,t)=\bar{u}^{\dagger}(\bar{\varphi}^{\dagger}(a,t),t) \tag*{(28)}

and is divergence free:

∇⋅uˉ†=0.(29)\nabla\cdot\bar{u}^{\dagger}=0. \tag*{(29)}

Using (28) we rewrite (27) as

∂t∇λ+(uˉ†⋅∇)(∇λ)=⟨u∘φ⟩∘φˉ†−1.(30)\partial_t\nabla\lambda+(\bar{u}^{\dagger}\cdot\nabla)(\nabla\lambda)=\langle u\circ\varphi\rangle\circ\bar{\varphi}^{\dagger-1}. \tag*{(30)}

For the ensemble average we can freely move φˉ†\bar{\varphi}^{\dagger} on the right-hand side within the average. Using the decomposition

φ=Ξ†∘φˉ†(31)\varphi=\Xi^{\dagger}\circ\bar{\varphi}^{\dagger} \tag*{(31)}

then gives

∂t∇λ+(uˉ†⋅∇)(∇λ)=⟨u∘Ξ†⟩.(32)\partial_t\nabla\lambda+(\bar{u}^{\dagger}\cdot\nabla)(\nabla\lambda)=\langle u\circ\Xi^{\dagger}\rangle. \tag*{(32)}

This equation is conveniently replaced by its divergence and curl, that is,

∂t∇2λ+∇⋅((uˉ†⋅∇)(∇λ))=∇⋅⟨u∘Ξ†⟩,(33)\partial_t\nabla^2\lambda+\nabla\cdot((\bar{u}^{\dagger}\cdot\nabla)(\nabla\lambda))=\nabla\cdot\langle u\circ\Xi^{\dagger}\rangle, \tag*{(33)}
∇×((uˉ†⋅∇)∇λ)=∇×⟨u∘Ξ†⟩.(34)\nabla\times((\bar{u}^{\dagger}\cdot\nabla)\nabla\lambda)=\nabla\times\langle u\circ\Xi^{\dagger}\rangle. \tag*{(34)}

On the other hand, differentiating (31) with respect to time leads to

∂tΞ†+(uˉ†⋅∇)Ξ†=u∘Ξ†.(35)\partial_t\Xi^{\dagger}+(\bar{u}^{\dagger}\cdot\nabla)\Xi^{\dagger}=u\circ\Xi^{\dagger}. \tag*{(35)}

Eqs. (29), (33), (34) and (35) are key results of this section. They constitute a closed system that determines uˉ†\bar{u}^{\dagger}, λ\lambda and Ξ†\Xi^{\dagger} from uu. Specifically, (33) and (35) govern the joint evolution of λ\lambda and Ξ†\Xi^{\dagger} while uˉ†\bar{u}^{\dagger} is diagnosed from (29) and (34). This system replaces the simpler GLM prescription that couples (35) (without the dagger subscripts) and the relation uˉ=⟨u∘Ξ⟩\bar{u}=\langle u\circ\Xi\rangle in (12).

Once Ξ†\Xi^{\dagger} is determined, the Lagrangian average of a quantity can be computed. For a scalar field g(x,t)g(x,t), in particular, this average is defined by

gˉ†(φˉ†(a,t),t)=⟨g(φ(a,t),t)⟩.(36)\bar{g}^{\dagger}(\bar{\varphi}^{\dagger}(a,t),t)=\langle g(\varphi(a,t),t)\rangle. \tag*{(36)}

(Again we keep the notation light by omitting a superscript L for the Lagrangian average.) For an ensemble average this reduces to

gˉ†(x,t)=⟨g(Ξ†(x,t),t)⟩.(37)\bar{g}^{\dagger}(x,t)=\left\langle g\left(\Xi^{\dagger}(x,t),t\right)\right\rangle. \tag*{(37)}

We conclude this section with three remarks. First, we give an interpretation for the scalar field λ\lambda. Averaging (35) and comparing with (32) shows that

⟨Ξ†⟩=∇λ,(38)\left\langle\Xi^{\dagger}\right\rangle=\nabla\lambda, \tag*{(38)}

assuming consistent initial conditions. Letting

λ=12∣x∣2+λ′,(39)\lambda=\frac{1}{2}|\boldsymbol{x}|^{2}+\lambda', \tag*{(39)}

(38) is equivalent to

⟨ξ†⟩=∇λ′.(40)\left\langle\xi^{\dagger}\right\rangle=\nabla\lambda'. \tag*{(40)}

This condition, with λ′\lambda' determined by the condition that u†\boldsymbol{u}_{\dagger} is divergence free, replaces GLM’s condition ⟨ξ⟩=0\langle\xi\rangle=0. Thus, in the polar-factorization framework, the perturbation field has a non-zero mean given by the gradient of λ′\lambda'.

The second remark concerns the difference between the bare GLM mean flow map φˉ\bar{\varphi} and its volume-preserving approximation φˉ†\bar{\varphi}_{\dagger}. Provided that φˉ\bar{\varphi} captures most of the dynamics in the sense that Ξ\Xi is close to the identity (or, equivalently, ξ\xi is small), the two maps are close together. We show this explicitly in appendix C where we construct φˉ†\bar{\varphi}_{\dagger} perturbatively assuming a velocity field of the form

u=u0+εu1,(41)\boldsymbol{u}=\boldsymbol{u}_{0}+\varepsilon\boldsymbol{u}_{1}, \tag*{(41)}

where u0\boldsymbol{u}_{0} is a fixed background velocity, u1\boldsymbol{u}_{1} a zero-mean perturbation velocity and ε≪1\varepsilon\ll1. We establish that ∣φˉ(a,t)−φˉ†(a,t)∣=O(ε2)\left|\bar{\varphi}(\boldsymbol{a},t)-\bar{\varphi}_{\dagger}(\boldsymbol{a},t)\right|=O(\varepsilon^{2}) for arbitrarily large tt. 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 O(ε2)O(\varepsilon^{2})-close to φˉ\bar{\varphi}.

The final remark concerns a third volume-preserving mean map. Instead of approximating the GLM flow map φˉ\bar{\varphi} by a volume-preserving flow map as we do for φˉ†\bar{\varphi}_{\dagger}, it is tempting to approximate the GLM mean velocity uˉ\bar{\boldsymbol{u}} 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 PuˉP\bar{\boldsymbol{u}}, the L2L_{2}-projection of uˉ\bar{\boldsymbol{u}} 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 φˉ\bar{\varphi} 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

⟨f⟩(t)=α∫−∞te−α(t−s)f(s) ds,(42)\langle f\rangle(t)=\alpha\int_{-\infty}^{t}e^{-\alpha(t-s)}f(s)\,\mathrm{d}s, \tag*{(42)}

where the parameter α>0\alpha>0 is an inverse averaging time scale. The exponential average corresponds to the choice of kernel k(t)=αe−αtH(t)k(t)=\alpha e^{-\alpha t}H(t), with H(t)H(t) the Heaviside function, in the general time average (5). It has the advantage that ⟨f⟩(t)\langle f\rangle(t) satisfies a differential equation, namely

d⟨f⟩dt=α(f−⟨f⟩).(43)\frac{\mathrm{d}\langle f\rangle}{\mathrm{d}t}=\alpha\left(f-\langle f\rangle\right). \tag*{(43)}

This makes it possible to compute averages on-the-fly, as part of simulations that deliver f(t)f(t) incrementally. Minz et al. [21] exploit this property for the computation of Lagrangian averages and show it generalizes to k(t)k(t) 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 ⟨u∘φ⟩∘φˉt†\langle u \circ\varphi\rangle\circ\bar{\varphi}_{t}^{\dagger} of equation (30) governing the evolution of λ\lambda can be evaluated explicitly. Integration by parts gives

⟨u∘φ⟩(a,t)=α∫−∞te−α(t−s)∂sφ(a,s) ds=α(φ(a,t)−α∫−∞te−α(t−s)φ(a,s) ds)=α(φ(a,t)−φˉ(a,t)).(44)\begin{aligned} \langle u \circ\varphi\rangle(a,t)=\alpha\int_{-\infty}^{t}e^{-\alpha(t-s)}\partial_s\varphi(a,s)\,\mathrm{d}s \\ &=\alpha\left(\varphi(a,t)-\alpha\int_{-\infty}^{t}e^{-\alpha(t-s)}\varphi(a,s)\,\mathrm{d}s\right) \\ &=\alpha\left(\varphi(a,t)-\bar{\varphi}(a,t)\right). \tag*{(44)} \end{aligned}

Using (26) and (31) then leads to

⟨u∘φ⟩∘φˉt†=α(Ξ†−∇λ).(45)\langle u\circ\varphi\rangle\circ\bar{\varphi}_{t}^{\dagger}=\alpha(\Xi_{\dagger}-\nabla\lambda). \tag*{(45)}

Eq. (30) becomes

∂t∇λ+(uˉ†⋅∇)(∇λ)=α(Ξ†−∇λ).(46)\partial_t\nabla\lambda+(\bar{u}_{\dagger}\cdot\nabla)(\nabla\lambda)=\alpha(\Xi_{\dagger}-\nabla\lambda). \tag*{(46)}

As in §II B, it is convenient to take the divergence and curl. This gives

∂t∇2λ+∇⋅((uˉ†⋅∇)∇λ)=α(∇⋅Ξ†−∇2λ)(47)\partial_t\nabla^2\lambda+\nabla\cdot((\bar{u}_{\dagger}\cdot\nabla)\nabla\lambda)=\alpha(\nabla\cdot\Xi_{\dagger}-\nabla^2\lambda) \tag*{(47)}
∇×((uˉ†⋅∇)∇λ)=α∇×Ξ†.(48)\nabla\times((\bar{u}_{\dagger}\cdot\nabla)\nabla\lambda)=\alpha\nabla\times\Xi_{\dagger}. \tag*{(48)}

These equations should be solved together with the evolution equation (35) for Ξ†\Xi_{\dagger} and the divergence-free condition (29) for uˉ†\bar{u}_{\dagger}. Eq. (47a) governs the evolution of ∇2λ\nabla^2\lambda and, on inverting the Laplacian, λ\lambda. Eqs. (29) and (35) determine uˉ†\bar{u}_{\dagger}. In an on-the-fly implementation, this system of equations is solved at the same time as dynamical equations for the instantaneous velocity uu. With Ξ†\Xi_{\dagger} and uˉ†\bar{u}_{\dagger} determined, the volume-preserving Lagrangian average of any field can be computed by solving an additional PDE. For a scalar field g(x,t)g(x,t), this takes the form

∂tgˉ†+uˉ†⋅∇gˉ†=α(g∘Ξ†−gˉ†)(49)\partial_t\bar{g}_{\dagger}+\bar{u}_{\dagger}\cdot\nabla\bar{g}_{\dagger}=\alpha(g\circ\Xi_{\dagger}-\bar{g}_{\dagger}) \tag*{(49)}

as follows from differentiating the definition

gˉ†(φˉ†(a,t),t)=α∫−∞te−α(t−s)g(φ(a,s),s) ds(50)\bar{g}_{\dagger}(\bar{\varphi}_{\dagger}(a,t),t)=\alpha\int_{-\infty}^{t}e^{-\alpha(t-s)}g(\varphi(a,s),s)\,\mathrm{d}s \tag*{(50)}

with respect to tt.

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

∂tζ+u⋅∇ζ=0withu=∇⊥ψand∇2ψ=ζ,(51)\partial_t\zeta+u\cdot\nabla\zeta=0\quad\text{with}\quad u=\nabla^\perp\psi\quad\text{and}\quad\nabla^2\psi=\zeta, \tag*{(51)}

where ζ\zeta is the vorticity, ψ\psi the streamfunction and ∇⊥=(−∂y,∂x)\nabla^\perp=(-\partial_y,\partial_x).

We solve the Euler equations (50) in a 2π×2π2\pi\times2\pi periodic domain using a modified version of the pseudospectral code in Ref. [20]. We use 2562256^2 grid points and Fourier modes, and an RK4 integrator with time step Δt=0.005\Delta t=0.005. For numerical stability, we employ 2/32/3 dealiasing and we add hyperviscous dissipation to the vorticity equation by multiplying the Fourier transform ζ^(k,t)\hat{\zeta}(k,t) of the vorticity by exp⁡(−κ∣k∣8Δt)\exp(-\kappa|k|^8\Delta t) at each time step. We take κ=2.6×10−14\kappa=2.6\times10^{-14}.

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 ξ†\xi_{\dagger} instead of Ξ†\Xi_{\dagger} and λ′=λ−α2∥x∥2\lambda'=\lambda-\frac{\alpha}{2}\lVert x\rVert^2 instead of λ\lambda. We enforce the divergence-free constraint for uˉ†\bar{u}_{\dagger} by means of a streamfunction, letting

uˉ†=∇⊥ψˉ†.(52)\bar{u}_{\dagger}=\nabla^\perp\bar{\psi}_{\dagger}. \tag*{(52)}

With these changes, (35) becomes

∂tξ†+uˉ†⋅∇ξ†=u∘Ξ†−uˉ†(53)\partial_t \xi^\dagger+ \bar{u}^\dagger\cdot\nabla\xi^\dagger= u \circ\Xi^\dagger- \bar{u}^\dagger \tag*{(53)}

and eq:47 become

∂t∇2λ′+∇⋅((uˉ†⋅∇)∇λ′)=α(∇⋅ξ†−∇2λ′)(54)\partial_t \nabla^2 \lambda' + \nabla\cdot\left((\bar{u}^\dagger\cdot\nabla)\nabla\lambda'\right) = \alpha\left(\nabla\cdot\xi^\dagger- \nabla^2 \lambda'\right) \tag*{(54)}
∇2ψˉ†+∇×((uˉ†⋅∇)∇λ′)=α∇×ξ†(55)\nabla^2 \bar{\psi}^\dagger+ \nabla\times\left((\bar{u}^\dagger\cdot\nabla)\nabla\lambda'\right) = \alpha\nabla\times\xi^\dagger \tag*{(55)}

At each time step, we update ξ†\xi^\dagger and λ′\lambda' using (53) and (54) then compute ψˉ†\bar{\psi}^\dagger by solving (55) using the iteration

∇2ψˉ†,k=α∇×ξ†−∇×((uˉ†,k⋅∇)∇λ′)(56)\nabla^2 \bar{\psi}^{\dagger,k} = \alpha\nabla\times\xi^\dagger- \nabla\times\left((\bar{u}^{\dagger,k} \cdot\nabla)\nabla\lambda'\right) \tag*{(56)}

where k=0,1,⋯k = 0, 1, \cdots denotes the iterate and uˉ†,k=∇⊥ψˉ†,k\bar{u}^{\dagger,k} = \nabla^\perp\bar{\psi}^{\dagger,k}. We focus on the Lagrangian average ζˉ†\bar{\zeta}^\dagger of the vorticity, computed from (49) with g=ζg = \zeta. We use bilinear interpolation to evaluate uu and gg at position Ξ†(x,t)=x+ξ†(x,t)\Xi^\dagger(x,t) = x + \xi^\dagger(x,t) 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 ζˉ\bar{\zeta} of the vorticity. For this, we solve the bare versions of (49) and (53) with uˉ=αξ\bar{u} = \alpha\xi, as follows from (44) [see also [21]].

The top row of Figure 2 shows the evolution of the vorticity ζ\zeta for an initial condition that consists of two well-separated vortices, specifically

Vorticity in a simulation of two-dimensional incompressible fluid at $t = 4$, $8$, $12$ and $16$

Figure 2. Vorticity in a simulation of two-dimensional incompressible fluid at t=4t = 4, 88, 1212 and 1616: instantaneous vorticity ζ\zeta (1st row), GLM mean ζˉ\bar{\zeta} (2nd row), volume-preserving mean ζˉ†\bar{\zeta}^{\dagger} (3rd row) and mean obtained using the divergence-free projection of the GLM mean velocity (4th row). We use an exponential average with α=0.5\alpha= 0.5. An animation of the vorticity fields is available at https://abhijeet-minz.github.io/animations.html.

ζ(x,t=0)=2(e−2.5(x2+(y+π/3)2)+e−2.5(x2+(y−π/3)2)).(57)\zeta(x,t=0) = 2\left(e^{-2.5(x^2+(y+\pi/3)^2)} + e^{-2.5(x^2+(y-\pi/3)^2)}\right). \tag*{(57)}

The dynamics are familiar: the vortices orbit the central point (0,0)(0,0), deform and undergo vortex merger. The second and third rows show the Lagrangian averages ζˉ\bar{\zeta} and ζˉ†\bar{\zeta}^\dagger of the vorticity obtained with the exponential filter with inverse time scale α=0.5\alpha= 0.5. To mitigate the effect of the phase delay that affects the exponential filter, we offset time by the zero-frequency phase delay ⟨t⟩=α−1=2\langle t\rangle= \alpha^{-1} = 2.

The bare Lagrangian averaging exhibits the expected divergence effect: the vortices in the Lagrangian mean field ζˉ\bar{\zeta} have much decreased areas compared with those in the instantaneous field ζ\zeta. 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 ζ\zeta and ζˉ†\bar{\zeta}^\dagger, 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 uˉ\bar{u} by its divergence-free projection PuˉP\bar{u} 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 Ξ\Xi 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 ζ\zeta, ζˉ\bar{\zeta} and ζˉ†\bar{\zeta}^\dagger at t=20t = 20. The pdf of ζ\zeta is time independent up to numerical effects (truncation error and dissipation). The pdfs of ζˉ\bar{\zeta} and ζˉ†\bar{\zeta}^\dagger are also time independent after an initial adjustment phase. The depletion of high values of ζˉ\bar{\zeta} reflects the decrease in area of the vortices noted in Figure 2. The pdf of ζˉ†\bar{\zeta}^\dagger, in contrast, is almost identical to that of ζ\zeta, confirming the effectiveness of the volume-preservation algorithm.

Comparison of the pdfs of $\zeta$, $\bar{\zeta}$ and $\bar{\zeta}^{\dagger}$

Figure 3. Comparison of the pdfs of ζ\zeta, ζˉ\bar{\zeta} and ζˉ†\bar{\zeta}^{\dagger} in the simulation of Figure 2 at t=20t = 20.

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]

∂tu+u⋅∇u+Ro−1z^×u=−Fr−2∇h,(58)\partial_t \mathbf{u} + \mathbf{u} \cdot\nabla\mathbf{u} + Ro^{-1}\hat{\mathbf{z}} \times\mathbf{u} = -Fr^{-2}\nabla h, \tag*{(58)}
∂th+∇⋅(hu)=0,(59)\partial_t h + \nabla\cdot(h\mathbf{u}) = 0, \tag*{(59)}

where Ro=U/(fL)Ro = U/(fL) is the Rossby number and Fr=U/gHFr = U/\sqrt{gH} is the Froude number. Here UU, LL and HH 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 UU and the length scale of the first Fourier mode as reference length LL so that the doubly periodic domain is [0,2π]2[0, 2\pi]^2. The Rossby and Froude number of the geostrophic flow are Ro=0.1Ro = 0.1 and Fr=0.5Fr = 0.5. With these parameters, the frequency ω=(Ro−2+Fr−2)1/2\omega= (Ro^{-2} + Fr^{-2})^{1/2} of the mode-1 Poincaré wave is ω=10.2\omega= 10.2 corresponding to a period of 0.62 time units. The wave fields in the absence of flow are given by

u′=acos⁡(x−ωt),v′=aωRosin⁡(x−ωt),h′=aωcos⁡(x−ωt).(60)u' = a\cos(x-\omega t), \qquad v' = \frac{a}{\omega Ro}\sin(x-\omega t), \qquad h' = \frac{a}{\omega}\cos(x-\omega t). \tag*{(60)}

At the initial time t=0t = 0, we add these to the geostrophic flow field. We take the amplitude a=−1a = -1 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 ξ†\xi^{\dagger} and equations (53) for λ′\lambda' and ψ†\psi^{\dagger}. 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 ζ\zeta and of its bare and volume-preserving averages ζˉ\bar{\zeta} and ζˉ†\bar{\zeta}^{\dagger}. 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 ζˉ\bar{\zeta} and ζˉ†\bar{\zeta}^{\dagger}. The vortices in ζˉ\bar{\zeta} are smaller than those in ζˉ†\bar{\zeta}^{\dagger} and, though this is less obvious to discern, in ζ\zeta. 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 ζˉ\bar{\zeta} are the result of the divergence effect rather than of a physical divergence.

Vorticity fields at four successive times

Figure 4. Vorticity field at four successive times in the shallow-water simulation of §III C: the instantaneous vorticity ζ\zeta (top row) is compared with its bare and volume-preserving exponential Lagrangian averages ζˉ\bar{\zeta} and ζˉ†\bar{\zeta}^{\dagger} (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 ∇⋅⟨u⟩\nabla\cdot\langle\mathbf{u}\rangle and ∇⋅uˉ\nabla\cdot\bar{\mathbf{u}} of the Eulerian and bare Lagrangian mean velocities. The bare Lagrangian mean uˉ\bar{\mathbf{u}} for the exponential mean is computed from the relation uˉ=α(Ξ−x)\bar{\mathbf{u}} = \alpha(\mathbf{\Xi} - \mathbf{x}) (which is shown in [21] or can be deduced from (46) by setting λ=∣x∣2/2\lambda= |\mathbf{x}|^2/2). Both ∇⋅⟨u⟩\nabla\cdot\langle\mathbf{u}\rangle and ∇⋅uˉ\nabla\cdot\bar{\mathbf{u}} 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 ∇⋅uˉ\nabla\cdot\bar{\mathbf{u}}, suggesting it results from the averaging rather than from a physical process. We also show in figure 5 (right panel) the Jacobian field ∣∂Ξ(x,t)/∂x∣|\partial\mathbf{\Xi}(\mathbf{x},t)/\partial\mathbf{x}|. Since

∣∂Ξ(x,t)∂x∣=∣∂φ(a,t)∂a∣∣∂φˉ(a,t)∂a∣−1(61)\left|\frac{\partial\mathbf{\Xi}(\mathbf{x},t)}{\partial\mathbf{x}}\right| = \left|\frac{\partial\varphi(\mathbf{a},t)}{\partial\mathbf{a}}\right| \left|\frac{\partial\bar{\varphi}(\mathbf{a},t)}{\partial\mathbf{a}}\right|^{-1} \tag*{(61)}
Divergence of the Eulerian and bare Lagrangian mean velocities and the Jacobian

Figure 5. Divergence of the Eulerian and bare Lagrangian mean velocities, ∇⋅⟨uˉ⟩\nabla\cdot\langle\bar{u}\rangle (left panel) and ∇⋅uˉ\nabla\cdot\bar{u} (middle panel) at the end of the shallow-water simulation (t=40t = 40). The averages use the exponential filter with α=0.5\alpha= 0.5. The right panel shows the Jacobian ∣∂Ξ∂x∣\left|\frac{\partial\Xi}{\partial x}\right| at the same time.

this Jacobian is the ratio of the height changes associated with the compressibility of φˉ\bar{\varphi} and φ\varphi, respectively. The compressibility of φ\varphi is weak because ∇⋅u\nabla\cdot u is dominated by an oscillatory wave component that has little time-integrated effect. The large values in ∣∂Ξ(x,t)/∂x∣\left|\partial\Xi(x,t)/\partial x\right|, up to 2, are dominated by the compressibility of φˉ\bar{\varphi} induced by the divergence effect.

Figure 6 shows the first components uu, uˉ\bar{u} and uˉ†\bar{u}^{\dagger} of the velocity and of its Lagrangian means at fixed y=0.24y=0.24 as functions of tt and xx. The instantaneous uu (top row) is dominated by the fast Poincaré wave. The bare Lagrangian mean uˉ\bar{u} 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 uˉ†\bar{u}^{\dagger} (third row) obtained from eq:47. We attribute this improvement to the fact that the Poincaré wave is divergent and partially filtered from uˉ†\bar{u}^{\dagger} by the divergence-free constraint ∇⋅u†=0\nabla\cdot u^{\dagger}=0. 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 uˉ†\bar{u}^{\dagger} that is almost perfectly free of fast oscillations.

First component of the velocity in the shallow-water simulation as a function of $t$ and $x$ for $y=0.24$

Figure 6. First component of the velocity in the shallow-water simulation as a function of tt and xx for y=0.24y=0.24: the instantaneous velocity uu (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 φˉ†\bar{\varphi}^{\dagger}. Equivalently, the Lagrangian mean velocity uˉ†=∂tφˉ†∘φˉ†−1\bar{u}^{\dagger} = \partial_t\bar{\varphi}^{\dagger} \circ\bar{\varphi}^{\dagger-1} is divergence free: ∇⋅uˉ†=0\nabla\cdot\bar{u}^{\dagger} = 0. For incompressible fluids, this also means that the perturbation map Ξ†\Xi^{\dagger} 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 φˉ\bar{\varphi} and Ξ\Xi do not preserve volume and the Lagrangian mean velocity is non-divergent, ∇⋅uˉ≠0\nabla\cdot\bar{u} \ne0. Our construction is nonetheless anchored to standard GLM since φˉ†\bar{\varphi}^{\dagger} is chosen as the volume-preserving map closest to φˉ\bar{\varphi} or, equivalently, as the volume-preserving factor in the polar factorization of φˉ\bar{\varphi}. Note however that φˉ†\bar{\varphi}^{\dagger} 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 L2L_2-norm to measure the closeness of φˉ†\bar{\varphi}^{\dagger} to φˉ\bar{\varphi}. In principle, other LpL_p-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 L2L_2-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 ⟨ζ⟩≠0\langle\zeta\rangle\ne0. 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 Ω(t)\Omega(t). The position of a particle, z(t)=x(t)+iy(t)z(t) = x(t) + \mathrm{i}y(t) in complex notation, satisfies

z˙=iΩz(62)\dot{z} = \mathrm{i}\Omega z \tag*{(62)}

and is given by

z(t)=eiθ(t)c,(63)z(t) = \mathrm{e}^{\mathrm{i}\theta(t)}c, \tag*{(63)}

where

θ(t)=∫0tΩ(s) ds.(64)\theta(t) = \int_0^t \Omega(s)\,\mathrm{d}s. \tag*{(64)}

The initial position c=a+ibc=a+\mathrm{i}b can be interpreted as a label for the particle. The corresponding Lagrangian mean position is

zˉ(t)=χ(t)c,where χ(t)=⟨eiθ(t)⟩.(65)\bar{z}(t)=\chi(t)c,\qquad\text{where }\chi(t)=\left\langle e^{\mathrm{i}\theta(t)}\right\rangle. \tag*{(65)}

We focus on time averages of the form (5). With the additional assumption k(t)≥0k(t)\ge0, the triangle inequality implies that ∣χ∣≤1\lvert\chi\rvert\le1, hence

∣zˉ(t)∣=∣χ∣∣c∣≤∣c∣=∣z(t)∣.(66)\lvert\bar{z}(t)\rvert=\lvert\chi\rvert\lvert c\rvert\le\lvert c\rvert=\lvert z(t)\rvert. \tag*{(66)}

This shows that averaging contracts trajectories. The Lagrangian mean velocity

uˉ+ivˉ=ddtln⁡χ zˉ(67)\bar{u}+\mathrm{i}\bar{v}=\frac{\mathrm{d}}{\mathrm{d}t}\ln\chi\,\bar{z} \tag*{(67)}

is divergent,

uˉx+vˉy=2Re⁡ddtln⁡χ=2ddtln⁡∣χ∣≠0(68)\bar{u}_{x}+\bar{v}_{y}=2\operatorname{Re}\frac{\mathrm{d}}{\mathrm{d}t}\ln\chi=2\frac{\mathrm{d}}{\mathrm{d}t}\ln\lvert\chi\rvert\ne0 \tag*{(68)}

unless θ˙=const.\dot{\theta}=\mathrm{const.}

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 zˉ(t)\bar{z}(t) in (65) by the nearest point on the circle of radius ∣z(t)∣=∣c∣\lvert z(t)\rvert=\lvert c\rvert, that is, by

zˉ†(t)=χ∣χ∣c=eiarg⁡χc.(69)\bar{z}^{\dagger}(t)=\frac{\chi}{\lvert\chi\rvert}c=e^{\mathrm{i}\arg\chi}c. \tag*{(69)}

This represents a rigid-body rotation. The velocity

uˉ†+ivˉ†=iddtarg⁡χ zˉ†(70)\bar{u}^{\dagger}+\mathrm{i}\bar{v}^{\dagger}=\mathrm{i}\frac{\mathrm{d}}{\mathrm{d}t}\arg\chi\,\bar{z}^{\dagger} \tag*{(70)}

is divergence-free.

Polar factorization

We give a formal argument for the polar factorization (26). First observe that

∫∥ψ(a,t)−ϕˉ(a,t)∥2 da=−2∫ψ(a,t)⋅ϕˉ(a,t) da+const,(71)\int\lVert\psi(a,t)-\bar{\phi}(a,t)\rVert^{2}\,\mathrm{d}a=-2\int\psi(a,t)\cdot\bar{\phi}(a,t)\,\mathrm{d}a+\mathrm{const}, \tag*{(71)}

where the constant is independent of ψ\psi because

∫∥ψ(a,t)∥2 da=∫∥x∥2 dx,(72)\int\lVert\psi(a,t)\rVert^{2}\,\mathrm{d}a=\int\lVert x\rVert^{2}\,\mathrm{d}x, \tag*{(72)}

using that ψ\psi preserves volume. We next consider the maps ψ\psi as near-identity, volume-preserving perturbations of the extremum ϕˉ†\bar{\phi}^{\dagger}. Near-identity perturbations can be expressed in terms of a generating vector field ww as

ew⋅∇x=x+w(x,t)+12(w⋅∇w)(x,t)+⋯ .(73)e^{w\cdot\nabla}x=x+w(x,t)+\frac{1}{2}(w\cdot\nabla w)(x,t)+\cdots. \tag*{(73)}

The divergence-free condition ∇⋅w=0\nabla\cdot w=0 ensures that these perturbations preserve volume. With ψ=ew⋅∇∘ϕˉ†\psi=e^{w\cdot\nabla}\circ\bar{\phi}^{\dagger}, this gives

ψ(a,t)=ϕˉ†(a,t)+w(ϕˉ†(a,t),t)+12(w⋅∇w)(ϕˉ†(a,t),t)+⋯ .(74)\psi(a,t)=\bar{\phi}^{\dagger}(a,t)+w(\bar{\phi}^{\dagger}(a,t),t)+\frac{1}{2}(w\cdot\nabla w)(\bar{\phi}^{\dagger}(a,t),t)+\cdots. \tag*{(74)}

With this expression and (71), the condition that ψ=ϕˉ†\psi=\bar{\phi}^{\dagger} minimises the left-hand side of (71) reads

0≥∫ψ(a,t)⋅ϕˉ(a,t) da−∫ϕˉ†(a,t)⋅ϕˉ(a,t) da=∫w(ϕˉ†(a,t),t)⋅ϕˉ(a,t) da+12∫(w⋅∇w)(ϕˉ†(a,t),t)⋅ϕˉ(a,t) da=∫w(x,t)⋅(ϕˉ∘ϕˉ†−1(x,t)) dx+12∫(w⋅∇w)(x,t)⋅(ϕˉ∘ϕˉ†−1(x,t)) dx.(75)\begin{aligned} 0&\ge\int\psi(a,t)\cdot\bar{\phi}(a,t)\,\mathrm{d}a-\int\bar{\phi}^{\dagger}(a,t)\cdot\bar{\phi}(a,t)\,\mathrm{d}a\\ &=\int w(\bar{\phi}^{\dagger}(a,t),t)\cdot\bar{\phi}(a,t)\,\mathrm{d}a+\frac{1}{2}\int(w\cdot\nabla w)(\bar{\phi}^{\dagger}(a,t),t)\cdot\bar{\phi}(a,t)\,\mathrm{d}a\\ &=\int w(x,t)\cdot(\bar{\phi}\circ\bar{\phi}^{\dagger-1}(x,t))\,\mathrm{d}x+\frac{1}{2}\int(w\cdot\nabla w)(x,t)\cdot(\bar{\phi}\circ\bar{\phi}^{\dagger-1}(x,t))\,\mathrm{d}x . \tag*{(75)} \end{aligned}

on changing integration variable from aa to x=φˉ†−1(a,t)x = \bar{\varphi}_{\dagger}^{-1}(a,t) and omitting O(∥w∥3)O(\lVert w\rVert^3) terms. For the inequality to hold, the first integral on the last line of (75) must vanish for all divergence-free ww. This implies that

φˉ∘φˉ†−1=∇λ(76)\bar{\varphi} \circ\bar{\varphi}_{\dagger}^{-1} = \nabla\lambda \tag*{(76)}

for some λ\lambda, 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

∫w(x,t)⋅∇∇λ(x,t)⋅w(x,t) dx≥0,(77)\int w(x,t) \cdot\nabla\nabla\lambda(x,t) \cdot w(x,t)\,\mathrm{d}x \ge0, \tag*{(77)}

i.e. convexity of λ\lambda.

Small-amplitude perturbations

We now obtain an approximation to the volume-preserving Lagrangian mean velocity uˉ†\bar{u}_{\dagger} for a velocity field of the form (41). The velocity is divergence free such that ∇⋅u0=∇⋅u1=0\nabla\cdot u_0 = \nabla\cdot u_1 = 0. We use an ensemble average, with ⟨u1⟩=0\langle u_1\rangle= 0. We solve (29), (32) and (35) perturbatively. We expand

Ξ†=x+εξ1+ε2ξ2+O(ε3),(78)\Xi_{\dagger} = x + \varepsilon\xi_1 + \varepsilon^2 \xi_2 + O(\varepsilon^3), \tag*{(78)}
uˉ†=u0+ε2uˉ†2+O(ε3),(79)\bar{u}_{\dagger} = u_0 + \varepsilon^2 \bar{u}_{\dagger2} + O(\varepsilon^3), \tag*{(79)}
λ=12∥x∥2+ε2λ2+O(ε3),(80)\lambda= \frac{1}{2}\lVert x\rVert^2 + \varepsilon^2\lambda_2 + O(\varepsilon^3), \tag*{(80)}

anticipating some O(1)O(1) and O(ε)O(\varepsilon) terms. Introducing this into (35) gives

ξ1t+Lu0ξ1=u1(81)\xi_{1t} + \mathcal{L}_{u_0}\xi_1 = u_1 \tag*{(81)}

at O(ε)O(\varepsilon). Here we introduce the notation

Lu0ξ1=u0⋅∇ξ1−ξ1⋅∇u0(82)\mathcal{L}_{u_0}\xi_1 = u_0 \cdot\nabla\xi_1 - \xi_1 \cdot\nabla u_0 \tag*{(82)}

for the Lie derivative (or commutator) of vector fields. We note that the solution ξ1\xi_1 satisfies ⟨ξ1⟩=0\langle\xi_1\rangle= 0 and ∇⋅ξ1=0\nabla\cdot\xi_1 = 0. For divergence-free vector fields like u0u_0 and ξ1\xi_1, the Lie derivative takes the alternative form

Lu0ξ1=∇×(ξ1×u0),(83)\mathcal{L}_{u_0}\xi_1 = \nabla\times(\xi_1 \times u_0), \tag*{(83)}

making it plain it is also divergence free. Averaging the O(ε2)O(\varepsilon^2) terms in (35) yields

uˉ†2=⟨ξ1⋅∇u1⟩+12⟨ξ1⋅∇∇u0⋅ξ1⟩−(∂t+Lu0)⟨ξ2⟩,(84)\bar{u}_{\dagger2} = \langle\xi_1 \cdot\nabla u_1\rangle+ \frac{1}{2}\langle\xi_1 \cdot\nabla\nabla u_0 \cdot\xi_1\rangle- (\partial_t + \mathcal{L}_{u_0})\langle\xi_2\rangle, \tag*{(84)}

where we use that ⟨ξ⟩1=0\langle\xi\rangle_1 = 0. The middle term on the right-hand side of (84) has the component expression

⟨ξ1⋅∇∇u0⋅ξ1⟩i=⟨ξ1jξ1k⟩∂jku0i,(85)\langle\xi_1 \cdot\nabla\nabla u_0 \cdot\xi_1\rangle^i = \langle\xi_1^j \xi_1^k\rangle\partial_{jk}u_0^i, \tag*{(85)}

with summation over repeated indices implied. This term can be rewritten by noting that

ξ1⋅∇∇u0⋅ξ1=(∂t+Lu0)(ξ1⋅∇ξ1)−u1⋅∇ξ1−ξ1⋅∇u1.(86)\xi_1 \cdot\nabla\nabla u_0 \cdot\xi_1 = (\partial_t + \mathcal{L}_{u_0})(\xi_1 \cdot\nabla\xi_1) - u_1 \cdot\nabla\xi_1 - \xi_1 \cdot\nabla u_1. \tag*{(86)}

This identity can established in components starting with the first term on the right-hand side:

((∂t+Lu0)(ξ1⋅∇ξ1))i=(∂t+u0j∂j)(ξ1k∂kξ1i)−ξ1k∂kξ1j∂ju0i=(∂t+u0j∂j)ξ1k∂kξ1i+ξ1k∂k((∂t+u0j∂j)ξ1i)−ξ1k∂jξ1i∂ku0j−ξ1k∂kξ1j∂ju0i=u1k∂kξ1i+ξ1j∂ju0k∂kξ1i+ξ1k∂k(u1i+ξ1j∂ju0i)−ξ1k∂jξ1i∂ku0j−ξ1k∂kξ1j∂ju0i=u1k∂kξ1i+ξ1k∂ku1i+ξ1kξ1j∂kju0i,(87)\begin{aligned} ((\partial_t + \mathcal{L}_{u_0})(\xi_1 \cdot\nabla\xi_1))^i &= (\partial_t + u_0^j\partial_j)(\xi_1^k\partial_k\xi_1^i) - \xi_1^k\partial_k\xi_1^j\partial_j u_0^i \\ &= (\partial_t + u_0^j\partial_j)\xi_1^k\partial_k\xi_1^i + \xi_1^k\partial_k((\partial_t + u_0^j\partial_j)\xi_1^i) \\ &\quad- \xi_1^k\partial_j\xi_1^i\partial_k u_0^j - \xi_1^k\partial_k\xi_1^j\partial_j u_0^i \\ &= u_1^k\partial_k\xi_1^i + \xi_1^j\partial_j u_0^k\partial_k\xi_1^i + \xi_1^k\partial_k(u_1^i + \xi_1^j\partial_j u_0^i) \\ &\quad- \xi_1^k\partial_j\xi_1^i\partial_k u_0^j - \xi_1^k\partial_k\xi_1^j\partial_j u_0^i \\ &= u_1^k\partial_k\xi_1^i + \xi_1^k\partial_k u_1^i + \xi_1^k\xi_1^j\partial_{kj}u_0^i, \tag*{(87)} \end{aligned}

using (81) in the form (∂t+u0j∂j)ξ1k=u1k+ξ1j∂ju0k(\partial_t + u_0^j\partial_j)\xi_1^k = u_1^k + \xi_1^j\partial_j u_0^k. Rearranging yields (86).

Introducing (86) into (84) gives

uˉ†2=12⟨Lξ1u1⟩+(∂t+Lu0)(12⟨ξ1⋅∇ξ1⟩−⟨ξ2⟩).(88)\bar{u}_{\dagger2} = \frac{1}{2}\langle\mathcal{L}_{\xi_1}u_1\rangle+ (\partial_t + \mathcal{L}_{u_0})\left(\frac{1}{2}\langle\xi_1\cdot\nabla\xi_1\rangle-\langle\xi_2\rangle\right). \tag*{(88)}

Now, according to (40), ⟨ξ2⟩\langle\xi_2\rangle is a gradient, ⟨ξ2⟩=∇λ2\langle\xi_2\rangle=\nabla\lambda_2, with λ2\lambda_2 determined by the condition ∇⋅uˉ†2=0\nabla\cdot\bar{u}_{\dagger2}=0. Since ∇⋅⟨Lξ1u1⟩=0\nabla\cdot\langle\mathcal{L}_{\xi_1}u_1\rangle=0, this implies

12⟨ξ1⋅∇ξ1⟩−⟨ξ2⟩=12⟨ξ1⋅∇ξ1⟩−∇λ2=12P⟨ξ1⋅∇ξ1⟩,(89)\frac{1}{2}\langle\xi_1\cdot\nabla\xi_1\rangle-\langle\xi_2\rangle=\frac{1}{2}\langle\xi_1\cdot\nabla\xi_1\rangle-\nabla\lambda_2=\frac{1}{2}P\langle\xi_1\cdot\nabla\xi_1\rangle, \tag*{(89)}

where PP denotes the (Leray) projection on divergence-free vector fields. This reduces (88) to

uˉ†2=12⟨Lξ1u1⟩+(∂t+Lu0)12P⟨ξ1⋅∇ξ1⟩(90)\bar{u}_{\dagger2}=\frac{1}{2}\langle\mathcal{L}_{\xi_1}u_1\rangle+(\partial_t+\mathcal{L}_{u_0})\frac{1}{2}P\langle\xi_1\cdot\nabla\xi_1\rangle \tag*{(90)}

and recovers the result of the ‘optimal transport’ formulation of [17].

We can now compare the volume-preserving Lagrangian mean velocity uˉ†=u0+ε2uˉ†2\bar{u}^{\dagger}=u_0+\varepsilon^2\bar{u}_{\dagger2} resulting form the polar factorization (26) with other Lagrangian mean velocities. The standard GLM Lagrangian mean velocity is uˉ=u0+ε2uˉ2\bar{u}=u_0+\varepsilon^2\bar{u}_2 with

uˉ2=12⟨Lξ1u1⟩+(∂t+Lu0)12⟨ξ1⋅∇ξ1⟩.(91)\bar{u}_2=\frac{1}{2}\langle\mathcal{L}_{\xi_1}u_1\rangle+(\partial_t+\mathcal{L}_{u_0})\frac{1}{2}\langle\xi_1\cdot\nabla\xi_1\rangle. \tag*{(91)}

It is obtained by setting ⟨ξ2⟩=0\langle\xi_2\rangle=0 in (88). Comparing with (90) shows that the polar factorization construction introduces the projection PP in the last term. The glm construction of Soward and Roberts [16], reducing to the solenoidal Stokes drift of Vanneste and Young [18] for u0=0u_0=0, is

uˉ2glm=12⟨Lξ1u1⟩.(92)\bar{u}^{\mathrm{glm}}_2=\frac{1}{2}\langle\mathcal{L}_{\xi_1}u_1\rangle. \tag*{(92)}

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, ∂t+Lu0\partial_t+\mathcal{L}_{u_0}. This implies that the mean trajectories corresponding to the three mean velocities are O(ε2)O(\varepsilon^2) close for long times. More precisely, we have that

ϕˉ†(a,t)=ϕˉglm(a,t)+ε2f(ϕˉglm(a,t),t)+O(ε3),(93)\bar{\phi}^{\dagger}(a,t)=\bar{\phi}^{\mathrm{glm}}(a,t)+\varepsilon^2 f(\bar{\phi}^{\mathrm{glm}}(a,t),t)+O(\varepsilon^3), \tag*{(93)}

where ϕˉglm\bar{\phi}^{\mathrm{glm}} is the flow map associated with u0+ε2uˉ2glmu_0+\varepsilon^2\bar{u}^{\mathrm{glm}}_2 and f=12P⟨ξ1⋅∇ξ1⟩f=\frac{1}{2}P\langle\xi_1\cdot\nabla\xi_1\rangle.

We verify (93) by taking the time derivative of the right-hand side to obtain

uˉglm(ϕˉglm(a,t),t)+ε2(∂tf+uˉglm⋅∇f)(ϕˉglm(a,t),t)+O(ε3)=u0(ϕˉ†(a,t)−ε2f(ϕˉ†(a,t),t),t)+ε2(12⟨Lξ1u1⟩+∂tf+u0⋅∇f)(ϕˉ†(a,t),t)+O(ε3)=u0(ϕˉ†(a,t),t)+ε2(12⟨Lξ1u1⟩+(∂t+Lu0)f)(ϕˉ†(a,t),t)+O(ε3)=uˉ†(ϕˉ†(a,t),t)+O(ε3).(94)\begin{aligned} \bar{u}^{\mathrm{glm}}(\bar{\phi}^{\mathrm{glm}}(a,t),t)+\varepsilon^2(\partial_t f+\bar{u}^{\mathrm{glm}}\cdot\nabla f)(\bar{\phi}^{\mathrm{glm}}(a,t),t)+O(\varepsilon^3)\\ =u_0(\bar{\phi}^{\dagger}(a,t)-\varepsilon^2f(\bar{\phi}^{\dagger}(a,t),t),t)\\ \quad+\varepsilon^2\left(\frac{1}{2}\langle\mathcal{L}_{\xi_1}u_1\rangle+\partial_t f+u_0\cdot\nabla f\right)(\bar{\phi}^{\dagger}(a,t),t)+O(\varepsilon^3)\\ =u_0(\bar{\phi}^{\dagger}(a,t),t)+\varepsilon^2\left(\frac{1}{2}\langle\mathcal{L}_{\xi_1}u_1\rangle+(\partial_t+\mathcal{L}_{u_0})f\right)(\bar{\phi}^{\dagger}(a,t),t)+O(\varepsilon^3)\\ =\bar{u}^{\dagger}(\bar{\phi}^{\dagger}(a,t),t)+O(\varepsilon^3). \tag*{(94)} \end{aligned}

This matches the time derivative ∂tϕˉ†(a,t)=uˉ†(ϕˉ†(a,t),t)\partial_t\bar{\phi}^{\dagger}(a,t)=\bar{u}^{\dagger}(\bar{\phi}^{\dagger}(a,t),t) of the left-hand side.

A similar computation shows that

ϕˉ(a,t)=ϕˉglm(a,t)+ε2f(ϕˉglm(a,t),t)+O(ε3),(95)\bar{\phi}(a,t)=\bar{\phi}^{\mathrm{glm}}(a,t)+\varepsilon^2f(\bar{\phi}^{\mathrm{glm}}(a,t),t)+O(\varepsilon^3), \tag*{(95)}

with f=12⟨ξ1⋅∇ξ1⟩f=\frac{1}{2}\langle\xi_1\cdot\nabla\xi_1\rangle.

We conclude from the closeness of ϕˉ\bar{\phi}, ϕˉ†\bar{\phi}^{\dagger} and ϕˉglm\bar{\phi}^{\mathrm{glm}} 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 uˉ\bar{u}, namely its projection Puˉ=u0+ε2Puˉ2P\bar{u}=u_0+\varepsilon^2P\bar{u}_2 on divergence-free vector fields. Since

Puˉ2=12⟨Lξ1u1⟩+P(∂t+Lu0)12⟨ξ1⋅∇ξ1⟩(96)P\bar{u}_2=\frac{1}{2}\langle\mathcal{L}_{\xi_1}u_1\rangle+P(\partial_t+\mathcal{L}_{u_0})\frac{1}{2}\langle\xi_1\cdot\nabla\xi_1\rangle \tag*{(96)}

and PP and Lu0\mathcal{L}_{u_0} do not commute, the difference between PuˉP\bar{u} and uˉ\bar{u} is not a derivative along the leading order flow. As a result, the trajectories of PuˉP\bar{u} do not remain close to ϕˉ\bar{\phi}; they do not capture the mean motion and lead to the uncontrolled growth of the displacement field ξ\xi.

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 ⟨φ⟩=φˉ\langle\varphi\rangle=\bar{\varphi} and substitute the polar decomposition ∇λ∘φˉ†−1\nabla\lambda\circ\bar{\varphi}_{\dagger}^{-1}.

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 φˉ\bar{\varphi} can be obtained by solving the system of equations

∂t[φ~(a,t)φˉ(a,t)]=−αA[φ~(a,t)φˉ(a,t)]+α[φ(a,t)0](97)\partial_t \begin{bmatrix} \widetilde{\varphi}(a,t)\\ \bar{\varphi}(a,t) \end{bmatrix} =-\alpha A \begin{bmatrix} \widetilde{\varphi}(a,t)\\ \bar{\varphi}(a,t) \end{bmatrix} +\alpha \begin{bmatrix} \varphi(a,t)\\ 0 \end{bmatrix} \tag*{(97)}

where φ~\widetilde{\varphi} is an auxiliary field and the matrix

A=[2−12−2−11](98)A= \begin{bmatrix} \sqrt{2}-1 & 2-\sqrt{2}\\ -1 & 1 \end{bmatrix} \tag*{(98)}

is positive definite. Defining Ξ~=x+ξ~\widetilde{\Xi}=x+\widetilde{\xi} by φ~=Ξ~∘φˉ\widetilde{\varphi}=\widetilde{\Xi}\circ\bar{\varphi}, this can be rewritten as

∂tξ~+uˉ⋅∇ξ~=u~−uˉ,∂tξ+uˉ⋅∇ξ=u∘(id⁡+ξ)−uˉ,(99)\partial_t\widetilde{\xi}+\bar{u}\cdot\nabla\widetilde{\xi}=\widetilde{u}-\bar{u},\qquad\partial_t\xi+\bar{u}\cdot\nabla\xi=u\circ(\operatorname{id}+\xi)-\bar{u}, \tag*{(99)}

where u~=α(ξ−(2−1)ξ~)\widetilde{u}=\alpha\bigl(\xi-(\sqrt{2}-1)\widetilde{\xi}\bigr) and uˉ=αξ~\bar{u}=\alpha\widetilde{\xi}.

u~=α(ξ−(2−1)ξ~)−(2−2)∇λ′(100)\widetilde{u}=\alpha\left(\xi-(\sqrt{2}-1)\widetilde{\xi}\right)-(2-\sqrt{2})\nabla\lambda' \tag*{(100)}

The auxiliary velocity u~\widetilde{u} is defined by u~=∂tφ~∘φˉ−1\widetilde{u}=\partial_t\widetilde{\varphi}\circ\bar{\varphi}^{-1} (see [21]).

We now obtain a volume-preserving version of eq:D3. We substitute φˉ=∇λ∘φˉ†\bar{\varphi}=\nabla\lambda\circ\bar{\varphi}_{\dagger} into (97) and compose with φˉ†−1\bar{\varphi}_{\dagger}^{-1} to find

[∂t∇λ(x,t)+(uˉ†(x,t)⋅∇)∇λ(x,t)]=−αA[Ξ~†(x,t)∇λ(x,t)]+α[Ξ†(x,t)0](101)\left[ \partial_t\nabla\lambda(x,t)+(\bar{u}_{\dagger}(x,t)\cdot\nabla)\nabla\lambda(x,t) \right] = -\alpha A \begin{bmatrix} \widetilde{\Xi}_{\dagger}(x,t)\\ \nabla\lambda(x,t) \end{bmatrix} +\alpha \begin{bmatrix} \Xi_{\dagger}(x,t)\\ 0 \end{bmatrix} \tag*{(101)}

where u~†=∂tφ~∘φˉ†−1\widetilde{u}_{\dagger}=\partial_t\widetilde{\varphi}\circ\bar{\varphi}_{\dagger}^{-1}, Ξ~†=φ~∘φˉ†−1\widetilde{\Xi}_{\dagger}=\widetilde{\varphi}\circ\bar{\varphi}_{\dagger}^{-1} and Ξ†=φ∘φˉ†−1\Xi_{\dagger}=\varphi\circ\bar{\varphi}_{\dagger}^{-1}. With Ξ~†=x+ξ~†\widetilde{\Xi}_{\dagger}=x+\widetilde{\xi}_{\dagger} and λ=∣x∣2/2+λ′\lambda=\lvert x\rvert^2/2+\lambda', the first row in (101) becomes

u~†=α(ξ†−(2−1)ξ~†−(2−2)∇λ′).(102)\widetilde{u}_{\dagger}=\alpha\left(\xi_{\dagger}-(\sqrt{2}-1)\widetilde{\xi}_{\dagger}-(2-\sqrt{2})\nabla\lambda'\right). \tag*{(102)}

where Ξ~†=x+ξ~†\widetilde{\Xi}_{\dagger}=x+\widetilde{\xi}_{\dagger} and Ξ†=x+ξ†\Xi_{\dagger}=x+\xi_{\dagger}. The second row of (101) is

∂t∇λ′+(uˉ†⋅∇)(∇λ′)=α(ξ~†−∇λ′).(103)\partial_t\nabla\lambda'+(\bar{u}_{\dagger}\cdot\nabla)(\nabla\lambda')=\alpha\left(\widetilde{\xi}_{\dagger}-\nabla\lambda'\right). \tag*{(103)}

Together with the divergence-free condition ∇⋅uˉ†=0\nabla\cdot\bar{u}_{\dagger}=0, (102) and (103) determine u~†\widetilde{u}_{\dagger}, uˉ†\bar{u}_{\dagger} and λ′\lambda' assuming ξ~†\widetilde{\xi}_{\dagger} and ξ†\xi_{\dagger} are known. Evolution equations for ξ~†\widetilde{\xi}_{\dagger} and ξ†\xi_{\dagger} are obtained by time differentiation of φ~=Ξ~†∘φˉ†\widetilde{\varphi}=\widetilde{\Xi}_{\dagger}\circ\bar{\varphi}_{\dagger} and φ=Ξ†∘φˉ†\varphi=\Xi_{\dagger}\circ\bar{\varphi}_{\dagger} and are given by (99) with all fields decorated by †\dagger.

In two dimensions, we can take uˉ†=∇⊥ψˉ†\bar{u}_{\dagger}=\nabla^{\perp}\bar{\psi}_{\dagger}. The divergence and curl of (103) then give the system

∂t∇2λ′+∇⋅((uˉ†⋅∇)∇λ′)=α(∇⋅ξ~†−∇2λ′)(104)\partial_t\nabla^2\lambda'+\nabla\cdot\left((\bar{u}_{\dagger}\cdot\nabla)\nabla\lambda'\right)=\alpha\left(\nabla\cdot\widetilde{\xi}_{\dagger}-\nabla^2\lambda'\right) \tag*{(104)}
∇2ψˉ†+∇×((uˉ†⋅∇)∇λ′)=α∇×ξ~†.(105)\nabla^2\bar{\psi}_{\dagger}+\nabla\times\left((\bar{u}_{\dagger}\cdot\nabla)\nabla\lambda'\right)=\alpha\nabla\times\widetilde{\xi}_{\dagger}. \tag*{(105)}

analogous to (53).

References

References

  1. [5]D. D. Holm, Variational principles for Lagrangian-averaged fluid dynamics, J. Phys. A Math. Gen. 35, 679 (2002).DOI
  2. [6]D. D. Holm, Lagrangian averages, averaged Lagrangians, and the mean effects of fluctuation in fluid dynamics, Chaos 12, 518 (2002).
  3. [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).
  4. [8]R. Salmon, An alternative view of generalized Lagrangian mean theory, Journal of Fluid Mechanics 719, 165 (2013).DOI
  5. [9]O. Bühler, Waves and mean flows (Cambridge University Press, 2014).
  6. [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).
  7. [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).
  8. [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
  9. [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
  10. [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
  11. [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
  12. [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
  13. [17]A. D. Gilbert and J. Vanneste, Geometric generalised Lagrangian-mean theories, Journal of Fluid Mechanics 839, 95 (2018).
  14. [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
  15. [19]H. A. Kafiabad, Grid-based calculation of the Lagrangian mean, Journal of Fluid Mechanics 940, A21 (2022).DOI
  16. [20]H. A. Kafiabad and J. Vanneste, Computing Lagrangian means, Journal of Fluid Mechanics 960, A36 (2023).DOI
  17. [21]A. Minz, L. E. Baker, H. A. Kafiabad, and J. Vanneste, Efficient Lagrangian averaging with exponential filters, Physical Review Fluids 10, 074902 (2025).
  18. [22]Y. Brenier, Polar factorization and monotone rearrangement of vector-valued functions, Communications on Pure and Applied Mathematics 44, 375 (1991).DOI
  19. [23]H. A. Kafiabad, J. Vanneste, and W. R. Young, Wave-averaged balance: a simple example, Journal of Fluid Mechanics 911, R1 (2021).DOI
  20. [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).
  21. [25]A. D. Gilbert and J. Vanneste, Geometric approaches to Lagrangian averaging, Annual Review of Fluid Mechanics 57, 117 (2025).
  22. [26]L. E. Baker, OceananigansLagrangianFilter.jl: A set of tools to perform online or offline Lagrangian filtering of Oceananigans.jl simulations. (2026).
  23. [27]V. Zeitlin, Geophysical fluid dynamics: understanding (almost) everything with rotating shallow water models (Oxford University Press, 2018).
  24. [28]V. I. Arnold and B. A. Khesin, Topological methods in hydrodynamics (Springer, 1998).
  25. [29]A. Minz, L. E. Baker, and J. Vanneste, Code and data for Volume-preserving Lagrangian averaging using polar factorization (2026).
  26. [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).

Paper details

vlnc:W_9zjpeg92
v1 · latestHistory (1)

published ·

added ·

Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

CC BY 4.0

Original source

  • Physics and Astronomy

Not recorded for this paper · View statement →

Looking for related papers…
Contents