Elsevier

Computers & Fluids

Volume 46, Issue 1, July 2011, Pages 180-185
Computers & Fluids

A Monge-Ampère enhancement for semi-Lagrangian methods

https://doi.org/10.1016/j.compfluid.2011.01.029Get rights and content

Abstract

Demanding the compatibility of semi-Lagrangian trajectory schemes with the fundamental Euler expansion formula leads to the Monge-Ampère (MA) nonlinear second-order partial differential equation. Given standard estimates of the departure points of flow trajectories, solving the associated MA problem provides a corrected solution satisfying a discrete Lagrangian form of the mass continuity equation to round-off error. The impact of the MA enhancement is discussed in two diverse limits of fluid dynamics applications: passive tracer advection in a steady cellular flow and in fully developed turbulence. Improvements of the overall accuracy of simulations depend on the problem and can be substantial.

Introduction

The research on the Monge-Ampère equation (hereafter the MA equation or MAE) extends over more than two centuries [13]. Nowadays, MAE is at the core of many theoretical and computational applications deriving from functional and geometric analysis, geophysical fluid dynamics, cosmology, optimization and imaging technology; see [1], [12], [3], [4], [22], [9] and references therein. Here, we arrive at MAE while examining the impact of enforcing the compatibility of the trajectory schemes with mass/volume continuity in semi-Lagrangian (SL) integrations of equations governing fluid dynamics [8], [15], [20], [21]. These equations can be written compactly asx0=xi-t0tv(x(s),s)ds,ρ(xi,t)=J^ρ(x0,t0),ψ(xi,t)=ψ(x0,t0)+TRdt,where positions (xi, t) and (x0, t0) are, respectively, the arrival (grid) and departure points taken along a parcel trajectory T, ρ denotes the density, J^J-1=det{x0/x} is the inverse flow Jacobian and ψ symbolizes a specific fluid variable (e.g., temperature or a velocity component) with R indicating its associated forcing.

Although SL schemes are established in CFD, and used operationally in numerical weather prediction [18], approximations to the trajectory integrals (1) are typically incompatible with the fundamental Euler expansion formula – dlnJ/dt =  · v, with d/dt denoting the total derivative along T – that underlies the Lagrangian form of the mass continuity Eq. (2).1 In particular, for incompressible fluids considered in this paper the volume of each fluid element remains constant, upon which the relation J^=1 becomes a necessary condition for the scheme compatibility.

On the basis that vortical motions do not induce any change in the volume of fluid elements, we correct the estimated path-mean velocityv˜(Δt)-1t0tv(x(s),s)ds,in the discretized counterpart of (1) with the gradient of a potential ϕ(x0)C=xi-Δtv˜-ϕ,such that the resulting set of departure points (x0)C satisfiesdet(x0)Cx=1,which happens to be a form of the MAE.2 An exact-projection-type solver capable of delivering round-off error accurate solutions to (6) has been developed, and its technical exposition will be given elsewhere. Here it is used to show the impact of (5) in two diverse applications on periodic domains: a 3D passive tracer advection in a steady cellular flow, and a freely evolving 2D turbulence – archetypes of pollution transport and large-scale atmospheric circulations, respectively. In Section 2 we discuss the derivation of MAE, its physical interpretation in terms of flow rotation and deformation, and the implementation of the MAE solver in the context of a semi-Lagrangian scheme. Numerical results are presented in Section 3 and remarks in Section 4 conclude the paper.

Section snippets

Interpretation in terms of flow shear

Here we present the 2D case of (6), the archetype of which is considered in Section 4.3 of [2]. For any Δt > 0, the insertion of (5) into (6) leads toAϕxx+2Bϕxy+Cϕyy+E(ϕxxϕyy-ϕxy2)+D=0,where subscripts x and y denote the respective partial differentiations. The coefficients of (7) depend only on partial derivatives of v˜=(u˜,v˜), such that A=1-Δtv˜y, B=1/2Δt(u˜y+v˜x), C=1-Δtu˜x, D=-u˜x-v˜y-Δt(u˜yv˜x-u˜xv˜y) and E = Δt.

Passive advection in a cellular flow

Fig. 2 shows isosurfaces of tracer distributions ψ(x, y, z) = c, identifiable with the boundaries of fluid elements, after they have been advected with the flow deriving from the stream-function Ψ(x, y, z) = (0, 0, sin(x) sin(y)); (x, y, z)  [0, 2π] × [0, 2π] × [0, 2π]. The initial distribution is given by the family of concentric spheresψ(x,y,z)=max0,1-(x-xc)2/X2+(y-yc)2/Y2+(z-zc)2/Z2,with X = Y = Z = 0.4π and xc = yc = zc = 3π/2. The latter choice concentrates ψ near the center of the vortex at (xc, yc, zc), where flow

Remarks

Together, the analysis in terms of the elemental flows carried in Section 2 and the cellular flow advection experiments support the importance of enforcing the compatibility of semi-Lagrangian trajectory schemes with the Euler expansion formula. The advection experiments have shown that both the shape of the fluid elements and the total mass are better preserved by the MA-enhanced algorithm. Furthermore, the experiments with freely evolving 2D turbulence have documented the better

Acknowledgments

The discussions with Paul Charbonneau are gratefully acknowledged. Comments from two anonymous referees helped to improve the presentation. This work was supported in part by the DOE award DE-FG02-08ER64535. The National Center for Atmospheric Research is sponsored by the National Science Foundation.

References (22)

  • R. Courant et al.
    (1962)
  • Cited by (8)

    • Adaptive Isogeometric Analysis using optimal transport and their fast solvers

      2024, Computer Methods in Applied Mechanics and Engineering
    • Optimization-based mesh correction with volume and convexity constraints

      2016, Journal of Computational Physics
      Citation Excerpt :

      First, provided the problem has a solution, the computed NLP solution provably satisfies the volume constraint (3) in exact arithmetic, and to near machine precision in practice. This is an important advantage over the methods from the first category and the MA trajectory correction [17]. Second, the NLP solution is locally optimal; if the original deformed mesh is chosen as the initial guess for the NLP solver (in addition to being part of the objective function definition), then the NLP solution is a constraint-consistent mesh that is in some sense closest to the original constraint-inconsistent mesh.

    • The geometry of r-adaptive meshes generated using optimal transport methods

      2015, Journal of Computational Physics
      Citation Excerpt :

      This requires solving an associated scalar Monge–Ampère equation and constructing the mesh mapping from the gradient of its solution. These methods have the potential advantages of being robust, flexible, and cheap to implement, for both two and three dimensional problems, particularly CFD type problems [15,16]. They also have certain very desirable properties, such as an absence of mesh tangling and an inheritance of self-similar behaviour in the solution [17,10].

    • The Monge-Ampère trajectory correction for semi-Lagrangian schemes

      2014, Journal of Computational Physics
      Citation Excerpt :

      Such properties are, for instance, conservation laws, monotonicity, positive-definiteness of the scheme, total-variation diminishing constraints, or some form of compatibility [54]. In the brief proceedings paper [15], the Monge–Ampère (hereafter, MA) trajectory correction for semi-Lagrangian (SL) integration schemes was introduced as a means to enforce a type of compatibility based on the Lagrangian form of the mass continuity equation in the context of incompressible fluids. The execution of the MA correction requires solving a diagnostic nonlinear second-order PDE, the Monge–Ampère equation (MAE), to some approximation at each model time step.

    • APPLYING AN ORIENTED DIVERGENCE THEOREM TO SWEPT FACE REMAP

      2023, SIAM Journal on Numerical Analysis
    View all citing articles on Scopus
    View full text