_BOUT++¶
Contacts: Orso Meneghini, Theresa Wilks, Cody Moynihan
Short Description¶
Run the BOUT++ code
Long Description¶
This module prepares the input, runs, and postprocesses the output of the BOUT++ code.
Typical workflows¶
The BOUT++ module handles building of the BOUT++ user model, execution, data fetching and post-processing
The input files of BOUT++ need to be set
the script .cxx root[‘INPUTS’][‘CXX’] as OMFITascii
the option file BOUT.inp root[‘INPUTS’][‘INP’] as OMFITini
the NetCDF grid file .nc (optional) root[‘INPUTS’][‘GRID’] as OMFITnc
the NetCDF restarting files BOUT.restart.*.nc (optional) [‘RESTART’][‘data/BOUT.restart.*.nc’] as OMFITnc
Running BOUT++
The run of BOUT++ can be made by the execution of root[‘SCRIPTS’][‘runBOUT++’].
If a sweep over mode numbers is preferred, execution of root[‘SCRIPTS’][‘batchrun’] is useful.
The output can be pre-visualized in the console of OMFIT.
The run of BOUT++ can be aborted, continuing the script root[‘SCRIPTS’][‘runBOUT++’] or completely killed.
When the run of BOUT++ is done, the output files are saved into
root[‘OUTPUTS’][‘LOG’] a OMFITascii type for the BOUT.log.* files
root[‘OUTPUTS’][‘DATA’] a single merged OMFITnc type for the BOUT.dmp.*.nc data files This file is obtained by merging the output data files BOUT.dmp.*.nc by the script root[‘SCRIPTS’][‘fetchBOUT++’]
root[‘OUTPUTS’][‘RESTART’] a OMFITnc type for the last time step needed for restarting the BOUT++ run
Post-running / Analysis
Saving of data to
root['Saves']
can be achieved through the GUIroot['GUIS']['SAVE']
.Data visualization is available via the GUIs
root['GUIS']['BOUT++_Analysis']
androot['GUIS']['BOUT++_ScanAnalysis']
.The GUI
root['GUIS']['BOUT++_Analysis']
allows the following for a single runPlot of the linear log growth rate
Plot of 1D mode structure vs. Psi
Plot of 2D mode structure
The GUI
root['GUIS']['BOUT++_ScanAnalysis']
allows the following for multiple runsPlot the 1D mode structure for each run on the same figure
Plot the growth rate vs. n for multiple trends
Supported devices¶
Device independent
Relevant publications¶
B D Dudson, M. V. Umansky, X. Q. Xu, P. B. Snyder, H. R. Wilson: BOUT++: a framework for parallel plasma fluid simulations. Computer Physics Communications 180 (2009), pp. 1467-1480 doi:10.1016/j.cpc.2009.03.008
External resources¶
Official webpage: https://boutproject.github.io/
Contributors¶
List of contributors sorted by number of lines authored:
630 Cody Moynihan
280 Orso Meneghini
93 Sterling Smith
90 Fusion Bot
69 Galina Avdeeva
57 Theresa Wilks
37 Olivier Izacard
1 Will DeShazer
1 Torrin Bechtel