Development of a Sustainable Universal Python Code for Accurate 2D Heat Transfer Conduction Simulations in Educational Environment

Author:

Kok Chiang Liang1ORCID,Ho Chee Kit2,Taufik Abbas Syihan Bin Muhammad1,Koh Yit Yan1,Teo Tee Hui3ORCID

Affiliation:

1. College of Engineering, Science and Environment, University of Newcastle, Callaghan, NSW 2308, Australia

2. Engineering Cluster, Singapore Institute of Technology, Singapore 138683, Singapore

3. Engineering Product Development, Science, Mathematics and Technology, Singapore University of Technology and Design, Singapore 487372, Singapore

Abstract

Simulation software like ANSYS, COMSOL, and SimScale excel at modeling heat transfer phenomena, but their extensive functionalities necessitate a deep understanding, making them less suitable and too expensive for use in educational settings below the post-secondary level in Singapore, where the current curriculum does not demand such advanced capabilities. To provide a more accessible and cost-effective solution, this work introduces a novel universal Python code designed to simplify the understanding of 2D steady-state heat transfer on irregular shapes, utilizing only Microsoft Excel and Python. The developed code employs the Gauss–Seidel iteration method within a full multigrid framework, applying the relevant nodal finite-difference equations based on the node type within a 2D irregular shape delineated by a 65 × 65 mesh in Excel. The generated contour plots from these simulations are meticulously compared with those produced by ANSYS to validate accuracy. The comparison reveals that the results from the Python code closely align with those from ANSYS, showing only minor differences. Consequently, the Python code emerges as a viable and simplified alternative for conducting 2D steady-state heat transfer simulations, making it a valuable tool for educational purposes, bridging the gap between complex simulation software and the educational needs of students in Singapore.

Publisher

MDPI AG

Reference38 articles.

1. Qdot Systems (2023, May 23). Boundary Conditions for the Heat Conduction Equation. Available online: https://qdotsystems.com.au/boundary-conditions-for-the-heat-conduction-equation/.

2. Numerical Solution of Heat Transfer for Single and Multi-Metal Pan;Dardashti;Appl. Mech. Mater.,2011

3. Silva, D. (2023, June 03). Heatrapy Source Code, Version 2.0.3. Available online: https://github.com/djsilva99/heatrapy/wiki.

4. Array programming with NumPy;Harris;Nature,2020

5. SciPy 1.0: Fundamental Algorithms for Scientific Computing in Python;Virtanen;Nat. Methods,2020

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3