Skip to content
Snippets Groups Projects
Commit c6233b0f authored by Rahil Doshi's avatar Rahil Doshi
Browse files

Update yaml config

parent 3a3d93ad
Branches
No related merge requests found
...@@ -128,6 +128,9 @@ composition: ...@@ -128,6 +128,9 @@ composition:
solidus_temperature: 1605. solidus_temperature: 1605.
liquidus_temperature: 1735. liquidus_temperature: 1735.
# temperature_range: [300, 3000, 541] # 541 (int) -> points
#OR
temperature_range: [3000, 300, -5.0] # 5.0 (float) -> increment
properties: properties:
# energy_density: # energy_density:
...@@ -136,10 +139,9 @@ properties: ...@@ -136,10 +139,9 @@ properties:
#OR #OR
# energy_density: compute # energy_density: compute
#OR #OR
energy_density: energy_density: compute
compute: total_enthalpy # Explicit model selection
# User can specify either: # User can specify either:
energy_density_temperature_array: (300, 3000, 541) # int for number of points # energy_density_temperature_array: (300, 3000, 541) # int for number of points
# OR # OR
#energy_density_temperature_array: (300, 3000, 5.0) # float for delta (increment) #energy_density_temperature_array: (300, 3000, 5.0) # float for delta (increment)
# save the energy_density and temperature as arrays always. # save the energy_density and temperature as arrays always.
......
...@@ -13,6 +13,9 @@ composition: ...@@ -13,6 +13,9 @@ composition:
solidus_temperature: 1605. solidus_temperature: 1605.
liquidus_temperature: 1735. liquidus_temperature: 1735.
# temperature_range: [300, 3000, 541] # 541 (int) -> points
#OR
temperature_range: [300, 3000, 5.0] # 5.0 (float) -> increment
properties: properties:
# energy_density: # energy_density:
...@@ -20,17 +23,12 @@ properties: ...@@ -20,17 +23,12 @@ properties:
# val: [...] # val: [...]
#OR #OR
energy_density: compute energy_density: compute
# User can specify either:
energy_density_temperature_array: (300, 3000, 540) # int for number of points
# OR
#energy_density_temperature_array: (300, 3000, 5.0) # float for delta (increment)
# save the energy_density and temperature as arrays always.
density: 7950 density: 7950.
#OR #OR
#density: compute # computed by thermal expansion coefficient, should be acceptable even if TEC is defined later in the file #density: compute # computed by thermal expansion coefficient, should be acceptable even if TEC is defined later in the file
#base_temperature: 2273 #base_temperature: 2273.
#base_density: 6.591878918e3 #base_density: 6.591878918e3
#OR #OR
# density: density_temperature_edited.txt # density: density_temperature_edited.txt
...@@ -38,6 +36,12 @@ properties: ...@@ -38,6 +36,12 @@ properties:
thermal_expansion_coefficient: 1e-6 thermal_expansion_coefficient: 1e-6
specific_enthalpy:
file: ./304L_Erstarrungsdaten_edited.xlsx
temp_col: T (K)
prop_col: Enthalpy (J/kg)
latent_heat_of_fusion: latent_heat_of_fusion:
key: [solidus_temperature, liquidus_temperature] key: [solidus_temperature, liquidus_temperature]
val: [171401, 0] val: [171401, 0]
...@@ -54,7 +58,7 @@ properties: ...@@ -54,7 +58,7 @@ properties:
# val: [600, 800] # val: [600, 800]
#OR #OR
heat_capacity: heat_capacity:
key: (1000, 200) # generates equidistant values starting 1000 with an increment of 200 until the length of val key: (1000, 150) # generates equidistant values starting 1000 with an increment of 200 until the length of val
# [1000, 1200, 1400, 1600, 1800, 2000, 2200, 2400, 2600, 2800, 3000, 3200] # [1000, 1200, 1400, 1600, 1800, 2000, 2200, 2400, 2600, 2800, 3000, 3200]
val: [580, 590, 600, 600, 600, 610, 620, 630, 660, 700, 750, 750] val: [580, 590, 600, 600, 600, 610, 620, 630, 660, 700, 750, 750]
#OR #OR
......
...@@ -10,12 +10,16 @@ composition: ...@@ -10,12 +10,16 @@ composition:
solidus_temperature: 1605. solidus_temperature: 1605.
liquidus_temperature: 1735. liquidus_temperature: 1735.
# temperature_range: [300, 3000, 541] # 541 (int) -> points
#OR
temperature_range: [300, 3000, 5.0] # 5.0 (float) -> increment
properties: properties:
# 1. Constant float property # 1. Constant float property
density: compute # kg/m³ density: compute # kg/m³
# 2.1 File-based property (simple format) # 2.1 File-based property (simple format)
heat_conductivity: ./heat_conductivity_temperature.txt # heat_conductivity: ./heat_conductivity_temperature.txt
# 2.2 File-based property (advanced format) # 2.2 File-based property (advanced format)
specific_enthalpy: specific_enthalpy:
...@@ -23,6 +27,11 @@ properties: ...@@ -23,6 +27,11 @@ properties:
temp_col: T (K) temp_col: T (K)
prop_col: Enthalpy (J/kg) prop_col: Enthalpy (J/kg)
heat_conductivity:
file: ./304L_Erstarrungsdaten_edited.xlsx
temp_col: T (K)
prop_col: Thermal conductivity (W/(m*K))-TOTAL-10000.0(K/s)
# 3.1 Key-val pair with explicit temperature list # 3.1 Key-val pair with explicit temperature list
heat_capacity: heat_capacity:
key: [1000, 1200, 1400, 1600, 1800, 2000, 2200, 2400, 2600, 2800] key: [1000, 1200, 1400, 1600, 1800, 2000, 2200, 2400, 2600, 2800]
...@@ -47,14 +56,7 @@ properties: ...@@ -47,14 +56,7 @@ properties:
thermal_diffusivity: compute # k/(rho*cp) thermal_diffusivity: compute # k/(rho*cp)
# 4.2 Computed property (advanced format with model selection) # 4.2 Computed property (advanced format with model selection)
energy_density: energy_density: compute
compute: total_enthalpy
# Required for energy_density computation (with number of points)
# energy_density_temperature_array: (300, 3000, 541)
# Alternative specification (with temperature increment)
energy_density_temperature_array: (300, 3000, 5.0)
# Properties required for density computation by thermal expansion # Properties required for density computation by thermal expansion
base_temperature: 2273. base_temperature: 2273.
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment