Heatrapy is a lightweight Python framework for simulating heat transfer using finite-difference methods, with built-in support for phase transitions and caloric materials.
Features:
- ✅ Easy to learn
- ✅ Finite-difference heat transfer solver
- ✅ 1D and 2D thermal simulations
- ✅ Phase-change materials
- ✅ Caloric effects modeling
- ✅ Multi-material systems
- ✅ Real-time visualization
- ✅ Pure Python implementation
Heatrapy makes thermal simulations accessible without heavy FEM or CFD frameworks.
Perfect for:
- Research prototypes
- Teaching heat transfer
- Rapid thermal modeling
- Solid-state cooling simulations
To install heatrapy use the pip package manager:
$ pip install heatrapyTo import the heatrapy module type in the python shell:
>>> import heatrapy as htpSee the example above or explore the documentation for complete tutorials.
Full documentation available here
Contributions of all kinds are welcome!
Please see the development workflow here.
If heatrapy contributes to research that leads to a publication, please cite this paper.
⭐ If you find heatrapy useful, consider starring the repository to support the project.
