From 2061e0d741e34a734cf72cbfbd32bdbbc5d60688 Mon Sep 17 00:00:00 2001 From: Gerry Knapp Date: Thu, 9 Oct 2025 11:39:10 -0400 Subject: [PATCH 1/2] fixup: typos in adamantine material file Changes "latent heat" -> "latent_heat" Changes "n_material" -> "n_materials" --- mistlib/core.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mistlib/core.py b/mistlib/core.py index 03103f3..ba2c86e 100644 --- a/mistlib/core.py +++ b/mistlib/core.py @@ -470,7 +470,7 @@ def write_adamantine_input(self, file): content = ( f"materials\n{{" - f"\n\tn_material 1" + f"\n\tn_materials 1" f"\n\tproperty_format polynomial" f"\n\tmaterial_0" f"\n\t{{" @@ -492,7 +492,7 @@ def write_adamantine_input(self, file): f"\n\t\t}}" f"\n\tsolidus {self.properties['solidus_eutectic_temperature'].value} ;" f"\n\tliquidus {self.properties['liquidus_temperature'].value} ;" - f"\n\tlatent heat {self.properties['latent_heat_fusion'].value} ;" + f"\n\tlatent_heat {self.properties['latent_heat_fusion'].value} ;" f"\n\t}}" f"\n}}" ) From 76c351b8ecfcd7488e50b7f989e3764b7de0e2dc Mon Sep 17 00:00:00 2001 From: Gerry Knapp Date: Thu, 9 Oct 2025 15:08:32 -0400 Subject: [PATCH 2/2] fixup: export thermal_conductivity_y --- mistlib/core.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mistlib/core.py b/mistlib/core.py index ba2c86e..6408ea5 100644 --- a/mistlib/core.py +++ b/mistlib/core.py @@ -479,6 +479,7 @@ def write_adamantine_input(self, file): f"\n\t\t\tdensity {density} ;" f"\n\t\t\tspecific_heat {specific_heat_1} ;" f"\n\t\t\tthermal_conductivity_x {thermal_conductivity_1} ;" + f"\n\t\t\tthermal_conductivity_y {thermal_conductivity_1} ;" f"\n\t\t\tthermal_conductivity_z {thermal_conductivity_1} ;" f"\n\t\t\temissivity {emissivity} ;" f"\n\t\t}}" @@ -487,6 +488,7 @@ def write_adamantine_input(self, file): f"\n\t\t\tdensity {density} ;" f"\n\t\t\tspecific_heat {specific_heat_2} ;" f"\n\t\t\tthermal_conductivity_x {thermal_conductivity_2} ;" + f"\n\t\t\tthermal_conductivity_y {thermal_conductivity_2} ;" f"\n\t\t\tthermal_conductivity_z {thermal_conductivity_2} ;" f"\n\t\t\temissivity {emissivity} ;" f"\n\t\t}}"