Sandia National Laboratories is a multi-program laboratory managed and operated by Sandia Corporation, a wholly owned subsidiary of Lockheed Martin Corporation,

Slides:



Advertisements
Similar presentations
Steady-state heat conduction on triangulated planar domain May, 2002
Advertisements

School of something FACULTY OF OTHER School of Computing An Adaptive Numerical Method for Multi- Scale Problems Arising in Phase-field Modelling Peter.
A Discrete Adjoint-Based Approach for Optimization Problems on 3D Unstructured Meshes Dimitri J. Mavriplis Department of Mechanical Engineering University.
03/29/2006, City Univ1 Iterative Methods with Inexact Preconditioners and Applications to Saddle-point Systems & Electromagnetic Maxwell Systems Jun Zou.
Improvement of a multigrid solver for 3D EM diffusion Research proposal final thesis Applied Mathematics, specialism CSE (Computational Science and Engineering)
Sandia National Laboratories is a multi-program laboratory managed and operated by Sandia Corporation, a wholly owned subsidiary of Lockheed Martin Corporation,
Computer Science & Engineering Department University of California, San Diego SPICE Diego A Transistor Level Full System Simulator Chung-Kuan Cheng May.
Advanced Computer Graphics CSE 190 [Spring 2015], Lecture 10 Ravi Ramamoorthi
CS 290H 7 November Introduction to multigrid methods
An Efficient Multigrid Solver for (Evolving) Poisson Systems on Meshes Misha Kazhdan Johns Hopkins University.
MULTISCALE COMPUTATIONAL METHODS Achi Brandt The Weizmann Institute of Science UCLA
Geometric (Classical) MultiGrid. Hierarchy of graphs Apply grids in all scales: 2x2, 4x4, …, n 1/2 xn 1/2 Coarsening Interpolate and relax Solve the large.
1 Approved for unlimited release as SAND C Verification Practices for Code Development Teams Greg Weirs Computational Shock and Multiphysics.
Problem Uncertainty quantification (UQ) is an important scientific driver for pushing to the exascale, potentially enabling rigorous and accurate predictive.
Image Reconstruction Group 6 Zoran Golic. Overview Problem Multigrid-Algorithm Results Aspects worth mentioning.
1cs533d-term Notes  Assignment 2 is up. 2cs533d-term Modern FEM  Galerkin framework (the most common)  Find vector space of functions that.
Algebraic MultiGrid. Algebraic MultiGrid – AMG (Brandt 1982)  General structure  Choose a subset of variables: the C-points such that every variable.
1cs542g-term Notes  Make-up lecture tomorrow 1-2, room 204.
Exploring Communication Options with Adaptive Mesh Refinement Courtenay T. Vaughan, and Richard F. Barrett Sandia National Laboratories SIAM Computational.
Course SD Heat transfer by conduction in a 2D metallic plate
Influence of (pointwise) Gauss-Seidel relaxation on the error Poisson equation, uniform grid Error of initial guess Error after 5 relaxation Error after.
Iterative Solvers for Coupled Fluid-Solid Scattering Jan Mandel Work presentation Center for Aerospace Structures University of Colorado at Boulder October.
Multiscale Methods of Data Assimilation Achi Brandt The Weizmann Institute of Science UCLA INRODUCTION EXAMPLE FOR INVERSE PROBLEMS.
Parallel Adaptive Mesh Refinement Combined With Multigrid for a Poisson Equation CRTI RD Project Review Meeting Canadian Meteorological Centre August.
Multigrid for Nonlinear Problems Ferien-Akademie 2005, Sarntal, Christoph Scheit FAS, Newton-MG, Multilevel Nonlinear Method.
Grid Generation.
Improving Coarsening and Interpolation for Algebraic Multigrid Jeff Butler Hans De Sterck Department of Applied Mathematics (In Collaboration with Ulrike.
CIS V/EE894R/ME894V A Case Study in Computational Science & Engineering HW 5 Repeat the HW associated with the FD LBI except that you will now use.
Fast Low-Frequency Impedance Extraction using a Volumetric 3D Integral Formulation A.MAFFUCCI, A. TAMBURRINO, S. VENTRE, F. VILLONE EURATOM/ENEA/CREATE.
Estimating the Laplace-Beltrami Operator by Restricting 3D Functions Ming Chuang 1, Linjie Luo 2, Benedict Brown 3, Szymon Rusinkiewicz 2, and Misha Kazhdan.
Finite Element Method.
CENTRAL AEROHYDRODYNAMIC INSTITUTE named after Prof. N.E. Zhukovsky (TsAGI) Multigrid accelerated numerical methods based on implicit scheme for moving.
Hans De Sterck Department of Applied Mathematics University of Colorado at Boulder Ulrike Meier Yang Center for Applied Scientific Computing Lawrence Livermore.
Van Emden Henson Panayot Vassilevski Center for Applied Scientific Computing Lawrence Livermore National Laboratory Element-Free AMGe: General algorithms.
ML: Multilevel Preconditioning Package Trilinos User’s Group Meeting Wednesday, October 15, 2003 Jonathan Hu Sandia is a multiprogram laboratory operated.
Efficient Integration of Large Stiff Systems of ODEs Using Exponential Integrators M. Tokman, M. Tokman, University of California, Merced 2 hrs 1.5 hrs.
C GasparAdvances in Numerical Algorithms, Graz, Fast interpolation techniques and meshless methods Csaba Gáspár Széchenyi István University, Department.
The swiss-carpet preconditioner: a simple parallel preconditioner of Dirichlet-Neumann type A. Quarteroni (Lausanne and Milan) M. Sala (Lausanne) A. Valli.
Grid Resolution Study of a Drag Prediction Workshop Configuration using the NSU3D Unstructured Mesh Solver Dimitri J. Mavriplis Department of Mechanical.
Target Functional-based Adaptation > Daniel Vollmer > Folie 1 Target Functional-based Adaptation Daniel Vollmer TAU Grid Adaptation Workshop.
Danny Dunlavy, Andy Salinger Sandia National Laboratories Albuquerque, New Mexico, USA SIAM Parallel Processing February 23, 2006 SAND C Sandia.
Stress constrained optimization using X-FEM and Level Set Description
New Features in ML 2004 Trilinos Users Group Meeting November 2-4, 2004 Jonathan Hu, Ray Tuminaro, Marzio Sala, Michael Gee, Haim Waisman Sandia is a multiprogram.
Parallel Solution of the Poisson Problem Using MPI
Sandia is a multi-program laboratory operated by Sandia Corporation, a Lockheed Martin Company, for the United States Department of Energy’s National Nuclear.
A Dirichlet-to-Neumann (DtN)Multigrid Algorithm for Locally Conservative Methods Sandia National Laboratories is a multi program laboratory managed and.
Introduction to Scientific Computing II Multigrid Dr. Miriam Mehl.
Yuki ONISHI Tokyo Institute of Technology, Japan
AMS 691 Special Topics in Applied Mathematics Lecture 8
MULTISCALE COMPUTATIONAL METHODS Achi Brandt The Weizmann Institute of Science UCLA
1 Solving the algebraic equations A x = B =. 2 Direct solution x = A -1 B = = Applicable only to small problems For the vertical in the spectral technique.
Photos placed in horizontal position with even amount of white space between photos and header Sandia National Laboratories is a multi-program laboratory.
1 Data Structures for Scientific Computing Orion Sky Lawlor /04/14.
ML: A Multilevel Preconditioning Package Copper Mountain Conference on Iterative Methods March 29-April 2, 2004 Jonathan Hu Ray Tuminaro Marzio Sala Sandia.
Sandia National Laboratories is a multi-program laboratory managed and operated by Sandia Corporation, a wholly owned subsidiary of Lockheed Martin Corporation,
Brain (Tech) NCRR Overview Magnetic Leadfields and Superquadric Glyphs.
A Parallel Hierarchical Solver for the Poisson Equation Seung Lee Deparment of Mechanical Engineering
University of Colorado
Sandia National Laboratories is a multi-program laboratory managed and operated by Sandia Corporation, a wholly owned subsidiary of Lockheed Martin Corporation,
On the Path to Trinity - Experiences Bringing Codes to the Next Generation ASC Platform Courtenay T. Vaughan and Simon D. Hammond Sandia National Laboratories.
Sandia National Laboratories is a multi-program laboratory managed and operated by Sandia Corporation, a wholly owned subsidiary of Lockheed Martin Corporation,
A Kriging or Gaussian Process emulator has: an unadjusted mean (frequently a least squares fit: ), a correction / adjustment to the mean based on data,
Sandia National Laboratories is a multi-program laboratory managed and operated by Sandia Corporation, a wholly owned subsidiary of Lockheed Martin Corporation,
Xing Cai University of Oslo
Advanced Computer Graphics
Nodal Methods for Core Neutron Diffusion Calculations
4 Tips for Implementing Multigrid Methods on Domains with Holes
A robust preconditioner for the conjugate gradient method
Comparison of CFEM and DG methods
Ph.D. Thesis Numerical Solution of PDEs and Their Object-oriented Parallel Implementations Xing Cai October 26, 1998.
Presentation transcript:

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-94AL Photos placed in horizontal position with even amount of white space between photos and header 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-94AL Photos placed in horizontal position with even amount of white space between photos and header Implicit Solvers for Higher-Order Discretizations Chris Siefert, Jonathan Hu, Travis Fisher and Stefan Domino SAND C

Outline  Introduction  Coarsening: Making basis functions work for you!  Smoothing  Results  Conclusions Special thanks to: Richard Kramer and Clark Dorhmann.

Introduction  EM applications form a non-trivial amount of SNL’s application space, e.g. flyer plates.  Given the near-singularity of the eddy current Maxwell’s equations, we must do this implicitly.

Introduction (with math)  We want to solve one (or more) of the following eqns…  Poisson (2D magnetics, 3D low magnetic Reynolds number)  Maxwell (3D eddy currents)  Grad-Div (3D thermal conduction)  For this talk I will focus on Poisson, though these techniques are broadly applicable…

Motivating Higher-Order  Higher-order methods have many desirable characteristics.  More accuracy with less mesh.  More efficient on advanced architectures (maybe).  Makes interface capturing more effective.  Can conserve mass and have continuity (good for diffusion).  More accurate interfaces can make a big difference.  Potentially opens more element options (tris/tets, anyone?).

Higher Order CDFEM Convergence

Basic Approach: Multigrid (MG)  Multigrid is very successful for (nearly) elliptic problems.  Works by “separating” the error into two parts  Oscillatory – resolved by smoother.  Smooth – resolved by coarse grid correction.  This can be done algebraically (AMG). Smooth Solve

Why isn’t this enough?  Multigrid is designed for…  p=1 FD & FE methods.  Nice meshes.  Elliptic operators.  Things that cause issues  p>1 discretizations. Especially if they are adaptive.  Local h-refinement, if it creates bad aspect ratios.  Other issues (not discussed today)  Non-elliptic operators (e.g. convection).  Alternative discretizations (e.g. DG).

From here on out…  First, we need to develop a method for coarsening to a problem we like.  If we like p=1, let’s turn p>1 into p=1.  If we like meshes w/o local refinement, let’s locally de-refine.  Second, we need to develop smoother(s) that can handle whatever we’re coarsening away.  Standard methods (e.g. Gauss-Seidel, ILU often won’t cut it).  More exotic methods (sometimes Schwarz-based) will be needed.

Outline  Introduction  Coarsening: Making basis functions work for you!  Smoothing  Results  Conclusions

Thinking About Matrices…  If we write out the stereotypical FEM stiffness matrix, we get where F is the Jacobian and phi is the basis function.  Coarsening the matrix is like to changing to a different basis.  Note: In equation above, Jacobians are on the inside.  This means that change of basis matrices can be applied outside, i.e., to the assembled system.  This result is (a little) like a sub-parametric element.

Example: p=2 Quad (HO-FEM)  Want to go from p=2 to p=1. Ask the basis functions: “What would the lower-order interpolant be?” See: Siefert, Tuminaro, Gerstenberger, Scovazzi, and Collis. Computat. Geosci A1½½¼ B1½½¼ C1½½¼ D1½½¼ p=2 p=1

Example: h-Refined Tri (CDFEM)  Want to get rid of local h-refinement. Ask the basis functions: “What would the lower-order interpolant be?”  21  31  h H

About the approach…  This works for any element type and (almost) any basis.  Pseudo-code: 1.HIcoord = get_reference_coords(HInodes) 2.LObasis = evaluate_lo_basis(Hicoord) 3.For each element i… 1.J = list of HI unknowns for i 2.K = list of LO unknowns for i 3.P(J,K) = LObasis  The resulting “P” matrix coarsens the basis.  Note: “First touch” rules should be added for efficiency.

Outline  Introduction  Coarsening: Making basis functions work for you!  Smoothing  Results  Conclusions

Smoothing  Smoothing makes things trickier… what smoother adequately damps the “higher order” modes?  One approach involves block methods, e.g. block Gauss-Seidel  Another approach involves exploiting the structure of the “higher order” problem to improve smoothing.  We’ll walk through 2 examples, CDFEM and HO-FEM.

Smoothing for CDFEM  CDFEM involves a local refinement (from tris/tets to tris/tets).  Since refinement is local, existing smoothers should be OK away from the refinement area.  Basic idea  Smooth everywhere on the refined mesh.  Smooth only near the cut on the locally de-refined mesh.

CDFEM Example  Test on regular 2D quad mesh.  One cut w/ jump discontinuity.  Solver  GMRES w/ multigrid preconditioner.  Smoothers: 1 SGS sweep (pre & post).  Coarse solver: LU.  Compare coarsening discussed above with…  Standard SA, no dropping.  Standard SA, dropping by parameter ( to 0.1).  “Distance Laplacian” SA, dropping by parameter ( to 0.1).

CDFEM Smoothing Results

Smoothing for HO-FEM  When coarsening, we lose access to the higher order information w/i an element (and along edges).  Smoother needs to take this into account, so we’ll block smooth.  But what blocks to use?  Ideas  Block by topo-entity (GS).  Element-wise blocks (Schwarz; e.g. Siefert et al.,2014).  Vertex patches (Schwarz; e.g. Schöberl et al., 2007).  “Spider” patches (Schwarz; inspired by Schöberl et al., 2007).

 Classical GS & ILU(0).  Element Patch: All unknowns attached to element.  Vertex Patch: All basis functions which overlap with a vertex.  We ignore the “outer shell” of the exterior of the patch.  “Spider” Vertex Patches: Patches per vertex.  Innermost: Vertex and closest points.  Repeat outwards with concentric sells.  Can include the “outer shell” or not.  Topo-GS: Block by topo-entity.  Vertices stand alone.  All entries interior to an edge are a block.  All entries interior to an element are a block. HO-FEM Smoother Details

HO-FEM Example  Test on regular 2D quad mesh.  Consider p=2,3,4,5.  Solver  CG w/ 2-level multigrid preconditioner.  Fine smoother: Varies.  Coarse solver: LU. Goal: Consider p-sensitivity of method.

HO-FEM Smoothing Results  It is much easier to say what is bad than what is best.

HO-CDFEM Example  Test on regular 2D tri mesh.  Consider p=2,3.  Solver  CG w/ 3-level multigrid preconditioner.  Fine smoother: Smooth HO problem.  Next finest smoother: Smooth CDFEM problem (locally).  Coarse solver: LU.

HO-CDFEM Example  Best choice isn’t obvious… more work needs to be done.

Outline  Introduction  Coarsening: Making basis functions work for you!  Smoothing  Results  Conclusions

Conclusions & Future Work  We have presented a general, basis-function informed, framework for coarsening higher-order and h-refined systems.  Framework can be applied to arbitrary elements and bases.  Edge and faces bases will be extra tricky.  Choice of smoother still a bit of an art form!  Future work  Larger problems; Tets/Hexes in 3D.  Use of alternative bases for smoothing (Good idea, Tzanio!).  “Grey Box” implementation in Trilinos/MueLu.