Guangye Chen, Luis Chacón,

Similar documents
A fully implicit, exactly conserving algorithm for multidimensional particle-in-cell kinetic simulations

Particle in Cell method

Hybrid Simulations: Numerical Details and Current Applications

Gyrokinetic simulations of magnetic fusion plasmas

Particle-in-Cell Codes for plasma-based particle acceleration

Tight-Focusing of Short Intense Laser Pulses in Particle-in-Cell Simulations of Laser-Plasma Interaction

A particle-in-cell method with adaptive phase-space remapping for kinetic plasmas

Simulation of Coulomb Collisions in Plasma Accelerators for Space Applications

Parsek2D: An Implicit Parallel Particle-in-Cell Code

Lecture 4: The particle equations (1)

PIC Algorithm with Multiple Poisson Equation Solves During One Time Step

Multigrid solvers for equations arising in implicit MHD simulations

Tight-Focusing of Short Intense Laser Beams in Particle-in-Cell Simulations of Laser-Plasma Interaction

EXASCALE COMPUTING. Implementation of a 2D Electrostatic Particle in Cell algorithm in UniÞed Parallel C with dynamic load-balancing

Implicit-Explicit Time Integration of a High-Order Particle-in-Cell Method with Hyperbolic Divergence Cleaning.

Simulation Techniques for HED I: Particle-in-Cell Methods

Hybrid Kinetic-MHD simulations with NIMROD

Hybrid Simulation Method ISSS-10 Banff 2011

Transition From Single Fluid To Pure Electron MHD Regime Of Tearing Instability

sri 2D Implicit Charge- and Energy- Conserving Particle-in-cell Application Using CUDA Christopher Leibs Karthik Murthy

Outline. 1 Why PIC Simulations Make Sense. 2 The Algorithm. 3 Examples Surface High Harmonics Generation. 4 Extensions Of The PIC Algorithm

PHYSICS OF HOT DENSE PLASMAS

Non-Equidistant Particle-In-Cell for Ion Thruster Plumes

Chapter 1. Introduction to Nonlinear Space Plasma Physics

INTRODUCTION TO GYROKINETIC AND FLUID SIMULATIONS OF PLASMA TURBULENCE AND OPPORTUNITES FOR ADVANCED FUSION SIMULATIONS

High-Fidelity RF Gun Simulations with the Parallel 3D Finite Element Particle-In-Cell Code Pic3P

Verification and Convergence Properties of a Particle-In-Cell Code

TAU Solver Improvement [Implicit methods]

Kinetic Plasma Simulations in Astrophysics. Lorenzo Sironi

arxiv: v1 [physics.comp-ph] 9 Aug 2011

Asymptotic-Preserving Particle-In-Cell method for the Vlasov-Poisson system near quasineutrality

Landau Damping Simulation Models

Energy Stable Discontinuous Galerkin Methods for Maxwell s Equations in Nonlinear Optical Media

On Fluid Maxwell Equations

The Field-Reversed Configuration (FRC) is a high-beta compact toroidal in which the external field is reversed on axis by azimuthal plasma The FRC is

PDE Solvers for Fluid Flow

Chapter 1 Mathematical Foundations

Applying Asymptotic Approximations to the Full Two-Fluid Plasma System to Study Reduced Fluid Models

Plasma waves in the fluid picture I

PIC solvers for Intense Beams in Synchrotrons

EP2Plus: a hybrid plasma. plume/spacecraft. interaction code. F. Cichocki, M. Merino, E. Ahedo

Optimization of Particle-In-Cell simulations for Vlasov-Poisson system with strong magnetic field

Math background. Physics. Simulation. Related phenomena. Frontiers in graphics. Rigid fluids

NIMEQ: MHD Equilibrium Solver for NIMROD

Simulation of Plasma Wakefields and Weibel Instability of Electron Beams in Plasma Using Codes LSP and OSIRIS

Concurrent Divide-and-Conquer Library

Parallel transport and profile of boundary plasma with a low recycling wall

Gyrokinetics an efficient framework for studying turbulence and reconnection in magnetized plasmas

Kinetic Plasma Simulations. Anatoly Spitkovsky (Princeton)

Introduction to the FDTD method

Adaptive semi-lagrangian schemes for transport

Particle-in-cell (PIC) simulation output for the temporal evolution of magnetic fields.

Darwin-Vlasov Simulations of magnetized Plasmas

New Streamfunction Approach for Magnetohydrodynamics

Computational Methods in Plasma Physics

5. FVM discretization and Solution Procedure

A lumped nodal DGTD-PIC method to ensure charge conservation for the 3D Vlasov-Maxwell system on nonconforming grids

Lecture 16 March 29, 2010

First-Order Systems Least-Squares Finite Element Methods and Nested Iteration for Electromagnetic Two-Fluid Kinetic-Based Plasma Models

Summer College on Plasma Physics. 30 July - 24 August, The particle-in-cell simulation method: Concept and limitations

Multiscale, multiphysics modeling of turbulent transport and heating in collisionless, magnetized plasmas

One dimensional hybrid Maxwell-Boltzmann model of shearth evolution

Ion Induced Beam disruption Mechanism

INTRODUCTION TO FINITE ELEMENT METHODS ON ELLIPTIC EQUATIONS LONG CHEN

Z. Lin University of California, Irvine, CA 92697, USA. Supported by SciDAC GPS-TTBP, GSEP & CPES

Simulation of Relativistic Jet-Plasma Interactions

Progress in Parallel Implicit Methods For Tokamak Edge Plasma Modeling

Electric and Magnetic Forces in Lagrangian and Hamiltonian Formalism

Multipole-Based Preconditioners for Sparse Linear Systems.

Indefinite and physics-based preconditioning

Fluid equations, magnetohydrodynamics

Kinetic/Fluid micro-macro numerical scheme for Vlasov-Poisson-BGK equation using particles

Dispersive Media, Lecture 7 - Thomas Johnson 1. Waves in plasmas. T. Johnson

xkcd.com It IS about physics. It ALL is.

Simulation of heating in space plasma

ω = 0 a = 0 = α P = constant L = constant dt = 0 = d Equilibrium when: τ i = 0 τ net τ i Static Equilibrium when: F z = 0 F net = F i = ma = d P

Exponential Recursion for Multi-Scale Problems in Electromagnetics

Transport Simula/ons for Fast Igni/on on NIF

Scalable Non-Linear Compact Schemes

Edwin Chacon-Golcher 1, Sever A. Hirstoaga 2 and Mathieu Lutz 3. Introduction

Computations with Discontinuous Basis Functions

High Order Semi-Lagrangian WENO scheme for Vlasov Equations

MODELING THE ELECTROMAGNETIC FIELD

1.0. T (ev) 0.5. z [m] y [m] x [m]

Overview of Accelerated Simulation Methods for Plasma Kinetics

Achieving depth resolution with gradient array survey data through transient electromagnetic inversion

Local Time Step for a Finite Volume Scheme I.Faille F.Nataf*, F.Willien, S.Wolf**

Develpment of NSCBC for compressible Navier-Stokes equations in OpenFOAM : Subsonic Non-Reflecting Outflow

PHYSICS Computational Plasma Physics

Development of a stable coupling of the Yee scheme with linear current

Forced hybrid-kinetic turbulence in 2D3V

CONSTRUCTION AND ANALYSIS OF WEIGHTED SEQUENTIAL SPLITTING FDTD METHODS FOR THE 3D MAXWELL S EQUATIONS

Block-Structured Adaptive Mesh Refinement

Energy-Conserving Numerical Simulations of Electron Holes in Two-Species Plasmas

Efficient domain decomposition methods for the time-harmonic Maxwell equations

Geometric Gyrokinetic Theory and its Applications to Large-Scale Simulations of Magnetized Plasmas

School and Conference on Analytical and Computational Astrophysics November, 2011

EMAFF: MAgnetic Equations with FreeFem++

Part IB Electromagnetism

Understanding the pulsar magnetosphere through first-principle simulations

Transcription:

JIFT workshop! Oct. 31, 2014 New Orleans, LA.! Guangye Chen, Luis Chacón, CoCoMANs team Los Alamos National Laboratory, Los Alamos, NM 87545, USA gchen@lanl.gov 1

Los Alamos National Laboratory Motivation and background of PIC Vlasov-Darwin model and its discretization Theorems of charge conservation, canonical momentum conservation, and energy conservation (in the discrete) 1D3V, 2D3V test examples Fluid preconditioning and performance gains Summary gchen@lanl.gov 2

Particle-in-cell method provides the most affordable and accurate tool for plasma kinetic simulations. Challenge: integrate electron-ion-field kinetic system on ion timescale and system length scale while retaining electron kinetic effects accurately. gchen@lanl.gov 3

u PIC method solves Vlasov Maxwell equa1ons using a (hybrid) par1cle- mesh formula1on. Δx f t + v f + F m f = 0 v Newton equa1ons of mo1on x = v v = F /m F = q(e + v B) Interpola1ons are required between par1cles and fields. Maxwell equa1ons E = ρ /ε 0 B = 0 t B = E t E c 2 = B µ 0 j gchen@lanl.gov 4

Leap-frog time integration, simple and robust. [Birdsall and Langdon, Plasma physics via computer simulation] min(cδt<δx, ω pe Δt<1) enforces a minimum temporal resolu1on Δx < λ Debye enforces a minimum spa1al resolu1on Lack of discrete energy conserva1on, problema1c for long- 1me simula1ons Memory- bound: challenging for efficiency on modern computers gchen@lanl.gov 5

u Implicit method holds the promise to overcome the difficul1es and inefficiencies of explicit methods u Implicit PIC has been explored since 1980s. All earlier approaches use semi- implicit, linearized methods: Ø lack of nonlinear convergence Ø inconsistent between par1cles and moments Ø inaccurate! Plasma self- hea1ng/cooling [Cohen,Langdon, and Hewett,1989] u Our approach: nonlinear implicit PIC Ø nonlinear convergence between par1cle, moments, and fields Ø stable 2 nd order accurate integra1on with large Δt and Δx Ø exact discrete conserva1on of global energy, local charge, canonical momentum Ø adap1ve in 1me and space via mapped meshes without loss of the conserva1on proper1es Ø fluid precondi1oning to accelerate the kine1c solver! gchen@lanl.gov 6

Los Alamos National Laboratory and u Elimination of light waves : no need to deal with the noise and stability issues with the light waves. retains low-freq. electrostatic, magnetostatic, and inductive fields. approximates Maxwell s equations to order (v / c). 2 coulomb gauge is required. charge conservation, is implied (div. of A equation). hyperbolic to elliptic equations à explicit time integration does not work! gchen@lanl.gov 7

Standard 2 nd order FDTD approach on a mapped mesh (x,y) = f(ξ,η). with η, y Hybrid particle pusher in logical space: ξ, x Interpolation is crucial for numerical realization of conservation laws. gchen@lanl.gov 8

Numerically, div(a) must vanish to satisfy the Coulomb gauge, and for energy conservation. Self-adjoint discretization of the fluxes of Laplacian is used for div(a)=0: gchen@lanl.gov 9

Field integration Particles are sub-stepped, and current is orbit-averaged gchen@lanl.gov 10

The continuity equation is satisfied on the grid per particle per sub-timestep, such that in 2D, where we define:. gchen@lanl.gov 11

The canonical momentum conservation in an ignorable direction (say, z or ζ) where is satisfied per particle per sub-timestep (m=2). The theorem can be proved by rearranging the conservation equation to where const. in! which is exactly our implicit Boris push. gchen@lanl.gov 12

Los Alamos National Laboratory The total energy of the (periodic, Cartesian geometry with) system is conserved for each timestep, such that The proof of theorem starts by dotting the v equation of motion by mv and summing all particles Same Shape for j and E interpolations. Change of electrostatic energy Change of magnetic energy { div(a)=0 gchen@lanl.gov 13

Los Alamos National Laboratory time level n NONLINEAR ITERATION Maxwell eqs n+1 n+1 E, B Particle mover r n+1 p, v n+1 p JFNK Fluid moments ρ n+1 n+1 n+1, u α, Eα,... Closure relations M m n+1 α ( ) time level n+1 14 gchen@lanl.gov 14

1D-3V Los Alamos National Laboratory Initial single mode perturbation L=32d e ; Nx =64; mi/me=1836 Npc=8000; T ey,z /T e,x =2.56; ω pe Δt = 1. gchen@lanl.gov 15

Δτ<<Δt Orbit-average Δτ Δt gchen@lanl.gov 16

1D3V Weible case Performance of explicit PIC is stringently limited by the CFL condition, cδt<δx λ D. Large Scale gchen@lanl.gov 17

1D-3V initial one mode perturbation L=30d i ; Nx =64; mi/me=1836 Npc=2000; T iy,z /T i,x =40,000; ω pi Δt = 0.2 gchen@lanl.gov 18

M i /m e =1836 L=4pi/3 (d i ) (Δx 40λ D ) Nx =64 Npc=2000 ω pi Δt = 0.1 ( 60CFL ex ) Three species: e,i a,i b β e =0.1, β ia =0.1, β ib =0.01 V A =1/3 M i /m e 7.8e-3 G. Chen (gchen@lanl.gov) APS DPP 2013 19 gchen@lanl.gov 19

2D-3V Los Alamos National Laboratory initial all supported modes perturbation packed grid spacing L=22x22 (d e xd e ); Ng =128x128 (uniform grid); 64x128 (packed grid); mi/me=1836; Np/cell=800; T ey,z /T e,x =9; ω pe Δt = 1. gchen@lanl.gov 20

Conservation Properties Los Alamos National Laboratory gchen@lanl.gov 21

M i /m e =25 L=10x10 (d i ) Nx =64x64 Npc=500 ω pi Δt = 0.1 Three species: e,i a,i b β e =0.1, β ia =0.1, β ib =0.01 V A =1/3 M i /m e 7.8e-3 G. Chen (gchen@lanl.gov) APS DPP 2013 22 gchen@lanl.gov 22

Los Alamos National Laboratory Basic idea: to advance field, ρ and j can be obtained from moment equations. Consider electron moment equations only. After linearization: The moment equations are coupled with linearized field equations: For electrostatic responses: For electromagnetic responses: gchen@lanl.gov 23

Weibel case No preconditioner w/ preconditioner Speedup ω pi *dt Netwon GMRES Netwon GMRES 0.01 3.9 105.3 2.7 0 30 0.025 5.7 188.5 3.1 0 47 0.1 7.7 237.8 3.9 3.6 29 mi/me 25 5.8 192.5 3.1 0 48 100 5.7 188.8 3.1 0 47 1836 - - - - grid 32x32 4 38.5 3.0 2.0 7 64x64 4.3 79.9 3.0 1.0 17 128x128 - - - - v average over 10 timesteps. gchen@lanl.gov 24

Los Alamos National Laboratory We have formulated and verified a 2D3V, exact energy, charge, and canonical momentum conserving electromagne1c PIC algorithm using the Vlasov- Darwin model. Numerical experiments show the 2 nd order accuracy of the implicit 1me integra1on with both small and large 1mesteps. For intermediate 1mesteps, the errors are controlled by orbit- averaging. We have formulated a fluid precondi1oner for the JFNK- based kine1c solver. Significant gains (10x- 50x) have ben obtained. CPU comparisons between explicit and implicit PIC demonstrate that implicit scheme can outperform the explicit ones for large- scale and/or low- frequency problems. gchen@lanl.gov 25