Hostname: page-component-76d6cb85b7-vdhp9 Total loading time: 0 Render date: 2026-07-15T13:26:30.048Z Has data issue: false hasContentIssue false

Lagrangian filtering for wave–mean flow decomposition

Published online by Cambridge University Press:  23 April 2025

Lois E. Baker*
Affiliation:
School of Mathematics and Maxwell Institute for Mathematical Sciences, University of Edinburgh, Edinburgh, UK
Hossein A. Kafiabad
Affiliation:
Department of Mathematical Sciences, Durham University, Durham, UK
Cai Maitland-Davies
Affiliation:
Department of Mathematical Sciences, Durham University, Durham, UK
Jacques Vanneste
Affiliation:
School of Mathematics and Maxwell Institute for Mathematical Sciences, University of Edinburgh, Edinburgh, UK
*
Corresponding author: Lois E. Baker, lois.baker@ed.ac.uk

Abstract

Geophysical flows are typically composed of wave and mean motions with a wide range of overlapping temporal scales, making separation between the two types of motion in wave-resolving numerical simulations challenging. Lagrangian filtering – whereby a temporal filter is applied in the frame of the flow – is an effective way to overcome this challenge, allowing clean separation of waves from mean flow based on frequency separation in a Lagrangian frame. Previous implementations of Lagrangian filtering have used particle tracking approaches, which are subject to large memory requirements or difficulties with particle clustering. Kafiabad & Vanneste (2023, Computing Lagrangian means, J. Fluid Mech., vol. 960, A36) recently proposed a novel method for finding Lagrangian means without particle tracking by solving a set of partial differential equations alongside the governing equations of the flow. In this work, we adapt the approach of Kafiabad & Vanneste to develop a flexible, on-the-fly, partial differential equation-based method for Lagrangian filtering using arbitrary convolutional filters. We present several different wave–mean decompositions, demonstrating that our Lagrangian methods are capable of recovering a clean wave field from a nonlinear simulation of geostrophic turbulence interacting with Poincaré waves.

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 (https://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), 2025. Published by Cambridge University Press
Figure 0

Figure 1. Schematic of a particle trajectory (black) with label $\boldsymbol {a}$ in the interval $[t^{\ast}-T,t^{\ast} + T]$, with positions labelled by the flow map $\boldsymbol {\varphi }(\boldsymbol {a},t)$. The mean particle trajectory on the same interval is shown in blue, with positions labelled by the mean flow map $\bar {\bar {\boldsymbol {\varphi }}}(\boldsymbol {a},t^{\ast})$. Red arrows indicate the maps $\boldsymbol {\Xi }^{i \mapsto j}$ from position $i$ to position $j$, where position 1 is the trajectory endpoint $\boldsymbol {\varphi }(\boldsymbol {a},t^{\ast} +T)$, position 2 is the trajectory mean $\bar {\bar {\boldsymbol {\varphi }}}(\boldsymbol {a},t^{\ast})$ and position 3 is the trajectory midpoint $\boldsymbol {\varphi }(\boldsymbol {a},t^{\ast})$.

Figure 1

Table 1. Fields to be solved for in each of the three strategies presented.

Figure 2

Figure 2. Shallow water relative vorticity for a simulation over 40 time units ($T=20$). The mode-1 wave frequency is $\omega = 4.17$, and the low-pass filters use a cutoff frequency of $\omega _c = 2$. (a) Instantaneous vorticity at the interval midpoint $t^{\ast} = 20$. (b) Lagrangian and (c) Eulerian low-pass at $t^{\ast} = 20$. (e) Lagrangian and (f) Eulerian top-hat mean at $t^{\ast} = 20$, computed over the interval $[18,22]$, i.e. $T = 2$. (d) Value of $G(t)$ for the low-pass and top-hat means, showing that $T = 2$ is an appropriate averaging interval for the top-hat to compare it to the low-pass. The directory including the Jupyter notebook that generated this figure can be accessed at https://cambridge.org/S0022112025000424/JFM-Notebooks/files/Figure-2/Figure-2.ipynb.

Figure 3

Figure 3. As in figure 2, showing the time ($t^{\ast}$) evolution of each field at $y = 2.8$. The directory including the Jupyter notebook that generated this figure can be accessed at https://cambridge.org/S0022112025000424/JFM-Notebooks/files/Figure-3/Figure-3.ipynb.

Figure 4

Figure 4. Comparison of calculation of $\overline {\zeta }^{L}$ using strategies 1 and 3 with $T=20$: (a) $\tilde {\zeta }$, found using strategy 1, (b), $\overline {\zeta }^{L}$, found by remapping $\tilde {\zeta }$ using $\boldsymbol {\Xi }^{1 \mapsto 2}$ (c), the $y$ component of $\boldsymbol {\Xi }^{1 \mapsto 2}$ (d), $\zeta ^{\ast}$, found using strategy 3, (e), $\overline {\zeta }^{L}$, found by remapping $\zeta ^{\ast}$ using $\boldsymbol {\Xi }^{3 \mapsto 2}$ and (f) the $y$ component of $\boldsymbol {\Xi }^{3 \mapsto 2}$. The $x$ and $y$ axes correspond to $x$ and $y$ coordinates of the full domain. The directory including the Jupyter notebook that generated this figure can be accessed at https://cambridge.org/S0022112025000424/JFM-Notebooks/files/Figure-4/Figure-4.ipynb.

Figure 5

Figure 5. The four different wave decompositions: (top) Eulerian, (second row) semi-Eulerian, (third row) Lagrangian first definition and (bottom) Lagrangian second definition. For each row, the middle ‘mean’ field is subtracted from the left ‘instantaneous’ field to give the right ‘wave’ field. The flow parameters are as for figure 2, and strategy 3 is used. The directory including the Jupyter notebook that generated this figure can be accessed at https://cambridge.org/S0022112025000424/JFM-Notebooks/files/Figure-5/Figure-5.ipynb.

Figure 6

Figure 6. Hovmöller (space–time) diagrams of vorticity: (a) instantaneous, (b) Lagrangian low-pass, (c) Lagrangian low-pass at the trajectory midpoint, (d) Eulerian low-pass, (e) Lagrangian L1 wave, (f) Lagrangian L2 wave, (g) semi-Eulerian wave and (h) Eulerian wave. Strategy 3 is used to solve for the Lagrangian means at a temporal resolution of 0.2. Parameters are identical to figure 2. All panels are shown at $y = 2.8$. The directory including the Jupyter notebook that generated this figure can be accessed at https://cambridge.org/S0022112025000424/JFM-Notebooks/files/Figure-6/Figure-6.ipynb.

Figure 7

Figure 7. An example of different frequency filters with corresponding functions $\hat {G}(\omega )$ shown in panel (b). (a) Instantaneous vorticity for a MSW simulation with a mode-1 wave in $x$ and a mode-2 wave in $y$ of the same vorticity amplitude ($A = 0.5$), with respective frequencies 4.17 and 7.12. (c) Lagrangian low-pass filter of the flow in panel a with a cutoff frequency of 2, so that both waves are removed, (d) as in panel (c) with a cutoff frequency of 5.5, so that only the mode-2 wave is removed and (e) as in panel (c) with the filter defined in (2.12) and labelled ‘band-pass’ in panel (b), with $\omega _1 = 2$ and $\omega _2 = 5.5$, so that the mode-2 wave is retained and the mode-1 removed. Panels (f), (g) and (h) show L2 wave perturbation corresponding to panels (c), (d) and (e), respectively. The directory including the Jupyter notebook that generated this figure can be accessed at https://cambridge.org/S0022112025000424/JFM-Notebooks/files/Figure-7/Figure-7.ipynb.

Figure 8

Table 2. Run times for the shallow water simulation and Lagrangian mean computation for each strategy, using the code given in Baker et al. (2024). Times are normalised by the time taken for strategy 1 when solving for $\overline {f}^{L}$ only. For comparison, when the simulation is run without the Lagrangian mean equations (shallow water only), the corresponding normalised time is 0.6.

Figure 9

Figure 8. Hovmöller diagrams of vorticity for a range of averaging interval times. (a) Instantaneous $\zeta$, (b–f) Lagrangian mean $\overline {\zeta }^{L}$ and (g–k) L2 wave $\zeta _{L2}^{w}$. The directory including the Jupyter notebook that generated this figure can be accessed at https://cambridge.org/S0022112025000424/JFM-Notebooks/files/Figure-8/Figure-8.ipynb.

Supplementary material: File

Baker et al. supplementary material movie 1

Movie 1 A movie showing the time evolution over 40 time units of a) relative vorticity ζ, b) Lagrangian mean relative vorticity referenced to trajectory midpoint position ζ*, c) Lagrangian mean relative vorticity referenced to trajectory mean position $\overline {\zeta }^\text{L}$ and d) Lagrangian wave perturbation $\zeta _\text{L2}^\text{w}$.
Download Baker et al. supplementary material movie 1(File)
File 9.3 MB