SAND2011-6250C Limited Artificial Viscosity and Hyperviscosity Based on a Nonlinear Hybridization Method September 7, 2011 Bill Rider, Ed Love, and G.

Slides:



Advertisements
Similar presentations
Transfer coefficient algorithm for small mass nodes in material point method Xia Ma, Balaji Jayaraman, Paul T. Giguere and Duan Z. Zhang CartaBlanca Team.
Advertisements

AMS 691 Special Topics in Applied Mathematics Review of Fluid Equations James Glimm Department of Applied Mathematics and Statistics, Stony Brook University.
Workshop on Numerical Methods for Multi-material Fluid Flows, Prague, Czech Republic, September 10-14, 2007 Sandia is a multiprogram laboratory operated.
Fast Magnetic Reconnection B. Pang U. Pen E. Vishniac.
Turbulent Models.  DNS – Direct Numerical Simulation ◦ Solve the equations exactly ◦ Possible with today’s supercomputers ◦ Upside – very accurate if.
The structure and evolution of stars
Lectures on CFD Fundamental Equations
A J Barlow, September 2007 Compatible Finite Element multi-material ALE Hydrodynamics Numerical methods for multi-material fluid flows 10-14th September.
Numerical Uncertainty Assessment Reference: P.J. Roache, Verification and Validation in Computational Science and Engineering, Hermosa Press, Albuquerque.
Coupling Continuum Model and Smoothed Particle Hydrodynamics Methods for Reactive Transport Yilin Fang, Timothy D Scheibe and Alexandre M Tartakovsky Pacific.
A Bezier Based Approach to Unstructured Moving Meshes ALADDIN and Sangria Gary Miller David Cardoze Todd Phillips Noel Walkington Mark Olah Miklos Bergou.
Coupled Fluid-Structural Solver CFD incompressible flow solver has been coupled with a FEA code to analyze dynamic fluid-structure coupling phenomena CFD.
1 Internal Seminar, November 14 th Effects of non conformal mesh on LES S. Rolfo The University of Manchester, M60 1QD, UK School of Mechanical,
Brookhaven Science Associates U.S. Department of Energy Neutrino Factory and Muon Collider Collaboration Meeting May 9 – 15, 2002, Shelter Island, New.
Operated by Los Alamos National Security, LLC for the U.S. Department of Energy’s NNSA Slide 1 The Implementation of a General Higher-Order Remap Algorithm.
1cs533d-winter-2005 Notes  Some example values for common materials: (VERY approximate) Aluminum: E=70 GPa =0.34 Concrete:E=23 GPa =0.2 Diamond:E=950.
Modeling Fluid Phenomena -Vinay Bondhugula (25 th & 27 th April 2006)
1cs533d-term Notes. 2 Poisson Ratio  Real materials are essentially incompressible (for large deformation - neglecting foams and other weird composites…)
Computations of Fluid Dynamics using the Interface Tracking Method Zhiliang Xu Department of Mathematics University of Notre.
2. Solving Schrödinger’s Equation Superposition Given a few solutions of Schrödinger’s equation, we can make more of them Let  1 and  2 be two solutions.
1 Chapter 9 Differential Equations: Classical Methods A differential equation (DE) may be defined as an equation involving one or more derivatives of an.
Non-Newtonian nature of Causal Hydrodynamics T. Koide ( Universidade Federal do Rio de Janeiro ) G.S. Denicol (UFRJ),T. Kodama (UFRJ),Ph. Mota (UFRJ) Because.
If the shock wave tries to move to right with velocity u 1 relative to the upstream and the gas motion upstream with velocity u 1 to the left  the shock.
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.
The Finite Volume Method
Chapter 9: Differential Analysis of Fluid Flow SCHOOL OF BIOPROCESS ENGINEERING, UNIVERSITI MALAYSIA PERLIS.
PTT 204/3 APPLIED FLUID MECHANICS SEM 2 (2012/2013)
Solution of the St Venant Equations / Shallow-Water equations of open channel flow Dr Andrew Sleigh School of Civil Engineering University of Leeds, UK.
Page 1 JASS 2004 Tobias Weinzierl Sophisticated construction ideas of ansatz- spaces How to construct Ritz-Galerkin ansatz-spaces for the Navier-Stokes.
C M C C Centro Euro-Mediterraneo per i Cambiamenti Climatici COSMO General Meeting - September 8th, 2009 COSMO WG 2 - CDC 1 An implicit solver based on.
Finite Element Method.
Boundaries, shocks, and discontinuities. How discontinuities form Often due to “wave steepening” Example in ordinary fluid: –V s 2 = dP/d  m –P/  
Brookhaven Science Associates U.S. Department of Energy MUTAC Review April , 2004, LBNL Target Simulation Roman Samulyak, in collaboration with.
1 Discretization of Fluid Models (Navier Stokes) Dr. Farzad Ismail School of Aerospace and Mechanical Engineering Universiti Sains Malaysia Nibong Tebal.
AMS 691 Special Topics in Applied Mathematics Lecture 3 James Glimm Department of Applied Mathematics and Statistics, Stony Brook University Brookhaven.
ECE 8443 – Pattern Recognition ECE 8423 – Adaptive Signal Processing Objectives: Deterministic vs. Random Maximum A Posteriori Maximum Likelihood Minimum.
A conservative FE-discretisation of the Navier-Stokes equation JASS 2005, St. Petersburg Thomas Satzger.
Numerical Schemes for Streamer Discharges at Atmospheric Pressure
1 LES of Turbulent Flows: Lecture 12 (ME EN ) Prof. Rob Stoll Department of Mechanical Engineering University of Utah Spring 2011.
SIMULATION OF GAS PIPELINES LEAKAGE USING CHARACTERISTICS METHOD Author: Ehsan Nourollahi Organization: NIGC (National Iranian Gas Company) Department.
Discontinuous Galerkin Methods Li, Yang FerienAkademie 2008.
Approximate Riemann Solvers for Multi-component flows Ben Thornber Academic Supervisor: D.Drikakis Industrial Mentor: D. Youngs (AWE) Aerospace Sciences.
Discontinuous Galerkin Methods for Solving Euler Equations Andrey Andreyev Advisor: James Baeder Mid.
7. Introduction to the numerical integration of PDE. As an example, we consider the following PDE with one variable; Finite difference method is one of.
Order of Magnitude Scaling of Complex Engineering Problems Patricio F. Mendez Thomas W. Eagar May 14 th, 1999.
© Fluent Inc. 11/24/2015J1 Fluids Review TRN Overview of CFD Solution Methodologies.
Some Aspects of the Godunov Method Applied to Multimaterial Fluid Dynamics Igor MENSHOV 1,2 Sergey KURATOV 2 Alexander ANDRIYASH 2 1 Keldysh Institute.
1 Flux Numerical Methods. 2 Flux Basics The finite-volume formulation of the conservation equations resulted in the equation where was the flux of the.
Introducing Flow-er: a Hydrodynamics Code for Relativistic and Newtonian Flows Patrick M. Motl Joel E. Tohline, & Luis Lehner (Louisiana.
Lecture 21-22: Sound Waves in Fluids Sound in ideal fluid Sound in real fluid. Attenuation of the sound waves 1.
Numerical Methods for Partial Differential Equations CAAM 452 Spring 2005 Lecture 12 Instructor: Tim Warburton.
AMS 691 Special Topics in Applied Mathematics Lecture 8
Discretization Methods Chapter 2. Training Manual May 15, 2001 Inventory # Discretization Methods Topics Equations and The Goal Brief overview.
A Non-iterative Hyperbolic, First-order Conservation Law Approach to Divergence-free Solutions to Maxwell’s Equations Richard J. Thompson 1 and Trevor.
Dimensional Analysis.
Dr. R. Nagarajan Professor Dept of Chemical Engineering IIT Madras
Isentropic “shock waves” in numerical astrophysical simulations G.S.Bisnovatyi-Kogan, S.G.Moiseenko IKI RAN.
1 Application of Weighted Essentially Non-Oscillatory Limiting to Compact Interpolation Schemes Debojyoti Ghosh Graduate Research Assistant Alfred Gessow.
Flow and Dissipation in Ultrarelativistic Heavy Ion Collisions September 16 th 2009, ECT* Italy Akihiko Monnai Department of Physics, The University of.
Sandia National Laboratories is a multi-program laboratory managed and operated by Sandia Corporation, a wholly owned subsidiary of Lockheed Martin Corporation,
Lecture 3 & 4 : Newtonian Numerical Hydrodynamics Contents 1. The Euler equation 2. Properties of the Euler equation 3. Shock tube problem 4. The Roe scheme.
Lecture 4: Numerical Stability
Convection-Dominated Problems
Convergence in Computational Science
2. Solving Schrödinger’s Equation
Prof. dr. A. Achterberg, Astronomical Dept
Objective Numerical methods Finite volume.
High Accuracy Schemes for Inviscid Traffic Models
topic11_shocktube_problem
Presentation transcript:

SAND2011-6250C Limited Artificial Viscosity and Hyperviscosity Based on a Nonlinear Hybridization Method September 7, 2011 Bill Rider, Ed Love, and G. Scovazzi Sandia National Laboratories Albuquerque, NM 1950’s Multimat11 Arcachon France 2011 Sandia National Laboratories is a multi-program laboratory managed and operated by Sandia Corporation, a wholly owned subsidiary of Lockheed Martin Corporation, for the U.S. Department of Energy’s National Nuclear Security Administration under contract DE-AC04-94AL85000.

Outline of Presentation Introduction Nonlinear hybridization and other limiters Analysis of artificial viscosity coeffients Filtering and hyperviscosity Results Summary and outlook

The development of improved viscosity has been a long time goal. Typical artificial viscosity methods render Lagrangian hydrodynamic calculations first-order accurate. The traditional shock-capturing viscosity is active in compression*, regardless of whether the compression is adiabatic or a shock. Ideally the viscosity should vanish (go to zero) if the fluid flow is smooth (adiabatic/isentropic). The goal is to construct a second-order accurate artificial viscosity method, one which can differentiate between discontinuous (shocked) and smooth flows. *Valid for a convex EOS, nonconvex EOS’s have valid expansion shocks.

Lagrangian weak form of the conservation laws Conservation of mass Conservation of linear momentum Conservation of energy

Properties of the Q (Discontinuity Capturing) The Q is dissipative, and should only be triggered at shocks* (or large gradients/discontinuities, fixed with a “modern” flux-limited Q) The Q allows the method to correctly compute the shock jumps without undue oscillations. The Q makes the solution stable in the presence of shocks. The linear Q stabilizes the propagation of simple waves on a grid. The quadratic Q stabilizes nonlinear shocks. This comes from the analysis later in the talk * More about this later in the talk!

Major developments in Q’s The linear Q was introduced by Landshoff in 1955, The concept of turning the viscosity off in expansion by Rosenbluth also in 1955 Later embellishments are tensor viscosities, “flux-limited” viscosity, and the analysis of the coefficients of viscosity noted by Wilkins in 1980, but attributed to Kurapatenko in an earlier 1970 work in the Soviet literature. *lower case “c” is the sound speed

The standard modern Q uses limiters The technique was pioneered by Randy Christenson (LLNL), and documented in the literature by David Benson (UCSD). It uses limiters from the Godunov-type methods to reduce the dissipation where the solution is resolved Based on the work of Van Leer (and Harten’s TVD). The basic idea is to measure the smoothness of the flow using the limiter, and reduce the dissipation where the flow is found to be smooth. These limiters are usually related to the ratio of successive gradients usually in a 1-D sense. Used in most “modern” Lagrangian/ALE codes.

There have been numerous previous attempts at an advanced viscosity in ALEGRA Two or three attempts to put Christenson’s limiter into the code going back to the early 90’s. Each attempt failed due to the quality of results. We have tried a least squares limiter, but ran into conceptual problems. We also began implemented a FCT based limited, but the results were poor.

Overcoming Godunov’s Theorem with nonlinear methods = High Resolution Methods High Resolution = “Modern” developed independently by four men in 1971-1972 Jay Boris (NRL retired) = FCT Bram Van Leer (U. Leiden, now U. Michigan) = Limiters Harten’s TVD is best known version Vladimir Kolgan (Russia/USSR) = largely unknown Ami Harten (Israel) = nonlinear hybridization (also introduced TVD, first attempt is “crude”) Here’s something cool historically: Boris didn’t know about Godunov - he just decided that the physics dictated certain properties of the sol’n Van leer told me he just knew that it could be done. The other three did know about Godunov’s work. We’ll talk about all of this later (Harten & Boris in Lecture 11) Van Leer in lecture 14. Harten also contributed ENO schemes…. Passed away in ‘94 Kolgan was the closest to a modern scheme with his extension of Godunov - 2nd order ENO method. All of them bypassed Godunov’s theorem by making the methods nonlinear, the differencing depends on the sol’n itself. Jay Boris V. Kolgan Bram van Leer

We have decided to go a different path – A nonlinear hybridization. This is Harten’s method and it is fairly simple, The key is defining the switch as the ratio of second-to-first derivatives. The next step is to realize that the high order method is the standard Lagrangian hydro with Q=0, the low order is found with the Q.

Introduced by Harten and Zwas (1972) Nonlinear hybridization was an early high resolution method that never caught on. Introduced by Harten and Zwas (1972) Refined with the ACM work by Harten (1977/78) Supplanted by Van Leer’s work and Harten’s own TVD theory for monotonicity preserving methods. The archetypical TVD method is the “minmod” * scheme, * The minmod function was invented by Boris with his initial FCT work.

The nonlinear hybridization can be identical to important TVD schemes.* We can prove this for an important choice for the high-order method (Fromm’s method) Rewrite minmod algebraically as Write the nonlinear hybrid scheme as One can show Further The Van Leer or harmonic mean limiter (TVD) *Graphically this is clear using the “Sweby” diagram, a method to parametrically examine TVD limiters.

How do we define the limiter in a FEM code? A linear velocity field is “smooth”, does not represent a shocked flow, Computation of the velocity Laplacian in FEM Normalize using the triangle inequality

General structure of an improved artificial viscosity has several elements High-order “flux” is “zero artificial viscosity”. The standard method is second order accurate Low-order “flux” is “standard artificial viscosity”. The linear viscosity renders the method 1st order Limited artificial viscosity if If the velocity field is linear, then the artificial viscosity is zero on both the interior and the boundary of arbitrary unstructured meshes. Important to include boundary terms (red boxed terms on previous slide).

What happens asymptotically with mesh refinement? Assume the flow is smooth. The standard non-limited artificial viscosity is O(h). The limiter itself is O(h). In one dimension, When the artificial viscosity is multiplied by the limiter, the result is O(h2). The final limited viscosity is O(h2), and goes to zero one order faster than the standard artificial viscosity. Assume the flow is shocked, with a finite jump as h→0. In this simple example situation, the limiter is one.

In general the limiter is a highly non-linear function of the discrete gradients More generally, Shock: Smooth:

Details of the numerical implementation Use standard single-point integration (Q1/P0) four-node finite elements to discretize the weak form. Flanagan-Belytschko viscous hourglass control (scales linearly with sound speed) with parameter 0.05 Second-order accurate (in time) predictor-corrector time integration algorithm. Artificial viscosity limiting based on Laplacian of velocity field. Gamma-law ideal gas equation-of-state. A more complex EOS used in the last example.

Zero Laplacian velocity field patch test Linear velocity field Test on an initially distorted mesh. The velocity Laplacian is zero everywhere (test passes). Inclusion of the boundary terms is critical.

Early enhancements of the Q The linear Q was introduced by Landshoff in 1955, The concept of turning the viscosity off in expansion by Rosenbluth also in 1955 Later embellishments are the tensor viscosity, “flux-limited” viscosity, and the analysis of the coefficients of viscosity. Noted by Wilkins in 1980, but attributed to Kurapatenko in an earlier 1970 work in the Russian literature. *lower case “c” is the sound speed

Relationship of EOS to the Q The key aspect of the Wilkins-Kurapatenko analysis is defining a clear relation between the Rankine-Hugoniot relations + EOS and the values of the constants in the artificial viscosity.

Technique for Analysis Basically, the equations are rewritten is a suggestive form, Solve for the shock speed (for an ideal gas) The Q comes from making the ansatz that

The classic Von Neumann-Richtmyer Q The original Q was introduced by Richtmyer in 1948 derived for an ideal gas using the shock relations, In the famous Von Neumann-Richtmyer Q removed the reference to the analytical derivation given by Richtmyer. Here the coefficient is given as The form of viscosity is motivated purely by stably placing a discontinuity on a finite number of mesh cells (order 3 or 4 cells).

Analysis of Q values, accounting for variable location. Previous analyses of the values to use with linear and quadratic coefficients have involved the Rankine-Hugoniot relations, but assuming all variables are collocated. We will now make use of the variable locations on the staggered grid,

Example: Analytical Q for ideal gas comes directly This involves doing a Taylor series expansion in two limits First in the limit where the velocity jump is small Second in the limit where the velocity jump is large (relative to the sound speed!) This recovers Richtmyer’s original result for the quadratic coefficient!

Artificial viscosity and Riemann solvers can be viewed in the same theoretical framework. Making some simple substitutions, These terms can be related to thermodynamic quantities, Since Riemann solvers are based on the R-H conditions the relation is direct. Dukowicz provided the bridge and developed a Riemann solver based on these ideas,

The new analysis assumes piecewise constant pressure, and a velocity jump State the equations in a cell-centered form, Solve for the shock pressure and velocity and express the shock velocity in terms of the known variables as before, With The shock velocity relates to the artificial viscosity coefficients.

Finishing the analysis with conclusions Taking this result gives us recommended viscosity coefficients Much smaller than traditionally used. We also note that Riemann solvers do not turn off the “viscosity” on expansion, and at the very least the linear dissipation is retained. If one looks at a “Q” as determining a dynamic pressure, retaining the Q on expansion would be called for.

Numerical Simulations I Noh Implosion Test Limited Not Limited Significant mesh distortion

Hyperviscosity is considered as a manner to improve the performance of the limiter. Hyperviscosity is a commonly used approach for stabilizing simulations Hyperviscosity is any dissipation that occurs in a form beyond standard second-order viscosity, The difference between filtered lower order dissipation can define a hyperviscosity. It is used in some aerospace codes using a certain form that we will examine (2nd plus 4th order viscosity), Note: Hourglass control is a particular form of hyperviscosity. The limiter’s use makes the hourglass modes more prevalent and difficult to control.

The Starter Results with Hyperviscosity The hypothesis is that hyperviscosity might keep hourglass modes from developing (it will not damp them)

HyperViscosity can be developed by filtering the second-order viscosity. Define as the mean rate of deformation over a patch of elements. Add additional viscosity The hyperviscosity also vanishes for a linear velocity field since in that case .

Numerical Simulations I Noh Implosion Test Limited Limited+Hyperviscosity Significant mesh distortion

Numerical Simulations II Noh Implosion Test Mesh looks better Limited+Hyper

Numerical Simulations II Saltzmann Test Limited+Hyper Not Limited Limited+Hyper Not Limited

Numerical Simulations II Saltzmann Test Not Limited Limited 1st Limited 2nd Limited 2nd Hypervisc.

Numerical Simulations III Sedov Blast Wave Test Limited Not Limited

Numerical Simulations III Sedov Blast Wave Test Limited+Hyper Not Limited

Numerical Simulations III Sedov Blast Wave Test Limited+Hyper Not Limited These results look promising…

These techniques are useful for problems with unusual EOS’s In this case there is an admissible shock on release (fundamental derivative is negative). Leaving viscosity on in expansion can handle this problem without difficulty, and sharper. Expansion Shock density pressure Original Limiter Original Limiter time time

Recommendations for Q’s in ALEGRA We must quantitatively evaluate these viscosities. The limiter allows the use of the analytical value of the linear coefficient. The limiter allows the viscosity to be on in expansion without causing undue dissipation Too little dissipation is much worse than too much! Too much dissipation is not accurate Too little dissipation is not physical “when in doubt, diffuse it out” The coefficients for the linear and quadratic should be carefully considered. The coefficients for viscosity ideally should be material and state dependent.