Miscellaneous Topics


Switching from one equilibrium mode to another

1) If you have a solution using equiltype='qsolver' and have prteqdata=.t. so that a dskeqdata file has been generated, you should be able to reproduce this equilibrium using the equiltype='ffprime' option by changing the input parameters as follows:

 equiltype='qsolver' -> equiltype='ffprime'
 modelp=2
 modelf=2
 ieqdsk=2
 maxsor=20 minsor=5 loopin=200 tolsor=1.e-8 omega=1.1 nbug=1

I have seen cases where maxsor needs to be 5 or else equil. divergeson first iteration and never recovers.
baxis0=value found from qsolver run
bavxz=0.5 may be required if equil diverges.
betafix='none' ; want to use input p profile without changes
fixcur=.f. ; want to use input p' and ff' without changes


TOQ Sample Input Files

intoq.boot
sample intoq file with equiltype='jdotb' which generates a bootstrap-aligned equilibrium.
intoq.dskeqdata
sample intoq file which requires a dskeqdata file. Equiltype='ffprime'
intoq.ffprime
sample intoq file with equiltype='ffprime'
intoq.jdotb
sample intoq file with equiltype='jdotb' and no bootstrap
intoq.qsolver
sample intoq file with equiltype='qsolver'. Must be run with runtoq.sc
runtoq.sc
script file which runs toq.x by gradually increasing mesh size and using equilibria at smaller mesh sizes for initial guesses at larger size. Most useful with equiltype='qsolver'. See intoq.qsolver.
intoq.rfp
sample intoq file for RFP-type equilibria
intoq.sheromak
sample iTOQ Sample Input Filesntoq file for spheromak-type equilibria.
intoq.start
sample intoq file for START-like plasmas.


run_toq Sample intialization files

The following files are .toqrc that run_toq uses as its initialization file. These files correspond to the intoq files above. To use, save as .toqrc in your home directory and then start run_toq

toqrc.boot
sample intoq file with equiltype='jdotb' which generates a bootstrap-aligned equilibrium.
toqrc.ffprime
sample intoq file with equiltype='ffprime'
toqrc.jdotb
sample intoq file with equiltype='jdotb' and no bootstrap
toqrc.sheromak
sample iTOQ Sample Input Filesntoq file for spheromak-type equilibria.
toqrc.start
sample intoq file for START-like plasmas.