D. McCune 1 Plasma State Representation XPLASMA – Tool for Representation of Equilibrium, Fields and Profiles Available at:

Slides:



Advertisements
Similar presentations
Where are we in Integrated modeling? S. Jardin Mature 1½ D evolution code packages exist with reduced modules for most processes –Japan: BPSI: (TASK, TOPICS)
Advertisements

November 3-5, 2003Feedback Workshop, Austin NORMAL MODE APPROACH TO MODELING OF FEEDBACK STABILIZATION OF THE RESISTIVE WALL MODE By M.S. Chu(GA), M.S.
Fitting transport models to 14MeV neutron camera data D C McDonald, K D Zastrow and I Voitsekhovitch.
Korean Modeling Effort : C2 Code J.M. Park NFRC/ORNL In collaboration with Sun Hee Kim, Ki Min Kim, Hyun-Sun Han, Sang Hee Hong Seoul National University.
Lecture 3 Jack Tanabe Old Dominion University Hampton, VA January 2011 Conformal Mapping.
Physics of fusion power Lecture 11: Diagnostics / heating.
Neutron Wall Loading Profile Using CAD/MCNP Interface and (progress report) Mengkuo Wang ARIES Meeting June 16-17, 2004 University of Wisconsin - Madison.
Physics of fusion power
Installing and Running CISM _ DX and Overview of OpenDX The CISM Knowledge Transfer Short Course AFWA Omaha, November 2-3, 2005 Bob Weigel The CISM Knowledge.
Physics of fusion power Lecture 8 : The tokamak continued.
GTC Status: Physics Capabilities & Recent Applications Y. Xiao for GTC team UC Irvine.
10/04/ D Source, Neutron Wall Loading & Radiative Heating for ARIES-CS Paul Wilson Brian Kiedrowski Laila El-Guebaly.
Identifying Interplanetary Shock Parameters in Heliospheric MHD Simulation Results S. A. Ledvina 1, D. Odstrcil 2 and J. G. Luhmann 1 1.Space Sciences.
Examples of using Langevin equation to solve FP equation.
Physics of fusion power Lecture 10 : Running a discharge / diagnostics.
Presented by High-Performance Computing in Magnetic Fusion Energy Research Donald B. Batchelor RF Theory Plasma Theory Group Fusion Energy Division.
Massively Parallel Magnetohydrodynamics on the Cray XT3 Joshua Breslau and Jin Chen Princeton Plasma Physics Laboratory Cray XT3 Technical Workshop Nashville,
The SWIM Fast MHD Campaign Presented by S. C. Jardin Princeton Plasma Physics Laboratory P.O. Box 451 Princeton, NJ Simulation of Wave Interaction.
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.
Study of transport simulation on RF heated and current driven EAST plasma Siye Ding Under instruction of Prof. Baonian Wan 12/09/2009.
6 th Japan-Korea Workshop on Theory and Simulation of Magnetic Fusion Plasmas Hyunsun Han, G. Park, Sumin Yi, and J.Y. Kim 3D MHD SIMULATIONS.
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.
Development of ORBIT Data Generation and Exploration Routines G. Shelburne K. Indireshkumar E. Feibush.
Database structure for the European Integrated Tokamak Modelling Task Force F. Imbeaux On behalf of the Data Coordination Project.
Introduction to the Particle In Cell Scheme for Gyrokinetic Plasma Simulation in Tokamak a Korea National Fusion Research Institute b Courant Institute,
Physics of fusion power Lecture 10: tokamak – continued.
D. A. Gates, R. B. White NSTX Physics Meeting 1/19/03
The european ITM Task Force data structure F. Imbeaux.
PTRANSP Predictive TRANSP Code Plans and Progress Presented by Glenn Bateman Lehigh University On behalf of the PTRANSP collaboration involving: General.
TRANSP Needs for Physics Modules R. J. Hawryluk TRANSP Users Group Meeting March 24, 2015.
OPERATIONAL SCENARIO of KTM Dokuka V.N., Khayrutdinov R.R. TRINITI, Russia O u t l i n e Goal of the work The DINA code capabilities Formulation of the.
RF simulation at ASIPP Bojiang DING Institute of Plasma Physics, Chinese Academy of Sciences Workshop on ITER Simulation, Beijing, May 15-19, 2006 ASIPP.
14 Oct. 2009, S. Masuzaki 1/18 Edge Heat Transport in the Helical Divertor Configuration in LHD S. Masuzaki, M. Kobayashi, T. Murase, T. Morisaki, N. Ohyabu,
Sept. 19, 2007D. McCune1 TRANSP and PTRANSP: Status and Plans Presented at JET/MAST TRANSP Users’ Meeting, Sept. 19, 2007.
OPERATIONAL SCENARIO of KTM Dokuka V.N., Khayrutdinov R.R. TRINITI, Russia O u t l i n e Goal of the work The DINA code capabilities Formulation of the.
M. Onofri, F. Malara, P. Veltri Compressible magnetohydrodynamics simulations of the RFP with anisotropic thermal conductivity Dipartimento di Fisica,
Hybrid MHD-Gyrokinetic Simulations for Fusion Reseach G. Vlad, S. Briguglio, G. Fogaccia Associazione EURATOM-ENEA, Frascati, (Rome) Italy Introduction.
Discharge initiation and plasma column formation in aspect ratio A=2 tokamak. R.R. Khayrutdinov 1 E.A. Azizov 1, A.D. Barkalov 1, G.G.Gladush 1, I.L.Tajibaeva.
D. McCune 1 PTRANSP Predictive Upgrades for TRANSP.
Plasma State Component. Software Status Current Version: 1.001; no recent updates. Implemented as 3 libraries layered over the NTCC library set: xplasma,
Comprehensive ITER Approach to Burn L. P. Ku, S. Jardin, C. Kessel, D. McCune Princeton Plasma Physics Laboratory SWIM Project Meeting Oct , 2007.
Ship Computer Aided Design Displacement and Weight.
Work with TSC Yong Guo. Introduction Non-inductive current for NSTX TSC model for EAST Simulation for EAST experiment Voltage second consumption for different.
Midwest Accelerator Physics Meeting. Indiana University, March 15-19, ORBIT Electron Cloud Model Andrei Shishlo, Yoichi Sato, Slava Danilov, Jeff.
Parallel coupling: problems arising in the context of magnetic fusion John R. Cary Professor, University of Colorado CEO, Tech-X Corporation.
Mochalskyy Serhiy NI modeling workshop, Chiba, Japan, 2013 Recent state and progress in negative ion modeling by means ONIX code Mochalskyy Serhiy 1, Dirk.
Jim Conboy / DPGTF-H 20-May Toric at JET – Status & Tools Work in Progress – See for latest.
Discussion Slides S.E. Kruger, J.D. Callen, J. Carlson, C.C. Hegna, E.D. Held, T. Jenkins, J. Ramos, D.D. Schnack, C.R. Sovinec, D.A. Spong ORNL SWIM Meet.
1 Rocket Science using Charm++ at CSAR Orion Sky Lawlor 2003/10/21.
NSTX Team Meeting - Physics Analysis September 25, 2003 C.K. Phillips and S. Kaye.
Presented by High Performance Computing in Magnetic Fusion Energy Research Donald B. Batchelor RF Theory Plasma Theory Group Fusion Energy Division.
C OMPUTATIONAL R ESEARCH D IVISION 1 Defining Software Requirements for Scientific Computing Phillip Colella Applied Numerical Algorithms Group Lawrence.
From local to global : ray tracing with grid spacing h.
Integrated Plasma Simulations C. E. Kessel Princeton Plasma Physics Laboratory Workshop Toward an Integrated Plasma Simulation Oak Ridge, TN November 7-9,
Presented by Yuji NAKAMURA at US-Japan JIFT Workshop “Theory-Based Modeling and Integrated Simulation of Burning Plasmas” and 21COE Workshop “Plasma Theory”
Neutral beam ion loss measurement and modeling for NSTX D. S. Darrow Princeton Plasma Physics Laboratory American Physical Society, Division of Plasma.
NSTX-U Waves & Energetic Particles Theory/Experiment Joint Research Topics Supported by Gary Taylor Mario Podestà Nikolai Gorelenkov NSTX-U NSTX-U Theory.
Hard X-rays from Superthermal Electrons in the HSX Stellarator Preliminary Examination for Ali E. Abdou Student at the Department of Engineering Physics.
NIMROD Simulations of a DIII-D Plasma Disruption S. Kruger, D. Schnack (SAIC) April 27, 2004 Sherwood Fusion Theory Meeting, Missoula, MT.
Fast Ion Transport Options in TRANSP Presented at Energetic Particle SFG Meeting, PPPL June – D. McCune.
Unstructured Meshing Tools for Fusion Plasma Simulations
Numerical Simulations of Solar Magneto-Convection
Chamber Dynamic Response Modeling
Paul P.H. Wilson UW-Madison Fusion Technology Institute
Stellarator Divertor Design and Optimization with NCSX Examples
Finite difference code for 3D edge modelling
E3D: status report and application to DIII-D
D. S. Darrow Princeton Plasma Physics Laboratory
XGC simulation of CMOD edge plasmas
14/09/2010 IMP5 CPOs T. Johnson.
Presentation transcript:

D. McCune 1 Plasma State Representation XPLASMA – Tool for Representation of Equilibrium, Fields and Profiles Available at:

D. McCune 2 Definition of Plasma State A plasma geometry and field configuration represented over “standard” coordinates A collection of profiles (such as plasma temperatures and densities) defined over the same coordinates. XPLASMA is a tool for gathering and sharing such a collection of data. XPLASMA created for purpose of inter- module communication in NTCC project.

D. McCune 3 Mathematical Description Grid variables: x – normalized radial magnetic flux coordinate (sqrt(phi/philim)) 0 at magnetic axis, 1 at plasma boundary. theta – poloidal angle coordinate. phi – toroidal angle coordinate. R – major radius coordinate. Z – vertical coordinate. R Z phi x theta Sets of Labeled Profile Objects: F: {f_i(x); fname(i), i = 1 to Nf } G: {g_i(x,theta); gname(i), I = 1 to Ng } H: {h_i(R,Z); hname(i), I = 1 to Nh } Sets of profiles vs. (R,phi,Z) and (x,phi,theta) could also be defined. Lookup map M:name => integer – tool for finding named profiles. RED means not yet in XPLASMA [Rmin,Rmax] x [Zmin,Zmax] Rectangle encloses plasma.

D. McCune 4 Math Description (2). A Profile Object consists of: Gridded data covering a prescribed range AND An interpolation method (see NTCC PSPLINE module): C0 – piecewise linear; C1 – Hermite spline with boundary conditions. C2 – Cubic spline with boundary conditions. Grids are strict ascending sequences covering a prescribed range: x grids from 0 to 1 theta grids from –pi to pi (or other domain of width 2*pi). R grids from Rmin to Rmax Z grids from Zmin to Zmax There can be multiple grids for each grid variable (x,theta,R,Z,phi); all must cover the same range. Adaptive or Unstructured Grids (Meshes) could be defined. RED means not yet in XPLASMA

D. McCune 5 Math Description (3) Axisymmetric MHD equilibrium, “direct” representation: B_phi = [sign]*g(x)/R – toroidal magnetic field. [B_R,B_Z] = [sign]*grad(Psi(R,Z))/R – poloidal magnetic field. Psi(R,Z) profile and g(x) are given; Psi(x) is given only to locate the boundary Psi(1). Axisymmetric MHD equilibrium, “inverse” representation: B_phi = [sign]*g(x)/R – toroidal magnetic field. {R(x,theta),Z(x,theta)} (bicubic splines) describe flux surface locations. [B_R,B_Z] = [sign]*grad(Psi(x))/R – poloidal magnetic field. g(x), R(x,theta), Z(x,theta), Psi(x) are given. A direct MHD equilibrium representation defines an inverse representation via interpolation. Extrapolation can “extend” an inverse representation to cover an [R,Z] region (mimic a direct equilibrium) but the extrapolation is unstable! Non-axisymmetric equilibria exist.

D. McCune 6 Odds and Ends (XPLASMA) MKS units; sign conventions for fields– –d[Psi]/dx > 0, g(x) > 0; nsnccwb = 1 if B_phi is “counter-clockwise” (ccw) looking down from above; nsnccwj = 1 if J_phi is ccw from above. A closed sequence {(R[j],Z[j])} defines a “vacuum vessel wall / limiter structure”. A “list object” is available: –Define sets of related profiles. –Provide additional labeling. –Define other data like plasma species lists.

D. McCune 7 Essential Interfaces Define grids, profiles, equilibria. Load equilibria from common tokamak experimental data sources: –EFIT (file or MDS+) (equilibrium only): call eqm_fromgeqdsk(,options…) –TRANSP (file or MDS+) (equilibrium and profiles): TRXPLIB NTCC module. Load odds and ends…

D. McCune 8 Essential Interfaces Coordinate mappings (x,theta)  (R,Z). Interpolate magnetic field values. Locate profiles; interpolate profile values. Geometrical information: –Distance (R,Z) to plasma flux surface. –Distance (R,Z) to limiter or vacuum vessel. –Flux surface averages; surface areas, volumes enclosed in flux surfaces.

D. McCune 9 Additional Interfaces XPLASMA supports an “irregular” (x,theta) mesh for NUBEAM outputs: –Neutron emissivity profiles Sn(x,theta). –Neutral sources and sink rate profiles. –Fast ion distribution functions f(x,theta,E,vpll/v). Number of theta “bins” varies radially; increases linearly with x. Other specialized structures could easily be added to XPLASMA.

D. McCune 10 Use of XPLASMA XPLASMA: Equilibrium Profiles Integrated Plasma Simulator RF or Neutral Beams Module Notice that: Each code sends data on its own grids. Each code receives data on its own grids.

D. McCune 11 XPLASMA for Intermodule Communication – Example. XPLASMA is an NTCC* tool for communication of axisymmetric MHD equilibria and profiles portably and conveniently between modules. It supports numerous mapping and interpolation methods. Example: accurate, conservative rebinning of heating profiles (as shown). Planned for use in Fusion Simulation Project. * Beam electron heating (small # of MC ptcls) Total power is conserved. Integrated power: original and as interpolated. Power density: original and as interpolated. (difference is negligible)

D. McCune 12 Distributed Computing Entire XPLASMA contents can be saved or reloaded to/from NetCDF: –Call eq_save(, ) –Call eq_restore(, ) So far these files are reasonably small: –<~ 100MB –Read/write times ~ 1 second or less. Usable for process-to-process data transfer.

D. McCune 13 MPI-Parallel Module Server Serial TRANSP Run (Client #1) Serial TRANSP Run (Client #2) Serial TRANSP Run (Client #N) Serial TRANSP Run (Client #3) … Input File* Package, e.g. XPLASMA** NetCDF state. Output File* Package, e.g. XPLASMA** NetCDF state. Server Queue MPI-Parallel TRANSP Module Server(s): NUBEAM monte carlo TORIC5 full wave GenRAY ray tracing CQL3D fokker planck GCNM transp. solver... … … **NTCC container module for equilibrium, profiles, distribution functions, etc. ( to be used for Fusion Simulation Project prototype and tested in TRANSP deployment. *viability of method depends on keeping files small. network

D. McCune 14 Assessment XPLASMA was developed for intermodule communication in the NTCC project. Fusion Simulation Project use is feasible. But: –This is essentially a data model for the project. –“Old fasioned” f77-style interface; mixed language compatible but not modern. –The physics content is quite small. –I would like to get Computer Science help!