Python(编程语言)
脚本语言
MATLAB语言
空隙(复合材料)
计算机科学
计算机图形学(图像)
程序设计语言
结构工程
计算科学
材料科学
工程类
复合材料
作者
Iman Asadi,Andrei Shpak,Stefan Jacobsen
出处
期刊:Buildings
[Multidisciplinary Digital Publishing Institute]
日期:2024-11-21
卷期号:14 (12): 3712-3712
标识
DOI:10.3390/buildings14123712
摘要
The air void system in concrete significantly affects its mechanical, thermal, and frost durability properties. This study explored the use of ChatGPT, an AI tool, to generate Python code for analyzing air void parameters in hardened concrete, such as total air void content (A), specific surface (α), and air void spacing factor (L). Initially, Python scripts were created by requesting ChatGPT-3.5 to convert MATLAB scripts developed by Fonseca and Scherer in 2015. The results from Python closely matched those from MATLAB when applied to polished sections of seven different concrete mixes, demonstrating ChatGPT’s effectiveness in code conversion. However, generating accurate code without referencing the original MATLAB scripts required detailed prompts, highlighting the need for a strong understanding of the test method. Finally, a Python script was applied to modify void reconstruction in 2D images into 3D by stereology, and comparing this with (3D) CT scanner results, showing comparable results.
科研通智能强力驱动
Strongly Powered by AbleSci AI