fiqus 2025.1.1__tar.gz → 2025.10.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (95) hide show
  1. {fiqus-2025.1.1 → fiqus-2025.10.0}/PKG-INFO +70 -5
  2. {fiqus-2025.1.1 → fiqus-2025.10.0}/README.md +4 -3
  3. {fiqus-2025.1.1 → fiqus-2025.10.0}/fiqus/MainFiQuS.py +4 -9
  4. {fiqus-2025.1.1 → fiqus-2025.10.0}/fiqus/data/DataConductor.py +350 -301
  5. fiqus-2025.10.0/fiqus/data/DataFiQuS.py +154 -0
  6. {fiqus-2025.1.1 → fiqus-2025.10.0}/fiqus/data/DataFiQuSCCT.py +150 -150
  7. {fiqus-2025.1.1 → fiqus-2025.10.0}/fiqus/data/DataFiQuSConductor.py +97 -84
  8. {fiqus-2025.1.1 → fiqus-2025.10.0}/fiqus/data/DataFiQuSConductorAC_Strand.py +701 -565
  9. fiqus-2025.10.0/fiqus/data/DataModelCommon.py +439 -0
  10. {fiqus-2025.1.1 → fiqus-2025.10.0}/fiqus/data/DataMultipole.py +0 -13
  11. {fiqus-2025.1.1 → fiqus-2025.10.0}/fiqus/data/DataRoxieParser.py +7 -0
  12. {fiqus-2025.1.1 → fiqus-2025.10.0}/fiqus/data/DataWindingsCCT.py +37 -37
  13. {fiqus-2025.1.1 → fiqus-2025.10.0}/fiqus/data/RegionsModelFiQuS.py +61 -104
  14. {fiqus-2025.1.1 → fiqus-2025.10.0}/fiqus/geom_generators/GeometryCCT.py +904 -905
  15. {fiqus-2025.1.1 → fiqus-2025.10.0}/fiqus/geom_generators/GeometryConductorAC_Strand.py +1863 -1391
  16. {fiqus-2025.1.1 → fiqus-2025.10.0}/fiqus/geom_generators/GeometryMultipole.py +5 -4
  17. {fiqus-2025.1.1 → fiqus-2025.10.0}/fiqus/geom_generators/GeometryPancake3D.py +1 -1
  18. {fiqus-2025.1.1 → fiqus-2025.10.0}/fiqus/getdp_runners/RunGetdpCCT.py +13 -4
  19. fiqus-2025.10.0/fiqus/getdp_runners/RunGetdpConductorAC_Strand.py +342 -0
  20. {fiqus-2025.1.1 → fiqus-2025.10.0}/fiqus/getdp_runners/RunGetdpPancake3D.py +2 -2
  21. {fiqus-2025.1.1 → fiqus-2025.10.0}/fiqus/mains/MainConductorAC_Strand.py +141 -133
  22. {fiqus-2025.1.1 → fiqus-2025.10.0}/fiqus/mains/MainMultipole.py +6 -5
  23. {fiqus-2025.1.1 → fiqus-2025.10.0}/fiqus/mains/MainPancake3D.py +3 -4
  24. {fiqus-2025.1.1 → fiqus-2025.10.0}/fiqus/mesh_generators/MeshCCT.py +209 -209
  25. {fiqus-2025.1.1 → fiqus-2025.10.0}/fiqus/mesh_generators/MeshConductorAC_Strand.py +709 -656
  26. {fiqus-2025.1.1 → fiqus-2025.10.0}/fiqus/mesh_generators/MeshMultipole.py +43 -46
  27. {fiqus-2025.1.1 → fiqus-2025.10.0}/fiqus/mesh_generators/MeshPancake3D.py +7 -4
  28. {fiqus-2025.1.1 → fiqus-2025.10.0}/fiqus/parsers/ParserDAT.py +16 -16
  29. {fiqus-2025.1.1 → fiqus-2025.10.0}/fiqus/parsers/ParserGetDPOnSection.py +212 -212
  30. {fiqus-2025.1.1 → fiqus-2025.10.0}/fiqus/parsers/ParserGetDPTimeTable.py +134 -134
  31. {fiqus-2025.1.1 → fiqus-2025.10.0}/fiqus/parsers/ParserMSH.py +53 -53
  32. {fiqus-2025.1.1 → fiqus-2025.10.0}/fiqus/parsers/ParserPOS.py +214 -214
  33. {fiqus-2025.1.1 → fiqus-2025.10.0}/fiqus/parsers/ParserRES.py +142 -142
  34. {fiqus-2025.1.1 → fiqus-2025.10.0}/fiqus/plotters/PlotPythonCCT.py +133 -133
  35. fiqus-2025.10.0/fiqus/plotters/PlotPythonConductorAC.py +1079 -0
  36. {fiqus-2025.1.1 → fiqus-2025.10.0}/fiqus/plotters/PlotPythonMultipole.py +18 -18
  37. {fiqus-2025.1.1 → fiqus-2025.10.0}/fiqus/post_processors/PostProcessCCT.py +444 -440
  38. fiqus-2025.10.0/fiqus/post_processors/PostProcessConductorAC.py +997 -0
  39. {fiqus-2025.1.1 → fiqus-2025.10.0}/fiqus/post_processors/PostProcessMultipole.py +19 -19
  40. {fiqus-2025.1.1 → fiqus-2025.10.0}/fiqus/pre_processors/PreProcessCCT.py +175 -175
  41. {fiqus-2025.1.1 → fiqus-2025.10.0}/fiqus/pro_material_functions/ironBHcurves.pro +246 -246
  42. {fiqus-2025.1.1 → fiqus-2025.10.0}/fiqus/pro_templates/combined/CCT_template.pro +275 -274
  43. {fiqus-2025.1.1 → fiqus-2025.10.0}/fiqus/pro_templates/combined/ConductorAC_template.pro +1474 -1025
  44. {fiqus-2025.1.1 → fiqus-2025.10.0}/fiqus/pro_templates/combined/Multipole_template.pro +22 -14
  45. {fiqus-2025.1.1 → fiqus-2025.10.0}/fiqus/pro_templates/combined/Pancake3D_template.pro +128 -24
  46. {fiqus-2025.1.1 → fiqus-2025.10.0}/fiqus/utils/Utils.py +12 -7
  47. {fiqus-2025.1.1 → fiqus-2025.10.0}/fiqus.egg-info/PKG-INFO +70 -5
  48. {fiqus-2025.1.1 → fiqus-2025.10.0}/fiqus.egg-info/SOURCES.txt +1 -0
  49. {fiqus-2025.1.1 → fiqus-2025.10.0}/fiqus.egg-info/requires.txt +2 -0
  50. {fiqus-2025.1.1 → fiqus-2025.10.0}/setup.py +2 -1
  51. {fiqus-2025.1.1 → fiqus-2025.10.0}/tests/test_geometry_generators.py +4 -0
  52. {fiqus-2025.1.1 → fiqus-2025.10.0}/tests/test_mesh_generators.py +5 -0
  53. {fiqus-2025.1.1 → fiqus-2025.10.0}/tests/test_solvers.py +41 -4
  54. {fiqus-2025.1.1 → fiqus-2025.10.0}/tests/utils/fiqus_test_classes.py +15 -6
  55. {fiqus-2025.1.1 → fiqus-2025.10.0}/tests/utils/generate_reference_files_ConductorAC.py +57 -57
  56. {fiqus-2025.1.1 → fiqus-2025.10.0}/tests/utils/helpers.py +97 -97
  57. fiqus-2025.1.1/fiqus/data/DataFiQuS.py +0 -227
  58. fiqus-2025.1.1/fiqus/getdp_runners/RunGetdpConductorAC_Strand.py +0 -202
  59. fiqus-2025.1.1/fiqus/plotters/PlotPythonConductorAC.py +0 -855
  60. fiqus-2025.1.1/fiqus/post_processors/PostProcessConductorAC.py +0 -49
  61. {fiqus-2025.1.1 → fiqus-2025.10.0}/LICENSE.txt +0 -0
  62. {fiqus-2025.1.1 → fiqus-2025.10.0}/fiqus/__init__.py +0 -0
  63. {fiqus-2025.1.1 → fiqus-2025.10.0}/fiqus/data/DataFiQuSMultipole.py +0 -0
  64. {fiqus-2025.1.1 → fiqus-2025.10.0}/fiqus/data/DataFiQuSPancake3D.py +0 -0
  65. {fiqus-2025.1.1 → fiqus-2025.10.0}/fiqus/data/DataSettings.py +0 -0
  66. {fiqus-2025.1.1 → fiqus-2025.10.0}/fiqus/data/__init__.py +0 -0
  67. {fiqus-2025.1.1 → fiqus-2025.10.0}/fiqus/geom_generators/GeometryPancake3DUtils.py +0 -0
  68. {fiqus-2025.1.1 → fiqus-2025.10.0}/fiqus/geom_generators/__init__.py +0 -0
  69. {fiqus-2025.1.1 → fiqus-2025.10.0}/fiqus/getdp_runners/RunGetdpMultipole.py +0 -0
  70. {fiqus-2025.1.1 → fiqus-2025.10.0}/fiqus/getdp_runners/__init__.py +0 -0
  71. {fiqus-2025.1.1 → fiqus-2025.10.0}/fiqus/mains/MainCCT.py +0 -0
  72. {fiqus-2025.1.1 → fiqus-2025.10.0}/fiqus/mains/__init__.py +0 -0
  73. {fiqus-2025.1.1 → fiqus-2025.10.0}/fiqus/mesh_generators/__init__.py +0 -0
  74. {fiqus-2025.1.1 → fiqus-2025.10.0}/fiqus/parsers/ParserCOND.py +0 -0
  75. {fiqus-2025.1.1 → fiqus-2025.10.0}/fiqus/parsers/__init__.py +0 -0
  76. {fiqus-2025.1.1 → fiqus-2025.10.0}/fiqus/plotters/__init__.py +0 -0
  77. {fiqus-2025.1.1 → fiqus-2025.10.0}/fiqus/post_processors/PostProcessPancake3D.py +0 -0
  78. {fiqus-2025.1.1 → fiqus-2025.10.0}/fiqus/post_processors/__init__.py +0 -0
  79. {fiqus-2025.1.1 → fiqus-2025.10.0}/fiqus/pre_processors/__init__.py +0 -0
  80. {fiqus-2025.1.1 → fiqus-2025.10.0}/fiqus/pro_assemblers/ProAssembler.py +0 -0
  81. {fiqus-2025.1.1 → fiqus-2025.10.0}/fiqus/pro_assemblers/__init__.py +0 -0
  82. {fiqus-2025.1.1 → fiqus-2025.10.0}/fiqus/pro_templates/__init__.py +0 -0
  83. {fiqus-2025.1.1 → fiqus-2025.10.0}/fiqus/pro_templates/combined/TSA_materials.pro +0 -0
  84. {fiqus-2025.1.1 → fiqus-2025.10.0}/fiqus/pro_templates/combined/__init__.py +0 -0
  85. {fiqus-2025.1.1 → fiqus-2025.10.0}/fiqus/pro_templates/combined/materials.pro +0 -0
  86. {fiqus-2025.1.1 → fiqus-2025.10.0}/fiqus/pro_templates/separated/__init__.py +0 -0
  87. {fiqus-2025.1.1 → fiqus-2025.10.0}/fiqus/utils/__init__.py +0 -0
  88. {fiqus-2025.1.1 → fiqus-2025.10.0}/fiqus/utils/update_data_settings.py +0 -0
  89. {fiqus-2025.1.1 → fiqus-2025.10.0}/fiqus.egg-info/dependency_links.txt +0 -0
  90. {fiqus-2025.1.1 → fiqus-2025.10.0}/fiqus.egg-info/top_level.txt +0 -0
  91. {fiqus-2025.1.1 → fiqus-2025.10.0}/setup.cfg +0 -0
  92. {fiqus-2025.1.1 → fiqus-2025.10.0}/tests/__init__.py +0 -0
  93. {fiqus-2025.1.1 → fiqus-2025.10.0}/tests/test_FiQuS.py +0 -0
  94. {fiqus-2025.1.1 → fiqus-2025.10.0}/tests/utils/__init__.py +0 -0
  95. {fiqus-2025.1.1 → fiqus-2025.10.0}/tests/utils/generate_reference_files_Pancake3D.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: fiqus
3
- Version: 2025.1.1
3
+ Version: 2025.10.0
4
4
  Summary: Source code for STEAM FiQuS tool
5
5
  Home-page: https://gitlab.cern.ch/steam/fiqus
6
6
  Author: STEAM Team
@@ -9,11 +9,75 @@ Keywords: STEAM,FiQuS,CERN
9
9
  Classifier: Programming Language :: Python :: 3.11
10
10
  Requires-Python: >=3.11
11
11
  Description-Content-Type: text/markdown
12
+ License-File: LICENSE.txt
13
+ Requires-Dist: gmsh==4.13.1
14
+ Requires-Dist: h5py==3.10.0
15
+ Requires-Dist: Jinja2==3.1.3
16
+ Requires-Dist: matplotlib==3.8.3
17
+ Requires-Dist: mplcursors==0.5.3
18
+ Requires-Dist: numpy==1.26.4
19
+ Requires-Dist: pandas==2.2.1
20
+ Requires-Dist: pydantic==2.6.4
21
+ Requires-Dist: ruamel.yaml==0.18.6
22
+ Requires-Dist: ruamel.yaml.clib==0.2.8
23
+ Requires-Dist: scipy==1.14.1
24
+ Requires-Dist: tqdm==4.66.2
25
+ Requires-Dist: typing_extensions==4.10.0
12
26
  Provides-Extra: all
27
+ Requires-Dist: gmsh==4.13.1; extra == "all"
28
+ Requires-Dist: h5py==3.10.0; extra == "all"
29
+ Requires-Dist: Jinja2==3.1.3; extra == "all"
30
+ Requires-Dist: matplotlib==3.8.3; extra == "all"
31
+ Requires-Dist: mplcursors==0.5.3; extra == "all"
32
+ Requires-Dist: numpy==1.26.4; extra == "all"
33
+ Requires-Dist: pandas==2.2.1; extra == "all"
34
+ Requires-Dist: pydantic==2.6.4; extra == "all"
35
+ Requires-Dist: ruamel.yaml==0.18.6; extra == "all"
36
+ Requires-Dist: ruamel.yaml.clib==0.2.8; extra == "all"
37
+ Requires-Dist: scipy==1.14.1; extra == "all"
38
+ Requires-Dist: tqdm==4.66.2; extra == "all"
39
+ Requires-Dist: typing_extensions==4.10.0; extra == "all"
40
+ Requires-Dist: griffe==0.42.0; extra == "all"
41
+ Requires-Dist: markdown==3.5.2; extra == "all"
42
+ Requires-Dist: markdown-include==0.8.1; extra == "all"
43
+ Requires-Dist: mkdocs-git-revision-date-localized-plugin==1.2.4; extra == "all"
44
+ Requires-Dist: mkdocs-include-markdown-plugin==6.0.4; extra == "all"
45
+ Requires-Dist: mkdocs-material==9.5.13; extra == "all"
46
+ Requires-Dist: mkdocstrings-python==1.9.0; extra == "all"
47
+ Requires-Dist: mkdocs-autorefs==1.3.1; extra == "all"
48
+ Requires-Dist: coverage==7.4.4; extra == "all"
49
+ Requires-Dist: coverage-badge==1.1.0; extra == "all"
50
+ Requires-Dist: flake8==7.0.0; extra == "all"
51
+ Requires-Dist: mypy==1.9.0; extra == "all"
52
+ Requires-Dist: pylint==3.1.0; extra == "all"
53
+ Requires-Dist: pytest==8.1.1; extra == "all"
54
+ Requires-Dist: pytest-cov==4.1.0; extra == "all"
55
+ Requires-Dist: pytest-subtests==0.12.1; extra == "all"
56
+ Requires-Dist: setuptools==69.2.0; extra == "all"
57
+ Requires-Dist: wheel==0.45.1; extra == "all"
58
+ Requires-Dist: twine==6.0.1; extra == "all"
13
59
  Provides-Extra: docs
60
+ Requires-Dist: griffe==0.42.0; extra == "docs"
61
+ Requires-Dist: markdown==3.5.2; extra == "docs"
62
+ Requires-Dist: markdown-include==0.8.1; extra == "docs"
63
+ Requires-Dist: mkdocs-git-revision-date-localized-plugin==1.2.4; extra == "docs"
64
+ Requires-Dist: mkdocs-include-markdown-plugin==6.0.4; extra == "docs"
65
+ Requires-Dist: mkdocs-material==9.5.13; extra == "docs"
66
+ Requires-Dist: mkdocstrings-python==1.9.0; extra == "docs"
67
+ Requires-Dist: mkdocs-autorefs==1.3.1; extra == "docs"
14
68
  Provides-Extra: tests
69
+ Requires-Dist: coverage==7.4.4; extra == "tests"
70
+ Requires-Dist: coverage-badge==1.1.0; extra == "tests"
71
+ Requires-Dist: flake8==7.0.0; extra == "tests"
72
+ Requires-Dist: mypy==1.9.0; extra == "tests"
73
+ Requires-Dist: pylint==3.1.0; extra == "tests"
74
+ Requires-Dist: pytest==8.1.1; extra == "tests"
75
+ Requires-Dist: pytest-cov==4.1.0; extra == "tests"
76
+ Requires-Dist: pytest-subtests==0.12.1; extra == "tests"
15
77
  Provides-Extra: build
16
- License-File: LICENSE.txt
78
+ Requires-Dist: setuptools==69.2.0; extra == "build"
79
+ Requires-Dist: wheel==0.45.1; extra == "build"
80
+ Requires-Dist: twine==6.0.1; extra == "build"
17
81
 
18
82
  ![FiQuS logo](https://gitlab.cern.ch/steam/fiqus/-/raw/master/docs/images/FiQuS_name_logo.svg)
19
83
 
@@ -24,13 +88,14 @@ Source code for STEAM **FiQuS** (**Fi**nite Element **Qu**ench **S**imulator).
24
88
 
25
89
  ## Describing FiQuS Modules
26
90
  - S. Atalay et al, "An open-source 3D FE quench simulation tool for no-insulation HTS pancake coils", in Superconductor Science and Technology, doi: [10.1088/1361-6668/ad3f83](https://doi.org/10.1088/1361-6668/ad3f83)
27
- - J. Dular et al, "Coupled Axial and Transverse Currents Method for Finite Element Modelling of Periodic Superconductors", arXiv preprint, doi:[10.48550/arXiv.2404.09775](https://doi.org/10.48550/arXiv.2404.09775).
91
+ - J. Dular et al, "Coupled Axial and Transverse Currents Method for Finite Element Modelling of Periodic Superconductors", in Superconductor Science and Technology, doi: [10.1088/1361-6668/ad650d](https://doi.org/10.1088/1361-6668/ad650d).
92
+ - E. Schnaubelt et al, "Transient Finite Element Simulation of Accelerator Magnets Using Thermal Thin Shell Approximation", arXiV preprint, doi: [10.48550/arXiv.2501.15871](https://doi.org/10.48550/arXiv.2501.15871).
28
93
  - A. Vitrano et al, "An Open-Source Finite Element Quench Simulation Tool for Superconducting Magnets," in IEEE Transactions on Applied Superconductivity, vol. 33, no. 5, pp. 1-6, Aug. 2023, Art no. 4702006, doi: [10.1109/TASC.2023.3259332](https://ieeexplore.ieee.org/abstract/document/10077402).
29
94
 
30
95
  ## Using FiQuS
31
96
 
32
- - J. Dular et al, "Simulation of Rutherford Cable AC Loss and Magnetization with the Coupled Axial and Transverse Currents Method", accepted for publication in IEEE Transactions on Applied Superconductivity, [arXiv:2411.13347](https://arxiv.org/abs/2411.13347).
33
- - M. Wozniak et al, "Influence of Critical Current Distribution on Operation, Quench Detection and Protection of HTS Pancake Coils, submitted for publication in IEEE Transactions on Applied Superconductivity, [arXiv:2411.18124](https://arxiv.org/abs/2411.18124).
97
+ - J. Dular et al, "Simulation of Rutherford Cable AC Loss and Magnetization with the Coupled Axial and Transverse Currents Method", in IEEE Transactions on Applied Superconductivity, [10.1109/TASC.2024.3520941](https://doi.org/10.1109/TASC.2024.3520941).
98
+ - M. Wozniak et al, "Influence of Critical Current Distribution on Operation, Quench Detection and Protection of HTS Pancake Coils, in IEEE Transactions on Applied Superconductivity, [10.1109/TASC.2025.3532246](https://doi.org/10.1109/TASC.2025.3532246).
34
99
  - Laura AM D’Angelo et al, "Efficient Reduced Magnetic Vector Potential Formulation for the Magnetic Field Simulation of Accelerator Magnets", in IEEE Transactions on Magnetics, vol. 60, no. 3, pp. 1-8, Jan. 2024, Art no. 7000808, doi: [10.1109/TMAG.2024.3352113](https://ieeexplore.ieee.org/abstract/document/10387412).
35
100
  - M. Wozniak et al, "Quench Co-Simulation of Canted Cos-Theta Magnets," in IEEE Transactions on Applied Superconductivity, vol. 34, no. 3, pp. 1-5, Dec. 2023, Art no. 4900105, doi: [10.1109/TASC.2023.3338142](https://ieeexplore.ieee.org/document/10337614).
36
101
  - M. Wozniak et al, "Fast Quench Propagation Conductor for Protecting Canted Cos-Theta Magnets," in IEEE Transactions on Applied Superconductivity, vol. 33, no. 5, pp. 1-5, Aug. 2023, Art no. 4701705, doi: [10.1109/TASC.2023.3247997](https://ieeexplore.ieee.org/document/10050158).
@@ -7,13 +7,14 @@ Source code for STEAM **FiQuS** (**Fi**nite Element **Qu**ench **S**imulator).
7
7
 
8
8
  ## Describing FiQuS Modules
9
9
  - S. Atalay et al, "An open-source 3D FE quench simulation tool for no-insulation HTS pancake coils", in Superconductor Science and Technology, doi: [10.1088/1361-6668/ad3f83](https://doi.org/10.1088/1361-6668/ad3f83)
10
- - J. Dular et al, "Coupled Axial and Transverse Currents Method for Finite Element Modelling of Periodic Superconductors", arXiv preprint, doi:[10.48550/arXiv.2404.09775](https://doi.org/10.48550/arXiv.2404.09775).
10
+ - J. Dular et al, "Coupled Axial and Transverse Currents Method for Finite Element Modelling of Periodic Superconductors", in Superconductor Science and Technology, doi: [10.1088/1361-6668/ad650d](https://doi.org/10.1088/1361-6668/ad650d).
11
+ - E. Schnaubelt et al, "Transient Finite Element Simulation of Accelerator Magnets Using Thermal Thin Shell Approximation", arXiV preprint, doi: [10.48550/arXiv.2501.15871](https://doi.org/10.48550/arXiv.2501.15871).
11
12
  - A. Vitrano et al, "An Open-Source Finite Element Quench Simulation Tool for Superconducting Magnets," in IEEE Transactions on Applied Superconductivity, vol. 33, no. 5, pp. 1-6, Aug. 2023, Art no. 4702006, doi: [10.1109/TASC.2023.3259332](https://ieeexplore.ieee.org/abstract/document/10077402).
12
13
 
13
14
  ## Using FiQuS
14
15
 
15
- - J. Dular et al, "Simulation of Rutherford Cable AC Loss and Magnetization with the Coupled Axial and Transverse Currents Method", accepted for publication in IEEE Transactions on Applied Superconductivity, [arXiv:2411.13347](https://arxiv.org/abs/2411.13347).
16
- - M. Wozniak et al, "Influence of Critical Current Distribution on Operation, Quench Detection and Protection of HTS Pancake Coils, submitted for publication in IEEE Transactions on Applied Superconductivity, [arXiv:2411.18124](https://arxiv.org/abs/2411.18124).
16
+ - J. Dular et al, "Simulation of Rutherford Cable AC Loss and Magnetization with the Coupled Axial and Transverse Currents Method", in IEEE Transactions on Applied Superconductivity, [10.1109/TASC.2024.3520941](https://doi.org/10.1109/TASC.2024.3520941).
17
+ - M. Wozniak et al, "Influence of Critical Current Distribution on Operation, Quench Detection and Protection of HTS Pancake Coils, in IEEE Transactions on Applied Superconductivity, [10.1109/TASC.2025.3532246](https://doi.org/10.1109/TASC.2025.3532246).
17
18
  - Laura AM D’Angelo et al, "Efficient Reduced Magnetic Vector Potential Formulation for the Magnetic Field Simulation of Accelerator Magnets", in IEEE Transactions on Magnetics, vol. 60, no. 3, pp. 1-8, Jan. 2024, Art no. 7000808, doi: [10.1109/TMAG.2024.3352113](https://ieeexplore.ieee.org/abstract/document/10387412).
18
19
  - M. Wozniak et al, "Quench Co-Simulation of Canted Cos-Theta Magnets," in IEEE Transactions on Applied Superconductivity, vol. 34, no. 3, pp. 1-5, Dec. 2023, Art no. 4900105, doi: [10.1109/TASC.2023.3338142](https://ieeexplore.ieee.org/document/10337614).
19
20
  - M. Wozniak et al, "Fast Quench Propagation Conductor for Protecting Canted Cos-Theta Magnets," in IEEE Transactions on Applied Superconductivity, vol. 33, no. 5, pp. 1-5, Aug. 2023, Art no. 4701705, doi: [10.1109/TASC.2023.3247997](https://ieeexplore.ieee.org/document/10050158).
@@ -405,15 +405,10 @@ class MainFiQuS:
405
405
  self.main_magnet.batch_post_process_python()
406
406
  os.chdir(self.start_folder)
407
407
 
408
- if self.file_name: json.dump(self.summary, open(f"{os.path.join(self.wrk_folder, self.file_name)}.json", 'w'))
409
- # mesh_par = self.fdm.magnet.mesh
410
- # if self.summary['solution_time']:
411
- # with open(r"C:\Users\avitrano\PycharmProjects\steam_sdk\tests\parsims\FiQuS_run\summary.dat", 'a') as f:
412
- # content = (f"{mesh_par.mesh_coil.SizeMin} {mesh_par.mesh_coil.SizeMax} {mesh_par.mesh_iron.SizeMin} {mesh_par.mesh_iron.SizeMax} "
413
- # f"{self.summary['solution_time']} {self.summary['overall_error']} {self.summary['overall_error'] * 0.999 + self.summary['solution_time'] * 0.001} "
414
- # f"{self.summary['SJ']} {self.summary['SICN']} {self.summary['SIGE']} {self.summary['Gamma']} "
415
- # f"{self.summary['nodes']} {self.summary['minimum_diff']} {self.summary['maximum_diff']}\n")
416
- # f.writelines(content)
408
+ if self.file_name:
409
+ file_path = os.path.join(self.wrk_folder, f"{self.file_name}.json")
410
+ with open(file_path, 'w', encoding='utf-8') as f:
411
+ json.dump(self.summary, f, indent=2)
417
412
 
418
413
  @staticmethod
419
414
  def add_to_run_log(path_to_csv, run_log_row):