Algorithm Developments in Alegra Guided by Testing W. Rider, A. Robinson, G. Weirs, C. Ober, E. Love, H. Hanshaw, R. Lemke, G. Scovazzi, J. Shadid, J.

Slides:



Advertisements
Similar presentations
ASME-PVP Conference - July
Advertisements

Joint Mathematics Meetings Hynes Convention Center, Boston, MA
Christopher Batty and Robert Bridson University of British Columbia
Workshop on Numerical Methods for Multi-material Fluid Flows, Prague, Czech Republic, September 10-14, 2007 Sandia is a multiprogram laboratory operated.
Navier-Stokes.
DEBRIS FLOWS & MUD SLIDES: A Lagrangian method for two- phase flow simulation Matthias Preisig and Thomas Zimmermann, Swiss Federal Institute of Technology.
5/4/2015rew Accuracy increase in FDTD using two sets of staggered grids E. Shcherbakov May 9, 2006.
Progress Report on SPARTAN Chamber Dynamics Simulation Code Farrokh Najmabadi and Zoran Dragojlovic HAPL Meeting February 5-6, 2004 Georgia Institute of.
MUTAC Review April 6-7, 2009, FNAL, Batavia, IL Mercury Jet Target Simulations Roman Samulyak, Wurigen Bo Applied Mathematics Department, Stony Brook University.
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.
1 Approved for unlimited release as SAND C Verification Practices for Code Development Teams Greg Weirs Computational Shock and Multiphysics.
This slide intentionally left blank. The Rayleigh Plateau Instability By Mike Cromer and Patrick C. Rowe.
The formation of stars and planets Day 1, Topic 3: Hydrodynamics and Magneto-hydrodynamics Lecture by: C.P. Dullemond.
ASCI/Alliances Center for Astrophysical Thermonuclear Flashes Simulating Self-Gravitating Flows with FLASH P. M. Ricker, K. Olson, and F. X. Timmes Motivation:
Radiative Transfer with Predictor-Corrector Methods ABSTRACT TITLE : Radiative Transfer with Predictor-Corrector Methods OBJECTIVE: To increase efficiency,
An Advanced Simulation and Computing (ASC) Academic Strategic Alliances Program (ASAP) Center at The University of Chicago The Center for Astrophysical.
Physics of fusion power Lecture 4: Cylindrical concepts.
Chamber Dynamic Response Modeling Zoran Dragojlovic.
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.
1/36 Gridless Method for Solving Moving Boundary Problems Wang Hong Department of Mathematical Information Technology University of Jyväskyklä
Modeling Fluid Phenomena -Vinay Bondhugula (25 th & 27 th April 2006)
Jin Yao Lawrence Livermore National Laboratory *This work was performed under the auspices of the U.S. Department of Energy by the University of California,
Lecture “Planet Formation” Topic: Introduction to hydrodynamics and magnetohydrodynamics Lecture by: C.P. Dullemond.
© 2011 Autodesk Freely licensed for use by educational institutions. Reuse and changes require a note indicating that content has been modified from the.
Improving Contaminant Mixing Models For Water Distribution Pipe Networks Siri Sahib S. Khalsa University of Virginia Charlottesville, VA
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.
SAND C Limited Artificial Viscosity and Hyperviscosity Based on a Nonlinear Hybridization Method September 7, 2011 Bill Rider, Ed Love, and G.
LTE Review (September 2005 – January 2006) January 17, 2006 Daniel M. Dunlavy John von Neumann Fellow Optimization and Uncertainty Estimation (1411) (8962.
Physics of fusion power
Stratified Magnetohydrodynamics Accelerated Using GPUs:SMAUG.
ASCI/Alliances Center for Astrophysical Thermonuclear Flashes FLASH MHD Timur Linde FLASH MHD Timur Linde This work was supported by the ASCI Flash Center.
A Hybrid Particle-Mesh Method for Viscous, Incompressible, Multiphase Flows Jie LIU, Seiichi KOSHIZUKA Yoshiaki OKA The University of Tokyo,
Raymond L. Bell Computational Shock and Multi-Physics Department Sandia National Laboratories Albuquerque, NM Presented at the: 2nd International.
Large-Scale Stability Analysis Algorithms Andy Salinger, Roger Pawlowski, Ed Wilkes Louis Romero, Rich Lehoucq, John Shadid Sandia National Labs Albuquerque,
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.
Numerical Simulation on Flow Generated Resistive Wall Mode Shaoyan Cui (1,2), Xiaogang Wang (1), Yue Liu (1), Bo Yu (2) 1.State Key Laboratory of Materials.
Brookhaven Science Associates U.S. Department of Energy MUTAC Review April , 2004, LBNL Target Simulation Roman Samulyak, in collaboration with.
ALEGRA is a large, highly capable, option rich, production application solving coupled multi-physics PDEs modeling magnetohydrodynamics, electromechanics,
Brookhaven Science Associates U.S. Department of Energy MUTAC Review January 14-15, 2003, FNAL Target Simulations Roman Samulyak Center for Data Intensive.
A conservative FE-discretisation of the Navier-Stokes equation JASS 2005, St. Petersburg Thomas Satzger.
A cell-integrated semi-Lagrangian dynamical scheme based on a step-function representation Eigil Kaas, Bennert Machenhauer and Peter Hjort Lauritzen Danish.
Operated by Los Alamos National Security, LLC for the U.S. Department of Energy’s NNSA U N C L A S S I F I E D Slide 1 Practical Considerations for Analysis.
Neutrino Factory / Muon Collider Target Meeting Numerical Simulations for Jet-Proton Interaction Wurigen Bo, Roman Samulyak Department of Applied Mathematics.
J.-Ph. Braeunig CEA DAM Ile-de-FrancePage 1 Jean-Philippe Braeunig CEA DAM Île-de-France, Bruyères-le-Châtel, LRC CEA-ENS Cachan
Interactive Computational Sciences Laboratory Clarence O. E. Burg Assistant Professor of Mathematics University of Central Arkansas Science Museum of Minnesota.
Ale with Mixed Elements 10 – 14 September 2007 Ale with Mixed Elements Ale with Mixed Elements C. Aymard, J. Flament, J.P. Perlat.
FPGA Based Smoke Simulator Jonathan Chang Yun Fei Tianming Miao Guanduo Li.
CIS888.11V/EE894R/ME894V A Case Study in Computational Science & Engineering We will apply several numerical methods to find a steady state solution of.
HIGH ENERGY DENSITY PHYSICS: RECENT DEVELOPMENTS WITH Z PINCHES N. Rostoker, P. Ney, H. U. Rahman, and F. J. Wessel Department of Physics and Astronomy.
A Dirichlet-to-Neumann (DtN)Multigrid Algorithm for Locally Conservative Methods Sandia National Laboratories is a multi program laboratory managed and.
CIS/ME 794Y A Case Study in Computational Science & Engineering 2-D conservation of momentum (contd.) Or, in cartesian tensor notation, Where repeated.
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 novel approach for thermomechanical analysis of stationary rolling tires within an ALE-kinematic framework A. Suwannachit and U. Nackenhorst Institute.
Sandia is a multiprogram laboratory operated by Sandia Corporation, a Lockheed Martin Company, for the United States Department of Energy’s National Nuclear.
A Numerical Study of the Breakout Model for Coronal Mass Ejection Initiation P. MacNeice, S.K. Antiochos, A. Phillips, D.S. Spicer, C.R. DeVore, and K.
BOUT++ Towards an MHD Simulation of ELMs B. Dudson and H.R. Wilson Department of Physics, University of York M.Umansky and X.Xu Lawrence Livermore National.
D. A. Crawford, Sandia National Laboratories O. S. Barnouin-Jha, Johns Hopkins University Applied Physics Laboratory Sandia is a multiprogram laboratory.
Brookhaven Science Associates U.S. Department of Energy MUTAC Review April , 2004, BNL Target Simulations Roman Samulyak in collaboration with Y.
Flow and Dissipation in Ultrarelativistic Heavy Ion Collisions September 16 th 2009, ECT* Italy Akihiko Monnai Department of Physics, The University of.
Hydrodynamics Continuity equation Notation: Lagrangian derivative
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.
Animating smoke with dynamic balance Jin-Kyung Hong Chang-Hun Kim 발표 윤종철.
THE DYNAMIC EVOLUTION OF TWISTED MAGNETIC FLUX TUBES IN A THREE-DIMENSIONALCONVECTING FLOW. II. TURBULENT PUMPING AND THE COHESION OF Ω-LOOPS.
Chamber Dynamic Response Modeling
Transient Mixed Flow Modeling Capability in SRH-2D for Culverts and Bridges Yong G. Lai.
Objective Numerical methods Finite volume.
Numerical Investigation of Hydrogen Release from Varying Diameter Exit
Presentation transcript:

Algorithm Developments in Alegra Guided by Testing W. Rider, A. Robinson, G. Weirs, C. Ober, E. Love, H. Hanshaw, R. Lemke, G. Scovazzi, J. Shadid, J. Banks Sandia National Laboratories, Albuquerque, NM Numerical methods for multi-material fluid flows Czech Technical University, Prague, Czech Republic September , 2007 Sandia is a multiprogram laboratory operated by Sandia Corporation, a Lockheed Martin Company, for the United States Department of Energy’s National Nuclear Security Administration under Contract DE-AC04-94AL84000.

Talk Outline Alegra application focus Algorithm development areas: –Lagrangian hydro –Remap methods –Eulerian frame hydro Application performance improvements Future directions

Introduction to Alegra Alegra began in 1990 with the object of producing an advanced ALE code The code has shock hydrodynamics with resistive MHD, radiation transport,… –Uses standard hydro & remap methods (need improvement) –Advanced resistive MHD, linear algebra, constitutive models

Alegra Application - HEDP One of the key applications for Alegra is high energy density physics at Z.

Z-Machine is a great testbed for multiphysics

Fantastic Results with Flyer Plates.

Algorithm/process challenges still exist We focus on the areas where the algorithms are “standard,” but not state-of-the-art. Hydrodynamics –Lagrangian hydrodynamics –Remap –Eulerian Sustainable verification processes must be implemented alongside testing and improvement processes. –Identify useful problems –Install problems in a permanent repository in a state which permits future testing in as automated a way as possible. Testing is a primary focus with response leading to improvement

Lagrangian Hydro development is critical. The Lagrangian hydro algorithm in Alegra is based on the method from (SNL code) Pronto. It uses the Von Neumann-Richtmyer time-space staggering, but the energy equation is first-order in time; however the method is conservative. –It’s the “same” as the predictor in the compatible P-C method, except for the time-centering. Full stability analysis for this method was not available (except for Hicks ‘77).

Test 1: Expansion into a vacuum Results from expansion problem: instability is seen at high resolution and long times Seen sooner in applications Conservative but unstable.

Stability analysis of the Alegra Lagrangian Hydro method First write the equations in 1-D (w/o Q) Linearize, apply the Fourier transform and find the diagonal of the “Jacobian”

Examine the eigenvalues of the system Two of the eigenvalues are OK, one is a problem,  Mach number u/c = 1

This eigenvalue can be stabilized by using artificial viscosity. Examine the eigenvalue with a linear Q  Mach number u/c = 1

The expansion can be stabilized in several ways. Change discrete energy equation -> lose conservation Add viscosity -> loss of isentropic behavior Results of either fix “looks” the same. Neither is optimal, begs in the long term to do stable and conservative solution.

Tensor viscosity results We examine the performance of the code on the “trisection” mesh, left is the old Q, right is the same problem with the new tensor Q. It uses Noh’s shock reflection in 2-D.

Remesh and Remap The remesh has recently been extensively overhauled by Tom Voth. The remap has been the focus of several developments. –The change with the most impact from an application’s point-of-view is the implementation of the DeBar kinetic energy advection. –Remap differencing is also being carefully tested and evaluated (next slide). The differencing is being enhanced for accuracy on uneven meshes. –Enhanced interface reconstruction developed by Jay Mosso (See other talk this conference.)

Start with the simple stuff - linear advection Solved a simple multi-pulse advection Found a bug in the superbee limiter (square wave problem is enough) Gaussian square triangle ellipse 200 cells

Even simple testing is necessary Superbee limiter error - subtle! 100 cells

Our implementation of the “DeBar fix” for conserving energy in remap. This is a modern implementation of DeBar’s kinetic energy treatment. It corrects for the process of remap on the kinetic energy and allows full conservation of energy. We use a Q/p >0.001 switch to avoid using the fix away from shocks. This approach will also be implemented for magnetic field energy.

Results with Woodward- Colella (W-C) Blast Wave Problem This demonstrates the ability of the KE conservation to produce correct results and is more flexible and robust than total energy method. Old Total Energy KE conserving Solid - fiducial 6400 zones symbols-PPM with 400 zones Alegra Results with 1200 zones

Results with W-C Blast Wave Problem (continued) Total energy behavior - internal vs total energy advection vs DeBar & DeBar at shocks (with Q/p>0.001) The green curve is hidden by the blue curve.

Development of more physically realistic multimaterial treatment(s) Based on an isentropic relationship for multiple materials in a zone. The formal definition of bulk modulus can be viewed as the starting point, From this relation and assuming that the flow is in pressure equilibrium, and changes are isentropic, we define

Pressure Relaxation Define the changes in the volume fractions, f k to produce pressure equilibrium (and requisite energy changes), Add in a pressure relaxation, and express the previous as an evolution equation, + a void treatment (a whole talk by itself!)

Idea: Use JxB source term to help investigate hydrodynamics without invoking magnetics Enable code comparison Add acceleration to external forces (similar to gravity) and enables MMS expertise Developed by Jeff Banks and John Shadid Article in preparation Lumped-mass analysis with thin-shell approximation Prototype Z-pinch Problem

Multiple Materials Used 3 materials (all ideal gases) –Inside -  = 0.05, T = 0.2, P = 0.01 –Liner -  = 1.0, T = 0.01, P = 0.01 –Outside -  = 0.025, T = 0.4, P = 0.01 Mesh –Course mesh: 192x60 –Fine mesh: 768x240 –Sinusoidal perturbation on inside of liner JxB source term applied only to liner material Used SMYRA Interface tracking Problem exhibits –Kevin-Helmholtz instabilities –Rayleigh-Taylor instabilities –Expansion oscillations (numerical) –Creates thin material “strings” -> good test of interface tracking

Multiple Materials

Single Material Needed to add tracer variable,, to mark JxB source term application Similar gross features

Modern Lagrangian scheme + limited artificial viscosity in progress The current Lagrangian method is nearly equivalent to the predictor step (conservative, but time-staggered) of a PC method. A corrector step for 2nd order is anticipated. In the process of developing a FEM compatible limited Q using a least square approach to computing a limiter.

2nd order P-C with a limited Q results: Noh’s problem-very coarse mesh Black = New Q Red = Old pronto Q Trisection Mesh w/new Q (Research code)

Demonstration of Algorithm Impact: Z-Pinch Implosion A simulation of a wire array implosion on the Z-machine at SNL

Results with Simplified Z-pinch Results of radiation output from a 1-D implosion (comparing Lagrangian w/Eulerian) Lagrange Eulerian DeBar Eulerian No DeBar Lagrange (4x) Eulerian DeBar (4x) Eulerian No DeBar (4x)

Demonstration of Algorithm Impact: Full 3D Z-Pinch Implosion This shows the impact of conserving energy. The radiated power is the key metric.

Summary Alegra has benefited from the focus on several problem areas. In association with an emphasis on testing, Alegra’s algorithms have been improved and tests are being placed in a permanent repository. These improvements have provided tangible benefits for Alegra’s HEDP applications.

Future Directions The algorithms need to continue improvement in both remap and Lagrangian hydro. A more modern Lagrangian hydro method is needed (modern Q + bonafide 2nd order in time predictor-corrector). The testing process needs to expand in both breadth, depth and ease of use to support a sustained V&V evidence base.