fiqus 2024.12.2__py3-none-any.whl → 2025.1.0__py3-none-any.whl
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.
- fiqus/data/DataFiQuSPancake3D.py +12 -1
- fiqus/getdp_runners/RunGetdpPancake3D.py +2 -2
- fiqus/pro_templates/combined/Pancake3D_template.pro +33 -6
- {fiqus-2024.12.2.dist-info → fiqus-2025.1.0.dist-info}/METADATA +1 -1
- {fiqus-2024.12.2.dist-info → fiqus-2025.1.0.dist-info}/RECORD +7 -7
- {fiqus-2024.12.2.dist-info → fiqus-2025.1.0.dist-info}/WHEEL +0 -0
- {fiqus-2024.12.2.dist-info → fiqus-2025.1.0.dist-info}/top_level.txt +0 -0
fiqus/data/DataFiQuSPancake3D.py
CHANGED
|
@@ -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.
|
|
165
|
-
for quantity in self.dm.magnet.solve.
|
|
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
|
-
|
|
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'].
|
|
4470
|
+
onRegion="Region[%d]" % rm.powered['Pancake3D'].vol.numbers[0],
|
|
4444
4471
|
format="TimeTable",
|
|
4445
4472
|
name="Maximum temperature [K]",
|
|
4446
4473
|
appendToExistingFile=True,
|
|
@@ -6,7 +6,7 @@ fiqus/data/DataFiQuSCCT.py,sha256=pXBYgeuAb10H46nB1oRJjz4uZDMzkgCgjotXc8phfHs,71
|
|
|
6
6
|
fiqus/data/DataFiQuSConductor.py,sha256=sa_enAWP3yW0sJwpfmad173ewIv4eFC8G75UPnKnB5w,2626
|
|
7
7
|
fiqus/data/DataFiQuSConductorAC_Strand.py,sha256=kkzcXLHKFScePjJ9tffAjBDbsV1RoCTVodZ-HBTdiO8,27909
|
|
8
8
|
fiqus/data/DataFiQuSMultipole.py,sha256=_rX9zP-xNTZioVmu4NCaFVWF66ipesp8cSiB0pmKsG4,32377
|
|
9
|
-
fiqus/data/DataFiQuSPancake3D.py,sha256=
|
|
9
|
+
fiqus/data/DataFiQuSPancake3D.py,sha256=czgDU-h_XBq3OLqFOllr8zLx_MxQoCiWo84DsyOhhbo,136611
|
|
10
10
|
fiqus/data/DataMultipole.py,sha256=RObn5MGoe_Xtk-8mhB1eoil1Jd5DS6BhiLUuNmLbb-E,6793
|
|
11
11
|
fiqus/data/DataRoxieParser.py,sha256=v2F8ytjNnKLrVFizeBELb2dXu-78NH44CDLXO3CAP3I,9157
|
|
12
12
|
fiqus/data/DataSettings.py,sha256=zs5sEYUk4xjeMc_j8gt3PMji7V0yyMYizpXxBKv0aB0,3799
|
|
@@ -22,7 +22,7 @@ fiqus/geom_generators/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3h
|
|
|
22
22
|
fiqus/getdp_runners/RunGetdpCCT.py,sha256=hXRy90LAFMFl52gV6SrEwW5KYyvF3D0fqTFoN0P017U,3043
|
|
23
23
|
fiqus/getdp_runners/RunGetdpConductorAC_Strand.py,sha256=SjaRNxGs7J1RQWVS_zocHF0rtxtD6UcOf28kxWDHKNo,9997
|
|
24
24
|
fiqus/getdp_runners/RunGetdpMultipole.py,sha256=mYinMVQDJx2zAZIypFbl7bybu7h3TKjlExZ5evZpqYU,8200
|
|
25
|
-
fiqus/getdp_runners/RunGetdpPancake3D.py,sha256=
|
|
25
|
+
fiqus/getdp_runners/RunGetdpPancake3D.py,sha256=RLQbuYKdrelYgKBFcZ8-lZVSJLQ8gmNI0sXbJlrkYZk,10852
|
|
26
26
|
fiqus/getdp_runners/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
27
27
|
fiqus/mains/MainCCT.py,sha256=XpDPlj5n8B70ksOF6AHaeTXB752kN7CMLktISoXqirA,4422
|
|
28
28
|
fiqus/mains/MainConductorAC_Strand.py,sha256=UsZV7t6hRSkwUMwsoWn2m7x-PuVM6yABqBjgLpC_9Qg,5015
|
|
@@ -60,7 +60,7 @@ fiqus/pro_templates/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSu
|
|
|
60
60
|
fiqus/pro_templates/combined/CCT_template.pro,sha256=6r_fz9bH7AReCfDn33lyu472kjB0rkTma9_r4vBqV0U,13558
|
|
61
61
|
fiqus/pro_templates/combined/ConductorAC_template.pro,sha256=8aZwuRveHY2R0bEvC9Ysz_SISPLU7eNvi5szO_RUEtA,60694
|
|
62
62
|
fiqus/pro_templates/combined/Multipole_template.pro,sha256=ptzdHdNqqavppvXSKBejvOuNAWzOWzTXTjubl1foui4,97027
|
|
63
|
-
fiqus/pro_templates/combined/Pancake3D_template.pro,sha256=
|
|
63
|
+
fiqus/pro_templates/combined/Pancake3D_template.pro,sha256=CAmIVgzygFJSXDozuNeCL8eyId1HnMjVeyQOl-O4Suk,211330
|
|
64
64
|
fiqus/pro_templates/combined/TSA_materials.pro,sha256=Ny_Vqee1oBgb0mt1ESwqOROBh3D9h2KQgz6hFPFAY5Q,10612
|
|
65
65
|
fiqus/pro_templates/combined/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
66
66
|
fiqus/pro_templates/combined/materials.pro,sha256=D-cBOIMaQyYffIfoR4yRiK69Z6sxHu2QtyjhDIKFiXc,7038
|
|
@@ -78,7 +78,7 @@ tests/utils/fiqus_test_classes.py,sha256=i7G0wWA7MNdj-pAnXnGrpnv3KXx9JMDRUbKwFMR
|
|
|
78
78
|
tests/utils/generate_reference_files_ConductorAC.py,sha256=F5KK1AmHg1AmjZL6wRoR4R4kPpQu5KyLZtk1EnDsS1I,1619
|
|
79
79
|
tests/utils/generate_reference_files_Pancake3D.py,sha256=9sULcDOmbotrbYHz8DqGv6Km7ThfltnCHFojHUx193U,3126
|
|
80
80
|
tests/utils/helpers.py,sha256=bX3jz6Cux175TVWMpeaMo1SspQAewCSzKsC4ZwRBRR4,4052
|
|
81
|
-
fiqus-
|
|
82
|
-
fiqus-
|
|
83
|
-
fiqus-
|
|
84
|
-
fiqus-
|
|
81
|
+
fiqus-2025.1.0.dist-info/METADATA,sha256=f0Dwe3dZS7HVqZfQljRzMHrOI9gxnGQdfqv3grmWj9k,7772
|
|
82
|
+
fiqus-2025.1.0.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
|
|
83
|
+
fiqus-2025.1.0.dist-info/top_level.txt,sha256=oGzSIyoVc1zYg14o67zI3QFwWsJvqNzNT0-te9WbUQc,12
|
|
84
|
+
fiqus-2025.1.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|