Regional Weather and Climate Modeling:

Slides:



Advertisements
Similar presentations
Courant and all that Consistency, Convergence Stability Numerical Dispersion Computational grids and numerical anisotropy The goal of this lecture is to.
Advertisements

Formal Computational Skills
Weather Research & Forecasting: A General Overview
2ª aula Evolution Equation. The Finite Volume Method.
Lecture III of VI (Claudio Piani) Rotation, vorticity, geostrophic adjustment, inertial oscillations, gravity waves with rotation.
X i-2 x i-1 x i x i+1 x i+2 The finite difference approximation for the second derivative at point x i using a Taylor series is as follows: The weights.
Finite Difference Methods
(c) MSc Module MTMW14 : Numerical modelling of atmospheres and oceans Staggered schemes 3.1 Staggered time schemes.
RAMS/BRAMS Basic equations and some numerical issues.
Session: Computational Wave Propagation: Basic Theory Igel H., Fichtner A., Käser M., Virieux J., Seriani G., Capdeville Y., Moczo P.  The finite-difference.
Numerical Integration of Partial Differential Equations (PDEs)
Total Recall Math, Part 2 Ordinary diff. equations First order ODE, one boundary/initial condition: Second order ODE.
PART 7 Ordinary Differential Equations ODEs
Atms 4320 Lab 2 Anthony R. Lupo. Lab 2 -Methodologies for evaluating the total derviatives in the fundamental equations of hydrodynamics  Recall that.
Department of Meteorology & Climatology FMFI UK Bratislava Davies Coupling in a Shallow-Water Model Matúš MARTÍNI.
Geophysical Modelling: Climate Modelling How advection, diffusion, choice of grids, timesteps etc are defined in state of the art models.
Numerical Methods for Partial Differential Equations
Lecture 4 Weather Maps and Models Chapters 3 and 4.
Basic Concepts of Numerical Weather Prediction 6 September 2012.
Pseudospectral Methods
1 The Spectral Method. 2 Definition where (e m,e n )=δ m,n e n = basis of a Hilbert space (.,.): scalar product in this space In L 2 space where f * :
Hydraulic Routing in Rivers
Finite Differences Finite Difference Approximations  Simple geophysical partial differential equations  Finite differences - definitions  Finite-difference.
A Look at High-Order Finite- Volume Schemes for Simulating Atmospheric Flows Paul Ullrich University of Michigan.
– Equations / variables – Vertical coordinate – Terrain representation – Grid staggering – Time integration scheme – Advection scheme – Boundary conditions.
Most physically significant large-scale atmospheric circulations have time scales on the order of Rossby waves but much larger than the time scales.
– Equations / variables – Vertical coordinate – Terrain representation – Grid staggering – Time integration scheme – Advection scheme – Boundary conditions.
Implementation of an Advection Scheme based on Piecewise Parabolic Method (PPM) in the MesoNH The main goal of this study was to estimate if the RGSW model.
Applied NWP [1.2] “Once the initialization problem was resolved in the 1960s, models based on the primitive equations gradually supplanted those based.
1 EEE 431 Computational Methods in Electrodynamics Lecture 4 By Dr. Rasime Uyguroglu
A cell-integrated semi-Lagrangian dynamical scheme based on a step-function representation Eigil Kaas, Bennert Machenhauer and Peter Hjort Lauritzen Danish.
6. Introduction to Spectral method. Finite difference method – approximate a function locally using lower order interpolating polynomials. Spectral method.
3.3.3: Semi-Lagrangian schemes AOSC614 class Hong Li.
+ Numerical Integration Techniques A Brief Introduction By Kai Zhao January, 2011.
Distributed Flow Routing Surface Water Hydrology, Spring 2005 Reading: 9.1, 9.2, 10.1, 10.2 Venkatesh Merwade, Center for Research in Water Resources.
FLUID ROTATION Circulation and Vorticity. Arbitrary blob of fluid rotating in a horizontal plane Circulation: A measure of the rotation within a finite.
Mathematical Background
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Chapter 22.
Rieben IMA Poster, 05/11/ UC Davis /LLNL/ ISCR High Order Symplectic Integration Methods for Finite Element Solutions to Time Dependent Maxwell Equations.
© Fluent Inc. 11/24/2015J1 Fluids Review TRN Overview of CFD Solution Methodologies.
Engineering Analysis – Computational Fluid Dynamics –
AOSS 401, Fall 2007 Lecture 23 November 05, 2007 Richard B. Rood (Room 2525, SRB) Derek Posselt (Room 2517D, SRB)
Recent Developments in the NRL Spectral Element Atmospheric Model (NSEAM)* Francis X. Giraldo *Funded.
Offenbach Semi-Implicit Time Integration (NH Schemes of the Next Generation) J. Steppeler, DWD.
Lecture 5 Weather Maps and Models Chapters 5 and Chapter 6 Homework Due Friday, October 3, 2014 TYU Ch 6: 1,2,5,7,11,14,17,18,20; TYPSS Ch 6: 2 TYU Ch.
1 The Nonhydrostatic Icosahedral (NIM) Model: Description and Potential Use in Climate Prediction Alexander E. MacDonald Earth System Research Lab Climate.
Numerical Analysis. Numerical Analysis or Scientific Computing Concerned with design and analysis of algorithms for solving mathematical problems that.
Representation of Convective Processes in NWP Models (Part I) George H. Bryan NCAR/MMM Presentation at ASP Colloquium, “The Challenge of Convective Forecasting”
Discretization Methods Chapter 2. Training Manual May 15, 2001 Inventory # Discretization Methods Topics Equations and The Goal Brief overview.
1 EEE 431 Computational Methods in Electrodynamics Lecture 7 By Dr. Rasime Uyguroglu
CHANGSHENG CHEN, HEDONG LIU, And ROBERT C. BEARDSLEY
Mass Coordinate WRF Dynamical Core - Eulerian geometric height coordinate (z) core (in framework, parallel, tested in idealized, NWP applications) - Eulerian.
ECE 576 – Power System Dynamics and Stability Prof. Tom Overbye Dept. of Electrical and Computer Engineering University of Illinois at Urbana-Champaign.
November, 2008 Bermuda ITW Numerical Simulation of Infrasound Propagation, including Wind, Attenuation, Gravity and Non-linearity Catherine de Groot-Hedlin.
Applied NWP [1.2] “…up until the 1960s, Richardson’s model initialization problem was circumvented by using a modified set of the primitive equations…”
Lecture 2. Finite Difference (FD) Methods Conservation Law: 1D Linear Differential Equation:
Introduction In 1904, Bjerknes pointed out that the future state of the atmosphere could be predicted by integrating the partial differential equations.
By Dale R. Durran and Leonard W. Snellman.  “The physical reason for quasi-geostrophic vertical motion is reviewed. Various techniques for estimating.
Time Integration Schemes Bill Skamarock NCAR/MMM 1.Canonical equations for scheme analyses. 2.Time-integration schemes used in NWP models.
Lecture 4: Numerical Stability
Variable Mercator Map Factor at the HARMONIE Model
ივანე ჯავახიშვილის სახელობის
Simple FD Gerard T. Schuster.
Chapter 22.
ME/AE 339 Computational Fluid Dynamics K. M. Isaac Topic1_ODE
21th Lecture - Advection - Diffusion
Finite Volume Method for Unsteady Flows
Modeling the Atmos.-Ocean System
topic13_grid_generation
Low Order Methods for Simulation of Turbulence in Complex Geometries
Presentation transcript:

Regional Weather and Climate Modeling: Atmospheric Science 820.01 Regional Weather and Climate Modeling: Finite Difference Equations, Vertical Coordinates & Model Grids Keith Hines Byrd Polar Research Center Sources: Wikipedia A.J. Broccoli class notes (http://www.envsci.rutgers.edu/~broccoli/) Peter Lynch class notes (http://mathsci.ucd.ie/met/msc/NWP/MAPH-P313.html) Chris Bretherton class notes (http://www.atmos.washington.edu/2002Q2/547/) Mesoscale Meteorology and Forecasting (Ray) Climate System Modeling (Trenberth) An Introduction to Three-Dimensional Climate Modeling (Washington and Parkinson)

Atmospheric modeling Finite difference Equations Vertical Coordinates Model Grids

Solving the atmospheric equations on an Earth atmosphere grid Numerical Weather Prediction solves for dynamics, kinematics, physics (radiation, latent heat, surface exchange) and hydrology

Finite Differencing Space Time

Use continuous functions rather than grid points? can use multiple sine and cosine waves As we add more waves to the sum more advanced shapes can be represented Finite Element or Galerkin Method

Use continuous functions rather than grid points Cartesian Coordinates: 2D function can be expressed as a sum of as a series of waves (Fourier Series) Differencing with sums of functions is often called “exact” although truncation errors still exist due to the truncated (rather than infinite) series Spherical Coordinates: Use spectral techniques with sums of associated Legendre functions: θ is colatitude, λ is longitude, anm and bnm are normalized harmonic coefficients Rn m and Sn m, are fully normalized spherical harmonics. Pn m (cos θ) is an Associated Legendre Function.

Grid Points – still popular for limited-area models Δ y Represent the atmospheric variables over a rectangular grid. spherical coordinates

How do we solve our differential equations? x0 - 2Δx F(x0) x0 + 2Δx Set up a grid F(x)  F(x0 - Δx) F(x0 + Δx)

Approximate derivative with finite difference

We obtain a centered one What is the error in finite difference? Error is order “h” What if we combine two unbalanced differences? Finite difference approx. from right and left sides We obtain a centered one Centered differences is 2nd order

What if we want a higher order difference scheme? 4th Order Solution: Use more points Above scheme uses 4 adjacent points

Numerical Techniques What do we want in our numerical models? Accuracy (obvious) Balance (not dominated by “noise”) Conservation of key physical properties Numerical Stability (model survives run) Efficiency (obvious)

(early numerical weather prediction) Quasi-Geostrophic Model geostrophic horiz. velocity geostrophic vorticity (curl) Vorticity Equation Thermodynamic Equation Physical Mode + Computational Mode Omega Equation (forces balance between V and T) Or Synoptic Feature + Sound Waves + Gravity Waves How do we achieve balance in a primitive-equation model?

How do we test for computational stability? Can test with simple (linear) advection equation u is a scalar C is advective speed periodic waves sines and cosines Impose simple wave solution Can solve advection equation analytically

F(t)  Could test forward (Euler) time scheme Or test centered (leapfrog) scheme t0 - 2Δt F(t0) t0 + 2Δt F(t)  F(t0 – Δt) F(t0 + Δt)

u = A eiωt Courant Number: Critical for Computational stability Imposed wave solution Courant Number: Critical for Computational stability u = A eiωt μ < 1 for stability (CFL Condition) smaller timestep more stability

Courant Number: Critical for Computational stability Imagine a wave being advected by a speed “c” in a model with grid spacing and time step If a wavelet is advected more than in there can be instability.

Keep your timestep small! u = A eiωt Courant Number: Critical for Computational stability μ < 1 for stability (CFL Condition) smaller timestep more stability Diffusion Equation Stability criteria Keep your timestep small!

Leapfrog scheme Centered space difference (second order) Apply centered differencing in time. Requires 2 previous values to calculate next value. (advection equation)

Numerical solution can cause scalars to improperly become negative False Negatives Red curve “real” solution Blue curve numerical solution Numerical solution can cause scalars to improperly become negative

WRF has an upstream advection scheme, but much more complicated x0 - 2Δx F(x0) x0 + 2Δx U  downstream F(x0 - Δx) F(x0 + Δx) advection - U(x0) [ F(x0) - F(x0 - Δx) ] / Δx for U > 0 - U(x0) [ F(x0 + Δx) - F(x0) ] / Δx for U < 0 WRF has an upstream advection scheme, but much more complicated

Time Integration k1 k4 k2 ,k3 4 Steps to do one step

3rd Order Runge-Kutta time steps used in WRF 3rd order accuracy used with fast acoustic time steps “physics” are outside RK3

Vertical Coordinate Z or P Sigma = P / Ps Intersects topography Terrain following dz/dt, dσ/dt, dp/dt u, v, P, T, q dz/dt, dσ/dt, dp/dt

Modified sigma-coordinate Vertical Velocity Model Levels u, v, T Vertical Velocity terrain-following

Numerical Techniques: Grids

Arakawa Horiz. Staggered Grid Categories Grid A (simplest) Grid B Grid C Grid D Grid E Has advantages for GW dispersion T, P, q (physical scalars) u, v (velocity) Treat gravity waves to simulate desired synoptic waves

Map Projections Mercator Lambert Conformal Polar Stereographic

Map Scale Factor

From WRF Preprocessing System (WPS) Map Parameters &geogrid s_we = 1, e_we = 74, s_sn = 1, e_sn = 61, geog_data_res = '10m','2m', dx = 30000, dy = 30000, map_proj = 'lambert', ref_lat = 34.83 ref_lon = -81.03 truelat1 = 30.0, truelat2 = 60.0, stand_lon = -98.0 geog_data_path = '/data3a/mp/gill/DATA/GEOG' opt_geogrid_tbl_path = 'geogrid/' From WRF Preprocessing System (WPS)

The Hexagon Global Grid? What is next after WRF? The Hexagon Global Grid? http://www.mmm.ucar.edu/wrf/users/workshops/WS2009/presentations/6-06.pdf