Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions mistlib/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -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{{"
Expand All @@ -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}}"
Expand All @@ -487,12 +488,13 @@ 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}}"
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}}"
)
Expand Down