fiqus 2024.12.2__tar.gz → 2025.1.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 (89) hide show
  1. {fiqus-2024.12.2 → fiqus-2025.1.0}/PKG-INFO +1 -1
  2. {fiqus-2024.12.2 → fiqus-2025.1.0}/fiqus/data/DataFiQuSPancake3D.py +12 -1
  3. {fiqus-2024.12.2 → fiqus-2025.1.0}/fiqus/getdp_runners/RunGetdpPancake3D.py +2 -2
  4. {fiqus-2024.12.2 → fiqus-2025.1.0}/fiqus/pro_templates/combined/Pancake3D_template.pro +33 -6
  5. {fiqus-2024.12.2 → fiqus-2025.1.0}/fiqus.egg-info/PKG-INFO +1 -1
  6. {fiqus-2024.12.2 → fiqus-2025.1.0}/setup.py +1 -1
  7. {fiqus-2024.12.2 → fiqus-2025.1.0}/README.md +0 -0
  8. {fiqus-2024.12.2 → fiqus-2025.1.0}/fiqus/MainFiQuS.py +0 -0
  9. {fiqus-2024.12.2 → fiqus-2025.1.0}/fiqus/__init__.py +0 -0
  10. {fiqus-2024.12.2 → fiqus-2025.1.0}/fiqus/data/DataConductor.py +0 -0
  11. {fiqus-2024.12.2 → fiqus-2025.1.0}/fiqus/data/DataFiQuS.py +0 -0
  12. {fiqus-2024.12.2 → fiqus-2025.1.0}/fiqus/data/DataFiQuSCCT.py +0 -0
  13. {fiqus-2024.12.2 → fiqus-2025.1.0}/fiqus/data/DataFiQuSConductor.py +0 -0
  14. {fiqus-2024.12.2 → fiqus-2025.1.0}/fiqus/data/DataFiQuSConductorAC_Strand.py +0 -0
  15. {fiqus-2024.12.2 → fiqus-2025.1.0}/fiqus/data/DataFiQuSMultipole.py +0 -0
  16. {fiqus-2024.12.2 → fiqus-2025.1.0}/fiqus/data/DataMultipole.py +0 -0
  17. {fiqus-2024.12.2 → fiqus-2025.1.0}/fiqus/data/DataRoxieParser.py +0 -0
  18. {fiqus-2024.12.2 → fiqus-2025.1.0}/fiqus/data/DataSettings.py +0 -0
  19. {fiqus-2024.12.2 → fiqus-2025.1.0}/fiqus/data/DataWindingsCCT.py +0 -0
  20. {fiqus-2024.12.2 → fiqus-2025.1.0}/fiqus/data/RegionsModelFiQuS.py +0 -0
  21. {fiqus-2024.12.2 → fiqus-2025.1.0}/fiqus/data/__init__.py +0 -0
  22. {fiqus-2024.12.2 → fiqus-2025.1.0}/fiqus/geom_generators/GeometryCCT.py +0 -0
  23. {fiqus-2024.12.2 → fiqus-2025.1.0}/fiqus/geom_generators/GeometryConductorAC_Strand.py +0 -0
  24. {fiqus-2024.12.2 → fiqus-2025.1.0}/fiqus/geom_generators/GeometryMultipole.py +0 -0
  25. {fiqus-2024.12.2 → fiqus-2025.1.0}/fiqus/geom_generators/GeometryPancake3D.py +0 -0
  26. {fiqus-2024.12.2 → fiqus-2025.1.0}/fiqus/geom_generators/GeometryPancake3DUtils.py +0 -0
  27. {fiqus-2024.12.2 → fiqus-2025.1.0}/fiqus/geom_generators/__init__.py +0 -0
  28. {fiqus-2024.12.2 → fiqus-2025.1.0}/fiqus/getdp_runners/RunGetdpCCT.py +0 -0
  29. {fiqus-2024.12.2 → fiqus-2025.1.0}/fiqus/getdp_runners/RunGetdpConductorAC_Strand.py +0 -0
  30. {fiqus-2024.12.2 → fiqus-2025.1.0}/fiqus/getdp_runners/RunGetdpMultipole.py +0 -0
  31. {fiqus-2024.12.2 → fiqus-2025.1.0}/fiqus/getdp_runners/__init__.py +0 -0
  32. {fiqus-2024.12.2 → fiqus-2025.1.0}/fiqus/mains/MainCCT.py +0 -0
  33. {fiqus-2024.12.2 → fiqus-2025.1.0}/fiqus/mains/MainConductorAC_Strand.py +0 -0
  34. {fiqus-2024.12.2 → fiqus-2025.1.0}/fiqus/mains/MainMultipole.py +0 -0
  35. {fiqus-2024.12.2 → fiqus-2025.1.0}/fiqus/mains/MainPancake3D.py +0 -0
  36. {fiqus-2024.12.2 → fiqus-2025.1.0}/fiqus/mains/__init__.py +0 -0
  37. {fiqus-2024.12.2 → fiqus-2025.1.0}/fiqus/mesh_generators/MeshCCT.py +0 -0
  38. {fiqus-2024.12.2 → fiqus-2025.1.0}/fiqus/mesh_generators/MeshConductorAC_Strand.py +0 -0
  39. {fiqus-2024.12.2 → fiqus-2025.1.0}/fiqus/mesh_generators/MeshMultipole.py +0 -0
  40. {fiqus-2024.12.2 → fiqus-2025.1.0}/fiqus/mesh_generators/MeshPancake3D.py +0 -0
  41. {fiqus-2024.12.2 → fiqus-2025.1.0}/fiqus/mesh_generators/__init__.py +0 -0
  42. {fiqus-2024.12.2 → fiqus-2025.1.0}/fiqus/parsers/ParserCOND.py +0 -0
  43. {fiqus-2024.12.2 → fiqus-2025.1.0}/fiqus/parsers/ParserDAT.py +0 -0
  44. {fiqus-2024.12.2 → fiqus-2025.1.0}/fiqus/parsers/ParserGetDPOnSection.py +0 -0
  45. {fiqus-2024.12.2 → fiqus-2025.1.0}/fiqus/parsers/ParserGetDPTimeTable.py +0 -0
  46. {fiqus-2024.12.2 → fiqus-2025.1.0}/fiqus/parsers/ParserMSH.py +0 -0
  47. {fiqus-2024.12.2 → fiqus-2025.1.0}/fiqus/parsers/ParserPOS.py +0 -0
  48. {fiqus-2024.12.2 → fiqus-2025.1.0}/fiqus/parsers/ParserRES.py +0 -0
  49. {fiqus-2024.12.2 → fiqus-2025.1.0}/fiqus/parsers/__init__.py +0 -0
  50. {fiqus-2024.12.2 → fiqus-2025.1.0}/fiqus/plotters/PlotPythonCCT.py +0 -0
  51. {fiqus-2024.12.2 → fiqus-2025.1.0}/fiqus/plotters/PlotPythonConductorAC.py +0 -0
  52. {fiqus-2024.12.2 → fiqus-2025.1.0}/fiqus/plotters/PlotPythonMultipole.py +0 -0
  53. {fiqus-2024.12.2 → fiqus-2025.1.0}/fiqus/plotters/__init__.py +0 -0
  54. {fiqus-2024.12.2 → fiqus-2025.1.0}/fiqus/post_processors/PostProcessCCT.py +0 -0
  55. {fiqus-2024.12.2 → fiqus-2025.1.0}/fiqus/post_processors/PostProcessConductorAC.py +0 -0
  56. {fiqus-2024.12.2 → fiqus-2025.1.0}/fiqus/post_processors/PostProcessMultipole.py +0 -0
  57. {fiqus-2024.12.2 → fiqus-2025.1.0}/fiqus/post_processors/PostProcessPancake3D.py +0 -0
  58. {fiqus-2024.12.2 → fiqus-2025.1.0}/fiqus/post_processors/__init__.py +0 -0
  59. {fiqus-2024.12.2 → fiqus-2025.1.0}/fiqus/pre_processors/PreProcessCCT.py +0 -0
  60. {fiqus-2024.12.2 → fiqus-2025.1.0}/fiqus/pre_processors/__init__.py +0 -0
  61. {fiqus-2024.12.2 → fiqus-2025.1.0}/fiqus/pro_assemblers/ProAssembler.py +0 -0
  62. {fiqus-2024.12.2 → fiqus-2025.1.0}/fiqus/pro_assemblers/__init__.py +0 -0
  63. {fiqus-2024.12.2 → fiqus-2025.1.0}/fiqus/pro_material_functions/ironBHcurves.pro +0 -0
  64. {fiqus-2024.12.2 → fiqus-2025.1.0}/fiqus/pro_templates/__init__.py +0 -0
  65. {fiqus-2024.12.2 → fiqus-2025.1.0}/fiqus/pro_templates/combined/CCT_template.pro +0 -0
  66. {fiqus-2024.12.2 → fiqus-2025.1.0}/fiqus/pro_templates/combined/ConductorAC_template.pro +0 -0
  67. {fiqus-2024.12.2 → fiqus-2025.1.0}/fiqus/pro_templates/combined/Multipole_template.pro +0 -0
  68. {fiqus-2024.12.2 → fiqus-2025.1.0}/fiqus/pro_templates/combined/TSA_materials.pro +0 -0
  69. {fiqus-2024.12.2 → fiqus-2025.1.0}/fiqus/pro_templates/combined/__init__.py +0 -0
  70. {fiqus-2024.12.2 → fiqus-2025.1.0}/fiqus/pro_templates/combined/materials.pro +0 -0
  71. {fiqus-2024.12.2 → fiqus-2025.1.0}/fiqus/pro_templates/separated/__init__.py +0 -0
  72. {fiqus-2024.12.2 → fiqus-2025.1.0}/fiqus/utils/Utils.py +0 -0
  73. {fiqus-2024.12.2 → fiqus-2025.1.0}/fiqus/utils/__init__.py +0 -0
  74. {fiqus-2024.12.2 → fiqus-2025.1.0}/fiqus/utils/update_data_settings.py +0 -0
  75. {fiqus-2024.12.2 → fiqus-2025.1.0}/fiqus.egg-info/SOURCES.txt +0 -0
  76. {fiqus-2024.12.2 → fiqus-2025.1.0}/fiqus.egg-info/dependency_links.txt +0 -0
  77. {fiqus-2024.12.2 → fiqus-2025.1.0}/fiqus.egg-info/requires.txt +0 -0
  78. {fiqus-2024.12.2 → fiqus-2025.1.0}/fiqus.egg-info/top_level.txt +0 -0
  79. {fiqus-2024.12.2 → fiqus-2025.1.0}/setup.cfg +0 -0
  80. {fiqus-2024.12.2 → fiqus-2025.1.0}/tests/__init__.py +0 -0
  81. {fiqus-2024.12.2 → fiqus-2025.1.0}/tests/test_FiQuS.py +0 -0
  82. {fiqus-2024.12.2 → fiqus-2025.1.0}/tests/test_geometry_generators.py +0 -0
  83. {fiqus-2024.12.2 → fiqus-2025.1.0}/tests/test_mesh_generators.py +0 -0
  84. {fiqus-2024.12.2 → fiqus-2025.1.0}/tests/test_solvers.py +0 -0
  85. {fiqus-2024.12.2 → fiqus-2025.1.0}/tests/utils/__init__.py +0 -0
  86. {fiqus-2024.12.2 → fiqus-2025.1.0}/tests/utils/fiqus_test_classes.py +0 -0
  87. {fiqus-2024.12.2 → fiqus-2025.1.0}/tests/utils/generate_reference_files_ConductorAC.py +0 -0
  88. {fiqus-2024.12.2 → fiqus-2025.1.0}/tests/utils/generate_reference_files_Pancake3D.py +0 -0
  89. {fiqus-2024.12.2 → fiqus-2025.1.0}/tests/utils/helpers.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: fiqus
3
- Version: 2024.12.2
3
+ Version: 2025.1.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
@@ -2375,7 +2375,7 @@ class Pancake3DSolveLocalDefects(BaseModel):
2375
2375
 
2376
2376
  class Pancake3DSolveConvectiveCooling(BaseModel):
2377
2377
 
2378
- heatTransferCoefficient: Optional[NonNegativeFloat] = Field(
2378
+ heatTransferCoefficient: Optional[Union[NonNegativeFloat, Literal["nitrogenBath"]]] = Field(
2379
2379
  default=0,
2380
2380
  title="Heat Transfer Coefficient",
2381
2381
  description=(
@@ -3283,6 +3283,17 @@ class Pancake3DSolve(BaseModel):
3283
3283
  ),
3284
3284
  )
3285
3285
 
3286
+ solveHeatEquationTerminalsTransitionNotch: bool = Field(
3287
+ default=True,
3288
+ title="Solve Heat Equation in Terminals",
3289
+ description=(
3290
+ "If True, the heat equation is solved in the terminals and transition notch."
3291
+ "If False, the heat equation is not solved in the terminals and transition notches."
3292
+ "In the latter case, neither heat conduction nor generation are considered."
3293
+ "In other words, the temperature is not an unknown of the problem in the terminals."
3294
+ ),
3295
+ )
3296
+
3286
3297
  heatFlowBetweenTurns: bool = Field(
3287
3298
  default=True,
3288
3299
  title="Heat Equation Between Turns",
@@ -161,8 +161,8 @@ class Solve(Base):
161
161
  posStringList = ["-pos"]
162
162
  if solve is False:
163
163
  # Quantities to be saved:
164
- if self.dm.magnet.solve.save is not None:
165
- for quantity in self.dm.magnet.solve.save:
164
+ if self.dm.magnet.solve.quantitiesToBeSaved is not None:
165
+ for quantity in self.dm.magnet.solve.quantitiesToBeSaved:
166
166
  posStringList.append(f"{quantity.getdpPostOperationName}")
167
167
 
168
168
  if self.dm.magnet.postproc is not None:
@@ -625,6 +625,32 @@ Integral {
625
625
  {% endif %}
626
626
 
627
627
  {% if dm.magnet.solve.convectiveCooling.heatTransferCoefficient %}
628
+ {% if dm.magnet.solve.convectiveCooling.heatTransferCoefficient == "nitrogenBath" %}
629
+ Integral {
630
+ [ CFUN_hN_Tdiff[{LOCALQUANT_T} - <<dm.magnet.solve.convectiveCooling.exteriorBathTemperature>>] * Dof{LOCALQUANT_T}, {LOCALQUANT_T} ];
631
+ In DOM_allConvectiveSurface;
632
+ Jacobian JAC_sur;
633
+ Integration Int;
634
+ }
635
+ Integral {
636
+ [ -CFUN_hN_Tdiff[{LOCALQUANT_T} - <<dm.magnet.solve.convectiveCooling.exteriorBathTemperature>>] * <<dm.magnet.solve.convectiveCooling.exteriorBathTemperature>>, {LOCALQUANT_T} ];
637
+ In DOM_allConvectiveSurface;
638
+ Jacobian JAC_sur;
639
+ Integration Int;
640
+ }
641
+ Integral {
642
+ JacNL [ CFUN_hN_dTdiff_Tdiff[{LOCALQUANT_T} - <<dm.magnet.solve.convectiveCooling.exteriorBathTemperature>>] * Dof{LOCALQUANT_T}, {LOCALQUANT_T} ];
643
+ In DOM_allConvectiveSurface;
644
+ Jacobian JAC_sur;
645
+ Integration Int;
646
+ }
647
+ Integral {
648
+ JacNL [ -CFUN_hN_dTdiff_Tdiff[{LOCALQUANT_T} - <<dm.magnet.solve.convectiveCooling.exteriorBathTemperature>>] * <<dm.magnet.solve.convectiveCooling.exteriorBathTemperature>>, {LOCALQUANT_T} ];
649
+ In DOM_allConvectiveSurface;
650
+ Jacobian JAC_sur;
651
+ Integration Int;
652
+ }
653
+ {% else %}
628
654
  Integral {
629
655
  [ <<dm.magnet.solve.convectiveCooling.heatTransferCoefficient>> * Dof{LOCALQUANT_T}, {LOCALQUANT_T} ];
630
656
  In DOM_allConvectiveSurface;
@@ -637,6 +663,7 @@ Integral {
637
663
  Jacobian JAC_sur;
638
664
  Integration Int;
639
665
  }
666
+ {% endif %}
640
667
  {% endif %}
641
668
 
642
669
  {% elif type == "resistiveHeating" %}
@@ -1411,9 +1438,9 @@ Group{
1411
1438
  {% else %}
1412
1439
  DOM_resistiveHeating = Region[{ DOM_allWindings }];
1413
1440
  {% endif %}
1414
- DOM_thermal = Region[{ DOM_powered}];
1415
- {% else %}
1416
- DOM_thermal = Region[{ DOM_powered, DOM_allInsulations}];
1441
+ DOM_thermal = Region[{ {% if dm.magnet.solve.solveHeatEquationTerminalsTransitionNotch %}DOM_powered{% else %}DOM_allWindings{% endif %}}];
1442
+ {% else %}
1443
+ DOM_thermal = Region[{ {% if dm.magnet.solve.solveHeatEquationTerminalsTransitionNotch %}DOM_powered, DOM_allInsulations{% else %}DOM_allWindings, DOM_allInsulations{% endif %}}];
1417
1444
  DOM_allConducting = Region[{ DOM_powered, DOM_terminalContactLayer}];
1418
1445
  {% if dm.magnet.solve.resistiveHeatingTerminals %}
1419
1446
  DOM_resistiveHeating = Region[{ DOM_allWindings, DOM_terminals, DOM_terminalContactLayer }];
@@ -1423,7 +1450,7 @@ Group{
1423
1450
  {% endif %}
1424
1451
  {% else %}
1425
1452
  {% if dm.magnet.geometry.contactLayer.thinShellApproximation %}
1426
- DOM_thermal = Region[{ DOM_powered}];
1453
+ DOM_thermal = Region[{ {% if dm.magnet.solve.solveHeatEquationTerminalsTransitionNotch %}DOM_powered{% else %}DOM_allWindings{% endif %}}];
1427
1454
  DOM_allConducting = Region[{ DOM_powered }];
1428
1455
  {% if dm.magnet.solve.resistiveHeatingTerminals %}
1429
1456
  DOM_resistiveHeating = Region[{ DOM_allWindings, DOM_terminals }];
@@ -1431,7 +1458,7 @@ Group{
1431
1458
  DOM_resistiveHeating = Region[{ DOM_allWindings }];
1432
1459
  {% endif %}
1433
1460
  {% else %}
1434
- DOM_thermal = Region[{ DOM_powered, DOM_allInsulations}];
1461
+ DOM_thermal = Region[{ {% if dm.magnet.solve.solveHeatEquationTerminalsTransitionNotch %}DOM_powered, DOM_allInsulations{% else %}DOM_allWindings, DOM_allInsulations{% endif %}}];
1435
1462
  DOM_allConducting = Region[{ DOM_powered, DOM_allInsulations }];
1436
1463
  {% if dm.magnet.solve.resistiveHeatingTerminals %}
1437
1464
  DOM_resistiveHeating = Region[{ DOM_allWindings, DOM_terminals }];
@@ -4440,7 +4467,7 @@ PostOperation{
4440
4467
  // Printing in just one domain makes the parsing of the output easier.
4441
4468
  <<POSTOPERATION_printResults(
4442
4469
  quantity="RESULT_maximumTemperature",
4443
- onRegion="Region[%d]" % rm.powered['Pancake3D'].vol_in.number,
4470
+ onRegion="Region[%d]" % rm.powered['Pancake3D'].vol.numbers[0],
4444
4471
  format="TimeTable",
4445
4472
  name="Maximum temperature [K]",
4446
4473
  appendToExistingFile=True,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: fiqus
3
- Version: 2024.12.2
3
+ Version: 2025.1.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
@@ -37,7 +37,7 @@ all_requirements = required + docs_require + tests_require + build_require
37
37
 
38
38
  setup(
39
39
  name="fiqus",
40
- version="2024.12.2",
40
+ version="2025.1.0",
41
41
  author="STEAM Team",
42
42
  author_email="steam-team@cern.ch",
43
43
  description="Source code for STEAM FiQuS tool",
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes