Skip to main content
archive
Search Submit Donate Log in
Press Enter to search · Advanced search

Mathematics > Numerical Analysis

arXiv:2501.02199 (math)
[Submitted on 4 Jan 2025]

Title:Can ChatGPT implement finite element models for geotechnical engineering applications?

Authors:Taegu Kim, Tae Sup Yun, Hyoung Suk Suh
View a PDF of the paper titled Can ChatGPT implement finite element models for geotechnical engineering applications?, by Taegu Kim and 2 other authors
View PDF HTML (experimental)
Abstract: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.
Subjects: Numerical Analysis (math.NA); Artificial Intelligence (cs.AI)
Cite as: arXiv:2501.02199 [math.NA]
  (or arXiv:2501.02199v1 [math.NA] for this version)
  https://doi.org/10.48550/arXiv.2501.02199
arXiv-issued DOI via DataCite
Related DOI: https://doi.org/10.1002/nag.3956
DOI(s) linking to related resources

Submission history

From: Hyoung Suk Suh [view email]
[v1] Sat, 4 Jan 2025 05:21:40 UTC (4,336 KB)
Full-text links:

Access Paper:

    View a PDF of the paper titled Can ChatGPT implement finite element models for geotechnical engineering applications?, by Taegu Kim and 2 other authors
  • View PDF
  • HTML (experimental)
  • TeX Source
license icon view license

Current browse context:

math.NA
< prev   |   next >
new | recent | 2025-01
Change to browse by:
cs
cs.AI
cs.NA
math

References & Citations

  • NASA ADS
  • Google Scholar
  • Semantic Scholar
Loading...

BibTeX formatted citation

Data provided by:

Bookmark

BibSonomy Reddit

Bibliographic and Citation Tools

Bibliographic Explorer (What is the Explorer?)
Connected Papers (What is Connected Papers?)
Litmaps (What is Litmaps?)
scite Smart Citations (What are Smart Citations?)

Code, Data and Media Associated with this Article

alphaXiv (What is alphaXiv?)
CatalyzeX Code Finder for Papers (What is CatalyzeX?)
DagsHub (What is DagsHub?)
Gotit.pub (What is GotitPub?)
Hugging Face (What is Huggingface?)
ScienceCast (What is ScienceCast?)

Demos

Replicate (What is Replicate?)
Hugging Face Spaces (What is Spaces?)
TXYZ.AI (What is TXYZ.AI?)

Recommenders and Search Tools

Influence Flower (What are Influence Flowers?)
CORE Recommender (What is CORE?)
  • Author
  • Venue
  • Institution
  • Topic

arXivLabs: experimental projects with community collaborators

arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.

Which authors of this paper are endorsers? | Disable MathJax (What is MathJax?)
We gratefully acknowledge support from our major funders, member institutions, , and all contributors.
About · Help · Contact · Subscribe · Copyright · Privacy · Accessibility · Operational Status (opens in new tab)
Major funding support from
Simons Foundation Simons Foundation International Schmidt Sciences