View on GitHub

FOCUS

Flexible Optimized Coils Using Space curves

Output files

Once calling the subroutuine saving, present calculating results will be saved to local files. The frequency of writing outputs is controlled by the variable save_freq. The basic output file is written in hdf5 format.

If you want to view other output files, please turn on the flags in the namelist.

Intermediate coil data (XYZ points in space) are stored in binary file .example.filaments.000001. So you can use them to plot coil evolution movie. (Better way is to use the data in hdf5 file.)

Various post-processing options are available and they are controlled by case_postproc. Here is a list of available functions.

post_proc actions
0 None
1 Basic post-processing
2 Basic post-processing + SPEC input preparation
3 Basic post-processing + Poincare plots
4 Basic post-processing + Poincare plots + Boozer spectrum calculation
5 Basic post-processing + Write MGRID file

 

Plotting

There are several tools for processing the data. If you need to use one of them, please contact the author(s).