pyUEDGE

Contacts: Mark Adams, Orso Meneghini

Short Description

Run the pyUEDGE code

Keywords

SOL, fluid, neutral

Long Description

UEDGE is an interactive suite of physics packages using the Python or BASIS scripting systems. The original (circa 2007) Python version was further developed under the FACETS SciDAC project [Cary 2008, McCourt 2012]. The plasma is described by time-dependent 2D plasma fluid equations that include equations for density, velocity, ion temperature, electron temperature, electrostatic potential, and gas density in the edge region of a magnetic fusion energy confinement device. slab, cylindrical, and toroidal geometries are allowed, and closed and open magnetic field-line regions are included. Classical transport is assumed along magnetic field lines, and anomalous transport is assumed across field lines. Multi-charge state impurities can be included with the corresponding line-radiation energy loss.

A fully implicit numerical algorithm is used that allows both Newton-like iterations to steady state and time-dependent solutions with large time-steps. A preconditioning matrix is obtained by approximate (ILUT) inversion of a numerical finite-difference Jacobian, which is then used in a Newton-Krylov solution algorithm. A finite-volume differencing algorithm is used. Over 95% of the coding is in Fortran with the remainder being C.

Typical workflows

  • Automatically convert old BASIS UEDGE input files to pyUEDGE format

  • Load input files

  • Run UEDGE

  • Plot results

Supported devices

  • Device independent

Relevant publications

  • T.D. Rognlien, J.L. Milovich, M.E. Rensink, and G.D. Porter, J. Nucl. Mat. 196-198 (1992) 347-351.

  • G.R. Smith, P.N. Brown, R.B. Campbell, D.A. Knoll, P.R. McHugh, M.E. Rensink, and T.D. Rognlien, J. Nucl. Mater. 220-222 (1995) 1024.

  • M.E. Rensink and T.D. Rognlien, J. Nucl. Mater. 266-269 (1999) 1180.

  • T.D. Rognlien, D.D. Ryutov, N. Mattor, and G.D. Porter, Phys. Plasmas 6, (1999) 1851.

  • T.D. Rognlien, M.E. Rensink, and G.R. Smith, “User manual for the UEDGE edge-plasma transport code,” January 2000, LLNL Rpt. UCRL-ID-137121, lastest revision May 1, 2013.

Technical info

To compile on OSX with macports:

pip install forthon mppl
git clone git@github.com:orso82/UEDGE.git
cd UEDGE
git checkout omfit_pyuedge_compiles
python setup.py build
python setup.py install

Contributors

List of contributors sorted by number of lines authored:

179 Mark Adams
151 Orso Meneghini
 14 Fusion Bot
  1 Z. Anthony Xing

Users

List of usernames sorted by number of module imports: xingz, meneghini, razor, adamar, callahank, jlchen, liyongliang, mlacquan, qiushi.li, razord, rchurchi, slendebroekt, tangt, yadavn