NIMROD Boundary Conditions

Similar documents
Computations with Discontinuous Basis Functions

INITIAL EVALUATION OF COMPUTATIONAL TOOLS FOR STABILITY OF COMPACT STELLARATOR REACTOR DESIGNS

MAGNETIC NOZZLE PLASMA EXHAUST SIMULATION FOR THE VASIMR ADVANCED PROPULSION CONCEPT

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

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

Current Drive Experiments in the Helicity Injected Torus (HIT II)

Physics of the Current Injection Process in Localized Helicity Injection

Physics of fusion power. Lecture 13 : Diffusion equation / transport

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

Progress in the Plasma Science and Innovation Center

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

Advancing Local Helicity Injection for Non-Solenoidal Tokamak Startup

Non-Solenoidal Plasma Startup in

Ion Heating During Local Helicity Injection Plasma Startup in the Pegasus ST

Operational Phase Space of the Edge Plasma in Alcator C-Mod

NIMEQ: MHD Equilibrium Solver for NIMROD

Imposed Dynamo Current Drive

Flow and dynamo measurements in the HIST double pulsing CHI experiment

ELECTROMAGNETIC LIQUID METAL WALL PHENOMENA

Analytic Benchmarking of the 2DX eigenvalue code

Intermediate Nonlinear Development of a Line-tied g-mode

Current-driven instabilities

Exponential Growth and Filamentary Structure of Nonlinear Ballooning Instability 1

AC loop voltages and MHD stability in RFP plasmas

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

Comparison of Kinetic and Extended MHD Models for the Ion Temperature Gradient Instability in Slab Geometry

Expanding Non-Solenoidal Startup with Local Helicity Injection

Non-inductive plasma startup and current profile modification in Pegasus spherical torus discharges

Stability of a plasma confined in a dipole field

Rotation and Neoclassical Ripple Transport in ITER

Evidence for Magnetic Relaxation in Coaxial Helicity Injection Discharges in the HIT II Spherical Torus

Predictive Power-Balance Modeling of PEGASUS and NSTX-U Local Helicity Injection Discharges

Effect of magnetic reconnection on CT penetration into magnetized plasmas

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

Advancing Toward Reactor Relevant Startup via Localized Helicity Injection at the Pegasus Toroidal Experiment

Conservation Laws in Ideal MHD

Abstract. The Pegasus Toroidal Experiment is an ultra-low aspect ratio (A < 1.2) spherical tokamak (ST) capable of operating in the high I N

Modeling of ELM Dynamics for ITER

Direct drive by cyclotron heating can explain spontaneous rotation in tokamaks

Physics of Intense Electron Current Sources for Helicity Injection

PLASMA. Contents. Part 1. Fluid Mechanics 1 1. Vorticity 1

Turbulent Magnetic Helicity Transport and the Rapid Growth of Large Scale Magnetic Fields

Current Drive Experiments in the HIT-II Spherical Tokamak

Comparison of Pellet Injection Measurements with a Pellet Cloud Drift Model on the DIII-D Tokamak

Potential Energy. Serway 7.6, 7.7;

Transmission Lines and E. M. Waves Prof. R. K. Shevgaonkar Department of Electrical Engineering Indian Institute of Technology, Bombay

ENGI9496 Modeling and Simulation of Dynamic Systems Bond Graphs

Toroidal flow stablization of disruptive high tokamaks

GA A27857 IMPACT OF PLASMA RESPONSE ON RMP ELM SUPPRESSION IN DIII-D

Highlights from (3D) Modeling of Tokamak Disruptions

NIMROD FROM THE CUSTOMER S PERSPECTIVE MING CHU. General Atomics. Nimrod Project Review Meeting July 21 22, 1997

SMR/ Summer College on Plasma Physics. 30 July - 24 August, Introduction to Magnetic Island Theory.

Computational Modeling of Fully Ionized Magnetized Plasmas Using the Fluid Approximation

Current Profile Control by ac Helicity Injection

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

Exponential Growth of Nonlinear Ballooning Instability. Abstract

Evidence for Electromagnetic Fluid Drift Turbulence Controlling the Edge Plasma State in Alcator C-Mod

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

Control of linear modes in cylindrical resistive MHD with a resistive wall, plasma rotation, and complex gain

Extended Lumped Parameter Model of Resistive Wall Mode and The Effective Self-Inductance

Recapitulation: Questions on Chaps. 1 and 2 #A

Radiative & Magnetohydrodynamic Shocks

Physic-based Preconditioning and B-Splines finite elements method for Tokamak MHD

Measuring from electron temperature fluctuations in the Tokamak Fusion Test Reactor

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

Macroscopic plasma description

The University of the West Indies, St. Augustine, Trinidad and Tobago. The University of the West Indies, St. Augustine, Trinidad and Tobago

Physics and Operations Plan for LDX

Module 2 : Convection. Lecture 12 : Derivation of conservation of energy

Influence of ECR Heating on NBI-driven Alfvén Eigenmodes in the TJ-II Stellarator

- Effect of Stochastic Field and Resonant Magnetic Perturbation on Global MHD Fluctuation -

PROBLEM SET. Heliophysics Summer School. July, 2013

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

Semi-implicit Treatment of the Hall Effect in NIMROD Simulations

Diffusion equation, flux, diffusion coefficient scaling. Diffusion in fully ionized plasma vs. weakly ionized plasma. n => Coulomb collision frequency

Chapter 1 Mathematical Foundations

III. Transport Phenomena

NIMROD Project Overview

GA A25229 FINAL REPORT ON THE OFES ELM MILESTONE FOR FY05

1 IC/P4-5. Spheromak Formation by Steady Inductive Helicity Injection

MHD. Jeff Freidberg MIT

Behavior of Compact Toroid Injected into the External Magnetic Field

A Comparison between the Two-fluid Plasma Model and Hall-MHD for Captured Physics and Computational Effort 1

Tokamak Edge Turbulence background theory and computation

Contents. Part 1. Fluid Mechanics 1 1. Vorticity 1

3. FORMS OF GOVERNING EQUATIONS IN CFD

Conceptual design of an energy recovering divertor

Numerical investigation of design and operating parameters on CHI spheromak performance

A.J.Redd, D.J.Battaglia, M.W.Bongard, R.J.Fonck, and D.J.Schlossberg

An advanced simulation code for Hall effect thrusters

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

Cosmic-ray Acceleration and Current-Driven Instabilities

Hybrid Kinetic-MHD simulations with NIMROD

Conservation of Mass. Computational Fluid Dynamics. The Equations Governing Fluid Motion

Internal Magnetic Field Measurements and Langmuir Probe Results for the HIT-SI Experiment

Plasma Breakdown Analysis in JFT-2M without the Use of Center Solenoid

20. Alfven waves. ([3], p ; [1], p ; Chen, Sec.4.18, p ) We have considered two types of waves in plasma:

Understanding Edge Harmonic Oscillation Physics Using NIMROD

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

Hybrid Kinetic-MHD simulations with NIMROD

Transcription:

NIMROD Boundary Conditions Carl Sovinec University of Wisconsin-Madison and the Two-Fluid and Transport Group Plasma Science and Innovation Center Annual Meeting Seattle Washington, August 13-14, 2007

Outline Mathematical limitations Essential and natural conditions Essential conditions in NIMROD Natural conditions HIT-II application Summary and Conclusions

Mathematical limitations exist when using basis-function expansions (Fourier, finite element, etc). A differential equation, D(u)=f with D being a differential operator is a mapping from a space of functions for u to a space of functions for f. Given a set of boundary conditions, the mapping must be invertible if a unique solution exists. We usually need to consider square-integrable f: dx f 2 " < # In these cases, analysis tells us that the mapping forces the highest-order derivative on u to be square-integrable. Galerkin and variational computations force the highest-order derivative to converge only in the mean-square sense. Like f, the highest derivative on u may be discontinuous. If x 0 is the location of a discontinuity, the expansion for the highest derivatives on u at x 0 converge to the average of the two limits. Gibb s phenomena will exist, as in partial Fourier-series expansion. Upshot: we are not able to impose boundary conditions on the highest derivative by clever choice of the basis functions.

Essential and natural conditions: the mathematical limitations affect how we apply boundary conditions but typically do not prevent us from specifying what we want. Mean-square convergence of the highest derivative imposes local convergence for lower-order derivatives. For derivatives of lower order than the highest appearing in the weak form, we can impose linear homogeneous boundary conditions on each basis function. sin(nx)=0 at x=π, for example. An expansion will satisfy the same condition thanks to first bullet. Conditions imposed this way are called essential conditions. Other conditions may be imposed in the weak sense through surface terms which penalize functions that do not meet the specified condition. Conditions imposed through surface terms are called natural conditions. Integration by parts allows expansions with lower-order continuity but also reduces the derivative-order where natural conditions are needed. Also see ecow.engr.wisc.edu/cgi-bin/get/neep/903/sovinec/ lecture notes for Spring 2007, part 1 of finite element method.

Essential conditions in NIMROD are imposed with the routines in the boundary Fortran90 module. We write equations for the change in some field. For example, we create an algebraic system for how number density changes over the step. ( ) = %# $ ( V j+1 $n j+1/2 % D#n j+1/2 ) "n "t + 1 2 # $ V j+1 $"n % D#"n Calls to dirichlet_rhs and dirichlet_op (or dirichlet_comp_op), impose homogeneous conditions on the basis functions for Δn: IF (nd_bc=='dirichlet') THEN CALL matrix_create(ndiso_mat,ndiso_fac,n_iso_op,dirichlet_op, $ 'all','number density',.true.,solver) ELSE CALL matrix_create(ndiso_mat,ndiso_fac,n_iso_op,no_mat_bc, $ ' ','number density',.true.,solver) ENDIF IF (nd_bc=='dirichlet') THEN CALL get_rhs(ndrhs,crhs,dirichlet_rhs,'all','scalar',.false., $ no_surf_int,rmat_elim=ndiso_mat) ELSE CALL get_rhs(ndrhs,crhs,no_rhs_bc,' ','scalar',.false., $ no_surf_int,rmat_elim=ndiso_mat) ENDIF Inhomogeneous conditions (including time-dependent) can be added to n j+1/2 before the start of the finite-element computation for the rhs. Technically, the boundary module imposes a set of local constraint equations on the coefficients to facilitate application of conditions on linear combinations of vector components.

Natural conditions are used to impose Neumann-type conditions for the differential equation. Using the MHD magnetic advance with explicit advection as an example, solution of the Galerkin form satisfies ( dx c *"#b + g#t $ +. ) (% & c *) "(% & #b) + g#t' divb (% "c *)(% "#b), * µ 0 - ( = dx #t (% & c *) "( v j+1 & b ) / $ (% & c *) "% & b j+1/2 /' divb (% "c *) % "b j+1/2 +. ) µ 0 ( ), * - / #t ds &E" c *. for all test functions c * in the space of basis functions. Physically, " $ dl #E is the rate of change of magnetic flux, so " & ds #E $ c % checks the change increasingly locally as more test functions are added. ( ) Through " & ds #E $c % ' " & c % # ds$ (J " V # B we are able to impose conditions on normal derivatives of Δb, but the integral form is already more physically relevant than Neumann-type derivative conditions. Absence of a surface term forces the solution to locally converge to the condition of zero physical flux density. NIMROD uses basis functions that have square-integrable first derivatives, so natural conditions are needed for Neumann conditions on first derivatives.

Natural conditions in NIMROD are computed as explicit surface integrals, and contributions from them are added to the rhs vector. Nonzero flux conditions are obtained in NIMROD by specifying the name of an integrand routine in the surface_ints module. CALL get_rhs(brhs_mhd,crhs,dirichlet_rhs,'normal','cyl_vec', $ do_surf,e_tangential,rmat_elim=b_mat) The surface integrand provides the local vector algebra when tangential E is nonzero along the surface of the domain. int=0 mode_loop: DO imode=1,nmodes IF (keff(imode)/=0) CYCLE mode_loop int(1,:,imode)=-alpha*dt*e_tor*norm(2) int(2,:,imode)= alpha*dt*e_tor*norm(1) int(3,:,imode)=-alpha*dt*e_vert*norm(1) ENDDO mode_loop { e % } Here, c " # alpha $ e ˆ R, alpha $ e ˆ Z, alpha $ ˆ. Being integral relations that use the properties of the solution space, natural conditions retain full spatial accuracy without ghost cells.

HIT-II application: the following generalities affect simulation results. At lowest order, force-balance tends to make J flow along B if pressure gradients, viscous dissipation, and acceleration are not of order B 2 /µ 0 L. For " << # i, k$ i <<1 ions are magnetized. In our zero-beta simulations, resistivity near the modeled injector and absorber ports is not large enough to make magnetic diffusion dominate over a significant region. NIMROD always uses essential conditions for V normal. If flow near the open boundaries is not approximately E B drift, J flows perpendicular to B, and viscous boundary layers result. Tokamak vacuum toroidal field makes the system stiff to compression.

The resistivity, vacuum toroidal field, and two ports requires a unique approach for HIT-II simulation. Early attempts used essential conditions on B φ for both injector and absorber ports without flow (as used in Pegasus). A viscous boundary layer at the injector is supported by J B, so the current density does not follow the field-lines. (J φ is small when ψ ψ inj.) Our new approach uses essential conditions on B φ only for the injector to specify I inj and a natural condition (i.e., voltage) at the absorber. Also: V normal at absorber is set to the drift speed to avoid a boundary layer there. V normal at the injector is set to move flow without compression. Injection fails with essential conditions on B φ and no flow at both ports. Flux expansion and current multiplication are produced with new approach.

The matched flow condition also avoids numerical noise that results with an unresolved boundary layer. Parallel current follows the 2D magnetic balloon with matched flow. Unresolved boundary layer leads to noisy parallel current with homogenous V normal conditions. Specifying voltage at one electromagnetic port and current at another is allowed physically, but if they are not matched for the rest of the parameter set, part of the specified I inj will eventually alter I TF.

Summary and Conclusions The stability of boundary conditions depends on the derivative order and the problem formulation. Essential conditions can be imposed on the basis functions if the conditions are mathematically stable. Surface terms can be used for other conditions and often take the form of physical fluxes. Resistive MHD simulation of helicity/current injection into a large vacuum field is tractable if we pay attention to boundary layers and compression.