220 likes | 325 Views
Continuation Methods for Performing Stability Analysis of Large-Scale Applications. LOCA: Library Of Continuation Algorithms Andy Salinger Roger Pawlowski, Louis Romero, Ed Wilkes Sandia National Labs Albuquerque, New Mexico Supported by DOE’s MICS and ASCI programs.
E N D
Continuation Methods for Performing Stability Analysis of Large-Scale Applications LOCA: Library Of Continuation Algorithms Andy Salinger Roger Pawlowski, Louis Romero, Ed Wilkes Sandia National Labs Albuquerque, New Mexico Supported by DOE’s MICS and ASCI programs Sandia is a multiprogram laboratory operated by Sandia Corporation, a Lockheed Martin Company,for the United States Department of Energy under contract DE-AC04-94AL85000.
Why Do We Need a Stability Analysis Capability? • Nonlinear systems exhibit instabilities, e.g • Multiple steady states • Ignition • Symmetry Breaking • Onset of Oscillations • Phase Transitions These phenomena must be understood in order to perform computational design and optimization. Current Applications: Reacting flows, Manufacturing processes, Microscopic fluids Potential Applications: Electronic circuits, structural mechanics (buckling) • Delivery of capability: • LOCA library • Expertise
Example of Multiplicity:Exothermic Chemical Reaction Tmax Reaction Rate • LOCA provides analysis tools to application code: • Parameter Continuation (3 types): Tracks family of steady state solutions with parameter • Eigensolver (3 Drivers for P_ARPACK): Calculates leading eigenvalues to determine linear stability (post-processing) • Bifurcation Tracking (4 types): Locates neutral stability point (x,p) and tracks as a function of a second parameter
Examples of Hysteresis / Turning Point Bifurcations (Eigenvalue l=0) Capillary Condensation Flow in CVD Reactor Yeast Cell-Cycle Control Buckling of Garden Hose Block Copolymer Self-Assembly Propane&Propylene Combustion
Examples of Hopf Bifurcations (Eigenvalue l=0+wi) • Vortex Shedding • Rising Bubble Ober and Shadid Theodoropoulos and Kevrekidis
LOCA has been Targeted to Existing Large-Scale Application Codes Assumption: Application code uses Newton’s method • Requirements for algorithms in LOCA 1.0: • Must work with iterative (approximate) linear solvers on distributed memory machines • Non-Invasive Implementation (matrix blind) • Should avoid or limit: • Requiring more derivatives • Changing sparsity pattern of matrix • Increasing memory requirements
Full Newton Algorithm Turning Point Bifurcation Bordering Algorithms meet these Requirements … but 4 solves of J per Newton Iteration are used to drive J singular! Bordering Algorithm
LOCA:The Library of Continuation Algorithms LOCA Algorithms LOCA Interface
LOCA:The Library of Continuation Algorithms LOCA Algorithms LOCA Interface
LOCA:The Library of Continuation Algorithms LOCA Algorithms LOCA Interface
Stability of Buoyancy-Driven Flow: 3D Rayleigh-Benard Problem in 5x5x1 box 200K node mesh partitioned for 320 Processors • MPSalsa(Shadid et al., SNL): • Incompressible Navier-Stokes • Heat and Mass Transfer, Reactions • Unstrucured Finite Element (Galerkin/Least-Squares) • Analytic, Sparse Jacobian • Fully Coupled Newton Method • GMRES with ILUT Preconditioner (Aztec package) • Distributed Memory Parallelism
At Pr=1.0, Two Pitchfork Bifurcations Located with Eigensolver 3D Flow 2D Flow No Flow 5 Coupled PDE’s, 50x50x20 Mesh: 275K Unknowns Eigenvector at Pitchfork
Three Flow Regimes Delineated by Bifurcation Tracking Algorithms Codimension 2 Bifurcation Near (Pr=0.027, Ra=2050) Eigenvectors at Hopf
Rayleigh-Benard Problem used to Demonstrate Scalability of Algorithms 275K Unknowns: 128 Procs Scalability Continuation: 16M Eigensolver: 16M Turning Point: 1M Pitchfork: 1M Hopf: 0.7M
CVD Reactor Design and Scale-up:Tracking of instability leads to design rule Good Flow Bad Flow Design rule for location of instability signaling onset of ‘bad’ flow
Operability Window for Manufacturing Process Mapped with LOCA around GOMA Slot Coating Application Steady Solution (GOMA) Family of Instabilities Family of Solutions w/ Instability back pressure back pressure
Liquid Vapor Partial Condensation LOCA+Tramonto: Capillary condensation phase transitions studied in porous media Density Contours Phase diagram Tramonto: Frink and Salinger, JCP 1999,2000,2002
Summary: Powerful stability analysis tools have been developed for performing computational design of large-scale applications • General purpose algorithms in LOCA linked to massively parallel codes that use Newton with iterative linear solves. • Bifurcations tracked for 1.0 Million unknown models • Singular (yet easy) formulations work semi-robustly Bad LOCA Good
Future Work • Incorporate LOCA into Trilinos/NOX • Do intelligent solves of nearly-singular matrices • Multiparameter continuation (Henderson, IBM) • New applications: • Buckling of structures • Electronic circuits www.cs.sandia.gov/LOCA
Eigenvalue Approx with Arnoldi, ARPACK 3 Spectral Transformations have Different Strengths Complex Shift and Invert Cayley Transform v.1 Cayley Transform v.2 Lehoucq and Salinger, IJNMF, 2001.