Chapter 6. Semi-Lagrangian Methods

Similar documents
Semi-Lagrangian Advection. The Basic Idea. x 1.

CS205b/CME306. Lecture 9

M.Sc. in Computational Science. Fundamentals of Atmospheric Modelling

Module 1: Introduction to Finite Difference Method and Fundamentals of CFD Lecture 13: The Lecture deals with:

Global Numerical Weather Predictions and the semi-lagrangian semi-implicit dynamical 1 / 27. ECMWF forecast model

An explicit and conservative remapping strategy for semi-lagrangian advection

ATM 298, Spring 2013 Lecture 4 Numerical Methods: Horizontal DiscreDzaDons April 10, Paul A. Ullrich (HH 251)

Lagrangian methods and Smoothed Particle Hydrodynamics (SPH) Computation in Astrophysics Seminar (Spring 2006) L. J. Dursi

CONSERVATIVE AND NON-CONSERVATIVE METHODS BASED ON HERMITE WEIGHTED ESSENTIALLY-NON-OSCILLATORY RECONSTRUCTION FOR VLASOV EQUATIONS

Realistic Animation of Fluids

An explicit and conservative remapping strategy for semi-lagrangian advection

A mass-conservative version of the semi- Lagrangian semi-implicit HIRLAM using Lagrangian vertical coordinates

The 3D DSC in Fluid Simulation

Multi-Mesh CFD. Chris Roy Chip Jackson (1 st year PhD student) Aerospace and Ocean Engineering Department Virginia Tech

Advective and conservative semi-lagrangian schemes on uniform and non-uniform grids

Conservative high order semi-lagrangian finite difference WENO methods for advection in incompressible flow. Abstract

A new Eulerian computational method for the propagation of short acoustic and electromagnetic pulses

Numerical Methods for (Time-Dependent) HJ PDEs

Overview of Traditional Surface Tracking Methods

Fluent User Services Center

Water. Notes. Free surface. Boundary conditions. This week: extend our 3D flow solver to full 3D water We need to add two things:

2.7 Cloth Animation. Jacobs University Visualization and Computer Graphics Lab : Advanced Graphics - Chapter 2 123

A Semi-Lagrangian Discontinuous Galerkin (SLDG) Conservative Transport Scheme on the Cubed-Sphere

PHYSICALLY BASED ANIMATION

CS-184: Computer Graphics Lecture #21: Fluid Simulation II

The semi-lagrangian technique: current status and future 4 September developments / 42

Asymptotic Error Analysis

Solution for Euler Equations Lagrangian and Eulerian Descriptions

The WENO Method in the Context of Earlier Methods To approximate, in a physically correct way, [3] the solution to a conservation law of the form u t

Computer Project 3. AA Computational Fluid Dyanmics University of Washington. Mishaal Aleem March 17, 2015

New formulations of the semi-lagrangian method for Vlasov-type equations

Adarsh Krishnamurthy (cs184-bb) Bela Stepanova (cs184-bs)

An Investigation into Iterative Methods for Solving Elliptic PDE s Andrew M Brown Computer Science/Maths Session (2000/2001)

Development of a Maxwell Equation Solver for Application to Two Fluid Plasma Models. C. Aberle, A. Hakim, and U. Shumlak

Trajectory Calculations for Spherical Geodesic Grids in Cartesian Space

AOSC 614 Addition to Section (page 82) Robert-Asselin-Williams (RAW) filter for the Leap-frog scheme

Background for Surface Integration

Realtime Water Simulation on GPU. Nuttapong Chentanez NVIDIA Research

Three-Dimensional Oceanic Flows from Eulerian Velocity Data

High Order Weighted Essentially Non-Oscillatory Schemes for Convection. Dominated Problems. Chi-Wang Shu 1

Continuum-Microscopic Models

Simulating Sinkage & Trim for Planing Boat Hulls. A Fluent Dynamic Mesh 6DOF Tutorial

CGT 581 G Fluids. Overview. Some terms. Some terms

NUMERICAL SIMULATION OF THE SHALLOW WATER EQUATIONS USING A TIME-CENTERED SPLIT-IMPLICIT METHOD

IFS DOCUMENTATION CY28r1

COMPUTER VISION > OPTICAL FLOW UTRECHT UNIVERSITY RONALD POPPE

Chapter 1 - Basic Equations

Finite Difference Calculus

Unstructured Mesh Generation for Implicit Moving Geometries and Level Set Applications

Isogeometric Analysis of Fluid-Structure Interaction

LOESS curve fitted to a population sampled from a sine wave with uniform noise added. The LOESS curve approximates the original sine wave.

FLUID SIMULATION. Kristofer Schlachter

An Eulerian Approach for Computing the Finite Time Lyapunov Exponent (FTLE)

SYSTEMS OF NONLINEAR EQUATIONS

Motion. 1 Introduction. 2 Optical Flow. Sohaib A Khan. 2.1 Brightness Constancy Equation

Level Set Methods and Fast Marching Methods

An adaptive discretization of incompressible flow using a multitude of moving Cartesian grids

Runge Kutta Methods Optimized For Advection Problems

Module 1: Introduction to Finite Difference Method and Fundamentals of CFD Lecture 6:

EE795: Computer Vision and Intelligent Systems

Partial Differential Equations

Trajectory Optimization

A Comparison of Some Numerical Methods for the Advection-Diffusion Equation

Coupling of STAR-CCM+ to Other Theoretical or Numerical Solutions. Milovan Perić

Euler s Methods (a family of Runge- Ku9a methods)

PART III: DYNAMICS AND NUMERICAL PROCEDURES

Interaction of Fluid Simulation Based on PhysX Physics Engine. Huibai Wang, Jianfei Wan, Fengquan Zhang

The Total Variation Approach to Approximate Hyperbolic Wave Equations

Chapter 6. Petrov-Galerkin Formulations for Advection Diffusion Equation

Index. C m (Ω), 141 L 2 (Ω) space, 143 p-th order, 17

High Order Schemes for CFD: A Review. Juan Cheng 1. Institute of Applied Physics and Computational Mathematics, Beijing , China.

Skåne University Hospital Lund, Lund, Sweden 2 Deparment of Numerical Analysis, Centre for Mathematical Sciences, Lund University, Lund, Sweden

ODE IVP. An Ordinary Differential Equation (ODE) is an equation that contains a function having one independent variable:

Example 13 - Shock Tube

Numerical Integration

Von Neumann Analysis for Higher Order Methods

CPSC 340: Machine Learning and Data Mining. Robust Regression Fall 2015

INTERNATIONAL JOURNAL OF CIVIL AND STRUCTURAL ENGINEERING Volume 2, No 3, 2012

An adaptive discretization of incompressible flow using a multitude of moving Cartesian grids

The vertical stratification is modeled by 4 layers in which we work with averaged concentrations in vertical direction:

lecture 10: B-Splines

A Hybrid Magnetic Field Solver Using a Combined Finite Element/Boundary Element Field Solver

An adaptive discretization of compressible flow using a multitude of moving Cartesian grids

Review of Tuesday. ECS 175 Chapter 3: Object Representation

A Semi-Lagrangian High-Order Method for Navier Stokes Equations

Solution for Euler Equations Lagrangian and Eulerian Descriptions

Advanced Numerical Methods for Numerical Weather Prediction

CHAPTER 6 Parametric Spline Curves

A Grid Based Particle Method for Evolution of Open Curves and Surfaces

Module 7 VIDEO CODING AND MOTION ESTIMATION

04 - Normal Estimation, Curves

BACK AND FORTH ERROR COMPENSATION AND CORRECTION METHODS FOR REMOVING ERRORS INDUCED BY UNEVEN GRADIENTS OF THE LEVEL SET FUNCTION

Mass-Spring Systems. Last Time?

Verification of Moving Mesh Discretizations

Investigating The Stability of The Balance-force Continuum Surface Force Model of Surface Tension In Interfacial Flow

Post Processing, Visualization, and Sample Output

Modeling icing using cartesian grids, penalization & level sets

1 Mathematical Concepts

Curves and Surfaces. CS475 / 675, Fall Siddhartha Chaudhuri

Efficiency of adaptive mesh algorithms

Transcription:

Chapter 6. Semi-Lagrangian Methods References: Durran Chapter 6. Review article by Staniford and Cote (1991) MWR, 119, 2206-2223. 6.1. Introduction Semi-Lagrangian (S-L for short) methods, also called quasi-lagrangian, have been around since the early 1960's. T.N. Krishnamurti is probably the first to use S-L method. The S-L scheme becomes really popular following Andre Robert's work in the early 80's (Robert 1982) when he combined the use of S-L with semi-implicit method (SLSI) which allows for large time step size because both schemes are unconditionally stable. The SL scheme deals with the advection part, and the SI scheme deals with faster wave propagation. Two principal reasons for using SL methods in favor of more traditional Eulerian approaches: Major: Minor: To overcome the CFL constraint which is based on stability, not accuracy considerations. That is, from on accuracy point of view, we could live with a much larger t than which is required by the linear stability condition because time truncation error is often smaller than spatial truncation error. Because SL methods solve the equations in Lagrangian form, i.e., du/dt=0 rather r than the advection form, i.e., u/ + t V u= 0, there is no instability due to aliasing. In the case of pure advection, stability depends upon the transport velocity. Since advection term does not appear in SL methods, there is no time step constraint for SL schemes. (However, t must be small enough to keep the total truncation error reasonably small. Just as with implicit schemes that are unconditionally stable, we don't want to use too large a t due to temporal truncation error remember that home work problem for heat transfer?). Of course other modes can be present in the problem. For example, internal gravity waves, which can impose more severe limitation on t unless they are treated implicitly. Hence the SL-SI methods. Before looking at SL methods, recall the possible coordinate frameworks discussed earlier in the semester: 6-1

1. Eulerian here, we use a fixed set of points. In the case of spatially staggered grids. Unless you use grid refinement, you always work with a fixed number of points. 2. Lagrangian the other extreme. In this case, the mesh actually follows the fluid and can become distorted, necessitating a remaping operation from time to time. 3. Semi-Lagrangian Here we seek to combine the two methods by moving data relative to a fixed (in space) grid. It is really nothing more than the method of characteristics: We "sit" at point i, and realizing that u i n+1 = u * n, or the value of u traced back along the characteristic path. This is because we have the compatibility equation du = 0 along dx/dt = c for a pure advection problem u/ t + c u/ x = 0. Recall that by using quadratic interpolation to obtain value u * we obtained Lax-Wendroff scheme that is stable when c t x. In other words, the departure point could be no further than x away from point i, i.e., the scheme is stable provided than u * was determined by interpolation not extrapolation. This means that the departure point must be surrounded by points used to determine its value. 6.2. Stability of S-L schemes Why S-L schemes are unconditionally stable? Consider a simple 1-D transport problem in our previous space-time diagram. If u is known at all previous times, how do we find u(t+ t)? From our discussions earlier in the semester, we know that 6-2

u(x, t+ t) = u(x-ct, t). Consider know that arrival point x I = I x at t + t = (n+1) t. Then, the departure point is Thus, x * = i x c t. u(i x, (n+1) t ) = u( x *, n t) where, again, x * needs not be a grid point. Consider a linear Lagrange interpolation polynomial for obtaining u * - this is simple yet non-trivial and is sufficient for our analysis. For any 2 grid points, J and K, with J>K, we can write without loss of generality x K K δx x J J x x * K n J * n u( x*, n t) = uj + uk xj xk xj xk x x. Now if we apply a von Neumann stability analysis to this equation, using x * = i x c t and u(x *, n t) = u(i x, (n+1) t ), we obtain (verify for yourselves): 2 2 2( I σ J) 2 k x λ = 1+ 1+ 1+ sin ( J K ) K J 2 where σ = c t/ x is the Courant number. We want λ 2 1 for stability, from which it follows that 2( I σ J) 0 2 K J or equivalently, K (i - σ) J. Multiplying through by x gives x K x * x J 6-3

for stability. Thus, stability is guaranteed for any location of the departure point in the mesh provided that interpolation is used to obtain u * instead of extrapolation! Note, with, for example, upstream forward scheme, we have decided to use u i-1 and u i, therefore to meet the 'interpolation' requirement, c t has to be no greater than x a consistent result. Discussion: SL methods are no more accurate than their Eulerian counterparts. Since fewer time steps are taken, the time truncation error is actually smaller. The biggest drawback with SL methods is the difficulty in enforcing conservation. For constant flow, the time step size can be arbitrarily large so we can complete the integration of a pure advection problem in one step. The only error comes from the spatial interpolation. 6.3. Implementation of S-L schemes Let's now look at the actually ways of applying SL method. Consider a 3 time-level scheme applied to the equation df dt = 0. Let's write the scheme as F[ x m (t+ t), t+ t] F[ x * (t- t), t- t ] = 0 where x m = mesh point, x * = departure point. Now, let α = distance a particle travels in a single time step. Clearly, it is a function of the local velocity and the t. Let's look at an x-t diagram 6-4

n+1 x m arrival point n n-1 x * 2α Let's assume that the trajectory is a straight line. The major problem in determining the trajectory is that dx uxt (,) dt = is implicit - x depends on u and u depends on x. From our diagram, we have F[ x m, t+ t] F[ x * - 2α, t- t ] = 0, so, we need both α and F at the departure point (α determines the departure point). Question: How do we find α? α = f(u) u = dx/dt x = f(α) implicit problem! When u = constant everywhere (uniform flow), SL methods are essentially exact for obvious reasons. To find α, we integrate the trajectory equation over time interval [t- t, t+ t] using the mid-point rule: x+ x x x f xdx xf x O x 3 ( ) = 2 ( ) + ( ) 6-5

dx dt = dt x+ x t+ t x x t t udt xt t xt t tu O t 3 ( + ) ( ) = 2 + ( ) where u is some time-averaged value of u. But, time and space are related, so let u ux ( α,) t - i.e., u at halfway along the trajectory. xt ( + t) xt ( t) = 2α = 2 tu( x α,) t α = tu( x α,) t. To solve this equation, we make a first guess for α (say that calculated based on u at current grid point), and iterate until convergence: v 1 v α + = tux ( α,) t. Now that we have α, i.e., we found that departure point, we use interpolation to find the value of F at the departure point, which is the F at the mesh point at t+ t. Convergence: It turns out that iteration will converge if u t < 1 x (for 1-D problem) where is an L-2 norm. Therefore time step size is limited by the accurate calculation of trajectory, not by stability. Steps of Implementation: 1. Solve the α-equation iteratively to obtain the departure point 2. Use interpolation to obtain F at the departure point 3. Replace F at the arrival (mesh) point with that computed at the departure point. SL methods can be applied to forced problems as well, e.g., df/dt = G and to systems of equations (see review article and Durran). But SL refers only to the advecton process. Role of Interpolation After we find the departure point, we must use interpolation to find the value of F at this point. Because we are using interpolation, some damping or smoothing occurs and 6-6

conservation is difficult to achieve. The accuracy of the interpolation process determines the accuracy and order of our S-L scheme. Interpolation is also expensive, especially in multiple dimensions. To overcome this, Ritchies (1986, MWR, 114, 135-146) devised a non-interpolating S-L method, which is a topic of next section. In a model that advects many variables, such as hydrometeor types and chemical species, S-L method is attractive since all variables (on non-staggered grid) share the same trajectories, and the interpolations can share common interpolation weights. Because the trajectory calculation is expensive, models based on S-L method usually uses non-staggered grid, i.e., also variables are located at the same grid points. 6.4. Non-interpolating S-L Methods The essence of this approach is that the trajectory vector is broken down into the sum of 2 vectors: one that extends from the arrival point backwards to the gridpoint nearest the departure point, and the other that is approximated as a residual. Schematically, we have: n+1 n n-1 Total R = residual point to point The mesh-point to mesh-point vector is simple replacement since the values at grid points are always known. The residual R is handled using an Eulerian approach, which requires that u t/ x 1. Functionally, the 2-part method works as follows. Our governing equation is df/dt = 0. Expanding (consider only 1-D case for now), we have F F + u = 0. t x 6-7

Now, add the quantity p x F to both sides, where p is an integer. 2 t x F p x F p x F + u = t 2 t x 2 t x F p x F F + = u ' t 2 t x x where p x u' u. 2 t p x The LHS now represents the change in F following the motion but at a speed 2 t. which means that, over two time steps, the total displacement will be p grid intervals (can have p>1). The residual term on the RHS is simply an Eularian advection term that can be treated using standard methods. p is chosen to give a displacement to the gridpoint nearest the departure point x - 2α, i.e., p is the integer nearest 2u t/ x Departure point xi p x/2 - where Eulerian term is evaluated x i-p x i-3 x i-2 x i-1 x i arrival point p x 2α = 2u x x i p x/2 is a grid point for p even x i p x/2 is a 1/2 grid point for p odd So we have F(x, t+ t) F(x-p x, t- t) = - u' F x (x i p x/2, t). 6-8

Because x-p x is a gridpoint (p is an integer), no interpolation is needed to evaluate the LHS. The RHS will be evaluated at a grid point (p-even) or at half-point (p-odd), where in the latter case we will use average of neighboring points. One can show that this method is stable if u' t max 2 1 x where is the residual Courant number. In general, this is much cheaper than, and of equivalent accuracy to, interpolating methods. Note that due to the introduction of the residual term we again have problem with nonlinear aliasing. 6-9