Alloy: Initialized SS316L alloy with physical properties.
Alloy: Initialized SS316L alloy with physical properties.
Notes:
Notes:
- **Data Units**: All input data should be in SI units. If data is not in SI units, it must be converted. For example:
- **Material Properties**:
- **Temperature**: Convert Celsius to Kelvin using `celsius_to_kelvin` function.
- **Density**: 8.0 g/cm³ (8000 kg/m³) at room temperature
- **Density**: Should be in kg/m³.
- **Composition**:
- **Heat Capacity**: Should be in J/(kg·K).
- Iron (Fe): 67.5 wt% (Balance)
- **Heat Conductivity**: Should be in W/(m·K).
- Chromium (Cr): 17.0 wt%
- **Temperature Array Consistency**: Ensure that all temperature arrays used for interpolation (`density_temp_array`, `heat_capacity_temp_array`, `heat_conductivity_temp_array`) have the same length.
- Nickel (Ni): 12.0 wt%
In this implementation, `density_temp_array` is used as the reference array for all properties to ensure consistency.
- Molybdenum (Mo): 2.5 wt%
- **Input Data Files**: The data files (`density_temperature.txt`, `heat_capacity_temperature.txt`, `heat_conductivity_temperature.txt`) must be located in the same directory as this script.
- Manganese (Mn): 1.0 wt%
They should contain data in the units specified above.
- **Phase Transitions**:
- Solidus: 1658.0 K (1385°C)
- Liquidus: 1723.0 K (1450°C)
- **Thermal Expansion**: 16.3 × 10^-6 /K at room temperature
- **Data Units**: All input data should be in SI units:
- **Temperature**: Kelvin (K)
- **Density**: kg/m³
- **Heat Capacity**: J/(kg·K)
- **Heat Conductivity**: W/(m·K)
- **Temperature Range**: Valid from room temperature (273.15K) to 2000K
- **Property Variations**: Properties are temperature-dependent and implemented as piecewise functions
- **Data Sources**: Property values based on experimental data and literature
- **Input Data Files**: Required files in same directory:
- density_temperature.txt
- heat_capacity_temperature.txt
- heat_conductivity_temperature.txt
Example:
Example:
If you have temperature data in Celsius and property data in non-SI units, convert the temperature to Kelvin and property values to SI units before using them.