diff --git a/src/pymatlib/core/models.py b/src/pymatlib/core/models.py index fd759e237e69ade28056ccc025a8dcd06f0ed727..1a94b9aebdfe8aafa7245e22fd4f246f9492ad96 100644 --- a/src/pymatlib/core/models.py +++ b/src/pymatlib/core/models.py @@ -135,18 +135,14 @@ def specific_enthalpy_sensible( Calculate specific enthalpy array using heat capacity only. h(T_i) = h(T_(i-1)) + c_p(T_i)*(T_i - T_(i-1)) """ - print("Entering specific_enthalpy_sensible") # Validate temperature array is sorted if not np.all(temperature_array[:-1] <= temperature_array[1:]): raise ValueError("Temperature array must be sorted in ascending order for correct enthalpy calculation.") - # print(temperature_array) - print(temperature_array.shape) # Initialize enthalpy array enthalpy_array = np.zeros_like(temperature_array) # Calculate initial enthalpy at the first temperature T_0 = temperature_array[0] cp_0 = heat_capacity.evalf(T, T_0) - print(T_0, cp_0) # Calculate enthalpy at first temperature point enthalpy_array[0] = cp_0 * T_0 @@ -178,19 +174,15 @@ def specific_enthalpy_with_latent_heat( Calculate specific enthalpy array using heat capacity and latent heat. h(T_i) = h(T_(i-1)) + c_p(T_i)*(T_i - T_(i-1)) + [L(T_i) - L(T_(i-1))] """ - print("Entering specific_enthalpy_with_latent_heat") # Validate temperature array is sorted if not np.all(temperature_array[:-1] <= temperature_array[1:]): raise ValueError("Temperature array must be sorted in ascending order for correct enthalpy calculation.") - # print(temperature_array) - print(temperature_array.shape) # Initialize enthalpy array enthalpy_array = np.zeros_like(temperature_array) # Calculate initial enthalpy at the first temperature T_0 = temperature_array[0] cp_0 = heat_capacity.evalf(T, T_0) L_0 = latent_heat.evalf(T, T_0) - print(T_0, cp_0, L_0) # Calculate enthalpy at first temperature point enthalpy_array[0] = cp_0 * T_0 + L_0 diff --git a/src/pymatlib/core/yaml_parser.py b/src/pymatlib/core/yaml_parser.py index 6f18b2b8c7569de98d608c03f553bdf196849014..f96957d69bf80d45cd1eecf85e00b1423afc2007 100644 --- a/src/pymatlib/core/yaml_parser.py +++ b/src/pymatlib/core/yaml_parser.py @@ -195,7 +195,6 @@ class MaterialConfigParser: temperature_array = self._process_int_step(start, end, int(step)) # Ensure temperature array is in ascending order if not np.all(np.diff(temperature_array) >= 0): - print("Flipping temperature array") temperature_array = np.flip(temperature_array) return temperature_array except ValueError as e: diff --git a/src/pymatlib/data/alloys/SS304L/304L_Erstarrungsdaten_edited.xlsx b/src/pymatlib/data/alloys/SS304L/304L_Erstarrungsdaten_edited.xlsx index d5e3b4fb7b10d59dc4447801a1f47c9aa6827b54..1e9039b5f67adf5c3672c10db7428df9eb3be008 100644 Binary files a/src/pymatlib/data/alloys/SS304L/304L_Erstarrungsdaten_edited.xlsx and b/src/pymatlib/data/alloys/SS304L/304L_Erstarrungsdaten_edited.xlsx differ