Vector Potential Remap for 2d MHD

Similar documents
Modeling Laser and e-beam Generated Plasma-Plume Experiments Using LASNEX

Simulation of Double-Null Divertor Plasmas with the UEDGE Code

August 3,1999. Stiffness and Strength Properties for Basic Sandwich Material Core Types UCRL-JC B. Kim, R.M. Christensen.

Development of a High Intensity EBIT for Basic and Applied Science

Parametric Instabilities in Laser/Matter Interaction: From Noise Levels to Relativistic Regimes

HEAT TRANSFER AND THERMAL STRESS ANALYSES OF A GLASS BEAM DUMP

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

Modeling of MHD Equilibria and Current Profile Evolution during the ERS Mode in TFTR

Analysis of Shane Telescope Aberration and After Collimation

Safety Considerations for Laser Power on Metals in Contact with High Explosives-Experimental and Calculational Results

Modified Kriging: Evaluation, Modification, Recommendations

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

DML and Foil Measurements of ETA Beam Radius

IMPACT OF EDGE CURRENT DENSITY AND PRESSURE GRADIENT ON THE STABILITY OF DIII-D HIGH PERFORMANCE DISCHARGES

Magnetic Measurements of the Elliptical Multipole Wiggler Prototype

PROJECT PROGRESS REPORT (03/lfi?lfibr-~/15/1998):

LLNL DATA COLLECTION DURING NOAAETL COPE EXPERIMENT

RWM FEEDBACK STABILIZATION IN DIII D: EXPERIMENT-THEORY COMPARISONS AND IMPLICATIONS FOR ITER

Controlling Backstreaming Ions from X-ray Converter Targets with Time Varying Final Focusing Solenoidal Lens and Beam Energy Variation

Applications of Pulse Shape Analysis to HPGe Gamma-Ray Detectors

Fission-Fusion Neutron Source

Los Alamos IMPROVED INTRA-SPECIES COLLISION MODELS FOR PIC SIMULATIONS. Michael E. Jones, XPA Don S. Lemons, XPA & Bethel College Dan Winske, XPA

W. Fischer and M. Okamura Brookhaven National Laboratory, Upton, NY 11973, USA

The Gas Flow from the Gas Attenuator to the Beam Line

A Distributed Radiator, Heavy Ion Driven Inertial Confinement Fusion Target with Realistic, Multibeam Illumination Geometry

GA A THERMAL ION ORBIT LOSS AND RADIAL ELECTRIC FIELD IN DIII-D by J.S. degrassie, J.A. BOEDO, B.A. GRIERSON, and R.J.

Curvature of a Cantilever Beam Subjected to an Equi-Biaxial Bending Moment. P. Krulevitch G. C. Johnson

PREDICTIVE MODELING OF PLASMA HALO EVOLUTION IN POST-THERMAL QUENCH DISRUPTING PLASMAS

GA A25853 FAST ION REDISTRIBUTION AND IMPLICATIONS FOR THE HYBRID REGIME

GA A23713 RECENT ECCD EXPERIMENTAL STUDIES ON DIII D

Plasma Response Control Using Advanced Feedback Techniques

GA A26057 DEMONSTRATION OF ITER OPERATIONAL SCENARIOS ON DIII-D

PRINCETON PLASMA PHYSICS LABORATORY PRINCETON UNIVERSITY, PRINCETON, NEW JERSEY

Capabilities for Testing the Electronic Configuration in Pu

GA A22722 CENTRAL THOMSON SCATTERING UPGRADE ON DIII D

Laser Intensity Modulation by Nonabsorbing Defects. M. D. Feit A. M. Rubenchik

Destruction of 2,4,6=Trinitrotoluene using Ammonium Peroxydisulfate

GA A27805 EXPANDING THE PHYSICS BASIS OF THE BASELINE Q=10 SCENRAIO TOWARD ITER CONDITIONS

OAK RIDGE NATIONAL LABORATORY

GA A26474 SYNERGY IN TWO-FREQUENCY FAST WAVE CYCLOTRON HARMONIC ABSORPTION IN DIII-D

Using the X-FEL to understand X-ray Thomson scattering for partially ionized plasmas

Centrifugal Destabilization and Restabilization of Plane Shear Flows

GA A27235 EULERIAN SIMULATIONS OF NEOCLASSICAL FLOWS AND TRANSPORT IN THE TOKAMAK PLASMA EDGE AND OUTER CORE

A New Computational Method for non-lte, the Linear Response Matrix

Solid Phase Microextraction Analysis of B83 SLTs and Core B Compatibility Test Units

Impurity Transport Studies of Intrinsic MO and Injected Ge in High Temperature ECRH Heated FTU Tokamak Plasmas

Plutonium 239 Equivalency Calculations

GA A26785 GIANT SAWTEETH IN DIII-D AND THE QUASI-INTERCHANGE MODE

Start-up Noise in 3-D Self-AmpMed

Partial Discharge Characterization of High-Voltage Cables and Components

The Radiological Hazard of Plutonium Isotopes and Specific Plutonium Mixtures

Ray M. Stringfield Robert J. Kares J. R. Thomas, Jr.

Modeling of psec-laser-driven Ne-like and Ni-like X-ray lasers. Joseph Nilsen

AC dipole based optics measurement and correction at RHIC

GA A26686 FAST ION EFFECTS DURING TEST BLANKET MODULE SIMULATION EXPERIMENTS IN DIII-D

GA A22689 SLOW LINER FUSION

Turbulent Scaling in Fluids. Robert Ecke, MST-10 Ning Li, MST-10 Shi-Yi Li, T-13 Yuanming Liu, MST-10

GA A27806 TURBULENCE BEHAVIOR AND TRANSPORT RESPONSE APPROACHING BURNING PLASMA RELEVANT PARAMETERS

Colliding Crystalline Beams

GA A24016 PHYSICS OF OFF-AXIS ELECTRON CYCLOTRON CURRENT DRIVE

Excitations of the transversely polarized spin density. waves in chromium. E3-r 1s

How Small Can a Launch Vehicle Be?

GA A24166 SUPER-INTENSE QUASI-NEUTRAL PROTON BEAMS INTERACTING WITH PLASMA: A NUMERICAL INVESTIGATION

Computational Astrophysics

An ARM SCM Intercomparison Study-Overview and Preliminary Results for Case 1

Response to Comment on "The National Ignition Facility Laser Performance Status"

TARGET PLATE CONDITIONS DURING STOCHASTIC BOUNDARY OPERATION ON DIII D

Flipping Bits in the James Webb Space Telescope s Cameras

(4) How do you develop an optimal signal detection technique from the knowledge of

Scaling of divertor heat flux profile widths in DIII-D

STABILIZATION OF m=2/n=1 TEARING MODES BY ELECTRON CYCLOTRON CURRENT DRIVE IN THE DIII D TOKAMAK

SPHERICAL COMPRESSION OF A MAGNETIC FIELD. C. M. Fowler DISCLAIMER

Data Comparisons Y-12 West Tower Data

LQSAlamos National Laboratory

Study of a Non-Intrusrve blectron

GA A22677 THERMAL ANALYSIS AND TESTING FOR DIII D OHMIC HEATING COIL

Application of a Three-Dimensional Prognostic Model During the ETEX Real-Time Modeling Exercise: Evaluatin of Results (u)

PROJECT PROGRESS REPORT (06/16/1998-9/15/1998):

Lawrence Berkeley National Laboratory Lawrence Berkeley National Laboratory

The Highest Redshift Radio Galaxy Known in the Southern Hemisphere

CQNl_" RESPONSE TO 100% INTERNAL QUANTUM EFFICIENCY SILICON PHOTODIODES TO LOW ENERGY ELECTRONS AND IONS

GA A25566 COUPLED ITG/TEM-ETG GYROKINETIC SIMULATIONS

DE '! N0V ?

DISCLAIMER BASIN, WEST TEXAS AND NEW MEXICO

To be published in the Proceedings of ICEC-22, Seoul Korea, July 2008 MICE Note 232 1

GA A23977 DETAILED MEASUREMENTS OF ECCD EFFICIENCY ON DIII D FOR COMPARISON WITH THEORY

Role of Flow Shear in Enhanced Core Confinement

Constant of Motion for a One- Dimensional and nth-order Autonomous System and Its Relation to the Lagrangian and Hamiltonian

Shock compression of precompressed deuterium

GA A26123 PARTICLE, HEAT, AND SHEATH POWER TRANSMISSION FACTOR PROFILES DURING ELM SUPPRESSION EXPERIMENTS ON DIII-D

Paper presented at the 7th International Conference on Ion Source Catania, Italy. 4 Oak Ridge National Laboratory Oak Ridge, Tennessee

UNDERSTANDING TRANSPORT THROUGH DIMENSIONLESS PARAMETER SCALING EXPERIMENTS

Los Alamos. Nova 2. Solutions of the Noh Problem for Various Equations of State Using Lie Groups LA-13497

CORE TURBULENCE AND TRANSPORT REDUCTION IN DIII-D DISCHARGES WITH WEAK OR NEGATIVE MAGNETIC SHEAR

RUDOLPH J. HENNINGER, XHM PAUL J. MAUDLIN, T-3 ERIC N. HARSTAD, T-3

GA A22877 A NEW DC MAGNETIC SENSOR

Two-Screen Method for Determining Electron Beam Energy and Deflection from Laser Wakefield Acceleration

0STI. E. Hammerberg, XNH MD SIMULATIONS OF DUSTY PLASMA CRYSTAL FORMATION: PRELIMINARY RESULTS M. J. S. Murillo, XPA

John Falconer Richard Noble

MAGNETICALLY CONTROLLED DEPOSITION OF METALS USING GAS PLASMA

Transcription:

UCRL-ID-132123 Vector Potential Remap for 2d MHD P. W. Rambo October 13, 1998 Lawrence Livermore National Laboratory This is an informal report intended primarily for internal or limited external distribution. The opinions and conclusions stated are those of the author and may or may not be those of the Laboratory. Work performed under the auspices of the U.S. Department of Energy by the Lawrence Livermore National Laboratory under Contract W-7405-Eng-48.

DISCLAIMER This document was prepared as an account of work sponsored by an agency of the United States Government. Neither the United States Government nor the University of California nor any of their employees, makes any warranty, express or implied, or assumes any legal liability or responsibility for the accuracy, completeness, or usefulness of any information, apparatus, product, or process disclosed, or represents that its use would not infringe privately owned rights. Reference herein to any specific commercial product, process, or service by trade name, trademark, manufacturer, or otherwise, does not necessarily constitute or imply its endorsement, recommendation, or favoring by the United States Government or the University of California. The views and opinions of authors expressed herein do not necessarily state or reflect those of the United States Government or the University of California, and shall not be used for advertising or product endorsement purposes. This report has been reproduced directly from the best available copy. Available to DOE and DOE contractors from the Office of Scientific and Technical Information P.O. Box 62, Oak Ridge, TN 37831 Prices available from (423) 576-8401 Available to the public from the National Technical Information Service U.S. Department of Commerce 5285 Port Royal Rd., Springfield, VA 22161

Vector Potential Remap for 2d MHD * Peter W. Rambo Lawrence Livermore National Laboratory This report describes an algorithm to remap (rezone) the magnetic vector potential in 2D MHD calculations. This extends a previously described Lagrangian scheme [1] for use with ALE grids, when combined with a suitable remap capability for the hydrodynamic variables. In this scheme, the magnetic field B is a zone quantity derived from the node based vector potential A (B x, B y, and A z in Cartesian geometry, B z, B r, and A φ in cylindrical geometry). The scheme outlined here is closely related to a flux conserving remap of the magnetic field. Because B is derived from the updated vector potential, however, flux conservation and vanishing divergence are guaranteed; only accuracy is a concern. This is in contrast to schemes based directly on B, which require the additional constraint of preserving zero divergence [2, 3]. Beginning with Cartesian geometry, a straight forward development of the algorithm is first presented; an alternative view is then considered which makes clear the relationship to a flux conservative remapping of the zonal magnetic field. Examples comparing first and second order algorithms are shown, and the issue of energy conservation is discussed. Finally, the generalization to cylindrical geometry is given. Figure 1 shows a diagram of a single quadrilateral zone, or cell, in the computational mesh defined by the surrounding node locations r n. In Cartesian geometry, the zonal magnetic field, B c, is determined from the z-component of the nodal vector potential, A n. In particular, we wish to know how to change A 0 n to A t n due to moving a node δr n r t n -r 0 n, where superscripts 0 and t will denote the original and remapped quantities respectively. We consider a surface perpendicular to the simulation plane with normal directed area δs=δr n ẑ. Then the magnetic flux through this surface is related to the line integral of the vector potential, B ds = A ds = A dl. (1) Applying this to the surface defined above, δan An t rn t 0 An = zˆ B() r dr. r 0 (2) n Thus we need only calculate the integral of the magnetic flux to determine the change in the vector potential. Assume that within the cell, B(r) has linear variation about the average value relative to the cell centroid r c, 0 Br () = Bc + xˆ( r rc) ( Bx) + yˆ ( r r) ( ). c c By c (3) The gradient terms within a cell are determined by suitable approximation using surrounding cell values, and will be discussed later. Substituting Eq. (3) into Eq. (2) and performing the integration, δan ˆ 0 z = Bc + xˆ( rn rc) ( Bx) + yˆ( r B δ c n rc) y r c n { ( ) } ( ) = + n A n n A 1 0 n n n n t 0 1 2 n 2 n (4) B δr ; B = B( r = r ), r r + r r δr.

This defines an effective node magnetic field associated with the remap that is simply Eq. (3) evaluated at the intermediate node position. This is a second order algorithm, with a first order upwind scheme defined by neglecting the gradient terms. The new magnetic field is then determined from the updated mesh and vector potential; in Cartesian geometry this is given by, Bc c c nrn nc, nc, V A, A 1( An+ An ), 2 1 1 (5) with all quantities evaluated at the new time level. This remap is closely related to a flux conserving rezone of the magnetic field. If one specializes to one dimension, say with B y varying in x, the (transverse) magnetic field is simply a zone defined scalar. Then an exact correspondence exists between this scheme and a conservative rezone of B y. Eq. (4) with the gradient terms set to zero corresponds exactly to donor cell advection; similarly, Eq. (4) with appropriately limited gradients is equivalent to a monotonic second order advection. In two dimensions, the vector nature of B complicates this, but an interesting correspondence still exists. Dukowicz and Kodis [4], and Ramshaw [5] have developed efficient methods for conservative rezoning of zonal scalar quantities on a quadrilateral mesh. This is based on defining the zonal quantity as the divergence of a vector field; then the volume overlaps between the old mesh and an arbitrary new mesh may be calculated as surface integrals. An analogous method for a flux conserving rezone of the magnetic field is possible by defining the vector potential in each cell of the old mesh as, 0 A()ˆ rz= Bc r+ 1{ ( r rc) ( B) c} ( r rc); (6) 2 the curl of Eq. (6) is exactly Eq. (3). Now a conservative rezone of B could be accomplished by calculating overlap integrals between the new and old mesh as surface integrals over A. Because the vector potential prescribed above is not continuous from one zone to an adjoining zone, care must be taken in accounting for delta-function contributions at old zone edges, exactly as prescribed in Ref. [5]. This rezone would not necessarily preserve zero divergence, so a divergence clean would then be necessary. The present scheme may be regarded as preparing to do a conservative remap in the same fashion, but instead of calculating volume overlaps of B, the zone defined vector potential, Eq. (6), is evaluated at the new node location and from this a new divergence-free magnetic field is calculated. Because of possible discontinuities across zone boundaries, the change in A n is calculated; taking the difference between Eq. (6) evaluated at both new and old node positions is exactly the same as Eq. (4). Because the magnetic field calculated from the new vector potential is guaranteed to be divergence free, no effort seems necessary to ensure that the linear magnetic field of Eq. (3) is similarly solenoidal. Thus all four gradient components are limited independently and -( B x / x) c ( B y / y) c. Dukowicz and Kodis [4] describe methods for approximating these limited gradients based on the values of the gradients at the four nodes surrounding a zone. Finally, although presented here as though the node position were being moved an incremental distance, this is not necessary; the new mesh may be entirely unrelated to the old mesh. All that is required for application of the algorithm is to determine which old zone contains the new node position, and which old node is in closest proximity. Several examples are now presented to demonstrate this remap algorithm. The advection of a square pulse on a fixed grid in one dimension is a standard test; Fig. 2 shows results of advecting an initially square B y profile in the x-direction for 200 t, with a Courant number u 0 t/ x=0.2. The solid line shows results from the second order algorithm, Eq. (4), with the field gradients limited using the monotonic limiter described in 2

Ref. [4]; similar results were also obtained using the van Leer limiter. The dashed line shows results for the first order remap given by neglecting field gradients, which is seen to be very diffusive. As previously discussed, this remap in one dimension is exactly equivalent to a conservative rezone of B y ; the results in Fig. 2 clearly resemble typical results for conservative advection schemes. This remap algorithm is also equivalent to an advection (δr n u n δt) of the vector potential with a particular definition for the gradient, t 0 A = A + δtu A A n n n ( ) n, ( ) n zˆ Bn A. (7) This choice ensures monotonicity (at least in one dimension), and thus removes this criticism of vector potential schemes for MHD [2]. Although magnetic flux conservation is guaranteed, energy conservation is not. For the square wave advection test above, the field energy has decreased 23% for the low order remap, and 16% for the second order remap. The change in energy caused by the remap may be investigated by linearizing the change in field energy of the four zones surrounding a node that is being moved. There are two contributions: the first contribution from node displacement (constant potential) is related to the energy conserving node force [1]; the second contribution comes from the change in potential, and may be recognized as an electric field dotted with the node current, I n. Defining a node magnetic field associated with the J B force, as well as the one associated with the advection, Fn In Bn F / c, and δan zˆ ( Bn A δ rn), (8) the remap change in energy associated with a node displacement can be written as, δεn = In ( Bn F Bn A ) δr n/ c. (9) This change in energy is not necessarily dissipative; simple examples may be constructed which have positive energy change. An energy conserving remap is readily apparent by choosing the advection magnetic field equal to the field associated with the force, but stability would be sacrificed because of the loss of upwinding. Alternatively, one might adjust the fluid internal energy for conservation; this could be done through Eq. (9), or by advecting the sum of internal energy and field energy, then subtracting the field energy determined by the flux remap to find new internal energy. Because the remap is not guaranteed to be dissipative, however, this seems a risky proposition. Clearly the energy change due to the remap should be monitored to ensure it is properly small. Interestingly, since the magnitude of this energy change depends on the lack of spatial centering, use of the purely upwind field B c can aggravate the rate of energy increase, as well as amplify the rate of dissipation compared to a second order algorithm. As a non-trivial two dimensional example, results are now presented for a magnetized Kelvin Helmholtz instability, a problem investigated by Malagoli et al. [6]. In their work, the unstable magnetized shear flow is simulated through nonlinear saturation using a highorder Godunov MHD code. Here, the identical case is simulated using a PIC-MHD code; in this code the fluid equations are solved using particles to advect the hydrodynamic information through the grid [7]. Unlike Brackbill s FLIP-MHD code [8], however, the PIC particles represent only the hydrodynamics, while the magnetic field is purely a grid quantity, advanced during the Lagrangian step as described in Ref. [1] and remapped to the original square grid (mesh spacing ) as prescribed here. Because of the energy conserving properties of the PIC hydrodynamics, essentially the only dissipation is from Ohmic heating (diffusion coefficient D m ) and the field remap. The system is initially prepared with the fluid density uniform in space (ρ 0 ), as is the field which is initially aligned with the x- direction; a shear flow is initialized with u x =u 0 tanh(y/a). The simulation region is 0<x<L 3

and -L<y<L with periodic boundary conditions in x and reflecting walls at y=±l. For the case to be presented here the shear gradient parameter a/l=0.05, and u 0 /C s =0.5, C s the adiabatic sound speed; the initial field strength is parameterized by the Alfven speed, V a /C s =10-3. The fluid velocity is initially perturbed in the y-direction at the level of a few percent, with wavelength equal to the system length. Figures 3 and 4 show results from simulations with L/ =100, and a magnetic Reynolds number Rm Lu 0 /D m =1000. The remap of the vector potential uses Van Leer limiting. Contours of constant vector potential are shown in Fig. 3 at times corresponding to peak field energy, C s t/l=5.0, and after saturation and reconnection, C s t/l=8.0. The time history of the magnetic field energy is shown in Fig 4, as well as the rate of energy dissipation due to the field remap, which shows for a brief period of time near peak amplitude that the change in field energy due to the remap is positive, rather than dissipative. For these parameters, the total change in energy due to the remap is less than 40% of the initial field energy; the energy dissipated due to Ohmic heating is approximately ten times greater. Also shown in Fig. 4 are results from an otherwise identical simulation, but using the first order remap. As can be seen by comparing the rate of energy change due to remapping for the two cases, the rate of dissipation and energy increase are both accentuated by the low order scheme. The time and peak value of the magnetic energy compare well with the results of Malagoli, although it should be stressed that in the simulations of Ref. [6], no explicit field diffusion is included and the dissipation is only due to numerical causes. This scheme may be applied to axisymmetric simulation by generalizing the integration that leads to Eq. (4). Now the integration is over a surface of revolution about the cylindrical axis, introducing factors of 2πr in both the surface and line integrals, δψ n n t n t 0 0 0 ( ra) ( rn An) = rn( Bc δrn) ϕˆ δr δ δ δ n zn Bz rn B + r z n rn zn zc + ( ) 2 ( ) + rn rn rc + z ( ) 12 c 12 r c + 2 δr δ δ δz r z z n zn Br rn B n n( n c) rn( rn rc) r. 12 z r c 12 c (10) The first term is the zero order result, followed by corrections for second order. + + ( ) * This work was performed under the auspices of the U.S. Department of Energy by the Lawrence Livermore National Laboratory under Contract No. W-7405-Eng-48. [1] P. W. Rambo, Spatial Differencing of Poloidal MHD for Axisymmetric Lagrangian Simulation, Proceedings of the 16th Int. Conf. on the Numerical Simulation of Plasmas, Santa Barbara CA (Feb. 10-12, 1998). [2] Charles R. Evans and John F. Hawley, Astrophys. J. 332, 659 (1988). [3] Robert E. Peterkin Jr., Michael H. Frese, and Carl R. Sovinec, J. Comput. Phys. 140, 148 (1998). [4] John K. Dukowicz and John W. Kodis, SIAM J. Sci. Stat. Comput. 8, 8 (1987). [5] John D. Ramshaw, J. Comput. Phys. 67, 214 (1986). [6] Andrea Malagoli, Gianluigi Bodo, and Robert Rosner, Astrophys. J. 456, 708 (1996). [7] J. U. Brackbill and H. M. Ruppel, J. Comput. Phys. 65, 314 (1986). [8] J.U. Brackbill, J. Comput. Phys. 96, 163 (1991). 4

r n+1 c r t B(r) δs r n-1 r n r 0 Fig. 1 Diagram showing quadrilateral zone defined by node vectors (left), and geometry of surface integral (right) for displacement of node-n into zone-c. 1.0 B y /B 0 0.5 0.0 0.0 0.5 x/l 1.0 Fig. 2 One dimensional advection test at time t = 200 t = 0.4 L/u 0 ; solid line is result with second order monotonic limited remap and dashed line shows result from first order remap; initial profile was square wave with width of 0.2 L=20 x. 5

Fig. 3 Contours of constant vector potential at time near peak field magnitude, and well after saturation (C s t/l=5.0 left, and C s t/l=8.0 right). ε mag 0.02 0.01 (d ε/dt) remap 0.000-0.001 0 5 10 0 5 10 t t Fig. 4 Time histories from calculation presented in Fig. 3 of magnetic field energy and rate of change of magnetic field energy from remap: using second order Van Leer limited remap (solid line), and from calculation using first order remap (dashed line). Time is normalized to τ 0 R 0 /C s and energy to ε 0 ρ 0 C 2 s L 2 0. 6