An interactive web-based heat treatment simulator that predicts alloy phase transformation and hardness based on cooling rate. The project combines metallurgical principles with Python and JavaScript to visualize Continuous Cooling Transformation (CCT) behavior in engineering alloys.
- Interactive cooling-rate simulator
- Live phase fraction visualization
- Hardness prediction for multiple alloys
- Dynamic hardness vs cooling-rate graph
- Python-based analytical model
- CSV export of hardness predictions
- Comparative visualization across alloy systems
- HTML5
- CSS3
- JavaScript
- Chart.js
- Python
- Pandas
- Matplotlib
- NumPy
The simulator approximates Continuous Cooling Transformation (CCT) behavior using a simplified computational model.
- Cooling rate determines the phase transformation.
- Phase fractions are estimated using Gaussian-based affinity functions.
- Final hardness is calculated as the weighted average of individual phase hardness values.
Although simplified, the model effectively demonstrates the relationship between cooling rate, microstructure, and hardness in engineering alloys.
git clone https://github.com/Arundhathi2425/QuenchLab.git
cd QuenchLabpip install pandas matplotlib numpypython quenchlab_analysis.pyThe script generates:
hardness_vs_cooling_rate.pnghardness_predictions.csv
- Integrate real TTT/CCT datasets
- Add tempering simulation
- Include Jominy End Quench comparison
- Predict tensile strength and toughness
- Export simulation reports

