Adaptive Grid Generation for Magnetically Confined Plasmas

Slides:



Advertisements
Similar presentations
School of something FACULTY OF OTHER School of Computing An Adaptive Numerical Method for Multi- Scale Problems Arising in Phase-field Modelling Peter.
Advertisements

FLASH Workshop Hamburger Sternwarte, University of Hamburg, Feb 15 – Feb 16, 2012 A Solution Accurate, Efficient and Stable Unsplit Staggered Mesh MHD.
Particle acceleration in a turbulent electric field produced by 3D reconnection Marco Onofri University of Thessaloniki.
Simulations of the core/SOL transition of a tokamak plasma Frederic Schwander,Ph. Ghendrih, Y. Sarazin IRFM/CEA Cadarache G. Ciraolo, E. Serre, L. Isoardi,
Algorithm Development for the Full Two-Fluid Plasma System
Numerical Method for Computing Ground States of Spin-1 Bose-Einstein Condensates Fong Yin Lim Department of Mathematics and Center for Computational Science.
1cs542g-term Notes. 2 Solving Nonlinear Systems  Most thoroughly explored in the context of optimization  For systems arising in implicit time.
Reduced transport regions in rotating tokamak plasmas Michael Barnes University of Oxford Culham Centre for Fusion Energy Michael Barnes University of.
“Assimilating” Solar Data into MHD Models of the Solar Atmosphere W.P. Abbett SSL UC Berkeley HMI Team Meeting, Jan 2005.
Parallel Mesh Refinement with Optimal Load Balancing Jean-Francois Remacle, Joseph E. Flaherty and Mark. S. Shephard Scientific Computation Research Center.
Network and Grid Computing –Modeling, Algorithms, and Software Mo Mu Joint work with Xiao Hong Zhu, Falcon Siu.
SSL (UC Berkeley): Prospective Codes to Transfer to the CCMC Developers: W.P. Abbett, D.J. Bercik, G.H. Fisher, B.T. Welsch, and Y. Fan (HAO/NCAR)
Dynamical Systems Tools for Ocean Studies: Chaotic Advection versus Turbulence Reza Malek-Madani.
Non-disruptive MHD Dynamics in Inward-shifted LHD Configurations 1.Introduction 2.RMHD simulation 3.DNS of full 3D MHD 4. Summary MIURA, H., ICHIGUCHI,
Non-hydrostatic algorithm and dynamics in ROMS Yuliya Kanarska, Alexander Shchepetkin, Alexander Shchepetkin, James C. McWilliams, IGPP, UCLA.
1 CFD Analysis Process. 2 1.Formulate the Flow Problem 2.Model the Geometry 3.Model the Flow (Computational) Domain 4.Generate the Grid 5.Specify the.
Gradient Particle Magnetohydrodynamics and Adaptive Particle Refinement Astrophysical Fluid Dynamics Workshop Grand Challenge Problems in Computational.
Iterative and direct linear solvers in fully implicit magnetic reconnection simulations with inexact Newton methods Xuefei (Rebecca) Yuan 1, Xiaoye S.
Finite Differences Finite Difference Approximations  Simple geophysical partial differential equations  Finite differences - definitions  Finite-difference.
Massively Parallel Magnetohydrodynamics on the Cray XT3 Joshua Breslau and Jin Chen Princeton Plasma Physics Laboratory Cray XT3 Technical Workshop Nashville,
SIMULATION OF A HIGH-  DISRUPTION IN DIII-D SHOT #87009 S. E. Kruger and D. D. Schnack Science Applications International Corp. San Diego, CA USA.
Hybrid WENO-FD and RKDG Method for Hyperbolic Conservation Laws
14 th IEA-RFP Workshop, Padova 26 th -28 th April 2010 The SHEq code: an equilibrium calculation tool for SHAx states Emilio Martines, Barbara Momo Consorzio.
Overview of MHD and extended MHD simulations of fusion plasmas Guo-Yong Fu Princeton Plasma Physics Laboratory Princeton, New Jersey, USA Workshop on ITER.
RFP Workshop Oct 2008 – J Scheffel 1 A generalized weighted residual method for RFP plasma simulation Jan Scheffel Fusion Plasma Physics Alfvén Laboratory,
Challenging problems in kinetic simulation of turbulence and transport in tokamaks Yang Chen Center for Integrated Plasma Studies University of Colorado.
TerascaleSimulation Tools and Technologies Spectral Elements for Anisotropic Diffusion and Incompressible MHD Paul Fischer Argonne National Laboratory.
CFD Lab - Department of Engineering - University of Liverpool Ken Badcock & Mark Woodgate Department of Engineering University of Liverpool Liverpool L69.
1 ELEC 3105 Basic EM and Power Engineering Start Solutions to Poisson’s and/or Laplace’s.
Efficient Integration of Large Stiff Systems of ODEs Using Exponential Integrators M. Tokman, M. Tokman, University of California, Merced 2 hrs 1.5 hrs.
1 Zhenying Hong Time and space discrete scheme to suppress numerical solution oscillations for the neutron transport equations th International.
Discontinuous Galerkin Methods for Solving Euler Equations Andrey Andreyev Advisor: James Baeder Mid.
CMRS Review, PPPL, 5 June 2003 &. 4 projects in high energy and nuclear physics 5 projects in fusion energy science 14 projects in biological and environmental.
3.3.3: Semi-Lagrangian schemes AOSC614 class Hong Li.
Electron behaviour in three-dimensional collisionless magnetic reconnection A. Perona 1, D. Borgogno 2, D. Grasso 2,3 1 CFSA, Department of Physics, University.
1 Complex Images k’k’ k”k” k0k0 -k0-k0 branch cut   k 0 pole C1C1 C0C0 from the Sommerfeld identity, the complex exponentials must be a function.
© Fluent Inc. 11/24/2015J1 Fluids Review TRN Overview of CFD Solution Methodologies.
Max-Planck-Institut für Plasmaphysik, EURATOM Association Different numerical approaches to 3D transport modelling of fusion devices Alexander Kalentyev.
M. Onofri, F. Malara, P. Veltri Compressible magnetohydrodynamics simulations of the RFP with anisotropic thermal conductivity Dipartimento di Fisica,
STUDIES OF NONLINEAR RESISTIVE AND EXTENDED MHD IN ADVANCED TOKAMAKS USING THE NIMROD CODE D. D. Schnack*, T. A. Gianakon**, S. E. Kruger*, and A. Tarditi*
Present / introduce / motivate After Introduction to the topic
Numerical Analysis – Differential Equation
Discretization Methods Chapter 2. Training Manual May 15, 2001 Inventory # Discretization Methods Topics Equations and The Goal Brief overview.
Discretization for PDEs Chunfang Chen,Danny Thorne Adam Zornes, Deng Li CS 521 Feb., 9,2006.
QAS Design of the DEMO Reactor
Development of an Atmospheric Climate Model with Self-Adapting Grid and Physics Joyce E. Penner 1, Michael Herzog 2, Christiane Jablonowski 3, Bram van.
Ergodic heat transport analysis in non-aligned coordinate systems S. Günter, K. Lackner, Q. Yu IPP Garching Problems with non-aligned coordinates? Description.
Center for Extended MHD Modeling (PI: S. Jardin, PPPL) –Two extensively developed fully 3-D nonlinear MHD codes, NIMROD and M3D formed the basis for further.
3/23/05ME 2591 Numerical Methods in Heat Conduction Reference: Incropera & DeWitt, Chapter 4, sections Chapter 5, section 5.9.
A Parallel Hierarchical Solver for the Poisson Equation Seung Lee Deparment of Mechanical Engineering
Quality of Service for Numerical Components Lori Freitag Diachin, Paul Hovland, Kate Keahey, Lois McInnes, Boyana Norris, Padma Raghavan.
An Introduction to Computational Fluids Dynamics Prapared by: Chudasama Gulambhai H ( ) Azhar Damani ( ) Dave Aman ( )
Energetic ion excited long-lasting “sword” modes in tokamak plasmas with low magnetic shear Speaker:RuiBin Zhang Advisor:Xiaogang Wang School of Physics,
Computational Fluid Dynamics Lecture II Numerical Methods and Criteria for CFD Dr. Ugur GUVEN Professor of Aerospace Engineering.
Unstructured Meshing Tools for Fusion Plasma Simulations
Xing Cai University of Oslo
An overview of turbulent transport in tokamaks
Convection-Dominated Problems
Chamber Dynamic Response Modeling
ELEC 3105 Basic EM and Power Engineering
ივანე ჯავახიშვილის სახელობის
Finite difference code for 3D edge modelling
E3D: status report and application to DIII-D
Convergence in Computational Science
High-accuracy PDE Method for Financial Derivative Pricing Shan Zhao and G. W. Wei Department of Computational Science National University of Singapore,
Comparison of CFEM and DG methods
Low Order Methods for Simulation of Turbulence in Complex Geometries
Ph.D. Thesis Numerical Solution of PDEs and Their Object-oriented Parallel Implementations Xing Cai October 26, 1998.
CASA Day 9 May, 2006.
Dynamics of Electron Vortices
Presentation transcript:

Adaptive Grid Generation for Magnetically Confined Plasmas Alan H. Glasser Collaborators: V. S. Lukin, A. N. Simakov V. D. Liseikin, I. A. Kitaeva Presented at the UCLA/IPAM Workshop on Multiscale Processes in Fusion Plasmas Los Angeles, California, January 12, 2005

Magnetic Reconnection, Final State Stream Function Magnetic Flux A = 1 M = 1/2 = 10-4  = 10-4 dt = 20 nx = 6 ny = 16 np = 12 nproc = 16 cpu = 3.5 hr Current Density Vorticity

Tokamak Core and Edge Plasmas

The Need for a 3D Adaptive Field-Aligned Grid An essential feature of magnetic confinement is very strong anisotropy,  >> . The most unstable modes are those with k  1/R < 1/a  k. The most effective numerical approach to these problems is a field-aligned grid packed in the neighborhood of singular surfaces and magnetic islands. NIMROD. Long-time evolution of helical instabilities requires that the packed grid follow the moving perturbations into 3D. Multidimensional oblique rectangular AMR grid is larger than necessary and does not resolve anisotropy. Novel algorithms must be developed to allow alignment of the grid with the dominant magnetic field and automatic grid packing normal to this field. Such methods must allow for regions of magnetic islands and stochasticity.

Adaptive Mesh Refinement vs. Harmonic Grid Generation Coarse and fine patches of rectangular grid. Complex data structures. Oblique to magnetic field. Static regrid. Explicit time step; implicit a research problem. Berger, Gombosi, Colella, Samtaney, Jardin Harmonic Grid Generation Harmonic mapping of rectangular grid onto curvilinear grid. Logically rectangular Aligned with magnetic field. Static or dynamic regrid. Explicit or implicit time step. Liseikin, Winslow, Dvinsky, Brackbill

SEL Code Features Spectral elements: exponential convergence of spatial truncation error + adaptable grid + parallelization. George Em Karniadakis and Spencer J. Sherwin, “Spectral/hp Element Methods for CFD,” Oxford, 1999. Ronald D. Henderson, “Adaptive spectral element methods for turbulence and transition,” in High-Order Methods for Computational Physics, T.J. Barth & H. Deconinck (Eds.), Springer, 1999. Time step: fully implicit, 2nd-order accurate, Newton-Krylov iteration, static condensation preconditioning. Highly efficient massively parallel operation with MPI and PETSc. Flux-source form: simple, general problem setup.

Spatial Discretization

Fully Implicit Newton-Krylov Time Step Nonlinear Newton-Krylov iteration. Elliptic equations: M = 0. Static condensation, fully parallel. PETSc: GMRES with Schwarz ILU, overlap of 3, fill-in of 5.

Static Condensation Equation (4) solved by local LU factorization and back substitution. Equation (6), substantially reduced, solved by global Newton-Krylov.

Adaptive Grid Dynamics: How to Choose Logical coordinates. Beltrami equation + boundary conditions  logical coordinates. Alignment with magnetic field except where B  0, isotropic term dominates. Vladimir D. Liseikin A Computational Differential Geometry Approach to Grid Generation Springer Series in Synergetics, 2003

Domains and Transformations Used in Harmonic Grid Generation Figure by Andrei Simakov

Adaptive Grid Kinematics: How to Use Logical Coordinates.

Pure Alignment, w = 1 Magnetic Flux Function y Grid Lines Alignment Error |B∙w| Magnetic flux is multiply connected; grid is simply connected. Crossings occur where B = z   y is small. Alignment Error: 0.012 max, 0.0055 RMS.

Pure Adaptation, g = I Weight Function w Grid Lines Grid Density 1/Jacobian Weight function derived from log of spatial truncation error. Grid density almost perfectly reproduces weight function, including absolute magnitudes.

Alignment + Adaptation Grid Lines Alignment Error |B∙w| Grid Density 1/Jacobian This is a compromise. Neither the alignment nor the adaptation is quite as good as for the pure cases. Alignment Error: 0.036 max, 0.018 RMS.

Conclusions Pure alignment works very well, giving a simply-connected grid which is well-aligned except where B is small. Pure adaptation works very well, concentrating the grid in regions of large spatial truncation error. Alignment + adaptation leaves much to be desired. Imperfections are compensated by high-order spectral elements. Next Improved adaptation + alignment. Alignment for full core + edge configuration. Use adapted grid for computations.

Esteemed Colleague, Good Friend, Secret Weapon Vladimir D. Liseikin Esteemed Colleague, Good Friend, Secret Weapon