본문 펼치기
## OPEN
# Conditional diffusion model for inverse prediction of process parameters and dendritic microstructures from mechanical properties
Arisa Ikeda <sup>1</sup> , Ryo Higuchi <sup>2</sup> , Tomohiro Yokozeki <sup>2</sup> , Katsuhiro Endo <sup>3</sup> , Yuta Kojima <sup>1</sup> ,
Misato Suzuki <sup>1</sup> & Mayu Muramatsu <sup>4</sup> <sup></sup>
In this study, we develop a conditional diffusion model that proposes the optimal process parameters
and predicts the microstructure for the desired mechanical properties. In materials development, it
is costly to try many samples with different parameters in experiments and numerical simulations.
The use of data-driven inverse design method can reduce the cost of materials development. This
study develops an inverse analysis model that predicts process parameters and microstructures. This
method can be used for any material, but in this study it is applied to polymeric material, which is the
matrix resin of carbon fiber reinforced thermoplastics as an example. Matrix resins contain a mixture of
dendrites, which are crystalline phases, and amorphous phases even after crystal growth is complete,
and it is important to consider the microstructures consisting of the crystalline structure and the
remaining amorphous phase to achieve the desired mechanical properties. Typically, the temperature
during forming affects the microstructures, which in turn affect the macroscopic mechanical
properties. The trained diffusion model can propose not only the processing temperature but also the
microstructure when Young’s modulus and Poisson’s ratio are given. The capability of our conditional
diffusion model to represent complex dendrites is also noteworthy. This model can be applied to
other process parameters and mechanical properties. Furthermore, multiple process parameters and
mechanical properties can be handled together.
In materials development, experiments require trial and error with multiple parameters, which is costly. To solve
this problem, numerical simulations have been studied in various fields. In order to accelerate the computation
by numerical simulation, hardware performance-based approaches such as parallel computing using graphics
processing units parallelism <sup>1</sup> and software-based approaches using machine learning <sup>2</sup> have been used. For
example, machine learning is used to predict mechanical properties <sup>3–7</sup> . These precious numerical simulations
with machine learning are limited to forward analyses. Since forward analysis cannot infer the causes from
effects, a data-driven approach to solve the inverse problem is required for more efficient material development.
Hashemi et al. <sup>8</sup> presented a supervised machine learning based computational methodology for the design of
particulate multifunctional composite materials with desired thermal conductivity, using the design of particulate
composites with liquid metal elastomer as a case study. The method consists of three phases: data generation
in the first phase, discovery of complex relationship between the structure and properties using appropriate
machine learning algorithms in the second phase, and inference of direct structure-property relationships and
generation and visualization of candidate microstructures by inverse design framework in the third phase. This
new supervised machine learning approach accelerates the prediction of the thermal conductivity of particle
composites and enables the design of composites with desirable properties. Lee et al. <sup>9</sup> aimed to provide a solution
for inverse design even when data quality does not meet high standards, and presented a new design strategy
employing two independent approaches: a metaheuristic-assisted inverse reading of conventional forward
1Graduate School of Science and Technology, Keio University, 3-14-1, Hiyoshi, Kohoku-ku, Yokohama, Kanagawa
223-8522, Japan. <sup>2</sup> Department of Aeronautics and Astronautics, The University of Tokyo, 7-3-1, Hongo, Bunkyoku, Tokyo 113-8656, Japan. <sup>3</sup> National Institute of Advanced Industrial Science and Technology, 1-1-1, Umezono,
Tsukuba, Ibaraki 305-8568, Japan. <sup>4</sup> Department of Mechanical Engineering, Keio University, 3-14-1, Hiyoshi,
Kohoku-ku, Yokohama, Kanagawa 223-8522, Japan. <sup></sup> email: muramatsu@mech.keio.ac.jp
machine learning models and an atypical inverse machine learning model based on a modified variational
autoencoder. They pinpointed several novel thermo-mechanically controlled processed steel alloy candidates,
which were validated by a rule-based thermodynamic calculation tool. Bastek et al. <sup>10</sup> developed a method for
the inverse design of nonlinear mechanical metamaterials using a video denoising diffusion model. The video
denoising diffusion model is trained on full-field data of periodic stochastic cellular structures. They showed
that the model can predict and tune the nonlinear deformation and stress response under compression in the
large-strain regime. Hiraide et al. <sup>11</sup> developed a framework for forward analysis to predict Young’s modulus from
the phase-separated structure of polymer alloys and for inverse analysis to predict the structure from Young’s
modulus. Forward analysis uses convolutional neural networks (CNNs). For inverse analysis, random search
is applied to the combined generative adversarial network (GAN) and CNN model. Moreover, Hiraide et al. <sup>12</sup>
proposed a framework for designing material structures based on macroscopic properties. They use the results
of the analysis of the two-dimensional phase separation structure of diblock copolymer melts as structural data.
The stress data are obtained by the finite element analysis. The framework consists of a deep learning model that
generates structures and a model that predicts the physical properties of the structures. It generates structures
with desired physical properties using random search. Vlassis and Sun <sup>13</sup> presented a denoising diffusion
algorithm to discover microstructures with nonlinear fine-tuned properties using the open-source mechanical
MNIST data set provided in Lejeune <sup>14</sup> . They used a CNN architecture and a denoising diffusion algorithm,
where the CNN architecture predicts the hyperelastic energy functional behavior under uniaxial extension, and
the denoising diffusion algorithm generates targeted microstructures with desired constitutive responses. In this
way, several data-driven approaches for inverse analysis were proposed for materials development.
Carbon fiber reinforced thermosetting plastics (CFRTSs) and carbon fiber reinforced thermoplastics (CFRTPs)
have excellent light weight and strength <sup>15</sup> . These materials are increasingly applied to structural components
of aircraft and automobiles <sup>16,17</sup> . CFRTSs have the property of stiffening upon heating and not returning to its
original state, whereas CFRTPs have the property of stiffening upon cooling and softening again upon heating.
CFRTSs have been applied to many structures, but the material and molding costs are high. In addition, it is
difficult to recycle CFRTSs once stiffened, which poses a disposal problem <sup>18,19</sup> . On the other hand, CFRTPs have
been attracting attention as a sustainable material due to its low molding cost and recyclability. In CFRTPs, the
mechanical properties depend not only on the carbon fibers, but also on the thermoplastic resin used as the base
material. The thermoplastic resins used in CFRTPs are crystalline resins, such as polyphenylene sulfide (PPS)
and polyether ether ketone (PEEK), which have significant rigidity <sup>20,21</sup> . Crystalline and amorphous phases are
mixed in thermoplastic resins, and it is important to consider the microstructures consisting of the crystalline
structure and the remaining amorphous phase to achieve the desired mechanical properties. As crystallization
progresses, thermoplastic resins become stronger and stiffer. This increases the overall strength and stiffness of
the composite. On the other hand, the amorphous phase contributes to the ductility of the composite. Therefore,
it is important to consider the balance of crystalline and amorphous phase and their arrangement. In this study,
we focus on PPS, a thermoplastic resin with low costs. PPS has a mixture of crystalline and amorphous phases
even when the crystals are fully grown. It produces dendritic crystals called dendrites during solidification <sup>22</sup> .
Process parameters such as temperature during forming and cooling rate affect the microstructure, which in
turn affects the macroscopic mechanical properties <sup>23–28</sup> . As process parameters, not only temperature history
but also factors such as pressure can influence the microstructure. Thus, a method of predicting the mechanical
properties of resins is required.
Higuchi et al. <sup>29</sup> and Takashima et al. <sup>30</sup> developed a multiphysics analysis method for crystalline thermoplastic
resins that links the forming conditions, the microstructure and the macroscopic mechanical properties.
Crystallization analysis was performed by using the phase-field method <sup>31–33</sup> . The homogenization analysis <sup>34</sup> of
PPS, a crystalline thermoplastic resin, was conducted by using the extended finite element method (XFEM) <sup>35–37</sup> .
PPS was characterized to identify the parameters necessary for crystallization analysis. The simulation results
were validated by comparing them with experimental data. The details of their studies <sup>29,30</sup> are as follows. They
measured properties such as the glass transition temperature, crystallization temperature and melting point
by differential scanning calorimetry (DSC). Moreover, they examined the relationship between the processing
temperature and the mechanical properties by tensile tests. The phase-field model they developed reproduced
various types of nucleation and polycrystal growth. Conventional methods for dendrite simulation divide
the analysis domain into cells and discretely assign states to them, e.g., the cellular automata <sup>38–40</sup> and Monte
Carlo <sup>41,42</sup> methods. The other method represents the interface by connecting discrete points such as the fronttracking method <sup>43,44</sup> . Higuchi et al. <sup>29</sup> used the phase-field method to describe the crystal growth of dendrites in
thermoplastic resins, in terms of the interface movement between two different phases. Then, they performed the
homogenization analysis of the obtained microstructures using XFEM to determine the mechanical properties
such as Young’s modulus. By comparing the analytical results with the experimental results, it is shown that their
proposed method has a certain validity. Their method is limited to forward analysis, and it is not possible to
predict the processing temperature or microstructure from the mechanical properties.
Thus, methods of predicting mechanical properties from microstructures and microstructures from
mechanical properties have been developed. However, there is no scheme for proposing process parameters
and material microstructures related to how materials should be made. If process parameters such as processing
temperature and cooling rate are proposed to produce materials with the desired mechanical property, it will be
possible to develop materials efficiently by eliminating the need for trial-and-error experiments using different
parameters. However, if only the process parameter is proposed, it is impossible to check its validity without
an experiment. By proposing the microstructure together with the process parameter, it is possible to verify
its validity by numerical analysis. Therefore, it is important to understand the microstructure underlying the
process parameters because the microstructure affects the mechanical properties, which in turn are affected by
the process parameters.
The purpose of this study is to develop a conditional diffusion model that proposes the optimal process
parameters and predicts the microstructure on the basis of the desired mechanical properties. In previous
studies similar to this study, which developed inverse analysis frameworks, GANs have been applied <sup>11,12,45,46</sup> .
In this study, we compared GANs with diffusion models and chose to use diffusion models due to their
superior performance. A diffusion model is a new model that can produce high-quality images. Dhariwal et
al. <sup>47</sup> demonstrated that diffusion models provide a good balance between diversity and fidelity. Their ability
to handle high-quality images makes them suitable for detailed microstructures, such as the dendrites used in
this study. Additionally, GANs require a balance between generators and discriminators, which can result in
unstable training. Conversely, diffusion models have the advantages of easy training and no mode collapse. As
shown in Fig. 1, the inverse analysis model is applied to thermoplastic resins in this study to suggest the process
temperature and predict the microstructure for the desired Young’s modulus and Poisson’s ratio. This model
can be applied to other materials, process parameters and mechanical properties by replacing the data used for
training. Furthermore, it is possible to handle multiple process parameters and mechanical properties together.
This paper is organized as follows. After describing the details of the methods for crystal growth,
homogenization analysis using XFEM and conditional diffusion model, the results and discussion of this study
are given. Finally, the conclusions are presented.
Methods
Crystal growth
This study introduces two models for the crystal nucleation and growth. The models are used to generate the data
of microstructures depending on the temperature. In this study, the crystallization and ambient temperatures are
the same owing to the assumption of isothermal forming. Therefore, we consider the crystallization temperature
as a parameter that can be specified in the process.
_Crystal growth by phase-field method_
The phase-field method is a method of describing the movement of surfaces by solving the time evolution
equation of the phase-field variable _ϕ_ . In this method, the dimensionless variable _ϕ_, which varies between 0
and 1 where _ϕ_ = 1 for the crystalline phase and _ϕ_ = 0 for the amorphous phase, is used to show the spatial
distribution of the crystalline and amorphous phases.
The crystal growth is described by the Allen–Cahn and heat conduction equations respectively as follows <sup>33</sup> :
_<u>∂ϕ</u>_
_,_ (1)
_∂t_ <sup>p</sup> <sup>=</sup> <sup>_−M_</sup> <sup>p</sup> <sup>_<u>δF</u>_</sup> _δϕ_ <sup>p(</sup> <sup>_<u>ϕ</u>_</sup> <sup><u>)</u></sup>
_<u>∂T∂t</u>_ <sup>pp</sup> <sup>=</sup> <sup>_α∇_</sup> <sup>2</sup> <sup>_T_</sup> <sup>p +</sup> <sup><u>∆</u></sup> _C_ <sup>_<u>H</u>_</sup> p
_<u>∂T</u>_ <sup>p</sup>
_C_ p
_<u>∂ϕ</u>_
_∂t_ <sup>p</sup> <sup>_,_</sup> (2)
where _ϕ_ is the phase-field variable, _t_ <sup>p</sup> is the time, _M_ <sup>p</sup> is the phase-field mobility, _F_ <sup>p</sup> is the free energy of the
system, _T_ <sup>p</sup> is the field temperature, _α_ is the thermal diffusivity, ∆ _H_ is the latent heat and _C_ p is the specific heat
at a constant pressure. The total free energy of the system is expressed as follows <sup>32</sup> :
doub <sup>p</sup> <sup>,</sup> <sup>_f_</sup> <sup>p</sup>
_F_ <sup>p</sup> ( _ϕ_ ) =
doub <sup>p</sup> <sup>(</sup> <sup>_ϕ_</sup> <sup>) +</sup> <sup>_f_</sup> <sup>p</sup>
_f_ <sup>p</sup>
<sup>p</sup>
grad <sup>(</sup> <sup>_ϕ_</sup> <sup>)]</sup>
d _V,_ (3)
where _f_ doub <sup>p</sup> <sup>is the double-well potential and</sup> <sup>_f_</sup> grad <sup>p</sup> <sup>is the gradient energy density. Here,</sup> <sup>_f_</sup> doub <sup>p</sup> <sup>,</sup> <sup>_f_</sup> grad <sup>p</sup> <sup>,</sup> <sup>_m_</sup> <sup>p( ˆ</sup> <sup>_T_</sup> <sup>p)</sup>
and _T_ <sup>ˆp</sup> are respectively expressed as
where _f_ <sup>p</sup>
ˆ [
grad <sup>p</sup> <sup>is the gradient energy density. Here,</sup> <sup>_f_</sup> <sup>p</sup>
doub <sup>p</sup> <sup>is the double-well potential and</sup> <sup>_f_</sup> <sup>p</sup>
Fig. 1 . Diagram of conditional diffusion model.
<sup><u>1</u></sup> (5)
<u>2</u> <sup>_ϵ_</sup> <sup>2(</sup> <sup>_∇ϕ_</sup> <sup>)2</sup> <sup>_,_</sup>
<u>2</u>
( <u>1</u>
<u>2</u> <sup>_−_</sup> <sup>_ϕ −_</sup> <sup>_m_</sup> <sup>p( ˆ</sup> <sup>_T_</sup> <sup>p)</sup>
<u>1</u> )
_f_ doub <sup>p</sup> <sup>(</sup> <sup>_ϕ_</sup> <sup>) =</sup> <sup>_W_</sup>
_ϕ_
ˆ0 _ϕ_
(1 _−_ _ϕ_ )d _ϕ,_ (4)
grad <sup>p</sup> <sup>(</sup> <sup>_ϕ_</sup> <sup>) =</sup> <sup><u>1</u></sup>
<u>2</u>
_f_ <sup>p</sup>
_m_ <sup>p</sup> ( _T_ <sup>ˆp</sup> ) = <sup>_<u>a</u>_</sup> <sup><u>k</u></sup> (6)
_π_ <sup>arctan(</sup> <sup>_γ_</sup> <sup>(1</sup> <sup>_−_</sup> <sup>_T_</sup> <sup>ˆ p))</sup> <sup>_,_</sup>
<u>c</u>
_T_ ˆ <sup>p</sup> = <sup>_<u>T</u>_</sup> <sup>p</sup> <sup>_<u>−</u>_</sup> <sup>_<u>T</u>_</sup> <sup>p</sup>
_T_ <sup>~~p~~</sup> c
<u>c</u>
<sup>_<u>T</u>_</sup> <sup>p</sup> <sup>_<u>−</u>_</sup> <sup>_<u>T</u>_</sup> <sup>p</sup>
_T_ <sup>~~p~~</sup> c
m <sup>_−_</sup> <sup>_T_</sup> <sup>~~p~~</sup>
<u>c</u>
<sup>p</sup> c <sup>_,_</sup> (7)
<sup>~~p~~</sup>
<sup>~~p~~</sup> c
m <sup>_−_</sup> <sup>_T_</sup> <sup>~~p~~</sup>
where _W_ is the height of the energy barrier, _T_ <sup>ˆp</sup> is the dimensionless temperature and _ϵ_ is the coefficient of
interface energy gradient. The constants are set as _a_ k = 0 _._ 9 and _γ_ = 10. From Eq. (7), we find that the crystal
growth depends on the crystallization temperature _T_ c <sup>p.</sup>
c <sup>p.</sup>
_Formation of crystal nuclei_
For the modeling of crystal nucleation, in this study, we introduce the model proposed by Pantani et al. <sup>48</sup> as
m <sup>~~p~~</sup> <sup>_−_</sup> <sup>_T_</sup> <sup>p(</sup> <sup>_t_</sup> <sup>p))</sup>
_<u>dN</u>_ <u>(</u> _<u>T</u>_ <sup>p</sup> <u>(</u> _<u>t</u>_ <sup>p</sup> <u>))</u>
= _N_ 0 exp
_dt_ <sup>p</sup>
[
_<u>C</u>_ <u>1</u>
_−_ <u>(</u> _T_ <sup>p</sup> <u>(</u> _t_ <sup>p</sup> <u>)</u> _−_ _T∞_ <sup>~~p~~</sup>
_∞_ <sup>~~p~~</sup> <sup><u>)</u></sup>
[
_<u>C</u>_ <u>2 (</u> _<u>T</u>_ <sup>p</sup> <u>(</u> _<u>t</u>_ <sup>p</sup> <u>) +</u> _<u>T</u>_ <u>m</u> <sup>p</sup>
_−_ _T_ <sup>p</sup> <u>(</u> _t_ <sup>p</sup> <u>)</u> <sup><u>2</u></sup> <u>(</u> _T_ m <sup>~~p~~</sup> <sup>_−_</sup> <sup>_T_</sup> <sup>p(</sup>
_<u>C</u>_ <u>2 (</u> _<u>T</u>_ <sup>p</sup> <u>(</u> _<u>t</u>_ <sup>p</sup> <u>) +</u> _<u>T</u>_ <u>m</u> <sup>p</sup> <sup><u>)</u></sup>
_T_ <sup>p</sup> <u>(</u> _t_ <sup>p</sup> <u>)</u> <sup><u>2</u></sup> <u>(</u> _T_ m <sup>~~p~~</sup> <sup>_−_</sup> <sup>_T_</sup> <sup>p(</sup> <sup>_t_</sup>
]
exp
]
_,_ (8)
where <sup>_<u>dN</u>_</sup> <sup><u>(</u></sup> <sup>_<u>T</u>_</sup> _dt_ <sup>p</sup> <sup>~~p~~</sup> <sup><u>(</u></sup> <sup>_<u>t</u>_</sup> <sup>p))</sup>
<sup>_<u>T</u>_</sup> _dt_ <sup>p</sup> <sup>~~p~~</sup> <sup><u>(</u></sup> <sup>_<u>t</u>_</sup> <sup>p))</sup> is the nucleation rate, _N_ is the nucleation density, _T_ <sup>p</sup> is the field temperature, _t_ <sup>p</sup> is the time, _N_ 0
is a constant independent of temperature, _T∞_ <sup>p</sup>
is a constant independent of temperature, _T∞_ <sup>p</sup> <sup>is the temperature at which molecular motion stops completely,</sup>
_C_ 1 and _C_ 2 are nucleation rate parameters and _T_ m <sup>p</sup> <sup>is the melting point obtained at a particular crystallization</sup>
_C_ 1 and _C_ 2 are nucleation rate parameters and _T_ m <sup>p</sup> <sup>is the melting point obtained at a particular crystallization</sup>
temperature _T_ c <sup>p. The Hoffman–Weeks plot shows the crystallization temperature</sup> <sup>_T_</sup> c <sup>p on the horizontal axis</sup>
c <sup>p. The Hoffman–Weeks plot shows the crystallization temperature</sup> <sup>_T_</sup> c <sup>p</sup>
temperature _T_ c <sup>p. The Hoffman–Weeks plot shows the crystallization temperature</sup> <sup>_T_</sup> c <sup>p on the horizontal axis</sup>
and the melting point _T_ m <sup>p</sup> <sup>on the vertical axis. DSC49 gives the melting point from the starting temperature</sup>
and the melting point _T_ m <sup>p</sup> <sup>on the vertical axis. DSC49 gives the melting point from the starting temperature</sup>
of the melting peak of the DSC curve. Thus, nucleation depends on the crystallization temperature _T_ c <sup>p. In Eq.</sup>
of the melting peak of the DSC curve. Thus, nucleation depends on the crystallization temperature _T_ c <sup>p. In Eq.</sup>
(8), _T_ m <sup>p</sup> <sup>=</sup> <sup>_aT_</sup> c <sup>p</sup> <sup>+</sup> <sup>_b_</sup> <sup>, where</sup> <sup>_T_</sup> c <sup>p is the crystallization temperature (ambient temperature),</sup> <sup>_a_</sup> <sup>= 0</sup> <sup>_._</sup> <sup>0948 is the</sup>
m <sup>p</sup> <sup>=</sup> <sup>_aT_</sup> c <sup>p</sup>
c <sup>p</sup> <sup>+</sup> <sup>_b_</sup> <sup>, where</sup> <sup>_T_</sup> c <sup>p</sup>
(8), _T_ m <sup>p</sup> <sup>=</sup> <sup>_aT_</sup> c <sup>p</sup> <sup>+</sup> <sup>_b_</sup> <sup>, where</sup> <sup>_T_</sup> c <sup>p is the crystallization temperature (ambient temperature),</sup> <sup>_a_</sup> <sup>= 0</sup> <sup>_._</sup> <sup>0948 is the</sup>
slope of the approximate line between the crystallization temperature and the melting point obtained from the
Hoffman–Weeks plot, and _b_ = 253 _._ 7 is the intercept of the line <sup>50</sup> . Although this model assumes homogeneous
nucleation in which the nucleation occurs stochastically on the basis of nucleation rate, the actual nucleation is
heterogeneous because, for example, unknown inclusions can accelerate the nucleation. To consider this effect,
a few initial nuclei are initially introduced in this study.
_Generation of crystal microstructure by the phase-field method_
To generate the microstructure of thermoplastic resins for machine learning, we use the phase-field method. The
size of a nucleus is equal to one grid for simplicity. The analysis is performed at three crystallization temperatures:
160 °C, 180 °C and 200 °C. These temperatures have been selected because the differences in microstructure are
easily recognisable under these conditions. Table 1 shows the conditions used in the analysis by the phase-field
method. The condition parameters in the phase-field method are obtained from the references <sup>33,51</sup> .
Homogenization analysis using XFEM
_XFEM_
The elasticity matrix _D_ used as the condition of the diffusion model is obtained by homogenization analysis using
XFEM for thermoplastic resins generated by the phase-field method. At the interface between the crystalline and
amorphous phases, the strain is discontinuous and the local modification of the interpolation function allows
accurate approximation. The nodes for XFEM are generated on the basis of the differentially discretized grid for
the phase-field method and the triangular elements are generated by dividing the square grid into two parts. In
addition, subelements are introduced for elements containing interfaces to integrate discontinuous functions
with high accuracy. In XFEM, the displacement is expressed as
_u_ <sup>h</sup> =
_I_ =1
<u>∑</u>
_I_ <sup>x(</sup> <sup>_x_</sup> <sup>x)(</sup> <sup>_u_</sup> _I_ <sup>+</sup> <sup>_R_</sup> <sup>(</sup> <sup>_x_</sup> <sup>x)</sup> <sup>_a_</sup> <sup>x</sup> _I_
_NI_ <sup>x</sup>
<sup>x</sup> _I_ <sup>)</sup> <sup>_,_</sup> (9)
<u>Number of calculation steps</u> <u>20,000</u>
<u>Number of grid points</u> <u>320</u> _<u>×</u>_ <u>320</u>
Crystallization temperature _T_ c <sup>p</sup>
c <sup>p</sup> 160 °C, 180 °C, 200 °C
Temperature at maximum crystallization rate _T_ c max <sup>p</sup> 180 °C
Glass transition temperature _T_ g <sup>p</sup> 100 °C
<u>Number of initial nuclei</u> <u>2</u>
<u>Boundary condition</u> <u>Periodic boundary condition</u>
Table 1 . Analysis conditions for phase-field method.
<u>Size of analysis area</u> <u>63</u> <u>mm</u> _<u>×</u>_ <u>63</u> <u>mm</u>
<u>Incremental time</u> <u>1.0 s</u>
<u>Newton–Raphson method convergence index</u> <u>0.1</u>
<u>Boundary condition</u> <u>Periodic boundary condition</u>
Table 2 . Analysis conditions for XFEM.
Fig. 2 . Analysis size of XFEM.
where _I_ is the node, _NI_ <sup>x(</sup> <sup>_x_</sup> <sup>x) is the shape functions,</sup> <sup>_x_</sup> <sup>x is the coordinates,</sup> <sup>_u_</sup> <sup>_I_</sup> <sup>is the vector of node displacement,</sup>
_R_ ( _x_ <sup>x</sup> ) is the enriched function to be introduced locally in the interpolating function and _a_ <sup>x</sup> _I_ <sup>is the nodal degree</sup>
where _I_ is the node, _NI_ <sup>x</sup>
_R_ ( _x_ <sup>x</sup> ) is the enriched function to be introduced locally in the interpolating function and _a_ <sup>x</sup> _I_ <sup>is the nodal degree</sup>
of freedom for the basis function _NI_ <sup>x(</sup> <sup>_x_</sup> <sup>x)</sup> <sup>_R_</sup> <sup>(</sup> <sup>_x_</sup> <sup>x) added by the enriched function. The ramp function proposed</sup>
of freedom for the basis function _NI_ <sup>x(</sup> <sup>_x_</sup> <sup>x)</sup> <sup>_R_</sup> <sup>(</sup> <sup>_x_</sup> <sup>x) added by the enriched function. The ramp function proposed</sup>
by Moës et al. <sup>52</sup>, which is introduced as an enriched function, can express the continuity of displacement and its
derivative, which is the discontinuity of strain, and is expressed as
_R_ ( _x_ <sup>x</sup> ) =
_I_ =1
_|ψI_ _|NI_ <sup>x(</sup> <sup>_x_</sup> <sup>x)</sup> <sup>_−_</sup>
�����
_I_ =1
_I_ <sup>x(</sup> <sup>_x_</sup> <sup>x)</sup>
_ψI_ _NI_ <sup>x</sup>
(10)
����� _,_ _ϕ_ as
where _ψI_ is the level set function at node _I_ and is expressed in terms of the phase-field variable _ϕ_ as
_ψ_ = 2 _ϕ −_ 1 _._ (11)
Thus, _ψ_ = 0, which means that the phase-field variable _ϕ_ = 0 _._ 5, is recognized as the interface between the
crystalline and amorphous phases.
_Elasticity matrix calculated by homogenization analysis using XFEM_
In this study, we use microstructure analysis tools that combine XFEM and the homogenization method <sup>36</sup> . We
obtain the stress distribution using XFEM. Then, we obtain the mean stress by the homogenization method
assuming a homogeneous body. The key-degree-of-freedom method proposed by Li et al. <sup>53</sup>, which imposes
boundary conditions via the additional degree of freedom apart from the model mesh, makes it easier to treat
macroscopic stresses and strains. In this study, we use the nonlinear XFEM code combined with phase-field
simulation <sup>37</sup> .
Table 2 shows the conditions for XFEM. Images of microstructures generated by the phase-field method are
binarized and compressed and input to XFEM. The mean values of 5 pixels _×_ 5 pixels regions are calculated
for each 320 pixels _×_ 320 pixels analysis grid to be compressed to 64 pixels _×_ 64 pixels. The phase-field
variable, which takes continuous values from 0 to 1, is binarized to 0 and 1 using a threshold of 0.5, both
before and after compression. Because stress transfer paths are critical in XFEM, the threshold is chosen to
preserve the connectivity of crystal chains, ensuring that they do not disconnect or unintentionally merge with
neighboring chains. Therefore, the images input to XFEM are compressed to 64 pixels _×_ 64 pixels pixels and
binarized to 0 and 1. The validity of compression is examined in the “Dataset” subsection of the Results and
Discussion section and in the Supplementary Information, while the validity of binarization is discussed in the
Supplementary Information. The analysis size of XFEM is shown in Fig. 2. The length order of this phase-field
method is nondimensionalized. Since dimensions are not relevant in homogenization analysis using XFEM,
the dimensionless model is directly loaded into a program with an mm-t-s unit system and solved on the mm
order. Table 3 shows the physical properties of the PPS used for XFEM. The elasticity matrix _D_ is obtained by
the identified Young’s modulus and Poisson’s ratio <sup>29,30</sup> (Supplementary Information).
Conditional diffusion model
In this study, we employ a diffusion model for predicting the process parameters and the microstructures for the
desired mechanical properties. The diffusion model <sup>47,55–59</sup> was proposed by Sohl-Dickstein et al. <sup>55</sup> and improved
as the denoising diffusion probabilistic model (DDPM) by Ho et al. <sup>56</sup> . The model used in this study is DDPM
<u>Crystal</u> <u>Amorphous</u>
<u>Young’s modulus</u> _<u>E</u>_ <u>28,000 MPa</u> <sup>54</sup> <u>150 MPa</u> <sup>29,30</sup>
<u>Poisson’s ratio</u> _ν_ <u>0.2</u> <sup>29,30</sup> <u>0.4</u> <sup>29,30</sup>
Table 3 . Physical properties of crystalline and amorphous phases in homogenization analysis using XFEM.
Fig. 3 . Forward and reverse processes of conditional diffusion model.
with condition, which is the called conditional diffusion model. The conditional diffusion model consists of the
forward and reverse processes, as shown in Fig. 3. In the forward process, Gaussian noise is added to the images
at each timestep using Markov chains. The forward process is defined as follows <sup>56</sup> :
_q_ <sup><u>(</u></sup>
_,_ (13)
_q_ ( _x_ <sup>d</sup> 1: _T_ <sup>d</sup> <sup>_|_</sup> <sup>_x_</sup> 0 <sup>d) =</sup>
_t_ <sup>d</sup> =1
_T_ <sup>d</sup>
_t_ <sup>d</sup> =1
∏
_x_ <sup>d</sup> _t_
_t_ <sup>dd</sup> _−_ 1
)
_,_ (12)
<sup>d</sup>
_t_ <sup>d</sup> <sup>_|_</sup> <sup>_x_</sup> _t_ <sup>d</sup>
_q_ ( _x_ <sup>d</sup> _t_
<sup>d</sup> _t_ <sup>d</sup> _−_ 1 <sup>) =</sup> <sup>_N_</sup>
_x_ <sup>d</sup> _t_ <sup>d</sup> <sup>;</sup>
<sup>d</sup> _t_ <sup>d</sup> <sup>;</sup>
√
<u>1</u> _−_ _βt_ d _x_ _t_ <sup>dd</sup> _−_ 1 <sup>_, β_</sup> _t_ <sup>d</sup> <sup>_I_</sup>
)
<sup>d</sup> _t_ <sup>d</sup> <sup>_|_</sup> <sup>_x_</sup> <sup>d</sup> _t_
where _x_ <sup>d</sup> 0
where _x_ <sup>d</sup> 0 <sup>is the data,</sup> <sup>_x_</sup> <sup>d</sup> _T_ <sup>d</sup> <sup>is the noise,</sup> <sup>_x_</sup> <sup>d</sup> 1 <sup>_−_</sup> <sup>_x_</sup> _T_ <sup>d</sup> <sup>d</sup> <sup>are the latents,</sup> <sup>_t_</sup> <sup>d is the arbitrary timestep,</sup> <sup>_T_</sup> <sup>d is the total</sup>
number of timesteps for noise addition and removal, _q_ is the stochastic process of the forward process, _N_ is
the normal distribution, _β_ 1 _, . . ., βT_ d are the variance schedule, <u>1</u> _−_ _βt_ d _x_ <sup>d</sup> _t_ <sup>d</sup> _−_ 1 <sup>is the mean and</sup> <sup>_βt_</sup> <sup>d</sup> <sup>_I_</sup> <sup>is the</sup>
variance. In the reverse process, U-Net is used to remove the noise at each timestep. During training, the model
√
learns parameters for generating images from noise by repeatedly adding to and removing noise from images in
the forward and reverse processes. The reverse process is defined as follows <sup>56</sup> :
<sup>d</sup> 0 <sup>is the data,</sup> <sup>_x_</sup> <sup>d</sup> _T_ <sup>d</sup> <sup>is the noise,</sup> <sup>_x_</sup> <sup>d</sup> 1
(
√
<u>1</u> _−_ _βt_ d _x_ <sup>d</sup> _t_ <sup>d</sup> _−_ 1 <sup>is the mean and</sup> <sup>_βt_</sup> <sup>d</sup> <sup>_I_</sup> <sup>is the</sup>
_pθ_ ( _x_ <sup>d</sup> 0: _T_ <sup>d</sup> <sup>) =</sup> <sup>_p_</sup> <sup>(</sup> <sup>_x_</sup> _T_ <sup>d</sup> <sup>d</sup> <sup>)</sup>
_T_ <sup>d</sup>
_t_ <sup>d</sup> =1
∏
_pθ_ ( _x_ <sup>d</sup> _t_
<sup>d</sup> _t_ <sup>d</sup> _−_ 1 <sup>_|_</sup> <sup>_x_</sup> _t_ <sup>d</sup>
_t_ <sup>dd</sup> <sup>)</sup> <sup>_,_</sup> (14)
_pθ_ ( _x_ <sup>d</sup> _t_
<sup>d</sup> _t_ <sup>d</sup> <sup>) =</sup> <sup>_N_</sup>
(
<sup>d</sup> _t_ <sup>d</sup> _−_ 1 <sup>;</sup> <sup>_µ_</sup> <sup>_θ_</sup> <sup>(</sup> <sup>_x_</sup> _t_ <sup>dd</sup>
(
_θ_
∑
( _x_ <sup>d</sup> _t_
<sup>d</sup> _t_ <sup>d</sup> <sup>_, t_</sup> <sup>d)</sup>
)
_,_ (15)
<sup>d</sup> _t_ <sup>d</sup> _−_ 1 <sup>_|_</sup> <sup>_x_</sup> <sup>d</sup> _t_
_x_ <sup>d</sup> _t_ <sup>d</sup>
_t_ <sup>dd</sup> <sup>_, t_</sup> <sup>d)</sup> <sup>_,_</sup>
where _p_ is the stochastic process of the reverse process, _pθ_ is the stochastic process of the reverse process using
the neural network and _µ_ _θ_ is parameterized as a neural network. As shown in Fig. 4, the training data are
the microstructures of thermoplastic resins generated by the phase-field method, the processing temperatures
specified in the phase-field analysis and the elasticity matrix _D_ obtained by homogenization analysis using XFEM
for the microstructure generated by the phase-field analysis. For the training data of processing temperature, we
generate image patterns of processing temperature (IPPT). Note that IPPT does not mean the distribution of
temperatures, but gives a pattern for temperature conditions.
Noise is added to and removed from images of the microstructures and IPPTs. In the process of image
generation, only the reverse process of the diffusion model is used to generate images from noise distributions.
We use U-Net to remove the noise at each timestep. The U-Net used in this study is shown in Fig. 5. U-Net is
a method developed by Ronneberger et al. <sup>60</sup> for semantic segmentation, in which features are extracted from
original images by an encoder and the obtained images are reconstructed in the same size as the original images
by a decoder on the basis of the extracted features. Detailed information such as location information is not
lost by maintaining feature maps with skip connections at each process. It is possible to change the method
of removing for each condition by considering the information of the timestep in the processes of adding and
removing noise. In this study, the component of the elasticity matrix _D_ is used as the condition. In U-Net, the
Fig. 4 . Diagram of ( a ) training and ( b ) generation of conditional diffusion model.
Fig. 5 . Structure of U-Net.
condition and time information are added to the image at each of the encoding and decoding processes, as
shown in Fig. 5. Then, the condition and time information are convolved with the image.
The training data are the microstructures of thermoplastic resins, IPPTs and the elasticity matrix _D_ . The
microstructures are generated by the phase-field method, IPPT means the temperature specified in the phase-field
analysis and the elasticity matrix _D_ is obtained by homogenization analysis using XFEM for the microstructures
generated by the phase-field method. We employ images of microstructures upon crystal growth completion.
Images of the microstructures of dendrites are compressed for use in training machine learning. The images
used for machine learning are compressed and binarized in the same manner as those used in XFEM. For input
to the machine learning model, the microstructure images are rescaled to binary values of –1 and 1, consistent
with the pixel value range of the processing temperature images, which also range –1 to 1. To construct the
dataset, it is essential to secure a sufficiently large analysis area to capture the dendritic microstructures
observed in experiments. However, due to computational constraints, the image size must be reduced to
64 pixels _<u>×</u>_ 64 pixels pixels or smaller. If the resolution is coarsened by conducting phase-field simulations
Fig. 6 . Image pattern of processing temperature (IPPT). Image patterns are produced for each processing
temperature, where the frequency _f_ is a function of the crystallization temperature _T_ c <sup>p which means the</sup>
processing temperature.
<u>Number of training data</u> <u>13,908</u>
<u>Number of validation data</u> <u>1728</u>
<u>Number of test data</u> <u>432</u>
<u>Image size</u> 64 pixels _<u>×</u>_ 64 pixels
<u>Minibatch size</u> <u>15</u>
<u>Number of epochs</u> <u>1189</u>
Table 4 . Data used to train 64 pixels _<u>×</u>_ 64 pixels.
directly at 64 pixels _×_ 64 pixels pixels, the resulting analysis area becomes too small to adequately capture
crystal growth. Conversely, conducting simulations at higher resolution with a larger domain results in a high
compression ratio, potentially causing adjacent crystal chains to merge. Thus, the phase-field method analysis is
performed on a 320 pixels _×_ 320 pixels area, and the resultant image is compressed to 64 pixels _×_ 64 pixels.
In addition, continuous phase-field variables are binarized before and after compression. Moreover, we perform
data augmentation on the microstructures generated by the phase-field method. The 180 <sup>_◦_</sup> rotation, inversion
with respect to the _x_ 1 axis, inversion with respect to the _x_ 1 axis and 180 <sup>_◦_</sup> rotation are conducted for the same
elasticity matrix _D_ value.
To represent processing temperatures in the training data, we initially used images in which all pixels had
constant values corresponding to each scalar temperature. However, this approach did not result in successful
training. Therefore, we adopted images with embedded patterns, which enabled more effective learning. To
classify the temperature on the basis of the images, we create different patterns of images of IPPT at each
temperature. We specify _f_ = _T_ <sup>~~p~~</sup> <u>2</u> _<u>.</u>_ <u>0</u>
c <sup>_−_</sup> <sup><u>140</u></sup> <sup>Hz so that the frequency is a function of the crystallization temperature</sup>
and _L_ <sup>x</sup> ( _x_ ) = _A_ sin(2 _πfx_ ) to produce the sinusoidal stripe image as IPPT shown in Fig. 6, where _L_ <sup>x</sup> is the
luminance, _A_ is the amplitude, _f_ is the frequency, _x_ is the abscissa coordinate and _T_ c <sup>p is the crystallization</sup>
<u>2</u> _<u>.</u>_ <u>0</u>
<sup>~~p~~</sup>
c <sup>_−_</sup> <sup><u>140</u></sup> <sup>Hz so that the frequency is a function of the crystallization temperature</sup>
6, where _L_ <sup>x</sup> is the
luminance, _A_ is the amplitude, _f_ is the frequency, _x_ is the abscissa coordinate and _T_ c <sup>p is the crystallization</sup>
temperature. While the IPPTs are generated using _L_ <sup>x</sup> as the pixel value, the pixel values are scaled to lie within
the range of –1 to 1. The reason for using sinusoidal stripe images as the training data is that these images can be
used for determining the temperature through Fourier transform using the determined frequency. The data of
microstructures and IPPT are 64 pixels _×_ 64 pixels _×_ 1 channel, for a total of 2 channels.
The elasticity matrix _D_ given as the condition is a vector with three components. The conditions used in
training are _D_ 1111, _D_ 2222 and _D_ 1212, which are normalized from 0 to 1. For the diffusion model, the time
information during noise addition and removal is important. The model is trained by adding 256-dimensionally
expanded conditions to 256-dimensionally expanded time information. Specifically, the original threecomponent condition values are repeated to extend the dimension, and the extra components are filled with
zeros. The time information is extended to 256 dimensions by positional encoding. By adding the condition to
the time information, we can change the weight of each condition so that the diffusion model learns a different
way to remove noise depending on the condition.
Table 4 shows the number and size of data used for training. To avoid overfitting, we stopped training before
an upward trend in the loss of the validation data.
Results and discussion
Dataset
We discuss the validity of the compression. Since only the phase-field method uses 320 pixels _×_ 320 pixels
data and the XFEM use 64 pixels _×_ 64 pixels data after compression as training data, it is sufficient to confirm
that the trend of crystallization temperature derived from the phase-field method is valid. Figure 7 shows
Fig. 7 . Examples of training data of the microstructures, the distribution of the _x_ -directional tensile stress _σ_ 11
and the mean stress.
Fig. 8 . Comparing MSEs of training data and generated images to see if image regurgitation has not occurred.
examples of training data of the microstructures generated by the phase-field method, the distribution of the _x_ directional tensile stress _σ_ 11 and the mean stress obtained by homogenization analysis using XFEM (under the
condition of Eq. (S2a)). The microstructures indicate that the higher the crystallization temperature, the thicker
the crystal chains grow. The stress distribution shows that high stresses are generated near the nuclei toward
the direction of the imposed strain. Moreover, increasing the crystallization temperature increases the values of
stress distribution and mean stress. The trend of thicker crystal chains at higher temperatures is similar to that
shown before compression. Therefore, since the trend in the relationship between crystallization temperature
and microstructure before and after compression has not changed, compression is not considered problematic.
If the quality of the training data is poor, image regurgitation, which generates images exactly the same as the
training data, may occur. In order to confirm that image regurgitation has not occurred, we compare the mean
squared errors (MSEs) between the training data and the generated images. The value of MSE should be large
because we want to generate data that is different from the training data. As shown in Fig. 8, MSE is sufficiently
large to show that the generated microstructure is different from the microstructure used for training.
Fig. 9 . Relationship between crystallization temperature and elasticity matrix (i) _D_ 1111, (ii) _D_ 2222 and (iii)
_D_ 1212 in ( a ) training and ( b ) test data.
Fig. 10 . Relationship between _D_ 1111 and _D_ 2222 for each crystallization temperature in ( a ) training and ( b )
test data.
Validation of proposed processing temperatures and microstructures
Figures 9 and 10 show the relationship between the crystallization temperature specified in the phase-field
analysis and the elasticity matrix _D_ obtained by XFEM for the microstructures generated by the phase-field
method for (a) training and (b) test data, respectively. The violin plots in Fig. 9 show the distribution of the data
with the horizontal axis for the crystallization temperature and the vertical axis for the value of each component
of the elasticity matrix _D_ . Each violin plot shows that there is a large amount of data in the bulging part of the
plot and a large scatter of data in the vertically long part of the plot. The black rectangle in the plot represents
the interquartile range of the box plot, and the white dot at the center represents the median value. Fig. 9 shows
that _D_ 1111 and _D_ 2222 show similar trends, and the higher the crystallization temperature is, the larger the
value of the components of the elasticity matrix _D_ tends to be. Similarly, _D_ 1212 also shows an increasing trend
with crystallization temperature. However, its values are smaller than those of the other components, and the
scatter of _D_ 1212 is also smaller. Figure 10 shows the elasticity matrix _D_ obtained from the image of the phasefield method after compression as the input of XFEM. In this figure, scatter plots are shown with _D_ 1111 on the
horizontal axis and _D_ 2222 on the vertical axis, with different colors indicating the crystallization temperature.
It can be seen that the higher the temperature is, the upper the right side of the plot is, and the values of each
component of _D_ 1111 and _D_ 2222 are larger. These plots show that the higher the crystallization temperature, the
larger the value of each component of the elasticity matrix _D_ .
Firstly, we confirmed the trained model by using the condition of the test data. Figures 11, 12, 13, 14 and
15 show the results. Figure 11 shows the generated images of microstructures and Fig. 12 shows the generated
images that indicate the processing temperature. Figure 11 shows an example of the generated microstructures,
and various dendrite microstructures could be generated. In addition, as shown in Fig. 12, each microstructure
image is associated with a corresponding processing temperature image. Figures 11 and 12 show that the crystal
chains are thicker at higher crystallization temperatures and thinner at lower crystallization temperatures, which
is similar to the trend observed in the training data. Figure 13 shows the relationship between the proposed
temperature and the elasticity matrix _D_ obtained by homogenization analysis using XFEM again for the
generated microstructure. Figure 14 is a scatter plot with _D_ 1111 on the horizontal axis and _D_ 2222 on the vertical
axis, plotted in different colors for different crystallization temperature. From Figs. 13 and 14, the relationship
between crystallization temperature and elasticity matrix _D_ is generally appropriate because the tendencies of
the training data and test data are similar. Figure 15 compares the values of each component of the elasticity
matrix _D_ obtained by homogenization analysis using XFEM of the generated microstructure again with the
condition given for generation. The red line indicates the ideal situation that the elasticity matrix _D_ obtained
by homogenization analysis using XFEM for the generated microstructure is equal to the elasticity matrix _D_
given as the condition, i.e., when _D_ XFEM = _D_ input. Where _D_ XFEM is the element of the elasticity matrix _D_
obtained by homogenization analysis using XFEM of the generated microstructure again, _D_ input is the element
of the elasticity matrix _D_ given for generation. From the correlation coefficients and each plot, the elasticity
matrix _D_ obtained by the homogenization analysis using XFEM shows good agreement with the condition
given for generation. The correlation coefficients indicates a strong positive correlation, which is considered that
the predicted microstructure is appropriate for the given condition.
Fig. 11 . Predicted microstructures generated under conditions of test data.
Fig. 12 . Proposed processing temperatures generated under conditions of test data.
Fig. 13 . Relationship between crystallization temperature and elasticity matrix ( a ) _D_ 1111, ( b ) _D_ 2222 and ( c )
_D_ 1212 generated under conditions of test data.
Results for conditions not included in the dataset
We confirm the results for the conditions not included in the dataset. In contrast to the test data, this is a new
condition not obtained by the homogenization analysis using XFEM for the images of the phase-field method.
The results are shown in Figs. 16, 17, 18, 19, 20 and 21. Figure 16 shows the generated images of microstructures
and Fig. 17 shows the generated images that indicate the processing temperature. As shown in Fig. 16, detailed
microstructures of various dendrites can be generated even for conditions that are not included in the data set.
In addition, processing temperatures corresponding to the microstructures are generated as images, as shown
Fig. 14 . Relationship between _D_ 1111 and _D_ 2222 generated under conditions of test data for each
crystallization temperature.
Fig. 15 . Correlation coefficients of elasticity matrix ( a ) _D_ 1111, ( b ) _D_ 2222 and ( c ) _D_ 1212 generated under
conditions of test data.
in Fig. 17. The tendency of thicker crystal chains at higher crystallization temperatures and thinner crystal
chains at lower crystallization temperatures is similar to that observed in the training data. Figure 18 shows
the relationship between the proposed temperature and the elasticity matrix _D_ obtained by homogenization
analysis using XFEM for the generated microstructure. Figure 19 is a scatter plot with _D_ 1111 on the horizontal
axis and _D_ 2222 on the vertical axis, plotted in different colors for different crystallization temperatures. The
higher the crystallization temperature, the upper right of the plot, indicating that the values of _D_ 1111 and _D_ 2222
are larger. Figures 18 and 19 show that the relationship between crystallization temperature and the elasticity
matrix _D_ is generally similar to that of the training and test data, even when the data are generated using the
conditions not included in the dataset. Figure 20 shows examples of the generated results. The model developed
outputs images of microstructures and IPPTs. Figure 20 shows (a) the generated microstructures, (b) IPPTs,
(c) the conditions and (d) the elasticity matrix _D_ values obtained by homogenization analysis using XFEM
for the generated microstructure. When the condition (c) is put into the trained model, the images (a) and (b)
are generated. As shown in Fig. 20a, the conditional diffusion model can represent the detailed microstructure
of dendrite crystals of thermoplastic resins. By homogenization analysis with XFEM to obtain the elasticity
matrix _D_ for the predicted microstructure, we find that elasticity matrix _D_ is close to the condition given for
generation. Figure 21 shows the elasticity matrix _D_ for each component. The horizontal axis represents the
elasticity matrix _D_ obtained by homogenization analysis using XFEM for the generated microstructure, and
the vertical axis is the condition given for generation. The correlation coefficients and each plot indicate that the
values of elasticity matrix _D_ obtained by homogenization analysis using XFEM agree with the condition given
for generation with good accuracy. The correlation coefficients imply a strong positive correlation between input
condition and calculated result by XFEM, suggesting appropriate microstructure for the given condition.
Demonstration of the proposed conditional diffusion model
The conditional diffusion model developed in this study can propose the optimal processing temperature
and predict the microstructure for given Young’s modulus and Poisson’s ratio. The advantage of this model
is that it outputs not only the processing temperature but also the microstructure as images. Figure 22 shows
example of the model demonstration. Figure 22 shows (a)(i) the specified values of Young’s modulus, (a)(ii) the
specified values of Poisson’s ratio, (b)(i) the proposed temperatures and (b)(ii) the predicted microstructures
of thermoplastic resins. We train the model with the conditions obtained by homogenization analysis using
Fig. 16 . Predicted microstructures generated under the conditions that are not included in the dataset.
XFEM on 320 pixels _×_ 320 pixels before image compression. Table 5 shows the number and size of data used
for training. The relationship between Young’s modulus and Poisson’s ratio and the calculation of the elasticity
matrix _D_ is described in the Supplementary Information. As shown in Fig. 22, 200 °C is proposed for a large
Young’s modulus of 2761 MPa, whereas 160 °C is suggested for a small Young’s modulus of 2210 MPa. Thus,
the results show that the temperature tends to increase with Young’s modulus.
This time, we focused on processing temperature as a process parameter, but this approach can be applied
to other types of parameters as well. In this study, we examined the temperature history, which is likely to
cause problems in manufacturing. In isothermal crystallization, as in this study, the temperature history includes
the crystallization temperature. In this study, this crystallization temperature is considered as the processing
temperature. On the other hand, in non-isothermal crystallization, the temperature history includes the cooling
rate. In addition to temperature history, factors such as pressure can affect polymer crystals. The phase-field
model can be extended to various process parameters by adding terms dependent on pressure to the free energy
functional <sup>61</sup> . The conditional diffusion model can be extended to various process parameters, provided that
datasets can be generated using the phase-field method. It can also handle multiple process parameters together.
In this study, one channel is prepared for the process parameter, and images representing the processing
temperature are assigned. By creating multiple process parameter images and assigning one channel to each,
multiple process parameters can be handled together.
In this study, the elasticity matrix _D_ and mechanical properties determined by it, such as Young’s modulus
and Poisson’s ratio, are used as conditions. However, the method is extendable to other mechanical properties
as well. For the elastic constants, the three components of the elasticity matrix _D_ are repeated in the model and
extended to 256 dimensions. This makes it easy to adjust the number of components in the input. This method
supports the simultaneous input of multiple scalar quantities, thereby enabling the simultaneous handling of
multiple mechanical properties. In this study, only linear analysis is performed, but by extending the framework
to nonlinear analysis, it will become possible to compute mechanical properties such as yield stress and fracture
Fig. 17 . Proposed processing temperatures generated under the conditions that are not included in the dataset.
Fig. 18 . Relationship between crystallization temperature and elasticity matrix ( a ) _D_ 1111, ( b ) _D_ 2222 and ( c )
_D_ 1212 generated under the conditions that are not included in the dataset.
strength. The model proposed in this study allows the input of multiple mechanical properties, such as yield
stress and fracture strength.
These can be realized without modifying the machine learning model. In the present case, the analysis domain
is small and needs to be compressed for the sake of computational resources. The method proposed in this study
can be applied to other models such as the latent diffusion model <sup>62</sup> . The latent diffusion model compresses data
such as images into a low-dimensional latent space and applies the diffusion model in that space. This model
can be used by replacing the image part of the present method with a latent variable vector. This may allow us to
Fig. 19 . Relationship between _D_ 1111 and _D_ 2222 generated under the conditions that are not included in the
dataset for each crystallization temperature.
Fig. 20 . Results of generation under the conditions that are not included in the dataset.
Fig. 21 . Correlation coefficients of the elasticity matrix ( a ) _D_ 1111, ( b ) _D_ 2222 and ( c ) _D_ 1212 generated under
the conditions that are not included in the dataset.
Fig. 22 . Proposed processing temperatures and predicted microstructures obtained using conditional diffusion
model.
<u>Number of training data</u> <u>13,908</u>
<u>Number of validation data</u> <u>1728</u>
<u>Number of test data</u> <u>432</u>
<u>Image size</u> 64 pixels _<u>×</u>_ 64 pixels
<u>Minibatch size</u> <u>5</u>
<u>Number of epoch</u> <u>549</u>
Table 5 . Data used to train 320 pixels _<u>×</u>_ 320 pixels.
handle larger area of images and may eliminate the need for compression. Thus, the problem of compression can
be solved by improving the model to a better one. This is the future work of our research.
Conclusions
In this study, we developed a conditional diffusion model that can propose the optimal processing temperature
and predict the microstructure for the desired elastic constants of thermoplastic resins. As a result of using the
developed model, the following three were confirmed:
- By training the pattern that indicates the processing temperature together with the images of the microstructure, the model could predict not only the processing temperature but also the microstructure when the
elastic constants were given.
- The developed model proposed high temperatures with high Young’s modulus. At high temperatures, the
predicted crystal structures were obtained with thicker crystal chains.
- Even when the conditions were not included in the dataset, complicated dendritic patterns whose elastic
constants were reasonable were reproduced.
In conclusion, the conditional diffusion model developed in this study can propose the optimal processing
temperature and predict the microstructure of thermoplastic resins that satisfies the desired mechanical
properties. This study enables us to realize an inverse design that proposes the process parameters related to how
the material should be made so as to satisfy the mechanical properties.
This model can be applied to other materials, process parameters and mechanical properties by replacing
the data used for training, such as the microstructure, processing temperature and elastic constants. In this case,
each process parameter is assigned to one channel. By increasing the number of channels and creating an image
for each process parameter, it becomes possible to handle multiple process parameters together. By applying the
method proposed in this study to other models, such as the latent diffusion model, it may become possible to
handle images with a larger spatial range and eliminate the need for image compression. This is the future work
of our research.
Data availability
The datasets used and/or analyzed in the study are available from the corresponding author on reasonable request.
Received: 31 March 2025; Accepted: 3 October 2025
References
1. Sakane, S., Suzuki, R., Aoki, T. & Takaki, T. Mother-leaf-method accelerated parallel-GPU AMR phase-field simulations of
dendrite growth. _Comput. Mater. Sci._ 244 [, 113184. https://doi.org/10.1016/j.commatsci.2024.113184 (2024).](https://doi.org/10.1016/j.commatsci.2024.113184)
2. Rezaei, S., Moeineddin, A. & Harandi, A. Learning solutions of thermodynamics-based nonlinear constitutive material models
using physics-informed neural networks. _Comput. Mech._ 74 [, 333–366. https://doi.org/10.1007/s00466-023-02435-3 (2024).](https://doi.org/10.1007/s00466-023-02435-3)
3. Eidel, B. Deep CNNs as universal predictors of elasticity tensors in homogenization. _Comput. Methods Appl. Mech. Eng._ 403,
[115741. https://doi.org/10.1016/j.cma.2022.115741 (2023).](https://doi.org/10.1016/j.cma.2022.115741)
4. Pathan, M. V. et al. Predictions of the mechanical properties of unidirectional fibre composites by supervised machine learning.
_Sci. Rep._ 9 [, 13964. https://doi.org/10.1038/s41598-019-50144-w (2019).](https://doi.org/10.1038/s41598-019-50144-w)
5. Maurizi, M., Gao, C. & Berto, F. Predicting stress, strain and deformation fields in materials and structures with graph neural
networks. _Sci. Rep._ 12 [, 21834. https://doi.org/10.1038/s41598-022-26424-3 (2022).](https://doi.org/10.1038/s41598-022-26424-3)
6. Mińkowski, M. & Laurson, L. Predicting elastic and plastic properties of small iron polycrystals by machine learning. _Sci. Rep._ 13,
[13977. https://doi.org/10.1038/s41598-023-40974-0 (2023).](https://doi.org/10.1038/s41598-023-40974-0)
7. Onyelowe, K. C. et al. Prediction and validation of mechanical properties of self-compacting geopolymer concrete using combined
machine learning methods a comparative and suitability assessment of the best analysis. _Sci. Rep._ 15 [, 6361. https://doi.org/10.103](https://doi.org/10.1038/s41598-025-90468-4)
[8/s41598-025-90468-4 (2025).](https://doi.org/10.1038/s41598-025-90468-4)
8. Hashemi, M. S., Safdari, M. & Sheidaei, A. A supervised machine learning approach for accelerating the design of particulate
composites: Application to thermal conductivity. _Comput. Mater. Sci._ 197 [, 110664. https://doi.org/10.1016/j.commatsci.2021.110664](https://doi.org/10.1016/j.commatsci.2021.110664)
(2021).
9. Lee, J.-W. et al. Dirty engineering data-driven inverse prediction machine learning model. _Sci. Rep._ 10 [, 20443. https://doi.org/10.1](https://doi.org/10.1038/s41598-020-77575-0)
[038/s41598-020-77575-0 (2020).](https://doi.org/10.1038/s41598-020-77575-0)
10. Bastek, J.-H. & Kochmann, D. M. Inverse design of nonlinear mechanical metamaterials via video denoising diffusion models. _Nat._
_Mach. Intell._ 5 [, 1466–1475. https://doi.org/10.1038/s42256-023-00762-x (2023).](https://doi.org/10.1038/s42256-023-00762-x)
11. Hiraide, K., Hirayama, K., Endo, K. & Muramatsu, M. Application of deep learning to inverse design of phase separation structure
in polymer alloy. _Comput. Mater. Sci._ 190 [, 110278. https://doi.org/10.1016/j.commatsci.2021.110278 (2021).](https://doi.org/10.1016/j.commatsci.2021.110278)
12. Hiraide, K., Oya, Y., Suzuki, M. & Muramatsu, M. Inverse design of polymer alloys using deep learning based on self-consistent
field analysis and finite element analysis. _Mater. Today Commun._ 37, 107233. [https://doi.org/10.1016/j.mtcomm.2023.107233](https://doi.org/10.1016/j.mtcomm.2023.107233)
(2023).
13. Vlassis, N. N. & Sun, W. Denoising diffusion algorithm for inverse design of microstructures with fine-tuned nonlinear material
properties. _Comput. Methods Appl. Mech. Eng._ 413 [, 116126. https://doi.org/10.1016/j.cma.2023.116126 (2023).](https://doi.org/10.1016/j.cma.2023.116126)
14. Lejeune, E. Mechanical MNIST: A benchmark dataset for mechanical metamodels. _Extreme Mech. Lett._ 36 [, 100659. https://doi.or](https://doi.org/10.1016/j.eml.2020.100659)
[g/10.1016/j.eml.2020.100659 (2020).](https://doi.org/10.1016/j.eml.2020.100659)
15. Karataş, M. A. & Gökkaya, H. A review on machinability of carbon fiber reinforced polymer (CFRP) and glass fiber reinforced
polymer (GFRP) composite materials. _Defence Technol._ 14 [, 318–326. https://doi.org/10.1016/j.dt.2018.02.001 (2018).](https://doi.org/10.1016/j.dt.2018.02.001)
16. Hashish, M. & Kent, W. Trimming of CFRP Aircraft components. In _WJTA-IMCA Conference and Expo_ (2013).
17. Wan, Y. & Takahashi, J. Development of carbon fiber-reinforced thermoplastics for mass-produced automotive applications in
Japan. _J. Compos. Sci._ 5 [, 86. https://doi.org/10.3390/jcs5030086 (2021).](https://doi.org/10.3390/jcs5030086)
18. Chen, C.-H., Chiang, C.-L., Wang, J.-X. & Shen, M.-Y. A circular economy study on the characterization and thermal properties of
thermoplastic composite created using regenerated carbon fiber recycled from waste thermoset CFRP bicycle part as reinforcement.
_Compos. Sci. Technol._ 230 [, 109761. https://doi.org/10.1016/j.compscitech.2022.109761 (2022).](https://doi.org/10.1016/j.compscitech.2022.109761)
19. Almushaikeh, A. M. et al. Manufacturing of carbon fiber reinforced thermoplastics and its recovery of carbon fiber: A review.
_Polymer Testing_ 108029. https: //do i.or g/ 10.10 1 6/j.p [](https://doi.org/10.1016/j.polymertesting.2023.108029) [olymertest](https://doi.org/10.1016/j.polymertesting.2023.108029) i ng.20 23.108029 (2023).
20. Waddon, A. J., Hill, M. J., Keller, A. & Blundell, D. J. On the crystal texture of linear polyaryls (PEEK, PEK and PPS). _J. Mater. Sci._
22 [, 1773–1784. https://doi.org/10.1007/BF01132406 (1987).](https://doi.org/10.1007/BF01132406)
21. Nohara, L. B. et al. Study of crystallization behavior of poly(phenylene sulfide). _Polimeros_ 16 [, 104–110. https://doi.org/10.1590/S0](https://doi.org/10.1590/S0104-14282006000200009)
[104-14282006000200009 (2006).](https://doi.org/10.1590/S0104-14282006000200009)
22. Trivedi, R. & Kurz, W. Dendritic growth. _Int. Mater. Rev._ 39 [, 49–74. https://doi.org/10.1179/imr.1994.39.2.49 (1994).](https://doi.org/10.1179/imr.1994.39.2.49)
23. Ye, L., Scheuring, T. & Friedrich, K. Matrix morphology and fibre pull-out strength of T700/PPS and T700/PET thermoplastic
composites. _J. Mater. Sci._ 30 [, 4761–4769. https://doi.org/10.1007/BF01154482 (1995).](https://doi.org/10.1007/BF01154482)
24. Gao, S.-L. & Kim, J.-K. Cooling rate influences in carbon fibre/PEEK composites. Part 1. Crystallinity and interface adhesion.
_Compos. Part A Appl. Sci. Manufact._ 31 [, 517–530. https://doi.org/10.1016/S1359-835X(00)00009-9 (2000).](https://doi.org/10.1016/S1359-835X%0x2800%0x2900009-9)
25. Gao, S.-L. & Kim, J.-K. Cooling rate influences in carbon fibre/PEEK composites. Part II: interlaminar fracture toughness. _Compos._
_A Appl. Sci. Manuf._ 32 [, 763–774. https://doi.org/10.1016/S1359-835X(00)00188-3 (2001).](https://doi.org/10.1016/S1359-835X%0x2800%0x2900188-3)
26. Gao, S.-L. & Kim, J.-K. Cooling rate influences in carbon fibre/PEEK composites. Part III: impact damage performance. _Compos._
_A Appl. Sci. Manuf._ 32 [, 775–785. https://doi.org/10.1016/S1359-835X(00)00189-5 (2001).](https://doi.org/10.1016/S1359-835X%0x2800%0x2900189-5)
27. Oshima, S. et al. High-resolution in situ characterization of micromechanisms in CFRP laminates under mode II loading. _Eng._
_Fract. Mech._ 260 [, 108189. https://doi.org/10.1016/j.engfracmech.2021.108189 (2022).](https://doi.org/10.1016/j.engfracmech.2021.108189)
28. Oshima, S. et al. Experimental data for cooling rate-dependent properties of Polyphenylene Sulfide (PPS) and Carbon Fiber
Reinforced PPS (CF/PPS). _Data Brief_ 46 [, 108817. https://doi.org/10.1016/j.dib.2022.108817 (2023).](https://doi.org/10.1016/j.dib.2022.108817)
29. Higuchi, R. et al. Multiphysics simulation of cooling-rate-dependent material properties of thermoplastic composites. In _20th_
_European Conference on Composite Materials (ECCM20)_ (2022).
30. Takashima, R., Higuchi, R., Oshima, S., Yokozeki, T. & Aoki, T. Prediction of mechanical properties of thermoplastic resins
considering molding conditions. In _21st European Conference on Composite Materials (ECCM21)_ (2024).
31. Takaki, T. Phase-field modeling and simulations of dendrite growth. _ISIJ Int._ 54 [, 437–444. https://doi.org/10.2355/isijinternationa](https://doi.org/10.2355/isijinternational.54.437)
[l.54.437 (2014).](https://doi.org/10.2355/isijinternational.54.437)
32. Kobayashi, R. Modeling and numerical simulations of dendritic crystal growth. _Physica D_ 63 [, 410–423. https://doi.org/10.1016/01](https://doi.org/10.1016/0167-2789%0x2893%0x2990120-P)
[67-2789(93)90120-P (1993).](https://doi.org/10.1016/0167-2789%0x2893%0x2990120-P)
33. Bahloul, A., Doghri, I. & Adam, L. An enhanced phase field model for the numerical simulation of polymer crystallization. _Polym._
_Crystal._ 3 [, e10144. https://doi.org/10.1002/pcr2.10144 (2020).](https://doi.org/10.1002/pcr2.10144)
34. Guedes, J. & Kikuchi, N. Preprocessing and postprocessing for materials based on the homogenization method with adaptive finite
element methods. _Comput. Methods Appl. Mech. Eng._ 83 [, 143–198. https://doi.org/10.1016/0045-7825(90)90148-F (1990).](https://doi.org/10.1016/0045-7825%0x2890%0x2990148-F)
35. Higuchi, R., Okabe, T. & Nagashima, T. Numerical simulation of progressive damage and failure in composite laminates using
XFEM/CZM coupled approach. _Compos. A Appl. Sci. Manuf._ 95, 197–207. [https://doi.org/10.1016/j.compositesa.2016.12.026](https://doi.org/10.1016/j.compositesa.2016.12.026)
(2017).
36. Higuchi, R., Yokozeki, T., Nagashima, T. & Aoki, T. Evaluation of mechanical properties of noncircular carbon fiber reinforced
plastics by using XFEM-based computational micromechanics. _Compos. A Appl. Sci. Manuf._ 126 [, 105556. https://doi.org/10.1016](https://doi.org/10.1016/j.compositesa.2019.105556)
[/j.compositesa.2019.105556 (2019).](https://doi.org/10.1016/j.compositesa.2019.105556)
37. Nagashima, T. & Sawada, M. Development of a damage propagation analysis system based on level set XFEM using the cohesive
zone model. _Comput. Struct._ 174 [, 42–53. https://doi.org/10.1016/j.compstruc.2015.10.005 (2016).](https://doi.org/10.1016/j.compstruc.2015.10.005)
38. Zhu, M. F. & Hong, C. P. A modified cellular automaton model for the simulation of dendritic growth in solidification of alloys. _ISIJ_
_Int._ 41 [, 436–445. https://doi.org/10.2355/isijinternational.41.436 (2001).](https://doi.org/10.2355/isijinternational.41.436)
39. Beltran-Sanchez, L. & Stefanescu, D. M. Growth of solutal dendrites: A cellular automaton model and its quantitative capabilities.
_Metall. Mater. Trans._ 34 [, 367–382. https://doi.org/10.1007/s11661-003-0338-z (2003).](https://doi.org/10.1007/s11661-003-0338-z)
40. Beltran-Sanchez, L. & Stefanescu, D. M. A quantitative dendrite growth model and analysis of stability concepts. _Metall. Mater._
_Trans. A._ 35 [, 2471–2485. https://doi.org/10.1007/s11661-006-0227-3 (2004).](https://doi.org/10.1007/s11661-006-0227-3)
41. Plapp, M. & Karma, A. Multiscale finite-difference-diffusion-Monte-Carlo method for simulating dendritic solidification. _J._
_Comput. Phys._ 165 [, 592–619. https://doi.org/10.1006/jcph.2000.6634 (2000).](https://doi.org/10.1006/jcph.2000.6634)
42. Lue, L. Volumetric behavior of athermal dendritic polymers: Monte Carlo simulation. _Macromolecules_ 33 [, 2266–2272. https://doi.](https://doi.org/10.1021/ma991340b)
[org/10.1021/ma991340b (2000).](https://doi.org/10.1021/ma991340b)
43. Juric, D. & Tryggvason, G. A front-tracking method for dendritic solidification. _J. Comput. Phys._ 123 [, 127–148. https://doi.org/10](https://doi.org/10.1006/jcph.1996.0011)
[.1006/jcph.1996.0011 (1996).](https://doi.org/10.1006/jcph.1996.0011)
44. Zhu, M. F. & Stefanescu, D. M. Virtual front tracking model for the quantitative modeling of dendritic growth in solidification of
alloys. _Acta Mater._ 55 [, 1741–1755. https://doi.org/10.1016/j.actamat.2006.10.037 (2007).](https://doi.org/10.1016/j.actamat.2006.10.037)
45. Hiraide, K., Oya, Y., Hirayama, K., Endo, K. & Muramatsu, M. Development of a deep-learning model for phase-separation
structure of Diblock copolymer based on self-consistent field analysis. _Adv. Compos. Mater_ 33, 1026–1039 (2024).
46. Suzuki, M., Shizawa, K. & Muramatsu, M. Deep learning-aided inverse analysis framework to accelerate the exploration of DP steel
microstructures. _Mater. Today Commun._ 41 [, 110557. https://doi.org/10.1016/j.mtcomm.2024.110557 (2024).](https://doi.org/10.1016/j.mtcomm.2024.110557)
47. Dhariwal, P. & Nichol, A. Diffusion models beat GANs on image synthesis. _Adv. Neural. Inf. Process. Syst._ 34, 8780–8794 (2021).
48. Pantani, R., Coccorullo, I., Speranza, V. & Titomanlio, G. Modeling of morphology evolution in the injection molding process of
thermoplastic polymers. _Prog. Polym. Sci._ 30 [, 1185–1222. https://doi.org/10.1016/j.progpolymsci.2005.09.001 (2005).](https://doi.org/10.1016/j.progpolymsci.2005.09.001)
49. Schick, C. Differential scanning calorimetry (DSC) of semicrystalline polymers. _Anal. Bioanal. Chem._ 395 [, 1589–1611. https://do](https://doi.org/10.1007/s00216-009-3169-y)
[i.org/10.1007/s00216-009-3169-y (2009).](https://doi.org/10.1007/s00216-009-3169-y)
50. Kato, M. et al. Experimental and numerical investigation of the crystallization behavior of PPS resin and CF/PPS. _J. Jpn. Soc._
_Compos. Mater._ 50 [, 8–18. https://doi.org/10.6089/jscm.50.8 (2024).](https://doi.org/10.6089/jscm.50.8)
51. Lovinger, A. J., Davis, D. D. & Padden, F. J. Jr. Kinetic analysis of the crystallization of poly ( _p_ -phenylene sulphide). _Polymer_ 26,
[1595–1604. https://doi.org/10.1016/0032-3861(85)90270-8 (1985).](https://doi.org/10.1016/0032-3861%0x2885%0x2990270-8)
52. Moës, N., Cloirec, M., Cartraud, P. & Remacle, J.-F. A computational approach to handle complex microstructure geometries.
_Comput. Methods Appl. Mech. Eng._ 192 [, 3163–3177. https://doi.org/10.1016/S0045-7825(03)00346-3 (2003).](https://doi.org/10.1016/S0045-7825%0x2803%0x2900346-3)
53. Li, S., Warrior, N., Zou, Z. & Almaskari, F. A unit cell for FE analysis of materials with the microstructure of a staggered pattern.
_Compos. A Appl. Sci. Manuf._ 42 [, 801–811. https://doi.org/10.1016/j.compositesa.2011.03.010 (2011).](https://doi.org/10.1016/j.compositesa.2011.03.010)
54. Nishino, T., Tada, K. & Nakamae, K. Elastic modulus of crystalline regions of poly (ether ether ketone), poly (ether ketone) and
poly ( _p_ -phenylene sulphide). _Polymer_ 33 [, 736–743. https://doi.org/10.1016/0032-3861(92)90330-Y (1992).](https://doi.org/10.1016/0032-3861%0x2892%0x2990330-Y)
55. Sohl-Dickstein, J., Weiss, E., Maheswaranathan, N. & Ganguli, S. Deep unsupervised learning using nonequilibrium
thermodynamics. In _International Conference on Machine Learning_, 2256–2265 (PMLR, 2015).
56. Ho, J., Jain, A. & Abbeel, P. Denoising diffusion probabilistic models. _Adv. Neural. Inf. Process. Syst._ 33, 6840–6851 (2020).
57. Yang, L. et al. Diffusion models: A comprehensive survey of methods and applications. _ACM Comput. Surv._ 56 [, 1–39. https://doi.o](https://doi.org/10.1145/3626235)
[rg/10.1145/3626235 (2023).](https://doi.org/10.1145/3626235)
[58. Ho, J. & Salimans, T. Classifier-Free Diffusion Guidance. arXiv preprint arXiv:2207.12598 (2022).](http://arxiv.org/abs/2207.12598)
59. Croitoru, F.-A., Hondru, V., Ionescu, R. T. & Shah, M. Diffusion models in vision: A survey. _IEEE Trans. Pattern Anal. Mach. Intell._
[https://doi.org/10.1109/TPAMI.2023.3261988 (2023).](https://doi.org/10.1109/TPAMI.2023.3261988)
60. Ronneberger, O., Fischer, P. & Brox, T. U-Net: Convolutional Networks for Biomedical Image Segmentation. In _Medical image_
_computing and computer-assisted intervention–MICCAI 2015: 18th International Conference, Munich, Germany, October 5–9, 2015,_
_proceedings, part III 18_ [, 234–241. https://doi.org/10.1007/978-3-319-24574-4_28 (Springer, 2015).](https://doi.org/10.1007/978-3-319-24574-4_28)
61. Wang, X., Ouyang, J., Zhou, W. & Liu, Z. A phase field technique for modeling and predicting flow induced crystallization
morphology of semi-crystalline polymers. _Polymers_ 8 [, 230. https://doi.org/10.3390/polym8060230 (2016).](https://doi.org/10.3390/polym8060230)
62. Rombach, R., Blattmann, A., Lorenz, D., Esser, P. & Ommer, B. High-resolution image synthesis with latent diffusion models. In
_Proceedings of the IEEE/CVF conference on computer vision and pattern recognition_ [, 10684–10695. https://doi.org/10.48550/arXiv.](https://doi.org/10.48550/arXiv.2112.10752)
[2112.10752 (2022).](https://doi.org/10.48550/arXiv.2112.10752)
Acknowledgements
This study was partially supported by the Japan Society for the Promotion of Science (JSPS) KAKENHI (Grant
Number 22K14489).
Author contributions
AI conducted Data curation, Formal analysis, Investigation, Methodology, Software, Visualization, Validation,
Writing—Original Draft, Writing—Review & Editing. RH conducted Conceptualization, Funding acquisition,
Investigation, Methodology. TY conducted Conceptualization, Funding acquisition, Methodology. KE conducted Conceptualization, Investigation, Methodology, Software, Validation. YK conducted Investigation, Methodology, Software, Validation, Writing—Review & Editing. MS conducted Investigation, Methodology, Software,
Validation. MM conducted Conceptualization, Funding acquisition, Project administration, Resources, Writing—Review & Editing, Supervision.
Declarations
Competing interests
The authors declare no competing interests.
Additional information
Supplementary Information [The online version contains supplementary material available at https://doi.org/1](https://doi.org/10.1038/s41598-025-22942-y)
[0.1038/s41598-025-22942-y.](https://doi.org/10.1038/s41598-025-22942-y)
Correspondence and requests for materials should be addressed to M.M.
Reprints and permissions information is available at www.nature.com/reprints.
Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and
institutional affiliations.
Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which
permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give
appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and
indicate if changes were made. The images or other third party material in this article are included in the article’s
Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included
in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or
exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy
[of this licence, visit http://creativecommons.org/licenses/by/4.0/.](http://creativecommons.org/licenses/by/4.0/)
© The Author(s) 2025