NIMEQ: MHD Equilibrium Solver for NIMROD

Similar documents
Computations with Discontinuous Basis Functions

Two Fluid Dynamo and Edge-Resonant m=0 Tearing Instability in Reversed Field Pinch

Computations of Vector Potential and Toroidal Flux and Applications to Stellarator Simulations

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

Understanding Edge Harmonic Oscillation Physics Using NIMROD

Toroidal flow stablization of disruptive high tokamaks

The Virial Theorem, MHD Equilibria, and Force-Free Fields

(a) (b) (c) (d) (e) (f) r (minor radius) time. time. Soft X-ray. T_e contours (ECE) r (minor radius) time time

GA A23736 EFFECTS OF CROSS-SECTION SHAPE ON L MODE AND H MODE ENERGY TRANSPORT

Generating of fusion plasma neutron source with AFSI for Serpent MC neutronics computing Serpent UGM 2015 Knoxville, TN,

Exponential Growth of Nonlinear Ballooning Instability. Abstract

Approximate Solutions of the Grad-Schlüter-Shafranov Equation

Stabilization of sawteeth in tokamaks with toroidal flows

Effect of ideal kink instabilities on particle redistribution

Measurement of magnetic eld line stochasticity in nonlinearly evolving, Department of Engineering Physics,

MAGNETIC NOZZLE PLASMA EXHAUST SIMULATION FOR THE VASIMR ADVANCED PROPULSION CONCEPT

Modeling of ELM Dynamics for ITER

arxiv: v1 [physics.plasm-ph] 24 Nov 2017

Calculation of alpha particle redistribution in sawteeth using experimentally reconstructed displacement eigenfunctions

Simple examples of MHD equilibria

Ideal MHD Equilibria

Full-wave Simulations of Lower Hybrid Wave Propagation in the EAST Tokamak

AMSC 663 Project Proposal: Upgrade to the GSP Gyrokinetic Code

Equilibrium and transport in Tokamaks

Magnetohydrodynamic stability of negative central magnetic shear, high pressure ( pol 1) toroidal equilibria

Energetic particle modes: from bump on tail to tokamak plasmas

Plasma models for the design of the ITER PCS

NIMROD Boundary Conditions

generalfusion Characterization of General Fusion's Plasma Devices 2015 Nimrod Summer Workshop

Confinement of toroidal non-neutral plasma

D.J. Schlossberg, D.J. Battaglia, M.W. Bongard, R.J. Fonck, A.J. Redd. University of Wisconsin - Madison 1500 Engineering Drive Madison, WI 53706

The Linear Theory of Tearing Modes in periodic, cyindrical plasmas. Cary Forest University of Wisconsin

Control of Sawtooth Oscillation Dynamics using Externally Applied Stellarator Transform. Jeffrey Herfindal

NIMROD Team Meeting Minutes August 12-14, 2014, Logan, Utah The team meeting began with an informal discussion of features that would be beneficial

REPORT. Numerical Investigation of Transients in the SSPX Spheromak. University of Wisconsin-Madison, Madison, Wisconsin

Lecture # 3. Introduction to Kink Modes the Kruskal- Shafranov Limit.

Un problème inverse: l identification du profil de courant dans un Tokamak

ArbiTER studies of filamentary structures in the SOL of spherical tokamaks

The importance of including XMHD physics in HED codes

Sheared Flow Stabilization in the Z-Pinch

Formation and Long Term Evolution of an Externally Driven Magnetic Island in Rotating Plasmas )

35. RESISTIVE INSTABILITIES: CLOSING REMARKS

EMAFF: MAgnetic Equations with FreeFem++

Progress in the Plasma Science and Innovation Center

MHD Linear Stability Analysis Using a Full Wave Code

Exponential Growth and Filamentary Structure of Nonlinear Ballooning Instability 1

Simulations of Sawteeth in CTH. Nicholas Roberds August 15, 2015

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

Configuration Optimization of a Planar-Axis Stellarator with a Reduced Shafranov Shift )

GA A25229 FINAL REPORT ON THE OFES ELM MILESTONE FOR FY05

Introduction. Finite and Spectral Element Methods Using MATLAB. Second Edition. C. Pozrikidis. University of Massachusetts Amherst, USA

Simulation of alpha particle current drive and heating in spherical tokamaks

Integration, differentiation, and root finding. Phys 420/580 Lecture 7

Gyrokinetic Simulations of Tearing Instability

Momentum transport from magnetic reconnection in laboratory an. plasmas. Fatima Ebrahimi

Plasmoid Motion in Helical Plasmas

arxiv: v1 [physics.plasm-ph] 11 Mar 2016

Edge Momentum Transport by Neutrals

Particle transport results from collisionality scans and perturbative experiments on DIII-D

The RFP: Plasma Confinement with a Reversed Twist

Highlights from (3D) Modeling of Tokamak Disruptions

Issues in Neoclassical Tearing Mode Theory

Oscillating-Field Current-Drive Experiment on MST

Overview of edge modeling efforts for advanced divertor configurations in NSTX-U with magnetic perturbation fields

Heat Flux Management via Advanced Magnetic Divertor Configurations and Divertor Detachment.

Generalized Solovev equilibrium with sheared flow of arbitrary direction and stability consideration

A Simulation Model for Drift Resistive Ballooning Turbulence Examining the Influence of Self-consistent Zonal Flows *

Heat Transport in a Stochastic Magnetic Field. John Sarff Physics Dept, UW-Madison

Effects of stellarator transform on sawtooth oscillations in CTH. Jeffrey Herfindal

Plasma shielding during ITER disruptions

Behavior of Compact Toroid Injected into the External Magnetic Field

Fusion-born Alpha Particle Ripple Loss Studies in ITER

Simulation Study of Interaction between Energetic Ions and Alfvén Eigenmodes in LHD

Research on Structure Formation of Plasmas Dominated by Multiple Hierarchical Dynamics

Modelling plasma scenarios for MAST-Upgrade

M. T. Beidler 1, J. D. Callen 1, C. C. Hegna 1, C. R. Sovinec 1, N. M. Ferraro 2

Self-Organization of Plasmas with Flows

INTRODUCTION TO FINITE ELEMENT METHODS ON ELLIPTIC EQUATIONS LONG CHEN

BRIEF COMMUNICATION. Near-magnetic-axis Geometry of a Closely Quasi-Isodynamic Stellarator. Greifswald, Wendelsteinstr. 1, Greifswald, Germany

L Aquila, Maggio 2002

Sawteeth in Tokamaks and their relation to other Two-Fluid Reconnection Phenomena

Derivation of dynamo current drive in a closed current volume and stable current sustainment in the HIT SI experiment

Formation of High-b ECH Plasma and Inward Particle Diffusion in RT-1

Numerical calculation of the Hamada basis vectors for three-dimensional toroidal magnetic configurations

Capability Assessment of the Equilibrium Field System in KTX

A Space-Time Expansion Discontinuous Galerkin Scheme with Local Time-Stepping for the Ideal and Viscous MHD Equations

NIMROD simulations of dynamo experiments in cylindrical and spherical geometries. Dalton Schnack, Ivan Khalzov, Fatima Ebrahimi, Cary Forest,

PLASMA PHYSICS AND CONTROLLED NUCLEAR FUSION RESEARCH

x n+1 = x n f(x n) f (x n ), n 0.

RFP helical equilibria reconstruction with V3FIT-VMEC

Hybrid Kinetic-MHD simulations with NIMROD

Multigrid solvers for equations arising in implicit MHD simulations

Surface currents associated with external kink modes in tokamak

Nautilus: Robust, positivity and divergence preserving code for multi-fluid, multi-species electromagnetics and plasma physics applications

Improved Analytical Flux Surface Representation and Calculation Models for Poloidal Asymmetries. T. G. Collart, W. M. Stacey

Documentation of the Solutions to the SFPE Heat Transfer Verification Cases

Is the Troyon limit a beta limit?

Numerical Methods in Physics and Astrophysics

arxiv: v2 [physics.plasm-ph] 30 Aug 2016

Intermediate Nonlinear Development of a Line-tied g-mode

Transcription:

NIMEQ: MHD Equilibrium Solver for NIMOD E.C.Howell, C..Sovinec University of Wisconsin-Madison 5 th Annual Meeting of Division of Plasma Physics Dallas, Texas, Nov. 17-Nov. 1,8 1

Abstract A Grad-Shafranov equilibrium solver is developed within the NIMOD framework to create plasma profiles for realistic geometry. The traditional Grad- Shafranov operator is converted to a pure divergence allowing the use of standard regularity conditions for the quantity / in simply connected domains. The resulting equation is solved in the weak form using a finite element representation. A Picard scheme is used to advance the nonlinear iteration.

Outline Introduction Outline of solver Derivation of finite element Grad-Shafranov operator Inhomogeneous boundary conditions Nonlinear iteration Calculation of equilibrium fields NIMOD Implementation Verification of solver accuracy Constant lambda cylindrical pinch Circular cross section tokamak SSPX geometry Conclusions & future work 3

INTODUCTION: The NIMOD code is a computational laboratory designed to study 3D plasmas for fusion based applications [Phys. Plasmas 1 (3) 177]. NIMOD uses a spectral element expansion in dimensions and finite Fourier series in the third. Spectral element expansion provides NIMOD with the flexibility to study plasma in complex geometries. High-order accuracy resolves extreme anisotropy. Fourier expansion in third dimension requires a degree of symmetry. Linear periodic or toroidal geometry Nimrod uses an implicit leap frog time advance [JoP: Conf. Ser. 16, 5 (5)]. Allows timesteps that are large relative to normal-mode propagation times. 4

NIMOD computations use Grad-Shafranov equilibria in many applications. The capability to create simple 1D equilibria exists within NIMOD s preprocessor. For more complex geometries, an equilibrium is created from an external source and then interpolated to a NIMOD mesh. The process of interpolation introduces numerical errors into the equilibrium. Software designed to reconstruct equilibria from experimental measurements may sacrifice accuracy for speed. The propagation of these errors though the simulation increases as the disparity of spatial and temporal scales in the physics increase. NIMOD simulations use equilibria as initial states or as fixed data, where the code just evolves perturbations. 5

Simulations used to study linear instabilities in SSPX discharges illustrate the practicality of a native equilibrium solver. Cylindrical pinch SSPX profiles have been approximated with linear cylindrical pinches. Analytic solutions can be used to generate equilibrium. Simplifications result in loss of geometric effects. ealistic mesh representing entire flux conserver Geometric effects from gun and wall are included. Initial conditions can be read from reconstructed equilibria. A native solve can be used to scan profiles in this realistic geometry. 6

Creating an equilibrium solver within NIMOD allows the full use of spectral element flexibility and accuracy. Using the same expansion to create equilibria and run MHD simulations eliminates all interpolation errors. Best possible equilibrium for a particular grid. NIMOD users will be able to modify the solver to meet demands of specific applications. Magnetosphere plasma profiles Parameterized tokamaks, FPs, and spheromaks efine equilibria from other codes Modularity of NIMOD provides most of the computational tools needed for the equilibrium solver. 7

Outline of solver: The Grad-Shafranov equation describes dimensional axisymmetric plasma equilibria with no flow. * Δ Δ ( ) F '( ) μ p ( ) F * 1 z Nonlinear, elliptic, partial differential equation for the flux function (,z) F and p are independent functions of and need to be specified. F B φ ppressure In a linear geometry (φ>z), the del star operator reduces to the Laplacian in (x,y). ( ) F '( ) μ p ( ) F 8

9 The Grad-Shafranov operator can be expressed as a total divergence. * 1 ) ( Δ Ξ z A A r r Expanding shows that Ξ is well behaved near as long as. We choose for the arbitrary constant so that Ξ satisfies standard regularity conditions....... Ξ

A finite element algebraic equation is formulated for the dependent variable Ξ. ( Ξ) G ( Ξ, ), G( Ξ, ) μ FF μ p ( ( Ξ) ) α (, z) dv i Gα dv i Weak form of Grad- Shafranov equation Ξ Ξ α (, z) j j Expand dependent variable with finite element basis functions j j M * ij α α i j Ξ j g i α α i j dvξ Z Z j Gα dv surfaceterms i No contribution for Dirchlet boundary conditions on Ξ 1

A surface integral is performed to calculate along the boundary. The change in the flux function along the boundary is given by x Δ ( B r nˆ) dl x1 Normal magnetic field is prescribed. Gaussian quadrature is used to perform surface integral. The value Ξ along the border is used as essential conditions on the expansion. In toroidal geometry regularity places further constraints on. lim r B z 11

A modified Picard scheme is used to perform nonlinear iteration. Ξ n 1 w M 1 G n ( 1 w ) Ξ n w is a relaxation parameter that provides stabilization to nonlinear iteration. Convergence in checked by comparing the residual of the nonlinear solve with the magnitude of Δ * F F Δ * μ P error In practice, Picard scheme is adequate. Computation takes 1- minutes on laptops and workstations. A Newton iteration can be added to accelerate convergence near solution. 1

13 The equilibrium B(,z), J(,z), and p(,z) are calculated from Ξ, F(), and p(). Chain rule is applied to calculate B from the known quantity Ξ and then J pol is calculated from B pol. Nimrod uses B φ and -1 J φ in the representation of equilibrium fields. φ φ μ φ φ Δ * ˆ F J F e B r r ( ) P F F J F B J F B e e B pol pol r pol Ξ Ξ 1 ˆ ˆ μ μ φ φ φ r r r

NIMEQ flowchart shows the steps in the nonlinear iteration. ead mesh and magnetic field on boundary from input file Calculate FF and P for the current flux distribution Solve algebraic system for next value of Ξ Calculate right hand side from FF and p no Generate finite element Grad- Shafranov operator Perform surface integration along the boundary to calculate inhomogeneous contribution Calculate the residual error and check for convergence yes no Check to see if the number of iterations exceeds the maximum allowed value yes Make an initial guess for nonlinear iteration Calculate B,J, p from the converged solution. Generate input file for NIMOD 14

Several basic models for F and p have been implemented. A normalized ring flux Y has been calculated to distinguish between physics in open and closed flux regions. Y on the magnetic axis Y1 on separatrix and open flux region Three models for F Ff_openf1*(1-Y)4*f*Y(Y-1) Ff_open(f_axis-f_open)*(1-3Y Y 3 ) Fff1 Two models for pressure PP PP_open (P_axis-P_open)*(1-3Y Y 3 ) 15

Verification of solver accuracy :Analytic solutions for the magnetic field in a constant lambda cylindrical pinch are used to benchmark solver. Magnetic fields are functions radius only. B φ -B J 1 (λ) B z B J (λ) B r Nimrod uses (,z,φ) coordinates instead of (,θ,z) coordinates. B z reverses sign at λ.44. Three different computation grids are used to test different aspects of the solver. ectangular grid in a toroidal configuration with B specified along the entire boundary. ectangular grid in a toroidal configuration with periodic boundary conditions in the z-direction and the flux specified on the outer boundary. Circular grid with periodicity in the z-direction and the flux specified on the outer boundary. 16

Plots of equilibrium fields generated with a rectangular mesh show agreement with analytic solutions. 1. 1.8 Bz (T).6.4. λ1 exact λ1 calculated λ exact λ calculated λ.5 exact λ.5 calculated..4.6.8 1 1. -. (m) 17

Contours of B for rectangular grids with different boundary conditions display the surface integrator accuracy. Values of B specified on boundary 16x16 elements with 4 th order polynomials Max B 1.863x1-1 B 1. Periodic boundary conditions in z with specified on outer surface 16x16 elements with 4 th order polynomials Max B 1.833x1-1 B 1. 18

Comparison of equilibrium fields on circular grid verifies the solver in non-toroidal systems. B pol B z Fields for λ 1 solutions agree with theoretical values. Plots of B pol show that that B is small and depends only on. Nonlinear iterations fail to converge for equilibria with λ.5 (axial field reversal). Additional work is being done to improve convergence. 19

Axisymmetric nonlinear simulations of a circular crosssection tokamak test quality of equilibrium with finite pressure. Initial pressure Final pressure Generated equilibrium is used as initial condition for nonlinear simulation. Major adius Minor radius 1 Cubic pressure profile with β~.3 18x18 circular grid with 5 th order polynomials Simulation ran for 75 τ A. A change in peak pressure of.46% is observed.

An equilibrium for SSPX is generated on a grid that represents its flux conserver. Quadratic model for F is used with B phi on the magnetic axis set to.17 Tm. Cubic model for pressure with u P on axis set to.1. β/3 τ A 1.88x1-7 s x8 mesh with 4 th order polynomial elements Equilibrium was designed with no open flux surfaces to aid simulations of nonlinear evolution. 1

Axisymmetric nonlinear simulations of SSPX equilibrium test the quality of equilibrium. Initial pressure Final pressure Simulation is run for ~1 t A Peak pressure changed by ~.16% An isotropic number density diffusivity of 1 m /s is used for numerical stability.

Conclusions & Future Work A Grad-Shafranov solver has been developed for the NIMOD code. Fields created for a constant lambda cylindrical pinch show good agreement with analytical solution. Nonlinear simulations of equilibria ran over numerous Alfvén times suggest that the plasma is in equilibrium. Addition benchmarking is being performed. Functionality to create grid and generate initial magnetic field along the boundary will be created within NIMEQ. Use equilibria from NIMEQ to study SSPX and other configurations. 3