paper-with-me

Papers

Can ChatGPT implement finite element models for geotechnical engineering applications?

2025-01-04 · Taegu Kim, Tae Sup Yun, Hyoung Suk Suh

This study assesses the capability of ChatGPT to generate finite element code for geotechnical engineering applications from a set of prompts. We tested three different initial boundary value problems using a hydro-mechanically coupled formulation for unsaturated soils, including the dissipation of excess pore water pressure through fluid mass diffusion in one-dimensional space, time-dependent differential settlement of a strip footing, and gravity-driven seepage. For each case, initial prompting involved providing ChatGPT with necessary information for finite element implementation, such as balance and constitutive equations, problem geometry, initial and boundary conditions, material properties, and spatiotemporal discretization and solution strategies. Any errors and unexpected results were further addressed through prompt augmentation processes until the ChatGPT-generated finite element code passed the verification/validation test. Our results demonstrate that ChatGPT required minimal code revisions when using the FEniCS finite element library, owing to its high-level interfaces that enable efficient programming. In contrast, the MATLAB code generated by ChatGPT necessitated extensive prompt augmentations and/or direct human intervention, as it involves a significant amount of low-level programming required for finite element analysis, such as constructing shape functions or assembling global matrices. Given that prompt engineering for this task requires an understanding of the mathematical formulation and numerical techniques, this study suggests that while a large language model may not yet replace human programmers, it can greatly assist in the implementation of numerical models.

📄 PDF Abstract BibTeX arXiv:2501.02199

Code (0)

등록된 구현이 없습니다.

Tasks

Large Language ModelPrompt Engineering

Methods 이 논문이 사용한 방법론

SET Dynamic Sparse Training method where weight mask is updated randomly periodically
Diffusion Diffusion models generate samples by gradually removing noise from a signal, and their training objective can be expressed as a reweighted variational lower-bound…

Similar Papers 제목 키워드 기반

Geotechnical Parrot Tales (GPT): Harnessing Large Language Models in geotechnical engineering

2023-04-04 · Krishna Kumar

The widespread adoption of large language models (LLMs), such as OpenAI's ChatGPT, could revolutionize various industries, including geotechnical engineering. However, GPT models can sometimes generate plausible-sounding…

Prompt Engineering

Future-proofing geotechnics workflows: accelerating problem-solving with large language models

2023-12-14 · Stephen Wu, Yu Otake, Daijiro Mizutani, Chang Liu 외

The integration of Large Language Models (LLMs) like ChatGPT into the workflows of geotechnical engineering has a high potential to transform how the discipline approaches problem-solving and decision-making. This paper …

Decision Making

Property Estimation in Geotechnical Databases Using Labeled Random Finite Sets

2024-10-30 · Changbeom Shim, YoungHo Kim, Craig Butterworth

The sufficiency of accurate data is a core element in data-centric geotechnics. However, geotechnical datasets are essentially uncertain, whereupon engineers have difficulty with obtaining precise information for making …

A finite element-based machine learning model for hydro-mechanical analysis of swelling behavior in clay-sulfate rocks

2025-01-29 · Reza Taherdangkoo, Mostafa Mollaali, Matthias Ehrhardt, Thomas Nagel 외

The hydro-mechanical behavior of clay-sulfate rocks, especially their swelling properties, poses significant challenges in geotechnical engineering. This study presents a hybrid constrained machine learning (ML) model de…

Bayesian Optimization

Domain adaptation of large language models for geotechnical applications

2025-07-08 · Lei Fan, Fangxue Liu, Cheng Chen arxiv

The rapid advancement of large language models (LLMs) is transforming opportunities in geotechnical engineering, where workflows rely on complex, text-rich data. While general-purpose LLMs demonstrate strong reasoning ca…

Prompt EngineeringDomain Adaptation