Improving convergence of QuickFlow

Similar documents
Part II: Finite Difference/Volume Discretisation for CFD

Finite Difference Approach to Option Pricing

Lecture 16 - Free Surface Flows. Applied Computational Fluid Dynamics

Numerical Analysis of the Jeans Instability

Introduction to CFD Basics

Module 6 Case Studies

Fluid Dynamics and the Navier-Stokes Equation

CFD Based Air Flow and Contamination Modeling of Subway Stations

COMPARISON OF SOLUTION ALGORITHM FOR FLOW AROUND A SQUARE CYLINDER

Advanced CFD Methods 1

Multi-Block Gridding Technique for FLOW-3D Flow Science, Inc. July 2004

FLOODING AND DRYING IN DISCONTINUOUS GALERKIN DISCRETIZATIONS OF SHALLOW WATER EQUATIONS

ME6130 An introduction to CFD 1-1

Fluids and Solids: Fundamentals

Numerical methods for American options

Sound propagation in a lined duct with flow

Use of OpenFoam in a CFD analysis of a finger type slug catcher. Dynaflow Conference 2011 January , Rotterdam, the Netherlands

C3.8 CRM wing/body Case

Lecture 11 Boundary Layers and Separation. Applied Computational Fluid Dynamics

Basic Principles in Microfluidics

Applications of the Discrete Adjoint Method in Computational Fluid Dynamics

Express Introductory Training in ANSYS Fluent Lecture 1 Introduction to the CFD Methodology

How To Run A Cdef Simulation

GPU Acceleration of the SENSEI CFD Code Suite

Advanced Computational Fluid Dynamics AA215A Lecture 5

CS Software Engineering for Scientific Computing. Lecture 16: Particle Methods; Homework #4

SIXTY STUDY QUESTIONS TO THE COURSE NUMERISK BEHANDLING AV DIFFERENTIALEKVATIONER I

CFD modelling of floating body response to regular waves

5.4 The Heat Equation and Convection-Diffusion

Lecture 3. Turbulent fluxes and TKE budgets (Garratt, Ch 2)

M6a: Open Channel Flow (Manning s Equation, Partially Flowing Pipes, and Specific Energy)

Introduction to the Finite Element Method

Heavy Parallelization of Alternating Direction Schemes in Multi-Factor Option Valuation Models. Cris Doloc, Ph.D.

Appendix 4-C. Open Channel Theory

1 The basic equations of fluid dynamics

Computational fluid dynamics (CFD) 9 th SIMLAB Course

Second Order Systems

ATM 316: Dynamic Meteorology I Final Review, December 2014

TFAWS AUGUST 2003 VULCAN CFD CODE OVERVIEW / DEMO. Jeffery A. White. Hypersonic Airbreathing Propulsion Branch

Effect of Aspect Ratio on Laminar Natural Convection in Partially Heated Enclosure

Physics of the Atmosphere I

NUMERICAL ANALYSIS OF OPEN CHANNEL STEADY GRADUALLY VARIED FLOW USING THE SIMPLIFIED SAINT-VENANT EQUATIONS

Introduction to COMSOL. The Navier-Stokes Equations

Mathematics and Computation of Sediment Transport in Open Channels

Open channel flow Basic principle

TWO-DIMENSIONAL FINITE ELEMENT ANALYSIS OF FORCED CONVECTION FLOW AND HEAT TRANSFER IN A LAMINAR CHANNEL FLOW

CFD Modelling of a Physical Scale Model: assessing model skill. Kristof Verelst FHR, Antwerp

Optimization of Supply Chain Networks

1. Fluids Mechanics and Fluid Properties. 1.1 Objectives of this section. 1.2 Fluids

Lecture 4 Classification of Flows. Applied Computational Fluid Dynamics

Numerical Methods for Differential Equations

2D Modeling of Urban Flood Vulnerable Areas

POISSON AND LAPLACE EQUATIONS. Charles R. O Neill. School of Mechanical and Aerospace Engineering. Oklahoma State University. Stillwater, OK 74078

Performance Comparison and Analysis of Different Schemes and Limiters

A DISCRETE ADJOINT VERSION OF AN UNSTEADY INCOMPRESSIBLE SOLVER FOR OPENFOAM USING ALGORITHMIC DIFFERENTIATION

Fourth-Order Compact Schemes of a Heat Conduction Problem with Neumann Boundary Conditions

The Navier Stokes Equations

Contents. Microfluidics - Jens Ducrée Physics: Navier-Stokes Equation 1

Lecture 3 Fluid Dynamics and Balance Equa6ons for Reac6ng Flows

Chapter 5. Methods for ordinary differential equations. 5.1 Initial-value problems

Calculating resistance to flow in open channels

arxiv: v1 [quant-ph] 3 Mar 2016

Numerical Methods for Differential Equations

Heat Transfer From A Heated Vertical Plate

Benchmark Computations of 3D Laminar Flow Around a Cylinder with CFX, OpenFOAM and FeatFlow

ABSTRACT FOR THE 1ST INTERNATIONAL WORKSHOP ON HIGH ORDER CFD METHODS

Iterative Solvers for Linear Systems

MAE 561 Computational Fluid Dynamics Final Project

Chapter 5 Adaptive Mesh, Embedded Boundary Model for Flood Modeling

APPENDIX 3 CFD CODE - PHOENICS

Lecture 6 - Boundary Conditions. Applied Computational Fluid Dynamics

Computational Modeling of Wind Turbines in OpenFOAM

General Ocean Turbulence Model: Recent advances and future plans

A CODE VERIFICATION EXERCISE FOR THE UNSTRUCTURED FINITE-VOLUME CFD SOLVER ISIS-CFD

EXAMPLE: Water Flow in a Pipe

21. Channel flow III ( )

Modeling of Earth Surface Dynamics and Related Problems Using OpenFOAM

Domain Decomposition Methods. Partial Differential Equations

GAMBIT Demo Tutorial

Numerical Wave Generation In OpenFOAM R

Differential Relations for Fluid Flow. Acceleration field of a fluid. The differential equation of mass conservation

Aerodynamic Department Institute of Aviation. Adam Dziubiński CFD group FLUENT

CHAPTER 9 CHANNELS APPENDIX A. Hydraulic Design Equations for Open Channel Flow

CFD ANALYSIS OF CONTROLLABLE PITCH PROPELLER USED IN MARINE VEHICLE

Figure 1 - Unsteady-State Heat Conduction in a One-dimensional Slab

Steady Flow: Laminar and Turbulent in an S-Bend

An Introduction to FreeFem++ UPMC, September 2010 O. Pantz. CMAP, Ecole Polytechnique.

Application of a Tightly-Coupled CFD/6-DOF Solver For Simulating Offshore Wind Turbine Platforms

FLUID DYNAMICS. Intrinsic properties of fluids. Fluids behavior under various conditions

CHAPTER 4 FLOW IN CHANNELS

Transcription:

Improving convergence of QuickFlow A Steady State Solver for the Shallow Water Equations Femke van Wageningen-Kessels January 22, 2007 1

Background January 22, 2007 2

Background: software WAQUA QuickFlow - since 1970 s - - since 2006 - slow convergence time-dependent solution not well suited for stationary solution fast convergence only stationary solution uses WAQUA output as initial solution January 22, 2007 3

Goal & content How does QuickFlow work? Shallow water equations Spatial discretization Time iteration methods Test problems Improvements to QuickFlow Planning January 22, 2007 4

2D Shallow water equations Navier Stokes equations Reynolds equations 2D Shallow water equations: U + U U t x + V U y V t + U V x + V V y ζ fv + g x τ bottom,x ρ 0 H ζ + fu + g y τ bottom,y ρ 0 H ν H ν H ( 2 U x 2 + 2 U y 2 ( 2 V x 2 + 2 V y 2 ) ) = 0 = 0 ζ t + HU x + HV y = 0 Shallow water equations on curvilinear grid January 22, 2007 5

Spatial discretization: grid 5 n 4 3 V -velocity depth water level U-velocity one computational cell dex 2 1 1 2 3 m January 22, 2007 6

Spatial discretization: methods Momentum equations: Third order upwind: U V x Central difference and V U y Continuity equations: Finite volume January 22, 2007 7

Spatial discretization: boundaries replacements discharge or velocity boundary closed free slip water level boundary January 22, 2007 8

Spatial discretization: moving boundary ents dary H δ U = 0 H surface bottom January 22, 2007 9

Time iteration: WAQUA - ADI stage 1: V -momentum explicit du dt = A 1 (u l, u l+1/2 ) stage 2: U-momentum & continuity explicit du dt = A 2 (u l+1/2, u l+1 ) Stationary: du dt = 1 2 [A 1(u, u) + A 2 (u, u)] A(u) January 22, 2007 10

Time iteration: Euler Backward du dt = A(u) un+1 u n t = A(u n+1 ) t M (u n+1 u n ) + A(u n+1 ) b = 0 Advantages: easy implementation unconditionally stable January 22, 2007 11

Time iteration: Newtons method F(x) tm(u n+1 u n ) + A(u n+1 ) b = 0 x k+1 = x k α ( F (x k ) ) 1 F(x k ) Advantages: easy implementation global convergence (line search) January 22, 2007 12

Test problem: Chézy 0.5 Solution by WAQUA 1.2 Rectangular gutter 0.4 1 25 11 grid cells Y coordinate [km] 0.3 0.2 0.8 0.6 [m] inflow: velocity boundary 0.1 0.4 outflow: 0.0 0.2 water level boundary 0.1 0.2 0.3 0.4 0.5 0.6 0.7 X coordinate [km] January 22, 2007 13

Test problems: real Lek Randwijk January 22, 2007 14

Test problem: Lek MAPS.sep at T=Inf, stationary 2.0 1.5 4.5 4 3.5 Relatively easy Y coordinate [km] 1.0 0.5 3 2.5 2 [m] 42 34 grid cells inflow: 2.0 1.5 0.0 0.5 Difference WAQUA QuickFlow x 10 3 2 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 X coordinate [km] 1 0 1.5 1 0.5 discharge boundary outflow: water level boundary Y coordinate [km] 1.0 0.5 1 2 3 [m] 0.0 4 5 0.5 6 January 22, 2007 15 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 X coordinate [km] 7

Test problem: Randwijk 450.0 Difference WAQUA QuickFlow Relatively complex 2.0 448.0 446.0 0.005 287 26 grid cells Y coordinate [km] 444.0 442.0 440.0 438.0 0.01 0.015 [m] inflow: discharge boundary 436.0 0.02 outflow: 434.0 432.0 170.0 175.0 180.0 185.0 190.0 X coordinate [km] 0.025 water level boundary 0.0 January 22, 2007 16

Improvements: damping BC s hard open boundaries nonphysical reflection of waves long run-up time Remedie: damping boundary conditions January 22, 2007 17

Improvements: semi-explicit time Example: advection equation u t = u u x Euler Backward & upwind u n+1 m u n m t = u n+1 m u n+1 m u n m 1 x Alternative u n+1 m u n m t = u n m u n+1 m u n m 1 x Implementation in Euler Backward or in Newton January 22, 2007 18

Improvements: quasi-newton Approximate Jacobian F (x 0 ) B k Advantages: x k+1 = x k ( B k) 1 F ( x k ) reduce costs for computing F reduce costs for LU-decomposition of F possibly faster convergence (depends on method) January 22, 2007 19

Improvements: adaptive time stepping complicated area small time step or large time step for continuity equation: ζ l+1 ζ l t + x (Hu) = 0 t x (Hu) = 0 January 22, 2007 20

Plan Resolve large errors near open boundaries Inventorise & solve problems Chézy Lek Randwijk January 22, 2007 21

Conclusion Software: WAQUA & QuickFlow Modelling river flow: Shallow water equations Spatial discretization Time iteration: ADI, Euler Backward, Newton Improvements: Damping boundary conditions Semi-explicit time iteration Quasi-Newton Adaptive time stepping January 22, 2007 22

Questions? January 22, 2007 23