Function adas.run_adas810

def run_adas810(adf42=None, logfile=None)

Runs the adas810 non-Maxwellian population code.

Parameters

adf42 : str
full name of ADAS adf42 driver file
logfile : str
name of log file, defaults to no output file

Returns

nothing - the output is a number of files written to disk
 

Notes

adas810 is a version of the generalized collisional-radiative (GCR) population code.

Calls a fortran executable code and communicates via a bi-directional pipe connected to stdout.

Version History

  • Martin O'Mullane, 09-05-2021
    • First version

Examples

Produce C2+ adf15, adf11 and adf40 files.

>>> import adas as adas
>>> import glob
>>> adf42='/home/adas/adas/adf42/adf42_c2.dat'
>>> adas.run_adas810(adf42=adf42)
>>> print(glob.glob("c2_adf*"))
['c2_adf11_plt.dat', 'c2_adf40_fpec.dat', 'c2_adf15_pec.dat']