Improving the nonlinear numerical convergence of VP models with the

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

School of something FACULTY OF OTHER School of Computing An Adaptive Numerical Method for Multi- Scale Problems Arising in Phase-field Modelling Peter.
Lecture 5 Newton-Raphson Method
Point-wise Discretization Errors in Boundary Element Method for Elasticity Problem Bart F. Zalewski Case Western Reserve University Robert L. Mullen Case.
Lecture #18 EEE 574 Dr. Dan Tylavsky Nonlinear Problem Solvers.
Computer-Aided Analysis on Energy and Thermofluid Sciences Y.C. Shih Fall 2011 Chapter 6: Basics of Finite Difference Chapter 6 Basics of Finite Difference.
Network and Grid Computing –Modeling, Algorithms, and Software Mo Mu Joint work with Xiao Hong Zhu, Falcon Siu.
Newton's Method for Functions of Several Variables
PETE 603 Lecture Session #29 Thursday, 7/29/ Iterative Solution Methods Older methods, such as PSOR, and LSOR require user supplied iteration.
ECE 530 – Analysis Techniques for Large-Scale Electrical Systems Prof. Hao Zhu Dept. of Electrical and Computer Engineering University of Illinois at Urbana-Champaign.
SOLUTION FOR THE BOUNDARY LAYER ON A FLAT PLATE
Solution of Eigenproblem of Non-Proportional Damping Systems by Lanczos Method In-Won Lee, Professor, PE In-Won Lee, Professor, PE Structural Dynamics.
ITERATIVE TECHNIQUES FOR SOLVING NON-LINEAR SYSTEMS (AND LINEAR SYSTEMS)
Taylor Series.
Lecture Objectives Review SIMPLE CFD Algorithm SIMPLE Semi-Implicit Method for Pressure-Linked Equations Define Residual and Relaxation.
Towards Developing a “Predictive” Hurricane Model or the “Fine-Tuning” of Model Parameters via a Recursive Least Squares Procedure Goal: Minimize numerical.
ME451 Kinematics and Dynamics of Machine Systems Numerical Solution of DAE IVP Newmark Method November 1, 2013 Radu Serban University of Wisconsin-Madison.
RFP Workshop Oct 2008 – J Scheffel 1 A generalized weighted residual method for RFP plasma simulation Jan Scheffel Fusion Plasma Physics Alfvén Laboratory,
Start Presentation October 4, 2012 Solution of Non-linear Equation Systems In this lecture, we shall look at the mixed symbolic and numerical solution.
CFD Lab - Department of Engineering - University of Liverpool Ken Badcock & Mark Woodgate Department of Engineering University of Liverpool Liverpool L69.
Math 3120 Differential Equations with Boundary Value Problems
Efficient Integration of Large Stiff Systems of ODEs Using Exponential Integrators M. Tokman, M. Tokman, University of California, Merced 2 hrs 1.5 hrs.
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 ~ Roots of Equations ~ Open Methods Chapter 6 Credit:
Lecture 6 Numerical Analysis. Solution of Non-Linear Equations Chapter 2.
Lecture Objectives: Explicit vs. Implicit Residual, Stability, Relaxation Simple algorithm.
Mathematical Background
Lecture Objectives Review Define Residual and Relaxation SIMPLE CFD Algorithm SIMPLE Semi-Implicit Method for Pressure-Linked Equations.
Solution of Nonlinear Functions
Modeling of the Unsteady Separated Flow over Bilge Keels of FPSO Hulls under Heave or Roll Motions Yi-Hsiang Yu 09/23/04 Copies of movies/papers and today’s.
Circuits Theory Examples Newton-Raphson Method. Formula for one-dimensional case: Series of successive solutions: If the iteration process is converged,
MECH4450 Introduction to Finite Element Methods Chapter 9 Advanced Topics II - Nonlinear Problems Error and Convergence.
Andrew McCracken Supervisor: Professor Ken Badcock
2.1 – Linear and Quadratic Equations Linear Equations.
Differential Equations Linear Equations with Variable Coefficients.
MECH593 Introduction to Finite Element Methods
Circuit Simulation using Matrix Exponential Method Shih-Hung Weng, Quan Chen and Chung-Kuan Cheng CSE Department, UC San Diego, CA Contact:
Quality of Service for Numerical Components Lori Freitag Diachin, Paul Hovland, Kate Keahey, Lois McInnes, Boyana Norris, Padma Raghavan.
1 Nonlinear Sub-optimal Mid Course Guidance with Desired Alinement using MPQC P. N. Dwivedi, Dr. A.Bhattacharya, Scientist, DRDO, Hyderabad-,INDIA Dr.
15 Annual AOMIP Meeting. WHOI, 1- 4 November 2011 Numerical modeling of the Atlantic Water distribution in the upper Arctic Ocean: Sensitivity studies.
Viscosità Equazioni di Navier Stokes. Viscous stresses are surface forces per unit area. (Similar to pressure) (Viscous stresses)
S5.40. Module Structure 30% practical tests / 70% written exam 3h lectures / week (except reading week) 3 x 2h of computer labs (solving problems practicing.
CHAPTER 3 NUMERICAL METHODS
Finite Difference Methods
Objective Numerical methods SIMPLE CFD Algorithm Define Relaxation
Differential Equations
Are sea ice model parameters independent of
Time Integration in Chrono
Gleb Panteleev (IARC) Max Yaremchuk, (NRL), Dmitri Nechaev (USM)
Lecture Objectives: Review Explicit vs. Implicit
Development of an IMEX integration method for sea ice dynamics
© Fluent Inc. 1/10/2018L1 Fluids Review TRN Solution Methods.
Meros: Software for Block Preconditioning the Navier-Stokes Equations
Lecture Objectives: Advance discretization methods
Objective Unsteady state Numerical methods Discretization
Section Euler’s Method
Objective Numerical methods.
Solving Linear Systems Algebraically
Combining the VP and EVP models to solve the sea ice momentum equation
Objective Numerical methods Finite volume.
SOLUTION OF NONLINEAR EQUATIONS
Lecture Objectives: Simple Algorithm vs. Direct Solvers Discuss HW 3
topic16_cylinder_flow_relaxation
Mathematical Solution of Non-linear equations : Newton Raphson method
Numerical Linear Algebra
A Lagrangian Dynamic Model of Sea Ice for Data Assimilation
Section 2.2 Characteristics of Quadratic Functions
EE 616 Computer Aided Analysis of Electronic Networks Lecture 12
Oswald Knoth, Detlev Hinneburg
Pivoting, Perturbation Analysis, Scaling and Equilibration
Presentation transcript:

Improving the nonlinear numerical convergence of VP models with the Jacobian free Newton Krylov method Jean-François Lemieux Bruno Tremblay David Huard McGill University Not here to tell you what size of error is acceptable.

Outline The nonlinear convergence of existing VP models Reasons for the slow convergence The JFNK method Preliminary results with the JFNK method

Outline The nonlinear convergence of existing VP models Reasons for the slow convergence The JFNK method Preliminary results with the JFNK method

The model VP rheology, ellipse, normal flow rule (Hibler, 1979) Domain: Arctic, North Atlantic and CAA Resolution: 10, 20, 40 or 80 km (C-grid) Forcing: NCEP 6 hourly varying geostrophic winds and climatological currents. Acceleration term is included Advection of momentum is neglected. Thermo model also but we are here interested in the dynamic.

The numerical scheme of existing VP models We want to solve the nonlinear system of eqs: F(u)=A(u)u-b=0 Provide an initial guess u0 do k=1, kite Calculate ul = (uk-1+uk-2) / 2 Calculate z(ul), h(ul) and Cd(ul) Solve A(ul)uk=b with a linear solver enddo 1 pseudo time step = 2 OL iterations. Results are independent of the linear solver used. Say that it is a fully implicit treatment the way it is written here. Tests were done with a SOR and LSOR solver to verify this.

The nonlinear numerical convergence Jan 6 1997 00Z Dt = 6h Dx = 10km FC solution in 10500 OL. Limited by machine precision

The fully converged (FC) solution Jan 6 1997 00Z The FC converged solution is certainly an overkilled approximate solution for all the applications. Dt = 6h Dx = 10km

The error after 2 OL iterations Jan 6 1997 00Z Dt = 6h Dx = 10km

The error after 10 OL iterations Jan 6 1997 00Z Dt = 6h Dx = 10km

The error after 40 OL iterations Jan 6 1997 00Z Notice there is some structure in the error field Dt = 6h Dx = 10km

The error after 2 and 10 OL iterations when using a 30 minute time step (Jan 6 1997 00Z) Dt = 30 min Dx = 10km

Shear deformation (Jan 6 1997 00Z) 100-500 OL are needed to have 95% of the maximum shear Dt = 6h Dx = 10km

Outline The nonlinear convergence of existing VP models Reasons for the slow convergence The JFNK method Preliminary results with the JFNK method

Why is the convergence so slow? The sea-ice momentum equation is highly nonlinear The equation is not continuously differentiable -- capping of the viscous coefficients The linearization approach is not optimal It is not the water drag that is responsible for the slow convergence

Continuously differentiable formulation for the viscous coefficients capping (standard): z = max(P/2D,zmax) and h = ze-2 tanh (new): z = zmaxtanh(P/2Dzmax) h=1m, A=1 D=((e112+e222)(1+e-2)+4e-2e122+2e11e22(1+e-2))1/2 capping tanh

Linearization approach Consider F(u) = z(u)u – b = 0 Taylor expansion: F(u+du) = F(u)+F’du By requiring that F(u+du) = 0, we find du = -F(u)/F’ where F’ = z’(u)u + z(u)  Newton: uk = uk-1 - F(uk-1) / (z’(uk-1) uk-1 + z(uk-1) )  Standard: uk = uk-1 - F(uk-1) / z(uk-1) uk uk-1 X  Standard: uk = uk-1 - F(uk-1) / z(uk-1)

Outline The nonlinear convergence of existing VP models Reasons for the slow convergence The JFNK method Preliminary results with the JFNK method

We want to solve the nonlinear system of eqs: The JFNK method We want to solve the nonlinear system of eqs: F(u)=A(u)u-b=0 Provide an initial guess u0 do k=1, kite Solve J(uk-1)duk=-F(uk-1) with a Krylov method uk = uk-1 + duk enddo With the tanh. Quadratic in the vicinity of the solution. J(uk-1)v ~ ( F(uk-1+ev) - F(uk-1) ) / e

The preconditioned GMRES method Krylov subspace method low storage requirements symmetry is not a prerequisite parallelizable

Outline The nonlinear convergence of existing VP models Reasons for the slow convergence The JFNK method Preliminary results with the JFNK method

Preliminary result at a resolution of 80 km standard line. + capping standard line. + tanh

Preliminary result at a resolution of 40 km standard line. + capping standard line. + tanh Discuss problems at high resolution

Thank you! With the tanh. Quadratic in the vicinity of the solution.

Linearization approach Consider F(u) = z(u)u – b = 0 Taylor expansion: F(u+du) = F(u)+F’du The Newton method requires that F(u+du) = 0.  duk = -F(uk-1) / F’(uk-1), uk = uk-1 + duk Our example: uk = uk-1 - F(uk-1) / (z’(uk-1) uk-1 + z(uk-1) ) Standard approach: uk = b / z(uk-1) uk = uk-1 - F(uk-1) / z(uk-1) uk uk-1