Closed ThomasWangAPAM closed 3 weeks ago
Suggest to use https://github.com/freegs-plasma/FreeQDSK instead
@ThomasWangAPAM please take a look at the read_case
function:
https://github.com/cfs-energy/cfspopcon/blob/656c65e73ea035f45be788191b66c0fcbe7bcf76/cfspopcon/input_file_handling.py#L15-L17
This already allows for loading a case from a file and overriding certain parameters. Which is essentially what the eqdsk
option would do.
I'd suggest keeping the reading quantities from an eqdsk
separate from cfspopcon.
And one can use the read_case
functionality to overwrite values if one want to run from an eqdsk.
This PR has not seen any activity in the past 60 days. It is now marked as stale and will be closed in 7 days if no further activity is registered.
Input_file_handling.py
is modified to include a feature that allows cfspopcon to load several input variables from any geqdsk file. A streamlined version ofomfit_classes/OMFITeqdsk.py
is added tocfspopcon/OMFIT
, from whichInput_file_handling.py
imports theOMFITgeqdsk
class. Most of the development is done by @ThomasWangAPAM and @aarooshgr under the supervision of @nelsonand .