Numerical Examination of Flux Correction for Solving the Navier- Stokes Equations on Unstructured Meshes

Total Page:16

File Type:pdf, Size:1020Kb

Numerical Examination of Flux Correction for Solving the Navier- Stokes Equations on Unstructured Meshes Utah State University DigitalCommons@USU All Graduate Theses and Dissertations Graduate Studies 5-2014 Numerical Examination of Flux Correction for Solving the Navier- Stokes Equations on Unstructured Meshes Dalon G. Work Utah State University Follow this and additional works at: https://digitalcommons.usu.edu/etd Part of the Mechanical Engineering Commons Recommended Citation Work, Dalon G., "Numerical Examination of Flux Correction for Solving the Navier-Stokes Equations on Unstructured Meshes" (2014). All Graduate Theses and Dissertations. 2180. https://digitalcommons.usu.edu/etd/2180 This Thesis is brought to you for free and open access by the Graduate Studies at DigitalCommons@USU. It has been accepted for inclusion in All Graduate Theses and Dissertations by an authorized administrator of DigitalCommons@USU. For more information, please contact [email protected]. NUMERICAL EXAMINATION OF FLUX CORRECTION FOR SOLVING THE NAVIER-STOKES EQUATIONS ON UNSTRUCTURED MESHES by Dalon G. Work A thesis submitted in partial fulfillment of the requirements for the degree of MASTER OF SCIENCE in Mechanical Engineering Approved: Dr. Aaron J. Katz Dr. Robert Spall Major Professor Committee Member Dr. Barton Smith Dr. Mark R. McLellan Committee Member Vice President for Research and Dean of the School of Graduate Studies UTAH STATE UNIVERSITY Logan, Utah 2014 ii Copyright © Dalon G. Work 2014 All Rights Reserved iii Abstract Numerical Examination of Flux Correction for Solving the Navier-Stokes Equations on Unstructured Meshes by Dalon G. Work, Master of Science Utah State University, 2014 Major Professor: Dr. Aaron J. Katz Department: Mechanical and Aerospace Engineering This work examines the feasibility of a novel high-order numerical method, which has been termed Flux Correction. It has been given this name because it \corrects" the flux terms of an established numerical method, cancelling various error terms in the fluxes and making the method higher-order. In this work, this change is made to a traditionally second-order finite volume Galerkin method. To accomplish this, higher-order gradients of solution variables, as well as gradients of the fluxes are introduced to the method. Gradi- ents are computed using lagrange interpolations in a fashion reminiscent of Finite Element techniques. For the Euler Equations, Flux Correction is compared against Flux Reconstruc- tion, a derivative of the high-order Discontinuous Galerkin and Spectral Difference methods, both of which are currently popular areas of research in high-order numerical methods. Flux Correction is found to compare favorably in terms of accuracy, and exceeds expectations for convergence rates. For the full Navier-Stokes Equations, the effect of curved elements on Flux Correction are examined. Flux Correction is found to react negatively to curved elements due to the gradient procedure's poor handling of high-aspect ratio elements. (80 pages) iv Public Abstract Numerical Examination of Flux Correction for Solving the Navier-Stokes Equations on Unstructured Meshes by Dalon G. Work, Master of Science Utah State University, 2014 Major Professor: Dr. Aaron J. Katz Department: Mechanical and Aerospace Engineering This work examines the feasibility of a novel high-order numerical method, which has been termed Flux Correction. This is accomplished by comparing it against another high- order method called Flux Reconstruction. These numerical methods are used to solve the Navier-Stokes equations, which govern the motion of fluid flow. High-order numerical methods, or those that demonstrate a third-order and higher solution error convergence rate, are rarely used on unstructured meshes when solving fluid problems. Flux Correction intends to make high-order accuracy available to the larger world of Computational Fluid Dynamics in a simple and effective manner. The advantages and disadvantages of the method can only be discovered when compared against other high-order numerical methods. This work accomplishes this by comparing Flux Correction and Flux Reconstruction in terms of accuracy, numerical dissipation, and solution times. Flux Correction is found to compare favorably in terms of accuracy, and exceed expectations for convergence rates. Flux Correction is also tested on high-order meshes, or meshes that use high-order polynomials in the construction of the unstructured triangle mesh. High-order meshes generate long, thin elements, which are found to negatively impact the convergence and accuracy of Flux Correction. v For my wife. Here's to many more hectic and fun-filled years together. For my God, whose grace has given me a good life. vi Acknowledgments This work is supported by the Computational Research and Engineering for Acquisition Tools and Environments (CREATE) Program, which is sponsored by the U.S. Department of Defense HPC Modernization Program Office, and by the Army Research Office Fluid Dynamics Program. I would like to thank my major professor, Dr. Aaron Katz, for taking a chance on me, and for patiently helping me through the learning process. I can only hope to be as smart as him one day. A special thank you to my friend and mentor Kyle Horne. His enthusiasm for com- putational methods infected me during my undergraduate career, and placed me on the academic path I currently walk. Also to my many friends and family who supported me, even if it was by giving me incredulous stares as I tried to explain what I was working on, then telling me that it sounds like great fun. They have spent many years teaching me how to laugh at myself, how to love, how to cry, and how to care. From such a large group of people I want to single out my parents, who have loved me, cared for me, prayed for me, taught me, and been there for me for over 25 years now. My life is what it is because of them. Last of all I wish to thank my God and my wife. My Lord and Savior Jesus Christ has been my Exemplar, my Rock, and my Confidence since my teenage years. My wife has been the best as I spent many long hours on this project. I don't know why she would ever consent to marry and put up with a nerd like me. I will be eternally grateful for her faith in me, for her ability to remember the things that I forget, and for her amazing ability to pull my head out of the clouds and out of the ground. Here's to many more happy years together! Dalon G. Work vii Contents Page Abstract ::::::::::::::::::::::::::::::::::::::::::::::::::::::: iii Public Abstract ::::::::::::::::::::::::::::::::::::::::::::::::: iv Acknowledgments ::::::::::::::::::::::::::::::::::::::::::::::: vi List of Tables ::::::::::::::::::::::::::::::::::::::::::::::::::: ix List of Figures :::::::::::::::::::::::::::::::::::::::::::::::::: x Acronyms :::::::::::::::::::::::::::::::::::::::::::::::::::::: xi 1 Introduction ::::::::::::::::::::::::::::::::::::::::::::::::: 1 1.1 A Brief History of High-Order Methods....................3 1.1.1 Finite Volume Methods.........................4 1.1.2 Finite Element Methods.........................4 1.1.3 Other Methods..............................5 1.2 Purpose of Thesis.................................7 1.3 Thesis Outline..................................8 2 Background :::::::::::::::::::::::::::::::::::::::::::::::::: 9 2.1 Governing Equations...............................9 2.2 High-Order Meshing............................... 11 2.3 Verification with the Method of Manufactured Solutions........... 16 3 Flux Correction ::::::::::::::::::::::::::::::::::::::::::::::: 17 3.1 The Effect of Truncation Error on Solution Error............... 17 3.2 1D Flux-Correction................................ 19 3.2.1 Traditional Galerkin........................... 20 3.2.2 Flux-Corrected Galerkin......................... 22 3.3 2D Flux Correction................................ 23 3.4 2D Gradient Approximation........................... 25 3.5 Viscous Terms Consideration.......................... 27 3.6 Source Terms................................... 28 3.7 Unsteady Time Terms.............................. 29 3.8 Solution Method................................. 29 3.9 Multigrid..................................... 31 3.10 Boundary Conditions............................... 31 viii 4 Flux Reconstruction ::::::::::::::::::::::::::::::::::::::::::: 33 4.1 Procedure..................................... 34 4.2 Solution and Flux Point Locations....................... 38 4.3 Interface Values.................................. 38 4.4 Correction Functions............................... 38 4.5 Time Integration and values of c ........................ 40 5 Numerical Results ::::::::::::::::::::::::::::::::::::::::::::: 41 5.1 Method of Manufactured Solutions....................... 41 5.2 Cost Studies.................................... 42 5.3 Isentropic Vortex................................. 50 5.4 Unsteady, Viscous Flow over a Circular Cylinder............... 53 6 Conclusions and Future Work ::::::::::::::::::::::::::::::::::: 57 References :::::::::::::::::::::::::::::::::::::::::::::::::::::: 59 Appendix :::::::::::::::::::::::::::::::::::::::::::::::::::::: 64 ix List of Tables Table Page 4.1 The four special values of c for C-RK with p = 2............... 40 5.1 Cylinder Mesh Statistics............................. 53 5.2 Strouhal Numbers................................ 56 x List of Figures Figure Page 1.1 Relationship graph for higher-order methods..................8 3.1 Discretization used in the derivation of the Linear Galerkin Method.... 19 3.2 Node-centered stencil on a two-dimensional unstructured triangular
Recommended publications
  • Discontinuous Galerkin Finite Element Method for The
    DISCONTINUOUS GALERKIN FINITE ELEMENT METHOD FOR THE NONLINEAR HYPERBOLIC PROBLEMS WITH ENTROPY-BASED ARTIFICIAL VISCOSITY STABILIZATION A Dissertation by VALENTIN NIKOLAEVICH ZINGAN Submitted to the Office of Graduate Studies of Texas A&M University in partial fulfillment of the requirements for the degree of Doctor of Philosophy May 2012 Major Subject: Nuclear Engineering DISCONTINUOUS GALERKIN FINITE ELEMENT METHOD FOR THE NONLINEAR HYPERBOLIC PROBLEMS WITH ENTROPY-BASED ARTIFICIAL VISCOSITY STABILIZATION A Dissertation by VALENTIN NIKOLAEVICH ZINGAN Submitted to the Office of Graduate Studies of Texas A&M University in partial fulfillment of the requirements for the degree of Doctor of Philosophy Approved by: Co-Chairs of Committee, Jim E. Morel Jean-Luc Guermond Committee Members, Marvin L. Adams Jean C. Ragusa Pavel V. Tsvetkov Head of Department, Yassin A. Hassan May 2012 Major Subject: Nuclear Engineering iii ABSTRACT Discontinuous Galerkin Finite Element Method for the Nonlinear Hyperbolic Problems with Entropy-Based Artificial Viscosity Stabilization. (May 2012 ) Valentin Nikolaevich Zingan, B.S.N.E., Moscow State Engineering Physics Institute (MEPhI); M.S.N.E., Moscow State Engineering Physics Institute (MEPhI) Co-Chairs of Committee: Dr. Jim E. Morel Dr. Jean-Luc Guermond This work develops a discontinuous Galerkin finite element discretization of non- linear hyperbolic conservation equations with efficient and robust high order stabi- lization built on an entropy-based artificial viscosity approximation. The solutions of equations are represented by elementwise polynomials of an arbitrary degree p > 0 which are continuous within each element but discontinuous on the boundaries. The discretization of equations in time is done by means of high order explicit Runge-Kutta methods identified with respective Butcher tableaux.
    [Show full text]
  • UC Santa Cruz UC Santa Cruz Electronic Theses and Dissertations
    UC Santa Cruz UC Santa Cruz Electronic Theses and Dissertations Title High-Order Methods for Computational Fluid Dynamics Using Gaussian Processes Permalink https://escholarship.org/uc/item/7j45v9cx Author Reyes, Adam Canady Publication Date 2019 License https://creativecommons.org/licenses/by/4.0/ 4.0 Peer reviewed|Thesis/dissertation eScholarship.org Powered by the California Digital Library University of California UNIVERSITY OF CALIFORNIA SANTA CRUZ HIGH-ORDER METHODS FOR COMPUTATIONAL FLUID DYNAMICS USING GAUSSIAN PROCESSES A dissertation submitted in partial satisfaction of the requirements for the degree of DOCTOR OF PHILOSOPHY in PHYSICS by Adam Reyes June 2019 The Dissertation of Adam Reyes is approved: Professor Dongwook Lee, Chair Professor Petros Tzeferacos Professor Onuttom Narayan Lori Kletzer Vice Provost and Dean of Graduate Studies Copyright © by Adam Reyes 2019 Table of Contents List of Figures v List of Tables xi Abstract xii Dedication xiv Acknowledgments xv 1 Introduction 1 1.1 Overview of this dissertation . .3 2 Discretizing Hyperbolic Conservation Laws 4 2.1 Hyperbolic Conservation Laws . .5 2.1.1 Nonlinear Systems . .6 2.2 Time Integration . .8 2.2.1 Runge-Kutta Methods . .9 2.2.2 Predictor-Corrector Methods . 10 2.3 Finite Volume Methods . 11 2.3.1 The Riemann Problem . 12 2.3.2 High-Order FVM . 14 2.4 Finite Difference Methods . 16 2.5 Conclusion . 20 3 High-Order Interpolation/Reconstruction for FDM and FVM 22 3.1 Total Variation Diminishing Methods . 24 3.2 Essentially Non-Oscillatory and Weighted Essentially Non-Oscillatory Methods . 27 3.2.1 WENO . 30 iii 4 Gaussian Processes for CFD 34 4.1 Gaussian Processes .
    [Show full text]
  • High-Order Simulation of Polymorphic Crystallization Using Weighted Essentially Nonoscillatory Methods
    High-Order Simulation of Polymorphic Crystallization Using Weighted Essentially Nonoscillatory Methods Martin Wijaya Hermanto Dept. of Chemical and Biomolecular Engineering, National University of Singapore, Singapore 117576 Richard D. Braatz Dept. of Chemical and Biomolecular Engineering, University of Illinois at Urbana-Champaign, IL 61801 Min-Sen Chiu Dept. of Chemical and Biomolecular Engineering, National University of Singapore, Singapore 117576 DOI 10.1002/aic.11644 Published online November 21, 2008 in Wiley InterScience (www.interscience.wiley.com). Most pharmaceutical manufacturing processes include a series of crystallization processes to increase purity with the last crystallization used to produce crystals of desired size, shape, and crystal form. The fact that different crystal forms (known as polymorphs) can have vastly different characteristics has motivated efforts to under- stand, simulate, and control polymorphic crystallization processes. This article pro- poses the use of weighted essentially nonoscillatory (WENO) methods for the numeri- cal simulation of population balance models (PBMs) for crystallization processes, which provide much higher order accuracy than previously considered methods for simulating PBMs, and also excellent accuracy for sharp or discontinuous distributions. Three different WENO methods are shown to provide substantial reductions in numeri- cal diffusion or dispersion compared with the other finite difference and finite volume methods described in the literature for solving PBMs, in an application to the polymorphic crystallization of L-glutamic acid. Ó 2008 American Institute of Chemical Engineers AIChE J, 55: 122–131, 2009 Keywords: pharmaceutical crystallization, polymorphism, hyperbolic partial differential equation, weighted essentially nonoscillatory, high resolution, finite difference Introduction motivated by patent, operability, profitability, regulatory, and 1–3 Most manufacturing processes include a series of crystalli- scientific considerations.
    [Show full text]
  • Facilitating the Adoption of Unstructured High-Order Methods Amongst a Wider Community of Fluid Dynamicists
    P. E. Vincent and A. Jameson Unstructured High-Order Methods Math. Model. Nat. Phenom. Vol. 6, No. 3, 2011, pp.97-140 DOI: 10.1051/mmnp/20116305 Facilitating the Adoption of Unstructured High-Order Methods Amongst a Wider Community of Fluid Dynamicists P. E. Vincent∗ and A. Jameson Department of Aeronautics and Astronautics, Stanford University, Stanford, California, USA Abstract. Theoretical studies and numerical experiments suggest that unstructured high-order methods can provide solutions to otherwise intractable fluid flow problems within complex ge- ometries. However, it remains the case that existing high-order schemes are generally less robust and more complex to implement than their low-order counterparts. These issues, in conjunction with difficulties generating high-order meshes, have limited the adoption of high-order techniques in both academia (where the use of low-order schemes remains widespread) and industry (where the use of low-order schemes is ubiquitous). In this short review, issues that have hitherto pre- vented the use of high-order methods amongst a non-specialist community are identified, and cur- rent efforts to overcome these issues are discussed. Attention is focused on four areas, namely the generation of unstructured high-order meshes, the development of simple and efficient time integration schemes, the development of robust and accurate shock capturing algorithms, and fi- nally the development of high-order methods that are intuitive and simple to implement. With regards to this final area, particular attention is focused on the recently proposed flux reconstruc- tion approach, which allows various well known high-order schemes (such as nodal discontinuous Galerkin methods and spectral difference methods) to be cast within a single unifying framework.
    [Show full text]
  • Deterministic Numerical Schemes for the Boltzmann Equation
    Deterministic Numerical Schemes for the Boltzmann Equation by Akil Narayan and Andreas Klöckner <{anaray,kloeckner}@dam.brown.edu> Abstract This article describes methods for the deterministic simulation of the collisional Boltzmann equation. It presumes that the transport and collision parts of the equation are to be simulated separately in the time domain. Time stepping schemes to achieve the splitting as well as numerical methods for each part of the operator are reviewed, with an emphasis on clearly exposing the challenges posed by the equation as well as their resolution by various schemes. 1 Introduction The Boltzmann equation is an equation of statistical mechanics describing the evolution of a rarefied gas. In a fluid in continuum mechanics, all particles in a spatial volume element are approximated as • having the same velocity. In a rarefied gas in statistical mechanics, there is enough space that particles in one spatial volume • element may have different velocities. The equation itself is a nonlinear integro-differential equation which decribes the evolution of the density of particles in a monatomic rarefied gas. Let the density function be f( x, v, t) . The quantity f( x, v, t)dx dv represents the number of particles in the phase-space volume element dx dv at time t. Both x and 3 3 + v are three-dimensional independent variables, so the density function is a map f: R R R R 6 × × → 0 R 0, . The theory of kinetics and statistical mechanics gives rise to the laws which the density func- ∪ ∞ tion {f must} obey in the absence of external forces.
    [Show full text]
  • A 2-D Finite Volume Navier-Stokes Solver for Supersonic Flows
    Anadolu Üniversitesi Bilim ve Teknoloji Dergisi A- Uygulamalı Bilimler ve Mühendislik Anadolu University Journal of Science and Technology A- Applied Sciences and Engineering 2017 - Volume: 18 Number: 5 Page: 1042 - 1056 DOI: 10.18038/aubtda.298656 Received: 17 March 2017 Revised: 19 July 2017 Accepted: 02 October 2017 A 2-D FINITE VOLUME NAVIER-STOKES SOLVER FOR SUPERSONIC FLOWS Adem Gürkan TÜRK 1, Bayram ÇELİK 1,* 1 Astronautical Engineering Department, Faculty of Aeronautics and Astronautics, İstanbul Technical University, İstanbul, Turkey ABSTRACT Two-dimensional compressible Navier-Stokes equations consist of continuity, momentum and energy equations. These coupled equations must be solved simultaneously. The values of density, two velocity components, pressure and temperature are obtained by solving the four equations and considering the assumption of calorically perfect gas. A finite volume based in house solver is developed in C++. The solver is able to solve steady or unsteady and inviscid or laminar compressible flow problems on an unstructured mesh. It uses Van Leer’s Flux Vector Splitting Scheme. It has local time stepping feature for the acceleration of convergence and can run parallel on computers with shared memory architecture. The solver is designed to adapt alternative schemes for better accuracy and computing efficiency. In order to check the accuracy and code implementation, various supersonic benchmark problems are visited. The problems are steady inviscid double wedge, steady viscous flow over a cylinder, unsteady inviscid Sod’s problem and unsteady inviscid forward facing step flow. The obtained results are compared with those available in literature. The comparisons show that the results are promising. Keywords: Supersonic flows, Finite volume method, Forward step duct, Shock tube, Oblique shock 1.
    [Show full text]
  • Practical Methods for Simulation of Compressible Flow and Structure Interactions
    PRACTICAL METHODS FOR SIMULATION OF COMPRESSIBLE FLOW AND STRUCTURE INTERACTIONS A DISSERTATION SUBMITTED TO THE DEPARTMENT OF COMPUTER SCIENCE AND THE COMMITTEE ON GRADUATE STUDIES OF STANFORD UNIVERSITY IN PARTIAL FULFILLMENT OF THE REQUIREMENTS FOR THE DEGREE OF DOCTOR OF PHILOSOPHY Nipun Kwatra April 2011 c Copyright by Nipun Kwatra 2011 All Rights Reserved ii I certify that I have read this dissertation and that, in my opinion, it is fully adequate in scope and quality as a dissertation for the degree of Doctor of Philosophy. (Ronald Fedkiw) Principal Adviser I certify that I have read this dissertation and that, in my opinion, it is fully adequate in scope and quality as a dissertation for the degree of Doctor of Philosophy. (Charbel Farhat) I certify that I have read this dissertation and that, in my opinion, it is fully adequate in scope and quality as a dissertation for the degree of Doctor of Philosophy. (Vladlen Koltun) Approved for the University Committee on Graduate Studies iii Abstract This thesis presents a semi-implicit method for simulating inviscid compressible flow and its extensions for strong implicit coupling of compressible flow with Lagrangian solids, and artificial transition of fluid from compressible flow to incompressible flow regime for graphics applications. First we present a novel semi-implicit method for alleviating the stringent CFL condition imposed by the sound speed in simulating inviscid compressible flow with shocks, contacts and rarefactions. The method splits the compressible flow flux into two parts { an advection part and an acoustic part. The advection part is solved using an explicit scheme, while the acoustic part is solved using an implicit method allowing us to avoid the sound speed imposed CFL restriction.
    [Show full text]
  • A Space-Time Discontinuous Galerkin Spectral Element Method for Nonlinear Hyperbolic Problems
    A Space-Time Discontinuous Galerkin Spectral Element Method for Nonlinear Hyperbolic Problems Chaoxu Pei, Mark Sussman∗, M. Yousuff Hussaini Department of Mathematics, Florida State University, Tallahassee, FL, 32306, USA. Abstract A space-time discontinuous Galerkin spectral element method is combined with two different approaches for treating problems with discontinuous solu- tions: (i) adding a space-time dependent artificial viscosity, and (ii) track- ing the discontinuity with space-time spectral accuracy. A Picard iteration method is employed in order to solve the nonlinear system of equations de- rived from the space-time DG spectral element discretization. Spectral ac- curacy in both space and time is demonstrated for the Burgers' equation with a smooth solution. For tests with discontinuities, the present space- time method enables better accuracy at capturing the shock strength in the element containing shock when higher order polynomials in both space and time are used. The spectral accuracy of the shock speed and location is demonstrated for the solution of the inviscid Burgers' equation obtained by the tracking method. Keywords: Space-time, Discontinuous Galerkin, Spectral accuracy, Shock capturing, Shock tracking, Picard iteration 1. Introduction We first present a brief history of numerical methods proposed to solve nonlinear hyperbolic problems. In 1989, Shu and Osher [33] developed essen- tially non-oscillatory (ENO) numerical methods for hyperbolic conservation laws. These methods can be implemented up to any prescribed spatial and ∗Corresponding author Email addresses: [email protected] (Chaoxu Pei), [email protected] (Mark Sussman), [email protected] (M. Yousuff Hussaini) Preprint submitted to International Journal of Computational Methods May 25, 2017 temporal order of accuracy.
    [Show full text]
  • W. Shu, ENO and WENO Schemes for Hyperbolic Conservation Laws
    NASA/CR-97-206253 ICASE Report No. 97-65 Essentially Non-Oscillatory and Weighted Essentially Non-Oscillatory Schemes for Hyperbolic Conservation Laws Chi-Wang Shu Brown University Institute for Computer Applications in Science and Engineering NASA Langley Research Center Hampton, VA Operated by Universities Space Research Association National Aeronautics and Space Administration Langley Research Center Prepared for Langley Research Center Hampton, Virginia 23681-2199 under Contract NAS1-19480 November 1997 ESSENTIALLY NON-OSCILLATORY AND WEIGHTED ESSENTIALLY NON-OSCILLATORY SCHEMES FOR HYPERBOLIC CONSERVATION LAWS CHI-WANG SHU ∗ Abstract. In these lecture notes we describe the construction, analysis, and application of ENO (Es- sentially Non-Oscillatory) and WENO (Weighted Essentially Non-Oscillatory) schemes for hyperbolic con- servation laws and related Hamilton-Jacobi equations. ENO and WENO schemes are high order accurate finite difference schemes designed for problems with piecewise smooth solutions containing discontinuities. The key idea lies at the approximation level, where a nonlinear adaptive procedure is used to automatically choose the locally smoothest stencil, hence avoiding crossing discontinuities in the interpolation procedure as much as possible. ENO and WENO schemes have been quite successful in applications, especially for prob- lems containing both shocks and complicated smooth solution structures, such as compressible turbulence simulations and aeroacoustics. These lecture notes are basically self-contained. It is our hope that with these notes and with the help of the quoted references, the reader can understand the algorithms and code them up for applications. Sample codes are also available from the author. Key words. essentially non-oscillatory, conservation laws, high order accuracy Subject classification. Applied and Numerical Mathematics 1.
    [Show full text]
  • Implementation and Validation of Semi-Implicit WENO Schemes Using Openfoam®
    computation Article Implementation and Validation of Semi-Implicit WENO Schemes Using OpenFOAM® Tobias Martin 1,* and Ivan Shevchuk 2 1 Department of Civil and Environmental Engineering, Norwegian University of Science and Technology, 7491 Trondheim, Norway 2 Chair of Modeling and Simulation, University of Rostock, 18059 Rostock, Germany; [email protected] * Correspondence: [email protected] Received: 3 December 2017; Accepted: 23 January 2018; Published: 24 January 2018 Abstract: In this article, the development of high-order semi-implicit interpolation schemes for convection terms on unstructured grids is presented. It is based on weighted essentially non-oscillatory (WENO) reconstructions which can be applied to the evaluation of any field in finite volumes using its known cell-averaged values. Here, the algorithm handles convex cells in arbitrary three-dimensional meshes. The implementation is parallelized using the Message Passing Interface. All schemes are embedded in the code structure of OpenFOAM® resulting in the access to a huge open-source community and the applicability to high-level programming. Several verification cases and applications of the scalar advection equation and the incompressible Navier-Stokes equations show the improved accuracy of the WENO approach due to a mapping of the stencil to a reference space without scaling effects. An efficiency analysis indicates an increased computational effort of high-order schemes in comparison to available high-resolution methods. However, the reconstruction time can be efficiently decreased when more processors are used. Keywords: CFD; high-order methods; WENO reconstruction; semi-implicit; unstructured grids 1. Introduction In recent years, open source Computational Fluid Dynamics (CFD) codes experienced an increased influence not only on ongoing science but also on the industry.
    [Show full text]
  • An ENO-Based Method for Second-Order Equations and Application to the Control of Dike Levels
    J Sci Comput (2012) 50:462–492 DOI 10.1007/s10915-011-9493-3 An ENO-Based Method for Second-Order Equations and Application to the Control of Dike Levels S.P. van der Pijl · C.W. Oosterlee Received: 5 December 2009 / Revised: 18 August 2010 / Accepted: 24 April 2011 / Published online: 15 May 2011 © The Author(s) 2011. This article is published with open access at Springerlink.com Abstract This work aims to model the optimal control of dike heights. The control prob- lem leads to so-called Hamilton-Jacobi-Bellman (HJB) variational inequalities, where the dike-increase and reinforcement times act as input quantities to the control problem. The HJB equations are solved numerically with an Essentially Non-Oscillatory (ENO) method. The ENO methodology is originally intended for hyperbolic conservation laws and is ex- tended to deal with diffusion-type problems in this work. The method is applied to the dike optimisation of an island, for both deterministic and stochastic models for the economic growth. Keywords Hamilton-Jacobi-Bellman equations · ENO scheme for diffusion · Impulsive control · Dike increase against flooding 1 Introduction The optimal control of dike heights as a protection against flooding is a trade-off between the investment costs of dike increases and the expected costs due to flooding. This concept of economic optimisation was established by Van Dantzig [19] in the aftermath of the flooding disaster that hit the Netherlands in 1953. Van Dantzig’s model was deterministic and discrete in time and was later improved by Eijgenraam [9] to properly account for economic growth.
    [Show full text]
  • A Discontinuous Galerkin Finite Element Method for Hamilton-Jacobi Equations
    NASA/CR- 1998-206903 ICASE Report No. 98-2 A Discontinuous Galerkin Finite Element Method for Hamilton-Jacobi Equations Changqing Hu Brown University Chi-Wang Shu Brown University Institute for Computer Applications in Science and Engineering NASA Langley Research Center Hampton, VA Operated by Universities Space Research Association National Aeronautics and Space Administration Langley Research Center Prepared for Langley Research Center Hampton, Virginia 23681-2199 under Contract NAS 1-19480 January 1998 Available from the following: NASA Center for AeroSpace Information (CASI) National Technical Information Service (NTIS) 800 Elkridge Landing Road 5285 Port Royal Road Linthicum Heights, MD 21090-2934 Springfield, VA 22161-2171 (301) 621-0390 (703) 487-4650 A DISCONTINUOUS GALERKIN FINITE ELEMENT METHOD FOR HAMILTON-JACOBI EQUATIONS CHANGQING HU AND CHI-WANG SHU * Abstract. In this paper, we present a discontinuous Galerkin finite clement method for solving the nonlinear Hamilton-Jacobi equations. This method is based on the Runge-Kutta discontinuous Galerkin finite element method for solving conservation laws. The method has the flexibility of treating complicated geometry by using arbitrary triangulation, can achieve high order accuracy with a local, compact stencil, and are suited for efficient parallel implementation. One and two dimensional numerical examples are given to illustrate the capability of the method. Key words. Hamilton-Jacobi Equations, discontinuous Galerkin, high order accuracy. Subject classification. Applied and Numerical Mathematics 1. Introduction. In this paper we consider the numerical solutions of the Hamilton-Jacobi (H J) equa- tions (1.1) Ct _- H((_Xl, ..., Cxd) -_ O, ¢(X, 0) -_ CO(x). As is well known, the solutions to (1.1) are Lipschitz continuous but may have discontinuous derivatives, regardless of the smoothness of the initial condition ¢°(x).
    [Show full text]