Fix multiaxial hysteresis component selection
Browse filesPlots each loading family using its largest active strain-basis component. This restores the proportional-shear hysteresis loop and prevents empty component plots. Quality audit remains accepted for all 1,024 trajectories.
SHA256SUMS
CHANGED
|
@@ -16,7 +16,7 @@ d671538e1fe482de5ee12496185a7c2f65363d1376af4174016a902b1d8cb24d artifacts/t2_m
|
|
| 16 |
722c22826844dd451b28d938f72c09f0ee17a13cb7f599a8c9691570167273ad artifacts/t2_multiaxial_ood_v2/QUALITY_REPORT.md
|
| 17 |
54b95a1e83f0836a460370420e0eaed8653818f56252b5e2745739c42137be42 artifacts/t2_multiaxial_ood_v2/model_metrics.json
|
| 18 |
934b3cb6c5092849141f18ae7914ad58463b4f99ce4accd3a8d8eb390fca9a95 artifacts/t2_multiaxial_ood_v2/model_protocol_comparison.png
|
| 19 |
-
|
| 20 |
7aae708be60dbb7a41b3c16068fd4eebc8cf4c5cabfe8f09ec417843f252bb18 artifacts/t2_multiaxial_ood_v2/physics_integrator_summary.json
|
| 21 |
f70ebec439c8972772649e621c18def3f94c9fe6b832d4e8e9cf8801ebffa0c0 artifacts/t2_multiaxial_ood_v2/quality.json
|
| 22 |
69b803b9a1449bda3e8208fe27bcc1e868e4408b8582c2fb9c56a128922e971c artifacts/t2_multiaxial_ood_v2/structural_validation/mild_id/notched_bar_comparison.png
|
|
@@ -107,7 +107,7 @@ d36bef7aa852e850a524e22f4b9689325b40320ad3046004d2f31df4c7605e26 src/baseline_t
|
|
| 107 |
f6d80c48d66c2d5e14fdccff65d9fecd8a632f5322f68eb5f9ec23679b8f67ed src/structural_validate_t2_models.py
|
| 108 |
79eddf3174eb343ef1e8dc4aef2df0a7be62819a03c594aaa22886fd49f57c2d src/t2_material_loading_memory.py
|
| 109 |
604bc6283e7a461073d03a3b69440873d46809baf9e2ca4c79dfbeaa0704a5d7 src/t2_material_loading_memory_v1.py
|
| 110 |
-
|
| 111 |
27653364825e5f6d64edb91c7669c40257ecfa839bdcc987f6150b7376706b9a src/train_t2_multiaxial_models.py
|
| 112 |
50b761b008c07ae8419db652a37270ebe15d5c9b7168d87cef1f836c9acc245f src/train_t2_physics_integrator.py
|
| 113 |
2efb9502d85dde486939d02613e13fe6d254e8c6e74e2d82f2eb3201c01d1ac7 src/verify_t2_download.py
|
|
|
|
| 16 |
722c22826844dd451b28d938f72c09f0ee17a13cb7f599a8c9691570167273ad artifacts/t2_multiaxial_ood_v2/QUALITY_REPORT.md
|
| 17 |
54b95a1e83f0836a460370420e0eaed8653818f56252b5e2745739c42137be42 artifacts/t2_multiaxial_ood_v2/model_metrics.json
|
| 18 |
934b3cb6c5092849141f18ae7914ad58463b4f99ce4accd3a8d8eb390fca9a95 artifacts/t2_multiaxial_ood_v2/model_protocol_comparison.png
|
| 19 |
+
19f8bfeb1b19ac5836bdb1e8b2f857ed05a25d6904427333fe156582d209ade9 artifacts/t2_multiaxial_ood_v2/multiaxial_hysteresis_preview.png
|
| 20 |
7aae708be60dbb7a41b3c16068fd4eebc8cf4c5cabfe8f09ec417843f252bb18 artifacts/t2_multiaxial_ood_v2/physics_integrator_summary.json
|
| 21 |
f70ebec439c8972772649e621c18def3f94c9fe6b832d4e8e9cf8801ebffa0c0 artifacts/t2_multiaxial_ood_v2/quality.json
|
| 22 |
69b803b9a1449bda3e8208fe27bcc1e868e4408b8582c2fb9c56a128922e971c artifacts/t2_multiaxial_ood_v2/structural_validation/mild_id/notched_bar_comparison.png
|
|
|
|
| 107 |
f6d80c48d66c2d5e14fdccff65d9fecd8a632f5322f68eb5f9ec23679b8f67ed src/structural_validate_t2_models.py
|
| 108 |
79eddf3174eb343ef1e8dc4aef2df0a7be62819a03c594aaa22886fd49f57c2d src/t2_material_loading_memory.py
|
| 109 |
604bc6283e7a461073d03a3b69440873d46809baf9e2ca4c79dfbeaa0704a5d7 src/t2_material_loading_memory_v1.py
|
| 110 |
+
ee8a54ed0243c0d834554c7cb728a496ab6df74308a20f9663c34a3e9b882eb0 src/t2_multiaxial_ood_v2.py
|
| 111 |
27653364825e5f6d64edb91c7669c40257ecfa839bdcc987f6150b7376706b9a src/train_t2_multiaxial_models.py
|
| 112 |
50b761b008c07ae8419db652a37270ebe15d5c9b7168d87cef1f836c9acc245f src/train_t2_physics_integrator.py
|
| 113 |
2efb9502d85dde486939d02613e13fe6d254e8c6e74e2d82f2eb3201c01d1ac7 src/verify_t2_download.py
|
artifacts/t2_multiaxial_ood_v2/multiaxial_hysteresis_preview.png
CHANGED
|
Git LFS Details
|
|
Git LFS Details
|
src/t2_multiaxial_ood_v2.py
CHANGED
|
@@ -52,6 +52,10 @@ PATH_FAMILIES = (
|
|
| 52 |
"random_direction_blocks",
|
| 53 |
)
|
| 54 |
VOIGT_ORDER = ("xx", "yy", "zz", "xy", "yz", "xz")
|
|
|
|
|
|
|
|
|
|
|
|
|
| 55 |
|
| 56 |
# These bases are orthonormal under the equivalent-strain metric
|
| 57 |
# sqrt(2/3 e_dev:e_dev). A coordinate vector therefore has Euclidean norm
|
|
@@ -577,11 +581,26 @@ def audit_dataset() -> dict[str, object]:
|
|
| 577 |
ARTIFACT_DIR.mkdir(parents=True, exist_ok=True)
|
| 578 |
figure, axes = plt.subplots(2, 4, figsize=(15.0, 7.2), constrained_layout=True)
|
| 579 |
for axis, family in zip(axes.flat, PATH_FAMILIES, strict=True):
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 580 |
for model, color in (("j2_linear_isotropic", "#2563eb"), ("chaboche_combined", "#dc2626")):
|
| 581 |
arrays = previews[(model, family)]
|
| 582 |
-
axis.plot(
|
|
|
|
|
|
|
|
|
|
|
|
|
| 583 |
axis.set_title(family.replace("_", " "), fontsize=9)
|
| 584 |
-
axis.set_xlabel("
|
| 585 |
axis.set_ylabel("conjugate stress (MPa)")
|
| 586 |
axis.grid(alpha=0.2)
|
| 587 |
axes.flat[0].legend(frameon=False, fontsize=7)
|
|
|
|
| 52 |
"random_direction_blocks",
|
| 53 |
)
|
| 54 |
VOIGT_ORDER = ("xx", "yy", "zz", "xy", "yz", "xz")
|
| 55 |
+
PATH_BASIS_LABELS = (
|
| 56 |
+
"axial basis", "xy-shear basis", "transverse-deviatoric basis",
|
| 57 |
+
"yz-shear basis", "xz-shear basis",
|
| 58 |
+
)
|
| 59 |
|
| 60 |
# These bases are orthonormal under the equivalent-strain metric
|
| 61 |
# sqrt(2/3 e_dev:e_dev). A coordinate vector therefore has Euclidean norm
|
|
|
|
| 581 |
ARTIFACT_DIR.mkdir(parents=True, exist_ok=True)
|
| 582 |
figure, axes = plt.subplots(2, 4, figsize=(15.0, 7.2), constrained_layout=True)
|
| 583 |
for axis, family in zip(axes.flat, PATH_FAMILIES, strict=True):
|
| 584 |
+
component = int(
|
| 585 |
+
np.argmax(
|
| 586 |
+
[
|
| 587 |
+
max(
|
| 588 |
+
float(np.ptp(previews[(model, family)]["strain_path_coordinates"][:, index]))
|
| 589 |
+
for model in MATERIAL_MODELS
|
| 590 |
+
)
|
| 591 |
+
for index in range(len(STRAIN_BASES))
|
| 592 |
+
]
|
| 593 |
+
)
|
| 594 |
+
)
|
| 595 |
for model, color in (("j2_linear_isotropic", "#2563eb"), ("chaboche_combined", "#dc2626")):
|
| 596 |
arrays = previews[(model, family)]
|
| 597 |
+
axis.plot(
|
| 598 |
+
100.0 * arrays["strain_path_coordinates"][:, component],
|
| 599 |
+
arrays["stress_path_coordinates_pa"][:, component] / 1.0e6,
|
| 600 |
+
color=color, lw=1.4, label=model.replace("_", " "),
|
| 601 |
+
)
|
| 602 |
axis.set_title(family.replace("_", " "), fontsize=9)
|
| 603 |
+
axis.set_xlabel(f"{PATH_BASIS_LABELS[component]} strain (%)")
|
| 604 |
axis.set_ylabel("conjugate stress (MPa)")
|
| 605 |
axis.grid(alpha=0.2)
|
| 606 |
axes.flat[0].legend(frameon=False, fontsize=7)
|