Hostname: page-component-74656f9884-8r8nv Total loading time: 0 Render date: 2026-11-10T16:16:14.577Z Has data issue: false hasContentIssue false

Computing Lagrangian means

Published online by Cambridge University Press:  11 April 2023

Hossein A. Kafiabad*
Affiliation:
Department of Mathematical Sciences, Durham University, Durham DH1 3LE, UK
Jacques Vanneste
Affiliation:
School of Mathematics and Maxwell Institute for Mathematical Sciences, University of Edinburgh, Edinburgh EH9 3FD, UK
*
†Email address for correspondence: hossein.amini-kafiabad@durham.ac.uk

Abstract

Lagrangian averaging plays an important role in the analysis of wave–mean-flow interactions and other multiscale fluid phenomena. The numerical computation of Lagrangian means, e.g. from simulation data, is, however, challenging. Typical implementations require tracking a large number of particles to construct Lagrangian time series, which are then averaged using a low-pass filter. This has drawbacks that include large memory demands, particle clustering and complications of parallelisation. We develop a novel approach in which the Lagrangian means of various fields (including particle positions) are computed by solving partial differential equations (PDEs) that are integrated over successive averaging time intervals. We propose two strategies, distinguished by their spatial independent variables. The first, which generalises the algorithm of Kafiabad (J. Fluid Mech., vol. 940, 2022, A2), uses end-of-interval particle positions; the second uses directly the Lagrangian mean positions. The PDEs can be discretised in a variety of ways, e.g. using the same discretisation as that employed for the governing dynamical equations, and solved on-the-fly to minimise the memory footprint. We illustrate the new approach with a pseudo-spectral implementation for the rotating shallow-water model. Two applications to flows that combine vortical turbulence and Poincaré waves demonstrate the superiority of Lagrangian averaging over Eulerian averaging for wave–vortex separation.

Information

Type
JFM Papers
Creative Commons
Creative Common License - CCCreative Common License - BY
This is an Open Access article, distributed under the terms of the Creative Commons Attribution licence (http://creativecommons.org/licenses/by/4.0), which permits unrestricted re-use, distribution and reproduction, provided the original article is properly cited.
Copyright
© The Author(s), 2023. Published by Cambridge University Press.
Figure 0

Figure 1. Vorticity field and its Lagrangian and Eulerian means in the shallow-water simulation of § 4.2.1: (a) instantaneous vorticity, (b) Lagrangian mean vorticity, and (c) Eulerian mean vorticity. Both mean fields share the same averaging period, corresponding to 3.6 wave periods. Panels (b) and (c) share the same colour bar, shown to the right of (c).

Figure 1

Figure 2. Lagrangian means and partial Lagrangian means in an averaging interval $(\tau, \tau + T)$: (a) means of a function $f$ evaluated along the trajectory $\boldsymbol {\varphi }(\boldsymbol {a},t)$ of a fluid parcel labelled by $\boldsymbol {a}$; and (b) means of the position, shown here along a single coordinate axis.

Figure 2

Figure 3. Flow map $\boldsymbol {\varphi }$, Lagrangian (partial) mean map $\bar{\boldsymbol {\varphi }}$, lift map $\boldsymbol {\varXi}$ and its inverse $\boldsymbol {\varXi}^{-1}$.

Figure 3

Figure 4. Vorticity field and its Lagrangian mean for a two-dimensional incompressible inviscid flow: (a) instantaneous vorticity $\zeta$ at $t = 25$. (b–d) Computation of $\tilL {\zeta }$ by time integration of (3.5) from $\tau = 0$ to $T=25$, using (b) a semi-Lagrangian discretisation with linear interpolation, (c) a semi-Lagrangian discretisation with cubic interpolation, and (d) pseudo-spectral discretisation.

Figure 4

Figure 5. Initial condition of the shallow-water simulation: (a) vertical vorticity of the geostrophic flow; and (b) height field of the Poincaré wave.

Figure 5

Figure 6. Potential vorticity (PV) $q$ and its Lagrangian and Eulerian means in the shallow-water simulation: (a) instantaneous PV $q$ at $t = 1.1$, (b) Lagrangian mean $\bar {q}^{\scriptscriptstyle \mathrm {L}}$, and (c) Eulerian mean PV. The mean fields are averaged from $\tau =0$ to $T=2.2$. All panels share the same colour bar.

Figure 6

Figure 7. (a) Instantaneous vorticity $\zeta (\boldsymbol {x},t)$ at $t=1.1$. (b) Lagrangian mean vorticity ${\bar{\zeta}}^{\scriptscriptstyle \mathrm {L}}(\boldsymbol {x},\tau =0)$ corresponding to averaging from $t=0$ to $T=2.2$. (c) Eulerian mean vorticity averaged from $t=0$ to $2.2$. (d) Enstrophy spectra of instantaneous velocity at $t=2.2$ and the Lagrangian and Eulerian mean fields. (e) Lagrangian perturbation field. (f) Eulerian perturbation field.

Supplementary material: PDF

Kafiabad and Vanneste supplementary material

Figures S1-S7

Download Kafiabad and Vanneste supplementary material(PDF)
PDF 1.4 MB