선정목록으로
Exploring large language models for microstructure evolution in materials
수소연료전지 · (6) PEM(고분자전해질막)
기본 정보
- 저자
- DOI
- 10.48550/arxiv.2406.15499
- 저널
- arXiv (Cornell University)
- 발행년도
- 2024
- 발행기관
- Cornell University
- 피인용수
- 0
- 라이선스
- 0
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://doi.org/10.48550/arxiv.2406.15499
- 토픽
- Composite Material Mechanics
- OpenAlex ID
- W6929163525
평가 내용
- 관련도
- 사업분야
- 수소연료전지 · (6) PEM(고분자전해질막)
- 부 분야
- –
- R&D 측면
- –
- 확신도
- –
- 근거 용어
- –
- 판단 근거
- 임베딩 유사도 기반 평가로 '수소연료전지 > PEM(고분자전해질막)' 분야에 선정된 논문입니다.
- R&D 활용 포인트
- –
- 평가 입력
- –
초록
There is a significant potential for coding skills to transition fully to natural language in the future. In this context, large language models (LLMs) have shown impressive natural language processing abilities to generate sophisticated computer code for research tasks in various domains. We report the first study on the applicability of LLMs to perform computer experiments on microstructure pattern formation in model materials. In particular, we exploit LLM's ability to generate code for solving various types of phase-field-based partial differential equations (PDEs) that integrate additional physics to model material microstructures. The results indicate that LLMs have a remarkable capacity to generate multi-physics code and can effectively deal with materials microstructure problems up to a certain complexity. However, for complex multi-physics coupled PDEs for which a detailed understanding of the problem is required, LLMs fail to perform the task efficiently, since much more detailed instructions with many iterations of the same query are required to generate the desired output. Nonetheless, at their current stage of development and potential future advancements, LLMs offer a promising outlook for accelerating materials education and research by supporting beginners and experts in their physics-based methodology. We hope this paper will spur further interest to leverage LLMs as a supporting tool in the integrated computational materials engineering (ICME) approach to materials modeling and design.
본문 61,310자
본문 펼치기
### Exploring large language models for microstructure evolution in materials
Prathamesh Satpute <sup>_∗_</sup>, Saurabh Tiwari <sup>_∗_</sup>, Maneet Gupta, Supriyo Ghosh <sup>_∗∗_</sup>
_Department_ _of_ _Metallurgical_ _and_ _Materials_ _Engineering,_ _Indian_ _Institute_ _of_ _Technology,_ _Roorkee,_ _UK_ _247667,_ _India_
Abstract
There is a significant potential for coding skills to transition fully to natural language in the future. In
this context, large language models (LLMs) have shown impressive natural language processing abilities
to generate sophisticated computer code for research tasks in various domains. We report the first study
on the applicability of LLMs to perform computer experiments on microstructure pattern formation in
model materials. In particular, we exploit LLM’s ability to generate code for solving various types of
phase-field-based partial differential equations (PDEs) that integrate additional physics to model material
microstructures. The results indicate that LLMs have a remarkable capacity to generate multi-physics code
and can effectively deal with materials microstructure problems up to a certain complexity. However, for
complex multi-physics coupled PDEs for which a detailed understanding of the problem is required, LLMs fail
to perform the task efficiently, since much more detailed instructions with many iterations of the same query
are required to generate the desired output. Nonetheless, at their current stage of development and potential
future advancements, LLMs offer a promising outlook for accelerating materials education and research by
supporting beginners and experts in their physics-based methodology. We hope this paper will spur further
interest to leverage LLMs as a supporting tool in the integrated computational materials engineering (ICME)
approach to materials modeling and design.
_Keywords:_ Large language models, Materials science, Phase-field models, Microstructure evolution, Partial
differential equations
1. Introduction
Large language models (LLMs) are a conversational, generative artificial intelligence (AI) tool that offers
massive potential for transforming science and society by redefining human-computer interactions [1, 2]. In
principle, LLMs take an input text prompt through a free chat interface and spontaneously, as if by magic,
write a human-like response virtually on _any_ topic. Some of the well-known LLMs are given in Table 1.
These models are based on massive machine learning (ML) architectures (specifically transformer neural
_∗_ These authors contributed equally.
_∗∗_ Corresponding author.
_Email_ _address:_ `supriyo.ghosh@mt.iitr.ac.in;` `gsupriyo2004@gmail.com` (Supriyo Ghosh)
_Preprint_ _submitted_ _to_ _Elsevier_ _June_ _25,_ _2024_
networks [3, 4]) pre-trained on a massive corpus of text data from diverse internet sources like Common
Crawl [5] and Wikipedia [6], each contributing to varying degrees of weightage to different aspects of the
model’s knowledge [7]. This allows LLMs to perform natural language processing (NLP) tasks, including
human-like conversation and contextual understanding. The LLMs continue to learn in a self-supervised
manner and correct errors by themselves through the process of reinforcement learning from human feedback
(RLHF) [8, 9]. Therefore, for a given task, one needs to craft the question prompts more carefully, allowing
LLMs to be more effective at handling complex tasks and generating better and more reliable answers. It is
even possible to obtain the desired output with “zero-shot” prompting (i.e, giving no example of how the task
should be solved) or typically with a series of prompts or “chain prompting”. In addition, prompt processing,
such as reducing the length of prompts, can result in faster inference times and lower computational costs [10].
Thus, LLMs are increasingly becoming useful to complete research tasks quickly that include generating data,
code, models, essays, and literature reviews. However, the performance of LLMs is still not well-tested for
specialized research purposes that require domain-specific knowledge. This work explores how far we can
push LLMs to generate desired output for complex research tasks in an example materials science domain.
Table 1: Overview of major LLMs. Model size indicates LLM’s complexity and capacity for learning. The token limit refers to
the maximum length of input/output text it can handle in a single prompt.
<u>Model</u> <u>Name</u> <u>Developer</u> <u>Release</u> <u>Date</u> <u>Model</u> <u>Size</u> <u>(Parameters)</u> <u>Token</u> <u>limit</u>
ChatGPT-3.5 [11] OpenAI June 2020 175 billion 4096
ChatGPT-4 (Turbo) [12] OpenAI March 2023 1 trillion 128000
Grok [13] xAI November 2023 314 billion 8000
Gemini [14] Google AI March 2023 2 billion - 7 billion 32000
Llama-2 [15] Meta July 2023 7 - 70 billion 2048
Llama-3 [15] Meta April 2024 8 - 70 billion 8000
Copilot [16] Microsoft February 2023 Based on GPT-3.5 and 4 4096
Cluade-3 Sonnet [17] Anthropic February 2024 _>_ 20-70 billion 200000
<u>Mistral</u> <u>[18]</u> <u>Mistral</u> <u>AI</u> <u>September</u> <u>2023</u> <u>7-12</u> <u>billion</u> <u>32000</u>
As computational scientists, we are always eager to embrace new AI tools that will save us time and
offer a great deal of convenience. Among the LLMs (Table 1), ChatGPT (Chat Generative Pre-trained
Transformer) has garnered significant attention from the public, academia, industry, and media. As we will
show later, ChatGPT outperforms other LLMs when it comes to coding and data analysis. With over 175
billion ML parameters, its ability to understand/generate text, analyze data, generating code, and even
run Python codes sets it apart from other LLMs. The ChatGPT-4, the latest iteration of the GPT model
(as of April 1, 2024), is even more powerful as it is pre-trained with 1 trillion data set with increased
token/context capacity, dramatically enhancing its performance in solving complex tasks in applications
reaching diverse fields including mathematics [19–21], coding [9, 21], medicine [22], biology [23], and even
law [24]. Also, the incredible capability of ChatGPT-4 in working with multimodal data (i.e., images, text,
audio, and video) and conversational interactivity offer a promising outlook for scientific computing. In this
2
work, we use ChatGPT-4 as a representative LLM to explore its knowledge within the realm of computational
materials science, emphasizing its potential benefits efficiently. In the context of materials science, only a few
published studies (three as of April 1, 2024) demonstrated applications of ChatGPT, particularly in atomistic
materials modeling for generating/querying different crystal symmetry structures useful for density functional
theory calculations [9, 25, 26]. However, in the integrated computational materials engineering (ICME)
framework, materials models at different length scales are linked together that fully capture material behavior
in technological applications. In this work, we examine several popular LLMs, including ChatGPT, to
explore their understanding of computational materials science at the microscale, particularly the modeling of
microstructure evolution described by complex partial differential equations (PDEs). There have been a few
previous studies on the mathematical and coding capabilities of ChatGPT for solving differential equations
and PDEs [20, 21]. However, these general studies are not explicitly related to materials applications. To our
knowledge, this is the first attempt to systematically explore ChatGPT as an alternative to microstructure
evolution modeling.
On the micro-to-meso scale, a critical factor in guaranteeing the superior performance of materials is to
engineer the complex phase organizations and interface structures in the microstructure patterns generated
during phase transformations. The phase-field (PF) method [27–30] is the most powerful technique for the
study of the thermodynamics and kinetics of interface migration and the associated microstructural evolution.
A particular strength of the method is that the sharp interface is modeled by a diffuse interface with a finite
width, which reduces to a set of nonlinear PDEs that are handled by standard numerical techniques (e.g.,
finite difference discretization method with explicit time marching scheme). In principle, these PDEs are
the equations of motion obtained by minimizing the material’s free energy function with respect to the field
variables representing physical or phenomenological microstructure descriptors. Depending on the physics
being modeled, these variables can be conserved (e.g., concentration) and non-conserved (e.g., phase fraction)
order parameters. In a microstructure, these fields vary smoothly within the diffuse interface between their
(scalar) values in the adjacent bulk solid and liquid phases. This approach avoids explicit tracking of the
interface, and thus, the complex evolution of the interface, as seen in complex geometries and topology
changes in materials, can be modeled efficiently. The temporal evolution of the field variables obtained by
solving the PDEs represents the microstructure patterns. In this work, we explore the process of ChatGPT
for solving several well-know PDEs that are central to materials science. We mainly address the following
key questions:
- Can the computer experiments on microstructure pattern formation be outsourced to LLMs?
- How do the LLMs impact traditional materials education and research?
The structure of the rest of the article is as follows. In Sec. 2, we label four example problems that we
test with ChatGPT. In Sec. 3, we present the outputs generated by ChatGPT for all the case studies and
3
Figure 1: The schematic summarizes our workflow. The artificial intelligence (AI) chatbot provides a user interface to interact
with large language models (LLMs) as a “black box”. We input a partial differential equation (PDE) with appropriate initial
and boundary conditions and material parameters as a prompt in the chatbot of a given LLM like ChatGPT (Table 1). Then, it
generates a Python code to solve the given PDE and produces the output in terms of the time evolution of the microstructural
pattern formation.
compare their accuracy against our simulations using in-house codes. In Sec. 4, we summarize and conclude
with a detailed outlook on the present topic.
2. General Approach
To examine the capability of LLMs, we select four benchmark phase-field model problems [31, 32] (or
PDEs) with increasing order of model complexity in terms of additional physics. The first problem we study
is the diffusion equation [33] (i.e., Fick’s second law); the second example is the Cahn-Hilliard equation [34];
the third problem is the coupled Cahn-Hilliard and Allen-Cahn [35] (or Ginzburg-Landau) equations; the
fourth problem is the dendritic crystal growth in pure systems by Kobayashi [36]. In this way, we focus on
a single, fundamental aspect of physics (diffusion) in the first problem and increase the model complexity
in terms of additional physics (diffusion and phase separation) in the second example, and so on. We also
use simplified formulations of the above systems with dimensionless parameters to make the tests more
straightforward to implement in ChatGPT. Also, we use one and two-dimensional simple domain geometries
with suitable initial and boundary conditions so that the governing physics can be simulated without making
the test problems unreasonably large or computationally demanding. In this way, we will be able to capture
the essential physical behavior (e.g., solute diffusion, two-phase growth, coarsening, and solidification) in a
vast majority of materials and models. A schematic of our workflow is given in Fig. 1.
The LLMs, including ChatGPT, can be used as a mathematical tool for solving PDEs [19–21]. When we
typically solve a PDE using analytical methods or computer experiments, the solution of the PDE is sought
under certain initial and boundary conditions for the given material-specific parameters. Similarly, to solve
a given PDE in ChatGPT, it needs to know the explicit form of the equation, the initial and boundary
conditions, and the material parameters. Also, the user must specify the numerical implementation scheme
the ChatGPT will employ. For example, we use an explicit Euler finite difference algorithm throughout this
study. In a typical PDE solver, the above input parameters and constraints must be specified before the
4
PDE can be solved. This is essentially what we input in the prompt to solve PDEs, as shown in Figs. 2-5,
providing the equations and parameters formatted in natural language. As a response, ChatGPT produces
the output and visualization of the results.
Besides the AI chatbot provided by several LLMs (Table 2), we also explore Hugging Face’s [37] Hug
ging Chat interface to test out many excellent ready-to-use LLMs such as Llama-2 [15], Llama-3 [15], and
Mistral [18] to solve material PDEs. In these LLMs, we use the default inference-time model parameters
such as `Temperature` = 0.6, `Top-P` = 0.9, and `Top-K` = 50 as a reference. It is clear that ChatGPT-4
outperforms other popular LLMs when it comes to generating the correct complete code and the ability to
execute it. Therefore, we instruct ChatGPT to do code writing to solve the given PDEs, noting that it can
write and run Python codes. Also, for each task, we implement the identical problem on the client-side and
compare the execution results with the ChatGPT outputs. To solve PDEs corresponding to each case study,
we enter a text prompt in its AI chatbot, describing the PDEs and parameters to code in Python. Then,
the ChatGPT responds with an explanation of the topic, algorithmic description, the Python program, and
visualization/analysis of the execution results. To present these results in a concise manner, we here only
report the prompt given and the output visualization files. We include the ChatGPT-generated codes for
each task in the supplementary material.
Table 2: Summary of the capability of various LLMs (accessed as of March 31, 2024) on the four input prompts correspond to
each task is presented with Y (Yes) and N (No). We access the latest Llama family model, Llama-3 [15], from Hugging Face [37]
on May 24, 2024.
Large Language AI
Model
Full Code (Python) Correct Code
(Task/Prompt 1-4)
Execution
Ability/Data
Visualization
(Task/Prompt 1-4)
GPT-3.5 [11] Y Y, N, N, N N, N, N, N
GPT-4 [12] Y Y, Y, Y, Y Y, Y, Y, Y
Gemini [14] Y Y, N, N, N N, N, N, N
Llama-2 [15] Y N, N, N, N N, N, N, N
Llama-3 [15] Y Y, N, N, N N, N, N, N
Copilot [16] Y Y, Y, N, N N, N, N, N
Claude-3 [17] Y Y, Y, N, N N, N, N, N
Mistral [18] Y N, N, N, N N, N, N, N
3. Simulation examples
_3.1._ _Task_ _1:_ _Transient_ _solute_ _diffusion_ _equation_
Diffusive phase transformations and associated microstructure evolution involve long-range diffusion.
Therefore, we begin the first example with a very simple yet well-known PDE, the transient solute diffusion
equation given by Fick’s second law (mass conservation). In this particular example, we focus on the
5
accuracy and efficiency of ChatGPT implementation. We consider the following form of Fick’s second law
of diffusion [33, 38] in 1D,
<u>(</u> _<u>x, t</u>_ <u>)</u> = _D_ <sup>_<u>∂</u>_</sup> <sup>2</sup> <sup>_<u>c</u>_</sup> <sup><u>(</u></sup> <sup>_<u>x, t</u>_</sup> <sup><u>)</u></sup>
_∂t_ _∂x_ <sup>2</sup>
_<u>∂c</u>_ <u>(</u> _<u>x, t</u>_ <u>)</u>
<sup>_<u>c</u>_</sup> <sup><u>(</u></sup> <sup>_<u>x, t</u>_</sup> <sup><u>)</u></sup> _,_ (1)
_∂x_ <sup>2</sup>
where _c_ ( _x, t_ ) is the concentration profile at a position _x_ and time _t_, and _D_ is the diffusivity of solute.
We solve on a domain of _x_ _∈_ [0 _,_ 99], assuming the initial concentration as a step function between 0.6
(24 _<_ _x_ _<_ 75) and 0.2 (otherwise) and periodic boundary condition. We use ∆ _x_ = 1 _._ 0, ∆ _t_ = 0 _._ 01,
_D_ = 1, and _Nt_ = 100000 time steps. We use an iteration scheme using the explicit Euler method in time
and a second-order central finite difference scheme in space. To solve Eq. (1), we input the PDE and the
simulation setup and parameters in the ChatGPT dialogue box using a single prompt, as shown in Fig. 2.
Then ChatGPT performs the necessary calculations and analysis, that is, describes its understanding of the
algorithmic program steps, writes the code in Python, executes the code, and finally generates the output
plot of _c_ ( _x, t_ ) (using Matplotlib). We show the given prompt and the ChatGPT output in Fig. 2. When
compared with our in-house implementation of the identical problem, ChatGPT produces accurate execution
results. Note the use of question prompt in a zero-shot manner and that too formatted in natural language,
demonstrating efficiency in the ChatGPT approach.
_3.1.1._ _General_ _observations_
We note that ChatGPT works perfectly when the explicit form of the PDE is given, as expected, and
also when queried as Fick’s second law. Besides Python, it can support programming in many languages,
including Matlab/Octave, C/C++, Java, and R; however, as per ChatGPT, “it can’t directly compile or
execute these codes or visualize the plots in its environment.” Importantly, it can autonomously learn from
an incorrect code that it writes and then be able to “correct the code and run the simulation again” by
itself. It should be noted that for repeated query of the same prompt may generate different code structures.
The prompt does not need to be case-sensitive. Importantly, ChatGPT is _context-aware_, meaning, even if a
variable is defined differently at various places in the prompt, it understands the context of the variable and
considers them as the same. It extensively uses NumPy, SciPy, Matplotlib, scikit-learn, and other Python
libraries and wrappers as required for coding and data analysis; and it can save the output data and images
in arbitrary formats. Although not shown here, ChatGPT is able to solve Eq. (1) correctly using the Fourier
spectral method [39] and implicit time-stepping schemes. Also, it is somewhat capable of modifying the code
that can be run on external parallel CPU and GPU clusters using OpenMP [40], MPI [41], and CUDA [42]. As
we will show later, ChatGPT can efficiently perform 2D simulations on reasonably-sized domains; however,
as per ChatGPT, “3D simulations might be constrained to domains with dimensions in the order of hundreds
to a few thousand grid points along each axis depending on the complexity of the problem.” Importantly,
ChatGPT allows the user to copy the code to perform large-scale simulations on external systems. It is
6
Figure 2: (Color online) As a first case study (Sec. 3.1), we depict the ChatGPT response generated after entering the given
prompt in a zero-shot manner directly in its AI chatbot. The time evolution of the composition field generated by ChatGPT
is compared with excellent accuracy with the in-house implementation of the identical problem. Over time, the initial solute
concentration profile (step function) approaches the equilibrium value ( _c_ = 0 _._ 4) due to diffusion.
able to give reasonable material-specific data after a literature review (e.g., _D_ _≈_ 7 _×_ 10 <sup>_−_</sup> <sup>9</sup> ) when we ask:
“what is the diffusion coefficient for 3 wt% Cu in Al at 877 K?”, noting that repeating the same query
generated a more accurate answer ( _D_ _≈_ 2 _×_ 10 <sup>_−_</sup> <sup>9</sup> ) [43]. However, it is unable to provide this data for many
other material systems but recommends correct online resources where to look for to obtain these parameter
values. Also, when asked for more technical details like, “is the above analysis valid when _D_ is a function
of _c_ ?”, it correctly responded as “no” and provided the conceptual modifications required in the simulation
code. These are the general observations we had while interacting with ChatGPT; hence, for the sake of
brevity, we do not repeat the above queries for other case studies henceforth. However, depending on the
complexity of the PDE requested to solve by the user, the above specific observations may vary from task
to task.
7
_3.2._ _Task_ _2:_ _Cahn-Hilliard_ _equation_
The second case study corresponds to material problems involving long-range diffusion, as seen in mi
crostructure evolution _via_ spinodal decomposition or phase separation in general [44–46]. We use the Cahn
Hilliard PDE [34] (hyper-diffusion equation with fourth-order derivatives of _c_ ) to simulate spinodal decom
position in a binary alloy of two-phase systems,
_<u>∂c</u>_ <u>(</u> _<u>r, t</u>_ <u>)</u>
= _∇· M_ _∇_
_∂t_
- _<u>∂f</u>_ <u>(</u> _<u>c</u>_ <u>)</u>
_−_ _κc∇_ <sup>2</sup> _c_ _,_ (2)
_∂c_
where _r_ is the position, _M_ is the mobility, _f_ is the chemical free energy of the system, and the second term is
the interfacial free energy of the diffuse interface, in which _κc_ is the gradient energy coefficient. Equation (2)
is based on the total free energy of the given material given by,
_F_ ( _c, ∇c_ ) =
_v_
_f_ ( _c_ ) + <sup>_<u>κ</u>_</sup> 2 <sup>_<u>c</u>_</sup> <sup>_|∇c|_</sup> <sup>2�</sup> _dv,_ (3)
which is the starting point for most phase-field models [46, 47], but there can be additional terms due
to the coupling of the additional physics, as we will explore this in subsequent case studies. We consider
_f_ ( _c_ ) = _Acc_ <sup>2</sup> (1 _−_ _c_ ) <sup>2</sup>, a double-well potential whose wells define the phases. We solve Eq. (2) on a 128 _×_ 128
domain with ∆ _x_ = ∆ _y_ = 1 _._ 0, ∆ _t_ = 0 _._ 1, _κc_ = 2, _M_ = 0 _._ 1, _Ac_ = 1, _Nt_ = 40000, and periodic boundary
conditions in all directions. We assume a random noise of variance _±_ 0.01 that is added to the initial matrix
composition ( _c_ 0 = 0 _._ 5). We implement with the explicit Euler finite-difference algorithm.
The corresponding prompt and the ChatGPT output are shown in Fig. 3. The general observations are
as follows. With time, the initial binary matrix phase separates into _A_ -rich and _B_ -rich phases, followed by
the coarsening of the phases (i.e., Ostwald ripening) [48, 49]. The phase separation and coarsening processes
are direct consequences of the reduction in total free energy of the system (right subpanel in Fig. 3) owing
to a significant reduction in the amount of interfaces in the microstructure [50]. Although not shown here,
we confirm the accuracy of the output against our in-house code simulation of the identical problem.
Next, we test the capability of ChatGPT to perform parameter studies. For reference, the parameter
_k_ controls the interfacial energy between different phases in the system, hence critical for phase separation
dynamics. We ask ChatGPT to run Cahn-Hilliard simulation (Eq. (2)) for three different _k_ values, as
demonstrated in the prompt given in Fig. 3. For each value of _k_, ChatGPT calculates the microstructure
evolution over time and the corresponding reduction in the free energy of the system. ChatGPT clearly
captures the effect of increasing value of _k_ : compared to systems with small _k_, large _k_ values lead to faster
diffusion and more diffuse interfaces, which promote faster coarsening of phases to reduce the total free energy
of the system more rapidly. Since such a general parameter study can be performed in a straightforward
manner by providing different values of the parameter of choice in the prompt, henceforth, we do not repeat
8
such a study for simplicity.
Due to severe time step restrictions (due to the _∇_ <sup>4</sup> _c_ term in Eq. (2)), ChatGPT is unable to work
on complex domain geometries, including 3D and non-rectangular 2D, and even on square geometry for
large-scale simulations. When we ask it to simulate for more time steps, it responded, “it took too long
and exceeded the time limit for processing.” Also, when asked for materials-specific values for _κc_ and _M_, it
provided general values, _κc_ _≈_ 10 <sup>_−_</sup> <sup>11</sup> to 10 <sup>_−_</sup> <sup>9</sup> J/m and _M_ _≈_ 10 <sup>_−_</sup> <sup>9</sup> to 10 <sup>_−_</sup> <sup>12</sup> m <sup>2</sup> /s, but not for any specific alloy,
likely due to lack of domain-specific knowledge in the training data set. We note that repeated queries of the
same prompt may be needed to produce the desired results and plots. Further, when we ask ChatGPT about
a causal reasoning question like “what is the relationship between _k_ and equilibrium”, it correctly responds:
“a larger _k_ value increases the energy penalty for sharp concentration gradients, which drives the system
to smooth out these gradients more rapidly and thus leads to a faster approach to equilibrium.” Finally,
the ChatGPT code can be run on the client-side system to simulate large-scale, long-time microstructure
evolution process with complex domain geometries.
_3.3._ _Task_ _3:_ _Coupled_ _Cahn-Hilliard_ _and_ _Ginzburg-Landau_ _or_ _Allen-Cahn_ _equations_
Next, we couple generalized PDEs of Ginzburg-Landau or Allen-Cahn [35] and Cahn-Hilliard [34] type to
study the coupled physics of conserved (concentration: _c_ ) and non-conserved (order parameter: _ϕ_ ) parameters
during microstructure evolution. The general approach could be used to model curvature-driven problems
(e.g., grain growth and coarsening) or order-disorder transformations [51]. The corresponding PDE for _c_ is
given by Eq. (2); and for _ϕ_ we consider,
_<u>∂ϕ</u>_ <u>(</u> _<u>r, t</u>_ <u>)</u>
= _−L_
_∂t_
- _<u>∂f</u>_ _∂ϕ_ <sup>_−_</sup> <sup>_κϕ∇_</sup> <sup>2</sup> <sup>_ϕ_</sup> _,_ (4)
where _L_ is a mobility parameter, _f_ is a double-well free energy potential, and _κϕ_ is the gradient energy
coefficient. For simplicity, we use _f_ ( _c, ϕ_ ) = _Acc_ <sup>2</sup> (1 _−_ _c_ ) <sup>2</sup> + _Aϕϕ_ <sup>2</sup> (1 _−_ _ϕ_ ) <sup>2</sup> that couples _ϕ_ and _c_ . In terms of
solution complexity, the coupled system contains a _∇_ <sup>2</sup> _ϕ_ term in addition to the usual _∇_ <sup>2</sup> _c_ and _∇_ <sup>4</sup> _c_ terms in
Eq. (2). In this case, the free energy of the material is given by,
_F_ ( _c, ϕ, ∇c, ∇ϕ_ ) =
_v_
_f_ ( _c, ϕ_ ) + <sup>_<u>κc</u>_</sup> (5)
2 <sup>_|∇c|_</sup> <sup>2 +</sup> <sup>_<u>κ</u>_</sup> 2 <sup>_<u>ϕ</u>_</sup> <sup>_|∇ϕ|_</sup> <sup>2</sup> <sup>_dv,_</sup>
which makes the starting point for many advanced phase-field models [52, 53].
We solve coupled PDEs, Eq. (2) and (4), on a 128 _×_ 128 domain with ∆ _x_ = ∆ _y_ = 1 _._ 0, ∆ _t_ = 0 _._ 01,
_κc_ = _κϕ_ = 2, _M_ = 0 _._ 1, _L_ = 0 _._ 1, _Ac_ = 1, _Aϕ_ = 2, _Nt_ = 20000, and periodic boundary conditions in all
directions. We assume an initial circular grain (radius of 20 grids, _ϕ_ = 1 and _c_ = 1) embedded into a large
second grain ( _ϕ_ = 0 and _c_ = 0). We implement the system with an explicit Euler finite-difference algorithm.
9
Figure 3: (Color online) As a second case study (Sec. 3.2), we depict the ChatGPT response generated after entering the given
prompt in a zero-shot manner directly in its AI chatbot. The time evolution of the composition field in the simulation box leads
to phase separation of the binary alloy into _A_ -rich (red) and _B_ -rich (blue) phases. The coarsening of the microstructure phases
over time ( _t_ ) is evident. As expected, the total free energy of the system decreases with time (subplots in the right panel). We
ask ChatGPT to perform a parameter study with varying values of the gradient energy coefficient _k_ . The output in terms of
microstructure and free energy evolution over time is shown in the top row for _k_ = 0.5, middle row for _k_ = 1.0, and bottom
row for _k_ = 2.0. The interface becomes more diffuse with increasing value of _k_, promoting faster coarsening of phases to reduce
the interfacial (and hence total) free energy of the phase-separating system.
10
Since our objective is to test the capability of ChatGPT in solving coupled PDEs with additional physics,
we keep the above model parameters non-dimensional and numerically affordable.
The corresponding prompt and the ChatGPT response are shown in Fig. 4. The initial interface becomes
diffuse with time, and the circular grain continues to shrink over the time of the simulation, as expected.
The ChatGPT is able to characterize such shrinkage behavior of the grain following the change in its radius
with increasing time, as evident from Fig. 4 (bottom right panel). We observe the identical grain behavior
using our in-house code. Note that due to the increased complexity of the coupled system, it takes a
longer time for each iteration when compared to that with Eq. (2), thus reducing the timescale limit that
ChatGPT can process (i.e., 40000 in Task 3 vs. 20000 in Task 4). To further speed up the simulations,
for example, GPU-parallel resources are required. Unfortunately, as per ChatGPT “the environment here
does not support direct execution of GPU-accelerated code, as it requires access to physical GPU hardware
and specific software libraries that are not available in this setup.” Also, when asked to “fit the area
fraction vs. time curve using a line of best fit and provide the _R_ <sup>2</sup> value”, it correctly estimated the linear
relationship [54] between the time and area fraction with _R_ <sup>2</sup> _≈_ 0 _._ 957, demonstrating basic data analysis
ability of ChatGPT “on-the-fly.” Furthermore, as a query for domain knowledge, “why is the area fraction
decreasing with time?”, it correctly recognized the critical role of curvature-driven interface migration and
the Gibbs-Thomson effect [38]. We note that for more complex model formulations and parameters, such as
polycrystalline microstructure evolution due to grain growth [55], ChatGPT should be able to generate the
code, which can then be executed with external software.
We must admit that without specific numerical instructions, ChatGPT and LLMs in general produce
different code structures with different numerical solution schemes (in terms of different Python functions,
optimizations, array loop structures, boundary condition implementations, etc.). Hence, the stability and
accuracy of the resulting code will differ for each output generation. Consequently, the quantitative details of
the output will vary, although the simulation code may be correct, as we note in this particular case. While
simulating the same problem using our in-house code, we observe a _R_ <sup>2</sup> _≈_ 0 _._ 923 compared to ChatGPT output
with _R_ <sup>2</sup> _≈_ 0 _._ 957. Such differences in the quantitative measure of the simulation results vary depending on
the specific implementation schemes ChatGPT uses to produce the output, noting that the solution schemes
may differ upon repeated user requests even for solving the same problem.
_3.4._ _Task_ _4:_ _Solidification_ _and_ _dendritic_ _growth_
In materials solidification, the most common microstructures are made of dendrite crystals [56, 57].
Compared to previous case studies, this case study involves additional physics, including anisotropic diffusion,
interfacial energy, and solidification, among others. We use the famous Kobayashi [36] phase-field formulation
(based on Ginzburg-Landau or Allen-Cahn Eq. (4)) to simulate dendritic growth in a pure material, noting
that this model makes the basis for more complex dendrite models derived later [58, 59]. We solve two
11
Figure 4: (Color online) As a third case study (Sec. 3.3), we depict the ChatGPT response generated after entering the given
prompt in a zero-shot manner directly in its AI chatbot. For reference, we only show the time evolution of the _ϕ_ field. The
circular grain shrinks over time due to the curvature-induced diffusion effects. The area fraction of this grain decreases linearly
with time, with the _R_ <sup>2</sup> of a line of best fit _≈_ 0 _._ 957.
coupled PDEs describing the time evolution of phase-field _ϕ_ and temperature _T_ as,
_<u>∂ϕ</u>_
_∂x_
- _ϵ_ <sup>_<u>∂ϵ</u>_</sup>
_∂θ_
_<u>∂ϕ</u>_
_∂y_ )
+ _ϕ_ (1 _−_ _ϕ_ )( _ϕ −_ 2 <sup><u>1</u></sup>
_τ_ <sup>_<u>∂ϕ</u>_</sup> _∂t_
<sup>_<u>∂ϕ</u>_</sup>
_∂t_ <sup>=</sup> _∂y_ <sup>_<u>∂</u>_</sup>
_∂y_
- _−_ <sup>_<u>∂</u>_</sup>
_∂x_
+ _∇·_
<sup><u>1</u></sup> (6)
2 <sup>+</sup> <sup>_<u>α</u>_</sup> _π_ <sup>arctan [</sup> <sup>_γ_</sup> <sup>(</sup> <sup>_Tm −_</sup> <sup>_T_</sup> <sup>)])</sup> <sup>_,_</sup>
- _ϵ_ <sup>_<u>∂ϵ</u>_</sup>
_∂θ_
- _ϵ_ <sup>2</sup> _∇ϕ_
and
_<u>∂T</u>_
<sup>_<u>∂ϕ</u>_</sup> _∂t_ <sup>_._</sup> (7)
_<u>∂T</u>_
_∂t_ <sup>=</sup> <sup>_∇_</sup> <sup>2</sup> <sup>_T_</sup> <sup>+</sup> <sup>_K ∂ϕ_</sup> _∂t_
Here, _τ_ is the relaxation time; _ϵ_ ( _θ_ ) = _ϵ_ ¯ [1 + _δ_ cos( _m_ ( _θ −_ _θ_ 0))] is a _m_ -fold crystal anisotropy function with
_θ_ = arctan
- _<u>∂ϕ/∂y</u>_
_∂ϕ/∂x_
the interface orientation angle and _δ_ the anisotropy strength; _α_ and _γ_ are positive
constants; _Tm_ is the melting temperature; and _K_ is the latent heat. Although not shown here for brevity, a
Ginzburg-Landau type system free energy (similar to Eq. (5)) is assumed to obtain Eqs. (6) and (7).
We solve coupled PDEs, Eqs. (6) and (7), assuming a solid ( _ϕ_ = 1) circular seed of radius of 5 grid
units at the center of a 2D 200 _×_ 200 domain filled with liquid ( _ϕ_ = 0). We use ∆ _x_ = ∆ _y_ = 0 _._ 03, _T_ = 0,
∆ _t_ = 0 _._ 0001, _τ_ = 0 _._ 0003, _ϵ_ ¯ = 0 _._ 01, _δ_ = 0 _._ 02, _m_ = 6, _θ_ 0 = 0 _._ 05, _α_ = 0 _._ 9, _Tm_ = 1 _._ 0, _γ_ = 10 _._ 0, _K_ = 2 _._ 0,
_Nt_ = 2500 time steps, and periodic boundary conditions for both _ϕ_ and _T_ in all directions. We use the
explicit time marching scheme with a central finite difference method to discretize the PDEs.
The corresponding prompt and the ChatGPT response are shown in Fig. 5. After providing the equation
12
and parameters in a prompt formatted in natural language to ChatGPT (Prompt 1 in Fig. 5), it generates
an executable yet logically incorrect code and thus fails to produce the correct output (bottom left subpanel
in Fig. 5). In particular, it could not handle the derivatives involving anisotropy (first two terms in Eq. (6))
and thus could not resolve the dependency between these equations _via_ _∂ϕ/∂t_ in Eq. (7). Therefore, we
had to provide more detailed technical instructions (inspired by our in-house code of the same problem)
on how to solve the coupled PDEs. We update the prompt with specific _rules_ on (a) how to calculate the
derivatives and Laplacian using a five-point stencil; (b) how to work on the explicit forms of the derivatives,
particularly, involving with the complex anisotropy terms in Eq. (6); (c) how to code the spatial derivatives
of anisotropy with respect to _θ_, and (d) how to explicitly code the iteration loops to correctly calculate
the time derivatives. With all the extensive feedback provided _via_ a series of prompt iterations, so-called
“Chain-of-Thought” (CoT) prompting, ChatGPT was able to learn from these interactions and correct errors
by itself, eventually generating the correct code (see supplementary material). We present these series of
prompt iterations in a zero-shot manner in Fig. 5 (Prompt 2). Due to the complex nature of the PDEs and
severe time restriction (∆ _t_ = 10 <sup>_−_</sup> <sup>4</sup> ), processing of the code takes a long time; hence, ChatGPT was unable
to execute the code in its environment. Thus, we export this code to an external system and execute it
locally to obtain the solution output. The output _ϕ_ and _T_ profiles are shown in Fig. 5, where the initial
circular solid seed (not shown) grows with time to produce dendritic structures with six primary arms with
well-defined side branches.
It is evident that several expert-driven iterations and feedback need to be given to solve multi-physics
coupled PDEs in ChatGPT. Also, how much information needs to be input to generate accurate code/output
that remains a challenge. We note that since LLMs are essentially a text-completer [3], the user should input
nearly all the intricate code tasking details, as if like “forcing” the model to generate the desired output,
as evident in this particular case. Nevertheless, this approach will almost take away the convenience of the
ChatGPT approach, as seen in previous case studies (Sec. 3.1-3.3). Thus, it will be more prudent to write the
coding task from scratch or build it on top of the code base provided by ChatGPT for a better investment
of time and skills.
4. Summary and Outlook
In this work, we test the capability of ChatGPT to solve several well-known PDEs central to materials
science. The solution of these PDEs, under appropriate simulation setup and parameters, provides the
spatial and temporal dependence of the microstructure variables in metallic alloys. To this purpose, we
use four benchmark case studies for numerical implementations of phase-field model PDEs with increasing
order of complexity in terms of additional physics. In this context, our objective is to replace programming
and compiling with prompt writing how far we can explore ChatGPT for generating the correct solutions
13
Figure 5: (Color online) As a fourth case study (Sec. 3.4), we depict the ChatGPT-4 response after entering the prompts in a
zero-shot manner in the AI chatbot. Prompt 1 produces the wrong code and output. Since ChatGPT produces different codes
for repeated user calls with the same prompt, this is just one of the wrong outputs that we present for reference. Prompt 2
produces the correct code and output. Using Prompt 2, we show the dendrite growth at time _t_ = 2400 by plotting the _ϕ_ and
_T_ fields. The six primary arms and the well-developed secondary branches can be clearly seen. These results perfectly match
with the in-house code execution results for the identical problem.
14
of the input PDEs, noting that there is a significant potential for coding skills to transition fully to natural
language in the future. From this work, we highlight the following observations and remarks:
- ChatGPT can be effectively leveraged to address a range of tasks aiding materials research, such as
writing and explaining scientific computer codes, running Python codes, generating visualization files,
performing data analysis, and even writing scripts for running simulations on mainstream software
such as MATLAB [60]. As per our experience (Table 2), other LLMs are not so robust yet when it
comes to scientific computing and data analysis. Thus, many of the latest conversational AI chatbots,
such as Copilot [16], are powered by GPT-4 Turbo [61], the latest iteration in the GPT models (as of
April 1, 2024).
- In particular, ChatGPT is seemingly professional at generating multi-physics codes, with its particular
strength in scientific computing in Python. However, we do not recommend executing the code on
ChatGPT due to its processing constraints on simulation length and time scales (see Sec. 3.4). With
increasing problem complexity, we note that repetition of the same query is often needed to produce
the desired output. The dependence on reliable internet speed aggravates the situation even further.
Fortunately, ChatGPT allows the user to copy the code to use in external software systems.
- In case of complex PDEs with interacting many physical parameters (Sec. 3.4), ChatGPT is likely
to introduce inaccuracies in the code and thus fails to produce the full solution process, indicating
the computing constraints and its low capability to complex PDE solution. Thus, additional, specific
details must be provided based on the complexity of the coding task. However, the risk remains for
more hidden errors and output inconsistencies, which one can often experience when working with
ChatGPT. Thus, expert-driven fact-checking and verification processes become essential. Although
ChatGPT is capable of providing a code base as a good starting point to tackle such complex tasks, a
meticulous amount of coding tasks still remains at hand.
- We find that the performance of ChatGPT significantly decreases as the complexity of PDEs increases.
This is due to the lack of domain knowledge that aggravates the gap between its understanding of the
problem and the real situation. With the increasing complexity of PDEs, we note that it is becoming
more of a trial-and-error approach to solve PDEs and less of a scientific approach. Thus, ChatGPT
is not yet efficient at handling domain-specific specialized research involving complex PDEs for which
an in-depth understanding of the given problem is required, as shown in Sec. 3.4. However, with
more technical advancements of these models in the next iterations of development (e.g., GPT-5), they
should be able to handle increasingly complex PDEs.
- It is clear from our work (Sec. 3.1-3.3) that ChatGPT shows acceptable performance in exploring
general scientific tasks, that is, to solve PDEs up to a certain complexity. In this regard, the ability
15
of ChatGPT can be further improved to some extent _via_ chain prompting by providing iteration and
“intelligent” feedback to ChatGPT. These aspects will be indeed helpful for classroom teaching and
training of new materials researchers where mostly low-to-medium level complex queries are addressed.
- ChatGPT can fail spectacularly in generating code that does not work. For the most difficult problem
to solve in this study (i.e., Task 4 for dendrite crystal growth), ChatGPT fails to produce the correct
code. We carefully evaluate the errors in the generated codes after making repeated calls with the same
prompt in ChatGPT. However, the errors are not consistent as they differ in different codes. We note
that typical errors range from implementation errors in the initial and boundary conditions, logical
errors in computing derivatives and implementing array loops, broken code due to the timeout limit
in ChatGPT, and sometimes ignored instructions in the input/output. Since showing all the wrong
outputs is impractical, we show a few of these in the supplementary material for demonstration. In
Sec. 3.4, we discuss the error mitigation strategies to produce the desired output in the context of
the dendrite growth problem. However, solving dendrite growth in ChatGPT is not trivial because
of the large-sized prompt, and there is a limit to how many characters within a chat ChatGPT will
“remember” so it will frequently make mistakes due to losing the context of early prompts or its early
answers and sometimes generate a broken code due to the timeout limit. Therefore, we attempt to use
a single prompt that will minimize inference time and reduce the computational cost, improving the
effectiveness of the ChatGPT approach in error mitigation. Note that evaluating errors and improving
the performance of ChatGPT is a broad topic, which is not the focus of this work, but it makes an
interesting future study. Remarkably, the newest and latest GPT model, ChatGPT-4o [62], leads to
better results for coding tasks to simulate the dendritic growth problem even using a single prompt
(prompt 1 in Fig. 5, see supplementary for details). The ChatGPT-4 [12] could not produce the correct
code and output using the same prompt (see left subpanel in Fig. 5).
- We show that LLMs in general are useful in coding tasks. Moreover, even if the generated code pro
duces the correct output, the accuracy of the results may not be useful for the targeted applications.
For instance, the simulation accuracy required for materials education purposes is different from that
required in critical applications such as designing materials for healthcare and aerospace, where ac
curacy and reliability are paramount. Perhaps more troubling is that the LLM algorithms are “black
boxes”; thus, it is difficult to know why they are generating the code that they do, and there is no
measure of uncertainty associated with those outputs. Thus, uncertainty quantification (UQ) may
be essential in the future to enhance the reliability and trustworthiness of LLMs, fostering greater
acceptance and utilization in practical applications.
- Finally, every reward comes with a cost. ChatGPT will undoubtedly reduce the need for certain skills;
16
most importantly, scientific coding can be accomplished more efficiently with reduced time investment.
Thus, it remains to be seen how the use of LLMs challenges traditional ways of education and training
of researchers. Most importantly, beginners must remain cautious with answers from ChatGPT and
in relying heavily on it, as it may hinder the development of their research skills. Also, the challenge
remains to be seen in terms of the extent to which the research process should be outsourced to
LLMs and what academic skills remain essential to researchers. On the other hand, these AI tools
will eventually open up new frontiers in various domains and introduce new skills, such as prompt
engineering and generative AI in general, which may significantly boost research productivity. However,
with increasingly complex problems, more expert guidance is required for LLMs to perform the task
accurately. Thus, researchers should gain sufficient expertise in their domain knowledge before they
can leverage ChatGPT to expedite their workflow.
There is no denying that LLMs have the potential to impoverish our own writing and thinking skills since
often we have to do only a little to obtain a sophisticated text or code [2]. While the debate will continue
regarding its implication on scientific practice and responsible use of LLMs for research and the security risk
it poses, the benefit-to-risk ratio remains very high [1] and is improving with each passing day. For example,
ChatGPT-4 now cites the sources for its answers, addressing some of the plagiarism issues inherent to LLM
based applications (inherited from training data) [63]. With the rapid increase in model “parameters” and
“tokens” (Table 1) and collaborative synergy with human expertise, LLMs offer a promising outlook for
accelerating materials research and exploration that seem out of reach today. Consequently, the enhanced
proficiency of LLMs in materials modeling at different scales could enable them to evolve into AI-powered
ICME agents in the future.
Acknowledgments
S. Ghosh acknowledges the support from FIG (SRIC office, IIT Roorkee) and SERB (Government of
India).
Supplementary Material
We provide the Python codes generated by ChatGPT as a response to the given prompts for four tasks,
as depicted in Figs. 2-5. These files are named as `task1.py`, `task2.py`, `task3.py`, and `task4.py` . We share
the ChatGPT chat history to solve the diffusion problem (Task 1) in `Task1-chatgpt.pdf` . We share the
ChatGPT workspace for dendritic growth problem (Task 4) with incorrect output in `Task4-wrong.pdf` . The
output from ChatGPT-4o for Task 4 is given in `Task4-chatgpt4o-output.pdf` .
17
Conflict of Interest Statement
The authors have no conflicts to disclose.
Data Availability Statement
The data that supports the findings of the study are available from the corresponding author upon
reasonable request.
References
[1] E. A. Van Dis, J. Bollen, W. Zuidema, R. Van Rooij, C. L. Bockting, ChatGPT: five priorities for
research, Nature 614 (7947) (2023) 224–226. `[doi:https://doi.org/10.1038/d41586-023-00288-7](http://dx.doi.org/https://doi.org/10.1038/d41586-023-00288-7)` .
[2] L. Schulze Balhorn, J. M. Weber, S. Buijsman, J. R. Hildebrandt, M. Ziefle, A. M. Schweidtmann,
Empirical assessment of ChatGPT’s answering capabilities in natural science and engineering, Scientific
Reports 14 (1) (2024) 4998. `[doi:https://doi.org/10.1038/s41598-024-54936-7](http://dx.doi.org/https://doi.org/10.1038/s41598-024-54936-7)` .
[3] A. G´eron, Hands-on machine learning with Scikit-Learn, Keras, and TensorFlow, O’Reilly Media, Inc.,
Newton, MA, 2022.
[4] A. Vaswani, N. Shazeer, N. Parmar, J. Uszkoreit, L. Jones, A. N. Gomez, L. Kaiser, I. Polosukhin,
Attention is all you need, in: Advances in neural information processing systems, 2017, pp. 5998–6008.
[5] Common Crawl, `[https://commoncrawl.org/](https://commoncrawl.org/)` (2024).
[6] Wikipedia, `[https://www.wikipedia.org/](https://www.wikipedia.org/)` (2023).
[7] V. Alto, Modern Generative AI with ChatGPT and OpenAI Models: Leverage the capabilities of
OpenAI’s LLM for productivity and innovation with GPT3 and GPT4, Packt Publishing, Birmingham,
UK, 2023.
[8] G. Lei, R. Docherty, S. J. Cooper, Materials science in the era of large language models: a perspective,
arXiv preprint arXiv:2403.06949 `[doi:https://doi.org/10.48550/arXiv.2403.06949](http://dx.doi.org/https://doi.org/10.48550/arXiv.2403.06949)` .
[9] Y. Liu, Z. Yang, Z. Yu, Z. Liu, D. Liu, H. Lin, M. Li, S. Ma, M. Avdeev, S. Shi, Generative artificial
intelligence and its applications in materials science: Current situation and future perspectives, Journal
of Materiomics 9 (4) (2023) 798–816. `[doi:https://doi.org/10.1016/j.jmat.2023.05.001](http://dx.doi.org/https://doi.org/10.1016/j.jmat.2023.05.001)` .
[10] LLMLingua-2, `[https://llmlingua.com/](https://llmlingua.com/)` (2023).
[11] GPT-3, `[https://openai.com/blog/gpt-3-apps/](https://openai.com/blog/gpt-3-apps/)` (2021).
18
[12] GPT-4, `[https://openai.com/gpt-4/](https://openai.com/gpt-4/)` (2023).
[13] Grok, `[https://grok.x.ai/](https://grok.x.ai/)` (2023).
[14] Gemini, `[https://gemini.google.com/app/](https://gemini.google.com/app/)` (2024).
[15] Llama 2, `[https://llama.meta.com/](https://llama.meta.com/)` (2023).
[16] Copilot, `[https://copilot.microsoft.com/](https://copilot.microsoft.com/)` (2023).
[17] Cluade-3, `[https://claude.ai/](https://claude.ai/)` (2024).
[18] Mistral AI, `[https://mistral.ai/](https://mistral.ai/)` (2023).
[19] S. Frieder, L. Pinchetti, R.-R. Griffiths, T. Salvatori, T. Lukasiewicz, P. Petersen, J. Berner, Mathe
matical capabilities of ChatGPT, Advances in Neural Information Processing Systems 36.
[20] N. Koceska, S. Koceski, L. K. Lazarova, M. Miteva, B. Zlatanovska, Can chatgpt be used for solving
ordinary differential equations, Balkan Journal of Applied Mathematics and Informatics 6 (2) (2023)
103–114.
[21] G. Orlando, Assessing chatgpt for coding finite element methods, Journal of Machine Learning for
Modeling and Computing 4 (2).
[22] T. Dave, S. A. Athaluri, S. Singh, ChatGPT in medicine: an overview of its applications, advantages,
limitations, future prospects, and ethical considerations, Frontiers in artificial intelligence 6 (2023)
1169595. `[doi:10.3389/frai.2023.1169595](http://dx.doi.org/10.3389/frai.2023.1169595)` .
[23] T. Lubiana, R. Lopes, P. Medeiros, J. C. Silva, A. N. A. Goncalves, V. Maracaja-Coutinho, H. I. Nakaya,
Ten quick tips for harnessing the power of ChatGPT in computational biology, PLOS Computational
Biology 19 (8) (2023) e1011319. `[doi:10.1371/journal.pcbi.1011319](http://dx.doi.org/10.1371/journal.pcbi.1011319)` .
[24] J. H. Choi, K. E. Hickman, A. B. Monahan, D. Schwarcz, ChatGPT goes to law school, J. Legal Educ.
71 (2021) 387.
[25] Z. Hong, ChatGPT for computational materials science: A perspective, Energy Material Advances 4
(2023) 0026. `[doi:10.34133/energymatadv.0026](http://dx.doi.org/10.34133/energymatadv.0026)` .
[26] J. Deb, L. Saikia, K. D. Dihingia, G. N. Sastry, ChatGPT in the material design: Selected case studies to
assess the potential of ChatGPT, Journal of Chemical Information and Modeling 64 (3) (2024) 799–811.
`[doi:10.1021/acs.jcim.3c01702](http://dx.doi.org/10.1021/acs.jcim.3c01702)` .
[27] L. Q. Chen, Phase-field models for microstructure evolution, Annu. Rev. Mater. Res. 32 (2002) 113–140.
19
[28] N. Moelans, B. Blanpain, P. Wollants, An introduction to phase-field modeling of microstructure evo
lution, Calphad 32 (2) (2008) 268 - 294. `[doi:https://doi.org/10.1016/j.calphad.2007.11.003](http://dx.doi.org/https://doi.org/10.1016/j.calphad.2007.11.003)` .
[29] W. J. Boettinger, J. A. Warren, C. Beckermann, A. Karma, Phase-field simulation of solidification,
Annu. Rev. Mater. Res. 32 (2002) 163–194. `[doi:https://doi.org/10.1146/annurev.matsci.32.](http://dx.doi.org/https://doi.org/10.1146/annurev.matsci.32.101901.155803)`
`[101901.155803](http://dx.doi.org/https://doi.org/10.1146/annurev.matsci.32.101901.155803)` .
[30] I. Steinbach, Phase-field models in materials science, Modelling and Simulation in Materials Science
and Engineering 17 (2009) 073001. `[doi:10.1088/0965-0393/17/7/073001](http://dx.doi.org/10.1088/0965-0393/17/7/073001)` .
[31] A. M. Jokisaari, P. Voorhees, J. E. Guyer, J. Warren, O. Heinonen, Benchmark problems for numerical
implementations of phase field models, Computational Materials Science 126 (2017) 139–151. `[doi:](http://dx.doi.org/https://doi.org/10.1016/j.commatsci.2016.09.022)`
`[https://doi.org/10.1016/j.commatsci.2016.09.022](http://dx.doi.org/https://doi.org/10.1016/j.commatsci.2016.09.022)` .
[32] A. M. Jokisaari, P. W. Voorhees, J. E. Guyer, J. A. Warren, O. G. Heinonen, Phase field benchmark
problems for dendritic growth and linear elasticity, Computational Materials Science 149 (2018) 336–347.
`[doi:https://doi.org/10.1016/j.commatsci.2018.03.015](http://dx.doi.org/https://doi.org/10.1016/j.commatsci.2018.03.015)` .
[33] W. Callister, D. Rethwisch, Materials Science and Engineering: An Introduction, Wiley Plus Products
Series, John Wiley & Sons, New York, NY, 2010.
[34] J. W. Cahn, J. E. Hilliard, Free energy of a nonuniform system. I. Interfacial free energy, The Journal
of chemical physics 28 (2) (1958) 258–267. `[doi:https://doi.org/10.1063/1.1744102](http://dx.doi.org/https://doi.org/10.1063/1.1744102)` .
[35] S. M. Allen, J. W. Cahn, A microscopic theory for antiphase boundary motion and its application to
antiphase domain coarsening, Acta Metallurgica 27 (6) (1979) 1085 – 1095. `[doi:https://doi.org/10.](http://dx.doi.org/https://doi.org/10.1016/0001-6160%0x2879%0x2990196-2)`
`[1016/0001-6160(79)90196-2](http://dx.doi.org/https://doi.org/10.1016/0001-6160%0x2879%0x2990196-2)` .
[36] R. Kobayashi, Modeling and numerical simulations of dendritic crystal growth, Physica D: Nonlinear
Phenomena 63 (3-4) (1993) 410–423. `[doi:https://doi.org/10.1016/0167-2789(93)90120-P](http://dx.doi.org/https://doi.org/10.1016/0167-2789%0x2893%0x2990120-P)` .
[37] Hugging Face, `[https://huggingface.co/models](https://huggingface.co/models)` (2024).
[38] D. A. Porter, K. E. Easterling, Phase transformations in metals and alloys, CRC press, Boca Raton,
FL, 2009.
[39] M. Frigo, S. G. Johnson, The design and implementation of FFTW3, Proceedings of the IEEE 93 (2)
(2005) 216–231, special issue on “Program Generation, Optimization, and Platform Adaptation”.
[40] L. Dagum, R. Menon, OpenMP: An Industry-Standard API for Shared-Memory Programming, IEEE
Comput. Sci. Eng. 5 (1) (1998) 46–55. `[doi:10.1109/99.660313](http://dx.doi.org/10.1109/99.660313)` .
20
[41] W. Gropp, E. Lusk, A. Skjellum, Using MPI: portable parallel programming with the message-passing
interface, Vol. 1, MIT press, 1999.
[42] NVIDIA Corporation, NVIDIA CUDA C programming guide, version 3.2 (2010).
[43] A. Farzadi, M. Do-Quang, S. Serajzadeh, A. Kokabi, G. Amberg, Phase-field simulation of weld solidifi
cation microstructure in an Al-Cu alloy, Modelling and Simulation in Materials Science and Engineering
16 (6) (2008) 065005. `[doi:10.1088/0965-0393/16/6/065005](http://dx.doi.org/10.1088/0965-0393/16/6/065005)` .
[44] S. Ghosh, A. Mukherjee, T. Abinandanan, S. Bose, Particles with selective wetting affect spinodal
decomposition microstructures, Physical Chemistry Chemical Physics 19 (23) (2017) 15424–15432. `[doi:](http://dx.doi.org/https://doi.org/10.1039/C7CP01816A)`
`[https://doi.org/10.1039/C7CP01816A](http://dx.doi.org/https://doi.org/10.1039/C7CP01816A)` .
[45] S. Ghosh, A. Mukherjee, R. Arroyave, J. F. Douglas, Impact of particle arrays on phase separation
composition patterns, The Journal of chemical physics 152 (22) (2020) 224902. `[doi:https://doi.org/](http://dx.doi.org/https://doi.org/10.1063/5.0007859)`
`[10.1063/5.0007859](http://dx.doi.org/https://doi.org/10.1063/5.0007859)` .
[46] S. Ghosh, J. F. Douglas, Phase separation in the presence of fractal aggregates, The Journal of Chemical
Physics 160 (10) (2024) 104903. `[doi:10.1063/5.0190196](http://dx.doi.org/10.1063/5.0190196)` .
[47] S. Ghosh, C. K. Newman, M. M. Francois, Tusas: A fully implicit parallel approach for coupled phase
field equations, Journal of Computational Physics 448 (2022) 110734. `[doi:https://doi.org/10.1016/](http://dx.doi.org/https://doi.org/10.1016/j.jcp.2021.110734)`
`[j.jcp.2021.110734](http://dx.doi.org/https://doi.org/10.1016/j.jcp.2021.110734)` .
[48] I. Steinbach, Phase-field model for microstructure evolution at the mesoscopic scale, An
nual Review of Materials Research 43 (2013) 89–107. `[doi:https://doi.org/10.1146/](http://dx.doi.org/https://doi.org/10.1146/annurev-matsci-071312-121703)`
`[annurev-matsci-071312-121703](http://dx.doi.org/https://doi.org/10.1146/annurev-matsci-071312-121703)` .
[49] P. W. Voorhees, The theory of Ostwald ripening, J. Stat. Phys 38 (1-2) (1985) 231–252. `[doi:https:](http://dx.doi.org/https://doi.org/10.1007/BF01017860])`
`[//doi.org/10.1007/BF01017860]](http://dx.doi.org/https://doi.org/10.1007/BF01017860])` .
[50] S. Lee, C. Lee, H. G. Lee, J. Kim, Comparison of different numerical schemes for the cahn-hilliard
equation, Journal of the Korean Society for Industrial and Applied Mathematics 17 (3) (2013) 197–207.
`[doi:https://doi.org/10.12941/jksiam.2013.17.197](http://dx.doi.org/https://doi.org/10.12941/jksiam.2013.17.197)` .
[51] N. Provatas, K. Elder, Phase-field methods in materials science and engineering, John Wiley & Sons,
New York, NY, 2011.
[52] S. Ghosh, N. Ofori-Opoku, J. E. Guyer, Simulation and analysis of _γ_ -ni cellular growth during laser
powder deposition of ni-based superalloys, Computational Materials Science 144 (2018) 256–264. `[doi:](http://dx.doi.org/https://doi.org/10.1016/j.commatsci.2017.12.037)`
`[https://doi.org/10.1016/j.commatsci.2017.12.037](http://dx.doi.org/https://doi.org/10.1016/j.commatsci.2017.12.037)` .
21
[53] S. Ghosh, M. Plapp, Influence of interphase boundary anisotropy on bulk eutectic solidification mi
crostructures, Acta Materialia 140 (2017) 140–148. `[doi:https://doi.org/10.1016/j.actamat.2017.](http://dx.doi.org/https://doi.org/10.1016/j.actamat.2017.08.023)`
`[08.023](http://dx.doi.org/https://doi.org/10.1016/j.actamat.2017.08.023)` .
[54] M. Hillert, On the theory of normal and abnormal grain growth, Acta metallurgica 13 (3) (1965) 227–
238. `[doi:https://doi.org/10.1016/0001-6160(65)90200-2](http://dx.doi.org/https://doi.org/10.1016/0001-6160%0x2865%0x2990200-2)` .
[55] D. Fan, L.-Q. Chen, Computer simulation of grain growth using a continuum field model, Acta Materialia
45 (2) (1997) 611–622. `[doi:https://doi.org/10.1016/S1359-6454(96)00200-5](http://dx.doi.org/https://doi.org/10.1016/S1359-6454%0x2896%0x2900200-5)` .
[56] W. Kurz, D. J. Fisher, R. Trivedi, Progress in modelling solidification microstructures in metals and
alloys: dendrites and cells from 1700 to 2000, International Materials Reviews 64 (6) (2019) 311–354.
`[doi:https://doi.org/10.1080/09506608.2018.1537090](http://dx.doi.org/https://doi.org/10.1080/09506608.2018.1537090)` .
[57] W. Kurz, M. Rappaz, R. Trivedi, Progress in modelling solidification microstructures in metals and
alloys. part ii: dendrites from 2001 to 2018, International Materials Reviews 66 (1) (2021) 30–76.
`[doi:https://doi.org/10.1080/09506608.2020.1757894](http://dx.doi.org/https://doi.org/10.1080/09506608.2020.1757894)` .
[58] B. Echebarria, R. Folch, A. Karma, M. Plapp, Quantitative phase-field model of alloy solidification,
Physical Review E 70 (6) (2004) 061604. `[doi:https://doi.org/10.1103/PhysRevE.70.061604](http://dx.doi.org/https://doi.org/10.1103/PhysRevE.70.061604)` .
[59] T. Keller, G. Lindwall, S. Ghosh, L. Ma, B. Lane, F. Zhang, U. R. Kattner, E. A. Lass, J. C. Heigel,
Y. Idell, M. E. Williams, A. J. Allen, J. E. Guyer, L. E. Levine, Application of Finite Element, Phase
field, and CALPHAD-based Methods to Additive Manufacturing of Ni-based Superalloys, Acta Materi
alia 139 (2017) 244–253. `[doi:https://doi.org/10.1016/j.actamat.2017.05.003](http://dx.doi.org/https://doi.org/10.1016/j.actamat.2017.05.003)` .
[60] MATLAB, Version R2018a, The MathWorks Inc., Natick, Massachusetts, 2018.
[61] GPT-4 Turbo, `[https://platform.openai.com/docs/models/overview/](https://platform.openai.com/docs/models/overview/)` (29 March 2024).
[62] GPT-4o, `[https://openai.com/index/hello-gpt-4o/](https://openai.com/index/hello-gpt-4o/)` (May 13, 2024).
[63] OpenAI@OpenAI, `[https://twitter.com/OpenAI/status/1773738074041717109](https://twitter.com/OpenAI/status/1773738074041717109)` (29 March 2024).
22
섹션 본문
섹션 본문이 없습니다.
참고문헌
참고문헌 정보가 없습니다.