원시데이터 수집 시스템
선정목록으로

douka: A universal platform of data assimilation for materials modeling

간접 관련 수소연료전지 · (7) MEA(막전극접합체) (5) 연료전지용 수분제어장치(가습기)(6) PEM(고분자전해질막)

기본 정보

저자
  1. Aoi Watanabe — Department of Materials Engineering, The University of Tokyo, 7-3-1 Hongo, Bunkyo-ku, Tokyo 113-8656, Japan
  2. Ryuhei Sato — Department of Materials Engineering, The University of Tokyo, 7-3-1 Hongo, Bunkyo-ku, Tokyo 113-8656, Japan
  3. Ikuya Kinefuchi — Department of Mechanical Engineering, The University of Tokyo, 7-3-1 Hongo, Bunkyo-ku, Tokyo 113-8656, Japan
  4. Yasushi Shibuta — Department of Materials Engineering, The University of Tokyo, 7-3-1 Hongo, Bunkyo-ku, Tokyo 113-8656, Japan
DOI
10.1063/5.0276816
저널
The Journal of Chemical Physics
발행년도
2025
발행기관
American Institute of Physics
피인용수
0
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1063/5.0276816
토픽
Electrocatalysts for Energy Conversion
OpenAlex ID
W4414279878

평가 내용

관련도
간접 관련
사업분야
수소연료전지 · (7) MEA(막전극접합체)
부 분야
(5) 연료전지용 수분제어장치(가습기), (6) PEM(고분자전해질막)
R&D 측면
분석·모델링
확신도
0.70
근거 용어
data assimilation, water electrolysis, oxygen evolution reaction, bubble detachment, materials modeling
판단 근거
논문은 수전해(water electrolysis) 과정에서의 산소 발생 반응 및 기포 거동을 데이터 동화(DA) 기술로 모델링하는 플랫폼을 다룹니다. 이는 코오롱인더스트리의 수소연료전지(PEMFC) 관련 연구에서 가스 확산이나 수분 제어 메커니즘을 분석하는 데 응용될 수 있는 기술입니다.
R&D 활용 포인트
수전해 및 연료전지 내 기포 거동, 가스 확산층(GDL)의 물리적 특성 예측 및 실험 데이터 기반의 정밀한 시뮬레이션 모델 구축에 활용 가능합니다.
평가 입력
섹션 본문 39,197자 중 30,032자 발췌

초록

A large-scale, general-purpose data assimilation (DA) platform for materials modeling, douka, was developed and applied to nonlinear materials models. The platform demonstrated its effectiveness in estimating physical properties that cannot be directly obtained from observed data. Furthermore, it enables state estimation with quantified uncertainty, thereby providing researchers with a new aspect for analyzing the underlying physical process and guiding future model refinements. DA was successfully performed using experimental images of oxygen evolution reaction at a water electrolysis electrode, enabling the estimation of oxygen gas injection velocity and bubble contact angle. Furthermore, large-scale ensemble DA was conducted on the supercomputer Fugaku, achieving state estimation with up to 8192 ensemble members. The results confirmed that runtime scaling for the prediction step follows the weak scaling law, ensuring computational efficiency even with increased ensemble sizes. These findings highlight the potential of douka as a new approach for data-driven materials science, integrating experimental data with numerical simulation.

본문 40,542자

본문 펼치기
A large-scale, general-purpose data assimilation (DA) platform for materials modeling, douka, was developed and applied to nonlinear materials models.The platform demonstrated its effectiveness in estimating physical properties that cannot be directly obtained from observed data.DA was successfully performed using experimental images of oxygen evolution reaction at a water electrolysis electrode, enabling the estimation of oxygen gas injection velocity and bubble contact angle.Furthermore, large-scale ensemble DA was conducted on the supercomputer Fugaku, achieving state estimation with up to 8,192 ensemble members.The results confirmed that runtime scaling for the prediction step follows the weak scaling law, ensuring computational efficiency even with increased ensemble sizes.These findings highlight the potential of douka as a new approach for data-driven materials science, integrating experimental data with numerical simulation. Introduction As a new paradigm in materials science, the data-driven approach, which aims to discover new insights from experimental and simulation data, is gaining attention [1]. Introduction Machine learning (ML) methods are a typical example of such methods.The integration of ML techniques with the development of diverse materials databases has successfully revealed latent correlations and characteristics within materials science data [2][3][4].However, ML-based regression and classification often obscure the underlying physics of the data.Consequently, significant efforts have been devoted to developing and applying ML methods that incorporate physical principles [5].In contrast, many phenomena in materials science can be explained through governing equations that encapsulate their physical principles (i.e., physics-based models).For instance, heat and mass diffusion can be described by the heat conduction equation (diffusion equation), while fluid dynamics can be modeled using the Navier-Stokes equations.Integrating physics-based models with experimental data can facilitate a clearer understanding of underlying physical principles and theories while leveraging established models.This approach offers a valuable and distinctive alternative to ML, which often derives relationships in a black-box manner. Introduction In recent years, data assimilation (DA) [6] has emerged as a promising approach.DA is a statistical estimation technique that integrates numerical models and simulations with experimental data and was initially developed in meteorology and oceanography [7]. Introduction Today, it is widely applied in various practical fields, including weather and ocean forecasting [8][9][10].More recently, its applications have expanded to materials science, encompassing various phenomena such as microstructure formation in metallic materials [11,12], solid-phase sintering [13], crystal growth of two-dimensional materials [14], crystal structure determination [15], and the prediction of material properties [16][17][18]. Introduction The DA method is fundamentally a framework that operates independently of the specific physical models and governing equations employed.However, most previous DA studies in materials science have incorporated DA methods tailored to the governing equation of interest (hereafter referred to as the material model) for each specific study.Furthermore, understanding DA requires proficiency in probability and statistics, which can be challenging for many materials science researchers to grasp and apply.These factors have impeded the widespread adoption of data assimilation in materials research. Introduction Given this background, we propose that standardizing components other than the material model would facilitate the broader application of DA in materials science.To this end, this research aims to develop a versatile and scalable DA platform applicable to various material models, contributing to the advancement of data-driven science for understanding complex physical phenomena in materials research. Sequential and non-sequential data assimilation DA methods are techniques used to incorporate observational data into governing equations based on physical phenomena to perform state estimation.These methods are broadly classified into two types: sequential and non-sequential DA.Sequential DA refers to a method in which observational data is provided as a time series and is sequentially incorporated into numerical simulations.Representative sequential DA methods include the Kalman Filter (KF) [19], the ensemble Kalman Filter (EnKF) [20], and the particle filter [21].Sequential DA is particularly suitable for predicting states or estimating time-varying states.Non-sequential DA, on the other hand, refers to a method used when observational data over a specified time period is provided in advance.This method estimates an initial state that best represents the system by integrating the given observational data.Representative non-sequential DA methods include the threedimensional variational method (3DVar) [22] and the four-dimensional variational method (4DVar) [23].In this study, we focus on sequential DA because many experiments in the field of materials science involve time-series observational data such as the formation process of materials and the dynamic behavior of microstructures.Since most material models consist of nonlinear equations, this study employs the EnKF, which can accommodate nonlinear models.The details of the EnKF are described later. Procedure of sequential data assimilation In a conventional numerical simulation, the state vector !, which consists of physical variables at time t, takes a unique value, and its sequential changes are deterministic.This is called a simulation model and can be expressed as follows: Procedure of sequential data assimilation In DA, on the other hand, a distribution of errors is introduced into the simulation results, and the state vector ! is represented by a probability density function.This is called a system model. Procedure of sequential data assimilation ! is called the system noise at time t, representing the uncertainty of the prediction due to imperfections in the numerical simulation model, errors caused by numerical calculations, and other factors.Furthermore, considering that the observed data also contain errors, the observation model with observation noise ! is represented by a probability density function. Procedure of sequential data assimilation where ! is the observation vector and ℎ ! is the observation operator, which transforms the state vector !into a form comparable to the observed values.The system model (Eq.( 2)) and the observation model (Eq.( 3)) together are referred to as the state-space model. Procedure of sequential data assimilation Sequential DA consists of two steps: the prediction step and the filtering step.In the prediction step, the state one step ahead, !|!"# , is estimated from the state !"#|!"# based on the system model as given in Eq. ( 2).The subscript notation %|& represents the state at time step i in the numerical simulation, incorporating observed data up to observation time j.Next, in the filtering step, the observational data at time t, is used to modify the estimated state based on Eq. ( 3), yielding the updated state !|! .Therefore, by taking i and j as the x-and y-axes, respectively, the process of sequential DA can be represented as shown in Figure 1.By repeating the two steps of prediction and filtering, the estimation of the state is achieved by sequentially incorporating the observed data in the sequential DA.For further details on the principle of DA, see Ref. [6]. Kalman filter (KF) When both the system model and the observation model are linear, and all probabilistic variables, including system noise and observation noise, follow a normal distribution, the Kalman filter [19] described below can be applied.In this case, the statespace model is expressed as follows Kalman filter (KF) ! and !represent the simulation model and the observation operator, respectively, and are expressed as matrices in the Kalman filter since both are linear.Consider a statespace model, in which the state vector is k-dimensional and the observation vector is ldimensional.The vector of state mean value !|! and the observation vector ! are defined as follows: Kalman filter (KF) Let ! and !be the variance-covariance matrices of the system noise ! and the observed noise !, respectively.In the prediction step of the Kalman filter, the vector of state mean value !|!"# and its covariance matrix !|!"# is defined as: Kalman filter (KF) Then, the filtering step is defined as: Kalman filter (KF) where ! is referred to as the Kalman gain and is defined as follows: Kalman filter (KF) The covariance matrix of the system noise !, is calculated as follows Kalman filter (KF) The diagonal elements % .(for ∈ [0, − 1]) represent the variances of the system noise and the off-diagonal elements %,& (for , ∈ [0, − 1] and ≠ ) represent the covariances between the system noise.The covariance matrix of the observed noise ! is defined similarly.Since all these processes involve linear matrix transformations, the time evolution of the state vector can be determined analytically, which is a key advantage of the Kalman filter. Ensemble Kalman filter (EnKF) When the governing equations are nonlinear, the limitation of the Kalman filter is that the time evolution of the state vector's variance, induced by the system model, cannot be directly calculated during the prediction process.To address this limitation, methods such as ensemble approximations are often employed.This approach is generally referred to as the ensemble Kalman Filter (EnKF) [20].EnKF approximates the distribution of ! using a set of N samples as follows Ensemble Kalman filter (EnKF) where is the delta function.The set of samples { ! (%) } %1# 0 is called the ensemble and ! (%) is referred to as the ensemble member.Specifically, when the number of ensemble members is , the vector of state mean value of a sample Ensemble Kalman filter (EnKF) For the prediction step, the system model expressed in Eq. ( 2) is applied to each ensemble member individually, which is equivalent to running simulations simultaneously.The state vector variance !|!"# based on ensemble approximation can be computed as follows: Ensemble Kalman filter (EnKF) For the filtering step, the same procedure as the Kalman filter is applied to obtain Kalman Gain (Eq.( 12)).From this, the filtered ensemble member !|! (%) is computed as follows: Ensemble Kalman filter (EnKF) Note that, the observation noise factor b ! (%) is added to the filtered ensemble member in EnKF.Here, b ! (%) is computed from the observation noise ! (%) as follows: Structure As described above, DA can be applied to various nonlinear material models using an ensemble approximation.Therefore, having a general-purpose platform that facilitates the easy integration of various existing material models would be highly beneficial.Moreover, ensemble approximation requires a sufficiently large number of ensemble members, N, to accurately capture the time-dependent variation of variance.Therefore, we construct douka, a large-scale, general-purpose DA platform in this study, with a focus on these two key aspects.To enhance versatility and performance, this system implements the prediction and filtering steps as separate individual commands.Figure 2 represents schematic representation of the structure for parallel data assimilation execution flow using individual process commands in douka.First, for the prediction step, the subcommand `predict` is implemented, allowing the material model to be introduced as a plugin.This enables any existing material simulation model to be easily incorporated into the DA framework.Next, the subcommand `filter` is implemented to perform filtering using the observation vector on the state vector estimated during the prediction step.Since the filtering process is model-independent, the system ensures platform versatility by structuring DA processes separately.This means that users can apply their own simulation models without reimplementing the filtering process. Parallelization of ensemble To improve the performance of the DA platform, implementing ensemble parallelization is crucial.Therefore, the `predict` command is designed as a process that executes the prediction step for each ensemble.These processes run in parallel to achieve ensemble parallelization.At this stage, the system transfers state vectors via the file system.Figure 3(a) illustrates a schematic diagram of the system architecture of a typical supercomputer.As shown, a shared file system is constructed within the local network of the supercomputer.By transferring state vectors through this shared file system, the platform achieves ensemble parallelization even on a supercomputer.Sequence diagram of the data assimilation process in a supercomputer. Procedure for executing each process in douka In douka, following commands allow DA procedures to be executed as individual processes.The `init` command generates the initial distribution for each ensemble, and the `obsgen` command yields the observation data for the twin experiment.The prediction step (`predict` command) and filtering step (`filter` command) are explained in the following sections. File Naming rule The state vectors handled in douka follow the JSON format [24], and their file names follow the naming rule described below: File Naming rule State Vector File: File Naming rule Observation Vector File: ${NAME}_obs_${OBS_TIM}.json File Naming rule The variables used are explained as follows: File Naming rule NAME: An arbitrary name specified by the user (e.g., `lorenz63`). ID: Ensemble ID (e.g., `0001`).It is expressed with four digits, padded with zeros.If the total number of ensemble members is , the values range from 0 to − 1. SYS_TIM: The system time (e.g., `000000`).It is expressed with six digits, padded with zeros. OBS_TIM: The observation time (e.g., `000001`).It is expressed with six digits, padded with zeros. OBS_TIM: The contents of the state vector file and the observation vector file are shown in Sec.3.1 and 3.2 in User Guide provided as Supplementary Information. Predict command The execution of prediction step is computed by the following equation: Predict command Here, the system noise ! is computed using the covariance matrix !, provided by the user, and the seed value predict used for random number generation.The input and output of the `predict` command are shown in Table 1.The material model ! is dynamically loaded as a shared library at runtime.Additionally, using the same seed value for each ensemble and each simulation time sim could introduce statistical bias.To prevent this, the actual seed value predict used is derived by the following equation, using the input seed value in , simulation time sim , and ensemble ID : Predict command These parameters are provided through a JSON file and input via the following command to execute the prediction process.The details of the parameters used here are shown in Sec.6.1 in User Guide provided as Supplementary Information.In this command, the `--plugin` option specifies the dynamic library of the material model to be executed during the prediction process.The implementation method for the plugin's dynamic library is described in Sec.3.4.By implementing a plugin, various material models can be easily integrated into the DA platform.In addition, the parameters used in the plugin are specified by the `--plugin_param` option.Predicted ensemble member Filter command Filtering step is calculated by the Eq. ( 19) based on EnKF scheme.The Kalman gain, ! is the same as Eq. ( 12).The observation noise, !, is calculated using the covariance matrix ! and the seed value used for random number generation, both of which are given by the user.Also, the variance of the state vector, !|!"# , is computed from !|!"# using Eq. ( 18).The inputs and outputs of `filtering` command are as shown in Table 2. Filter command The observation vector, !, is assumed to be prepared in advance through experiments. Filter command As the input ensemble, the outputs of the aforementioned prediction step are used.Here, while the each ensemble member Filter command was calculated in the prediction step, the entire ensemble !|! is handled collectively in the filtering step.In addition, similar to the prediction step, the seed value obs used for random number generation is as follows, using the observation time obs : Filter command The details of the parameter used for filtering is shown in Sec. Implementation of plug-ins The implementation of the plugin for this platform is described in the programming language C++.Initially, the `douka::PluginInterface` class is inherited, and implement the following two methods.The first method is the `set_option`, which sets parameters to be used in the system model as needed.The second method is the `predict`, which performs a prediction step based on desired simulation model. Ways to execute the entire process of data assimilation The DA process alternately executes the `predict` and `filter` commands to assimilate data while outputting the state vector to a file as show in Figure 4.The example code for Lorenz63 model is shown below.Here, the '&' at the end of the `douka predict` command allows the process to run in the background, enabling parallel execution of each process in the prediction ensemble.In addition, the process can be executed on a supercomputer by replacing the execution part of each process with a job script submission under the flow of this process.In this case, ensemble parallelization of prediction can be realized by bulk job execution.For further details on execution, see User Guide provided as Supplementary Information. Acceleration techniques The DA processing, as depicted in Eqs. ( 12) and ( 19), involves intensive matrix operations.For these implementations, Eigen [25] library is selected due to its computational efficiency and flexibility.To explore performance improvements, established matrix calculation libraries, such as BLAS [26] and LAPACK [27], can be integrated as Eigen backends.Specifically, the Intel Math Kernel Library (MKL) [28], which provides thread-parallelized BLAS and LAPACK routines, can be utilized to enhance performance. Lorenz63 model for non-linear problem In this section, we present a series of DA applications to various models to demonstrate the versatility of the douka platform developed in this study.We begin with the Lorenz63 model [29], a simple system that exhibits chaotic behavior.The Lorenz63 model is an idealized representation of thermal convection, described by the following three differential equations: 23) to (25) as follows: Lorenz63 model for non-linear problem != { } (28) Lorenz63 model for non-linear problem The circumflex symbols in Eq. ( 27) represent estimated values and the same notation 3. The system noise covariance ! and the observation noise covariance ! are constructed as follows using the values in Table 3. Lorenz63 model for non-linear problem All calculations in this study were performed on the workstation equipped with two Intel® Xeon® w7-3445 CPUs and 64 GiB memory, except for those conducted on the supercomputer Fugaku in Section 4.4.This twin experiment confirmed that douka can be used to achieve appropriate data DA for models with strong nonlinearities. Phase-field model for free-boundary problem The phase-field model (PFM) has been widely applied in the field of materials science [30], including the dendrite growth during solidification [31,32] and the grain growth [33].Previous DA researches using phase-field models have contributed to the estimation of interfacial properties [16,34,35] and the improvement of model accuracy [13].In this section, we employ the PFM to simulate the solidification of pure Ni and use DA for the estimation of anisotropy of interfacial parameters.In the PFM, the morphology of the microstructure is defined by the spatial distribution of the phase-field variable . Phase-field model for free-boundary problem It is known that the numerical results of PFM are affected by the interface width, particularly when simulating system with temperature gradients across the interface.To address this issue, a quantitative PFM that accounts for temperature variations within the interface region are proposed [36].We employ the quantitative PFM [36] to model the solidification process of pure Ni.In this framework, = 1 and = −1 correspond to the solid and liquid phases, respectively, with the solid-liquid interface characterized by a continuous transition between −1 and 1.The time evolution equations of are presented below. Phase-field model for free-boundary problem The variables and are functions of the normal direction of the phase field variable , and are defined by the following expressions: Phase-field model for free-boundary problem To represent crystallographic anisotropy of Ni, which exhibits a 4-fold symmetric crystal structure, the term ?E + @ E is employed.Here, D and + correspond to the interface anisotropy and kinetic anisotropy, respectively, and are crucial parameters influencing the morphology during solidification.In this section, we conduct a twin experiment in which D and + are estimated by DA using 10 spatial distributions of the phase-field variable up to 5000 steps at 500 step intervals from above quantitative PFM simulation as the synthetic observation data.Note that these anisotropy parameters are challenging to measure using experimental approaches; therefore, most previous studies have relied on assumed or estimated values. Phase-field model for free-boundary problem The state and observation vectors are defined using the vectored form of the phase-field variable, as follows: Phase-field model for free-boundary problem The procedure for converting the phase-field variable into its vector format is illustrated in Figure 8 in the Supplementary Material.The DA parameters used for data assimilation are listed in Table 5, some of which are utilized in the following matrix form for estimation. Data assimilation using experimental images: Volume-of-Fluid (VOF) Method We confirmed that DA was properly performed using douka in the above examples; however, all of these were twin experiments.The most exciting part of DA is the integration of practical experimental data with simulations.In this section, DA is performed using the images obtained in the experiment as observation data.Specifically, images taken by a high-speed camera of oxygen bubbles generated from an oxygen electrode during water electrolysis [37] were used as observation data, and DA with simulation using the Volume-of-Fluid (VOF) method was performed.We provide a brief background on this experimental system.The water electrolysis reaction has attracted attention as a clean energy storage technology for the development of a sustainable society.In this reaction, gas bubbles adhere to the electrode surface, hindering the reaction progress [38], which in turn reduces reaction efficiency.Therefore, analyzing the bubble detachment mechanism is crucial for improving reaction efficiency.In general, bubble detachment is explained by the balance between surface tension and buoyancy, with the detachment diameter typically considered to be around 1.6 mm [39].However, experiments have reported the detachment of smaller bubbles that cannot be explained by this balance alone [40].Elucidating this mechanism is expected to significantly enhance the efficiency of the reaction process.In order to bridge the gap between experiments and simulations, the process of bubble generation in water electrolysis was chosen as the target of DA.Details of the experimental setup for in-situ observation of O2 bubble formation on a Ni electrode are provided in Appendix A. Data assimilation using experimental images: Volume-of-Fluid (VOF) Method The Volume-of-Fluid (VOF) method is a simulation technique used to analyze free surfaces in multiphase flows [41].This method distinguishes fluid phases by introducing a volume fraction, denoted as (VOF value).For example, in a two-phase flow consisting of air (gas phase) and water (liquid phase), the value corresponds to the fluid phase as follows: = 0 represents air, while = 1 represents water, with the water surface exhibiting a continuous transition between 0 and 1.By computing the temporal evolution of , the fluid dynamics of multiphase flows can be simulated.The governing equations include the continuity equation and the Navier-Stokes equations (i.e., ordinary computation fluid dynamics (CFD)), with surface tension calculated using the continuum surface force model [42].The time-dependent behavior of the fluid is then simulated by solving these equations. Data assimilation using experimental images: Volume-of-Fluid (VOF) Method In this section, we employ DA to investigate the oxygen gas supply rate, A , at the Ni electrode surface and the contact angle, , at the electrode interface, both of which are considered crucial for understanding the bubble detachment mechanism.High-speed optical camera images of the oxygen bubble formation process [37] are used as observational data for DA.A large number of bubbles were generated throughout the experimental system; however, this study focuses on the growth process of a single bubble.The movie used for the actual observation data is provided in Supplementary Video S1.The images, captured at 1080 frames per second (fps), are processed by extracting bubble images every 100 frames and converting them to VOF values (i.e., continuous values between 0 and 1).The time interval between observational data points, Δ obs , is approximately 92.6 ms.The image-to-VOF conversion is performed based on image contrast, followed by binarization and smoothing of the solid-liquid interface using a Gaussian filter.Specifically, a Gaussian filter with a radius of 1 pixel and a standard deviation of 1.0 is applied to the image pixel data.Figure 10 illustrates the original images and their corresponding VOF values.Among the 11 sampled VOF values, the one corresponding to the first image is used as the initial condition for the simulation, while the remaining ones serve as observational data for estimating the interfacial properties.The numerical simulations were conducted using OpenFOAM [43], an open-source CFD software.Notably, douka exhibits high versatility and can be integrated with existing software.To reduce computational demands, an axisymmetric computational domain is employed, centered on the forming bubble as depicted in Figure 11.The domain is discretized into a 100 × 100 × 1 grid.To model bubble growth, an O2 gas inlet with radius R is placed at the lower left of the domain.This inlet imposes a constant upward flow with velocity A supplying O2 gas into the domain.The remaining bottom surface is set with a boundary condition that imposes a contact angle for O2.To prevent interface dissipation during bubble formation, the Geometric VOF method [44] is used for geometric interface reconstruction in the VOF calculations.The material properties and simulation parameters are detailed in Table 6.The state and observation vectors for the DA are defined as follows: Data assimilation using experimental images: Volume-of-Fluid (VOF) Method Here, reprensents the VOF value, the pressure field and the velocity vector field. Data assimilation using experimental images: Volume-of-Fluid (VOF) Method The estimated oxygen gas inlet velocity ™ A , and contact angle « , are the parameters to be estimated.When using the observed VOF values as initial estimates, the pressure field at each domain is initialized with ) ( − 1.0), where ) = 1950.0,to incorporate the bubble's internal pressure.The velocity field is initialized to 0.0 throughout the domain.Table 7 details the parameters used in the DA of the bubble formation.the estimated value « may not necessarily correspond to the actual contact angle of the bubble at the interface.Additionally, under the boundary conditions employed, the O2 gas supply rate A exerts an upward force on the entire bubble.As a result, the contact angle is expected to be influenced by A , particularly for small bubbles.Furthermore, Fig. Data assimilation using experimental images: Volume-of-Fluid (VOF) Method 12(c) indicates that the largest absolute differences in VOF values are concentrated near the three-phase interface.Further improvements to the simulation model are necessary for more precise estimation of interfacial properties using experimental data, which is beyond the scope of this study.The most significant achievement of this research is the development of a general-purpose platform that enables DA using practical experimental images. Data assimilation with large ensemble members on a supercomputer Fugaku When performing sequential state estimation using nonlinear material models, it is essential to calculate the variance in the prediction step through ensemble approximation. Data assimilation with large ensemble members on a supercomputer Fugaku In this section, we employ douka to conduct state estimation with large-scale ensemble members.Specifically, we focus on the estimation of interfacial properties using the PFM presented in Section 4.2, and we examine both the convergence of the estimation and the performance of the platform with large-scale ensemble members.All computations in this section were performed on the exascale supercomputer Fugaku at the RIKEN Center for Computational Science (R-CCS), Japan.Fugaku comprises 158,976 nodes, each equipped with a 48-core A64FX CPU and 32.0 GiB of memory.The target parameters for estimation are D and + , and all computational conditions, except for the number of ensemble members, remain consistent with those described in Section 4.2.Twin experiments were performed to assess the prediction accuracy while varying the number of ensemble members from 2 to 8192, with one ensemble assigned to each node.As a benchmark, we measured the execution time for prediction.The runtime averaged across all ensemble members is regarded as the computation time for a single step. Data assimilation with large ensemble members on a supercomputer Fugaku Figures 13 and 14 present estimation results of capillary anisotropy ̂D and kinetic anisotropy ̂+ for varying ensemble numbers, respectively.It is evident that as the ensemble size N increases, the deviation from the true value due to sampling errors in the initial estimation phase decreases.When the ensemble size is extremely small (e.g., = Data assimilation with large ensemble members on a supercomputer Fugaku 2), the variance of the estimated state converges rapidly, reducing the effectiveness of state correction by observational data.As a result, the true value may fall outside the estimated likelihood range.Figure 15 illustrates the execution time of the prediction step as a function of the ensemble size N.The execution time remains nearly constant and independent of N, demonstrating adherence to the ideal weak scaling law.In this twin experiment, the sampling error nearly converged at an ensemble size of approximately = 128, suggesting that an ensemble size on the order of 10 . is sufficient.However, many cases require a larger number of ensemble members, such as those involving complex models with strongly nonlinear systems or DA using other methodology such as particle filter method.Therefore, the fact that the prediction step of douka constructed in this study achieves ideal weak scaling efficiency highlights its versatility for various applications. Conclusions In this study, a large-scale, general-purpose DA platform for materials modeling, named douka, was developed.Several applications of douka to nonlinear materials models are presented, demonstrating the effectiveness of DA.The platform's applicability to models with state vectors exceeding 1,000 dimensions is also shown, highlighting its capability to estimate physical properties that cannot be directly obtained from observed data.Notably, DA was successfully performed using experimental images of oxygen evolution at a water electrolysis electrode, enabling the estimation of injection velocity of oxygen gas and contact angle of the bubble. Conclusions Furthermore, this platform was applied to large-scale ensemble DA using the supercomputer Fugaku, achieving state estimation with up to 8,192 ensemble members. Conclusions The results demonstrate that even as the number of ensemble members increases, the runtime for prediction step follows the weak scaling law, leading to a significant speedup. Conclusions This finding suggests that the proposed approach effectively mitigates the rise in computational cost associated with ensemble size, even when applied to DA for material models requiring time-intensive analyses.The outcomes of this study are expected to contribute to the advancement of data-driven materials science.Future developments will focus on integrating additional DA methodologies, such as the particle filter and Ensemble Kalman smoothers.Additionally, enhancing the platform's scalability through the parallelization of filtering operations will be a key objective. Conclusions solution, measured with a K-type thermocouple, was maintained at 23.4 ± 0.2 °C.A constant voltage was applied to the electrodes using a DC power supply.The applied voltage was adjusted so that the current density of the anode became a target value between 0.1-3 A/cm².Oxygen bubbles generated on the anode were recorded using a high-speed camera (Photoron FASTCAM5) and a macro lens (LAOWA 25mm F2.8 2.5-5X ULTRA MACRO) at the frame rate of 1080 fps.To ensure sufficient brightness for high-speed imaging, a 3W white LED was used for illumination.Figure A1 shows the experimental setup. Fig. 1 . Fig. 1.Schematic diagram of the process of sequential data assimilation.Horizontal (x) and vertical (y) axes represent time-step of simulation and observation, respectively. Fig. 2 . Fig. 2. Schematic representation of the parallel data assimilation execution flow using individual process commands in douka. Figure 3 ( b) depicts the sequence of DA, including the prediction and filtering steps, via the shared file system, proposed in douka.The process flow is as follows: Each node executes the prediction step for each ensemble and writes the results to files.Then, the filtering process reads the predicted ensemble !|!"# and the given observation vector ! to compute the posterior ensemble !|! .As a result, the entire DA computation is divided into a collection of smaller jobs.Additionally, this method enables the file output of the state vector to serve as a checkpoint in the DA sequence. Fig. 3 . Fig. 3. (a) Schematic diagram of the system architecture of a typical supercomputer.(b) #Fig. 4 . Fig. 4. Schematic diagram of file updates during data assimilation process execution. Fig. 5 . Fig. 5. Trajectories of the Lorenz63 model with different initial conditions of ( ) , ) , ) ) = (1.0,3.0, 5.0)(blue line) and ( ) , ) , ) ) = (1.1,3.3, 5.5)(red line). Fig. 5 . applies hereafter.For prediction, !F !|! G corresponds to computing the value after one time step by approximating Eqs.(23) to (25) using the forward differencing method, yielding the predicted state !>#|! .The initial state distribution is assumed to be a multivariate normal distribution with mean value ( ) , ) , ) ) = (−1.0,−3.0, −5.0) and variance of 20.0 for each component.It should be noticed that these initial conditions for the estimation process are distinct from those used to generate the synthetic observational data, which yield a significant difference in the behavior of the Lorentz63 model solution.Parameters for the DA are shown in Table Figure 6 Figure 6 illustrates the differences in state estimation with and without DA in the Fig. 6 . Fig. 6.Comparison of state estimation results in the Lorenz63 model: (a)-(c) without data assimilation (DA) and (d)-(f) with DA.Crosses indicate synthetic observation data, while white dots denote the estimated mean. Figure 7 Fig. 7 . Fig. 7. Simulation results of Ni solidification using a quantitative phase-field model. Fig. 8 . Fig. 8. Schematic diagram of the conversion from phase-field variable %& into state vector . Figure 9 Figure9shows results of the twin experiment by DA of the PFM.Estimated mean Fig. 9 . Fig. 9. Results of the twin experiment for estimating anisotropy parameters in Ni solidification using quantitative phase-field simulations.(a) Synthetic observation data.(b) Estimated mean of the phase-field variable obtained through data assimilation.(c) Absolute difference between the synthetic observation data and the estimated phase-field variable.(d, e) Temporal evolution of the estimated values of (d) capillary anisotropy D and (e) kinetic anisotropy +.Dashed lines indicate the true values used to generate the synthetic observation data.Solid lines represent the estimated values from each ensemble member, while white dots denote the estimated mean. Fig. 10 . Fig. 10.(a) In-situ observation images of O2 bubble formation process on Ni electrode [23].(b) VOF values obtained by image transformation from in-site observation images. Fig. 11 . Fig. 11.Computational domain used for simulating the O2 bubble formation process. Figure 12 Figure 12 presents the results of DA for bubble formation using experimental images. Fig. 12 . Fig. 12. Results of data assimilation for the O₂ bubble formation process on a Ni electrode using experimental observation data.(a) Observational data.(b) Estimated mean VOF value.(c) Absolute difference between observed and estimated VOF values.(d, e) Temporal evolution of the estimated values: (d) gas injection velocity ( ™ A ) and (e) contact angle ( « ).Solid lines represent the estimated values for each ensemble member, while white dots indicate the estimated mean. Fig. 13 . Fig. 13.Estimation result of capillary anisotropy D for varying ensemble numbers N by the large-scale data assimilation performed on the supercomputer, Fugaku.Dashed lines indicate the true values used to generate the synthetic observation data.Solid lines represent the estimated values from each ensemble member, while white dots denote the estimated mean. Fig. 14 . Fig. 14.Estimation result of kinetic anisotropy ̂+ for varying ensemble numbers N by the large-scale data assimilation performed on the supercomputer, Fugaku.Dashed lines indicate the true values used to generate the synthetic observation data.Solid lines represent the estimated values from each ensemble member, while white dots denote the estimated mean. Fig. 15 . Fig. 15.The prediction command execution time as a function of ensemble numbers N by the large-scale data assimilation performed on the supercomputer, Fugaku. Fig. A1 . Fig. A1.Experimental setup.(a) Overview of the entire setup.(b) Close-up view of the Table 1 . Input and output for prediction process Table 1 . 7.1 in User Guide provided as Supplementary Information. Table 2 . Input and output for filtering process Table 2 . An example plug-in implementation of the Lorenz63 model (Section 4.1) is shown in Sec. 2 in User Guide provided as Supplementary Information.The plug-in implementation of other examples (for Section 4.2 and 4.3) canbe obtained at GitHub.It is built as a dynamic library and used as a system model for DA by specifying it with the `--plugin` option of the `douka` command.A key contribution of the proposed DA platform lies in its model agnostic architecture.Specifically, the platform is designed such that sole model-specific customization necessary for integrating diverse material models is the implementation of a state vector update within the `predict` method. Table 2 . The first input argument of this method is a reference to a vector of state mean value, which is updated by the material model as state prediction. Table 3 . Data assimilation parameters for Lorenz63 model Table 4 . Phase field parameter for Ni solidification. Table 5 . Data assimilation parameter for phase field Ni solidification. Table 6 . Physical properties and calculation parameters used in the calculation of bubble formation Table 7 . Parameters used in data assimilation of bubble formation.

섹션 본문 104문단 · 37,872자

(제목 없음)

1A large-scale, general-purpose data assimilation (DA) platform for materials modeling, douka, was developed and applied to nonlinear materials models.The platform demonstrated its effectiveness in estimating physical properties that cannot be directly obtained from observed data.DA was successfully performed using experimental images of oxygen evolution reaction at a water electrolysis electrode, enabling the estimation of oxygen gas injection velocity and bubble contact angle.Furthermore, large-scale ensemble DA was conducted on the supercomputer Fugaku, achieving state estimation with up to 8,192 ensemble members.The results confirmed that runtime scaling for the prediction step follows the weak scaling law, ensuring computational efficiency even with increased ensemble sizes.These findings highlight the potential of douka as a new approach for data-driven materials science, integrating experimental data with numerical simulation.

Introduction

2As a new paradigm in materials science, the data-driven approach, which aims to discover new insights from experimental and simulation data, is gaining attention [1].

3Machine learning (ML) methods are a typical example of such methods.The integration of ML techniques with the development of diverse materials databases has successfully revealed latent correlations and characteristics within materials science data [2][3][4].However, ML-based regression and classification often obscure the underlying physics of the data.Consequently, significant efforts have been devoted to developing and applying ML methods that incorporate physical principles [5].In contrast, many phenomena in materials science can be explained through governing equations that encapsulate their physical principles (i.e., physics-based models).For instance, heat and mass diffusion can be described by the heat conduction equation (diffusion equation), while fluid dynamics can be modeled using the Navier-Stokes equations.Integrating physics-based models with experimental data can facilitate a clearer understanding of underlying physical principles and theories while leveraging established models.This approach offers a valuable and distinctive alternative to ML, which often derives relationships in a black-box manner.

4In recent years, data assimilation (DA) [6] has emerged as a promising approach.DA is a statistical estimation technique that integrates numerical models and simulations with experimental data and was initially developed in meteorology and oceanography [7].

5Today, it is widely applied in various practical fields, including weather and ocean forecasting [8][9][10].More recently, its applications have expanded to materials science, encompassing various phenomena such as microstructure formation in metallic materials [11,12], solid-phase sintering [13], crystal growth of two-dimensional materials [14], crystal structure determination [15], and the prediction of material properties [16][17][18].

6The DA method is fundamentally a framework that operates independently of the specific physical models and governing equations employed.However, most previous DA studies in materials science have incorporated DA methods tailored to the governing equation of interest (hereafter referred to as the material model) for each specific study.Furthermore, understanding DA requires proficiency in probability and statistics, which can be challenging for many materials science researchers to grasp and apply.These factors have impeded the widespread adoption of data assimilation in materials research.

7Given this background, we propose that standardizing components other than the material model would facilitate the broader application of DA in materials science.To this end, this research aims to develop a versatile and scalable DA platform applicable to various material models, contributing to the advancement of data-driven science for understanding complex physical phenomena in materials research.

Sequential and non-sequential data assimilation

8DA methods are techniques used to incorporate observational data into governing equations based on physical phenomena to perform state estimation.These methods are broadly classified into two types: sequential and non-sequential DA.Sequential DA refers to a method in which observational data is provided as a time series and is sequentially incorporated into numerical simulations.Representative sequential DA methods include the Kalman Filter (KF) [19], the ensemble Kalman Filter (EnKF) [20], and the particle filter [21].Sequential DA is particularly suitable for predicting states or estimating time-varying states.Non-sequential DA, on the other hand, refers to a method used when observational data over a specified time period is provided in advance.This method estimates an initial state that best represents the system by integrating the given observational data.Representative non-sequential DA methods include the threedimensional variational method (3DVar) [22] and the four-dimensional variational method (4DVar) [23].In this study, we focus on sequential DA because many experiments in the field of materials science involve time-series observational data such as the formation process of materials and the dynamic behavior of microstructures.Since most material models consist of nonlinear equations, this study employs the EnKF, which can accommodate nonlinear models.The details of the EnKF are described later.

Procedure of sequential data assimilation

9In a conventional numerical simulation, the state vector !, which consists of physical variables at time t, takes a unique value, and its sequential changes are deterministic.This is called a simulation model and can be expressed as follows:

10In DA, on the other hand, a distribution of errors is introduced into the simulation results, and the state vector ! is represented by a probability density function.This is called a system model.

11! is called the system noise at time t, representing the uncertainty of the prediction due to imperfections in the numerical simulation model, errors caused by numerical calculations, and other factors.Furthermore, considering that the observed data also contain errors, the observation model with observation noise ! is represented by a probability density function.

12where ! is the observation vector and ℎ ! is the observation operator, which transforms the state vector !into a form comparable to the observed values.The system model (Eq.( 2)) and the observation model (Eq.( 3)) together are referred to as the state-space model.

13Sequential DA consists of two steps: the prediction step and the filtering step.In the prediction step, the state one step ahead, !|!"# , is estimated from the state !"#|!"# based on the system model as given in Eq. ( 2).The subscript notation %|& represents the state at time step i in the numerical simulation, incorporating observed data up to observation time j.Next, in the filtering step, the observational data at time t, is used to modify the estimated state based on Eq. ( 3), yielding the updated state !|! .Therefore, by taking i and j as the x-and y-axes, respectively, the process of sequential DA can be represented as shown in Figure 1.By repeating the two steps of prediction and filtering, the estimation of the state is achieved by sequentially incorporating the observed data in the sequential DA.For further details on the principle of DA, see Ref. [6].

Kalman filter (KF)

14When both the system model and the observation model are linear, and all probabilistic variables, including system noise and observation noise, follow a normal distribution, the Kalman filter [19] described below can be applied.In this case, the statespace model is expressed as follows

15! and !represent the simulation model and the observation operator, respectively, and are expressed as matrices in the Kalman filter since both are linear.Consider a statespace model, in which the state vector is k-dimensional and the observation vector is ldimensional.The vector of state mean value !|! and the observation vector ! are defined as follows:

16Let ! and !be the variance-covariance matrices of the system noise ! and the observed noise !, respectively.In the prediction step of the Kalman filter, the vector of state mean value !|!"# and its covariance matrix !|!"# is defined as:

17Then, the filtering step is defined as:

18where ! is referred to as the Kalman gain and is defined as follows:

19The covariance matrix of the system noise !, is calculated as follows

20The diagonal elements % .(for ∈ [0, − 1]) represent the variances of the system noise and the off-diagonal elements %,& (for , ∈ [0, − 1] and ≠ ) represent the covariances between the system noise.The covariance matrix of the observed noise ! is defined similarly.Since all these processes involve linear matrix transformations, the time evolution of the state vector can be determined analytically, which is a key advantage of the Kalman filter.

Ensemble Kalman filter (EnKF)

21When the governing equations are nonlinear, the limitation of the Kalman filter is that the time evolution of the state vector's variance, induced by the system model, cannot be directly calculated during the prediction process.To address this limitation, methods such as ensemble approximations are often employed.This approach is generally referred to as the ensemble Kalman Filter (EnKF) [20].EnKF approximates the distribution of ! using a set of N samples as follows

22where is the delta function.The set of samples { ! (%) } %1# 0 is called the ensemble and ! (%) is referred to as the ensemble member.Specifically, when the number of ensemble members is , the vector of state mean value of a sample

23For the prediction step, the system model expressed in Eq. ( 2) is applied to each ensemble member individually, which is equivalent to running simulations simultaneously.The state vector variance !|!"# based on ensemble approximation can be computed as follows:

24For the filtering step, the same procedure as the Kalman filter is applied to obtain Kalman Gain (Eq.( 12)).From this, the filtered ensemble member !|! (%) is computed as follows:

25Note that, the observation noise factor b ! (%) is added to the filtered ensemble member in EnKF.Here, b ! (%) is computed from the observation noise ! (%) as follows:

Structure

26As described above, DA can be applied to various nonlinear material models using an ensemble approximation.Therefore, having a general-purpose platform that facilitates the easy integration of various existing material models would be highly beneficial.Moreover, ensemble approximation requires a sufficiently large number of ensemble members, N, to accurately capture the time-dependent variation of variance.Therefore, we construct douka, a large-scale, general-purpose DA platform in this study, with a focus on these two key aspects.To enhance versatility and performance, this system implements the prediction and filtering steps as separate individual commands.Figure 2 represents schematic representation of the structure for parallel data assimilation execution flow using individual process commands in douka.First, for the prediction step, the subcommand `predict` is implemented, allowing the material model to be introduced as a plugin.This enables any existing material simulation model to be easily incorporated into the DA framework.Next, the subcommand `filter` is implemented to perform filtering using the observation vector on the state vector estimated during the prediction step.Since the filtering process is model-independent, the system ensures platform versatility by structuring DA processes separately.This means that users can apply their own simulation models without reimplementing the filtering process.

Parallelization of ensemble

27To improve the performance of the DA platform, implementing ensemble parallelization is crucial.Therefore, the `predict` command is designed as a process that executes the prediction step for each ensemble.These processes run in parallel to achieve ensemble parallelization.At this stage, the system transfers state vectors via the file system.Figure 3(a) illustrates a schematic diagram of the system architecture of a typical supercomputer.As shown, a shared file system is constructed within the local network of the supercomputer.By transferring state vectors through this shared file system, the platform achieves ensemble parallelization even on a supercomputer.Sequence diagram of the data assimilation process in a supercomputer.

Procedure for executing each process in douka

28In douka, following commands allow DA procedures to be executed as individual processes.The `init` command generates the initial distribution for each ensemble, and the `obsgen` command yields the observation data for the twin experiment.The prediction step (`predict` command) and filtering step (`filter` command) are explained in the following sections.

File Naming rule

29The state vectors handled in douka follow the JSON format [24], and their file names follow the naming rule described below:

30State Vector File:

31Observation Vector File: ${NAME}_obs_${OBS_TIM}.json

32The variables used are explained as follows:

33NAME: An arbitrary name specified by the user (e.g., `lorenz63`).

ID:

34Ensemble ID (e.g., `0001`).It is expressed with four digits, padded with zeros.If the total number of ensemble members is , the values range from 0 to − 1.

SYS_TIM:

35The system time (e.g., `000000`).It is expressed with six digits, padded with zeros.

OBS_TIM:

36The observation time (e.g., `000001`).It is expressed with six digits, padded with zeros.

37The contents of the state vector file and the observation vector file are shown in Sec.3.1 and 3.2 in User Guide provided as Supplementary Information.

Predict command

38The execution of prediction step is computed by the following equation:

39Here, the system noise ! is computed using the covariance matrix !, provided by the user, and the seed value predict used for random number generation.The input and output of the `predict` command are shown in Table 1.The material model ! is dynamically loaded as a shared library at runtime.Additionally, using the same seed value for each ensemble and each simulation time sim could introduce statistical bias.To prevent this, the actual seed value predict used is derived by the following equation, using the input seed value in , simulation time sim , and ensemble ID :

40These parameters are provided through a JSON file and input via the following command to execute the prediction process.The details of the parameters used here are shown in Sec.6.1 in User Guide provided as Supplementary Information.In this command, the `--plugin` option specifies the dynamic library of the material model to be executed during the prediction process.The implementation method for the plugin's dynamic library is described in Sec.3.4.By implementing a plugin, various material models can be easily integrated into the DA platform.In addition, the parameters used in the plugin are specified by the `--plugin_param` option.Predicted ensemble member

Filter command

41Filtering step is calculated by the Eq. ( 19) based on EnKF scheme.The Kalman gain, ! is the same as Eq. ( 12).The observation noise, !, is calculated using the covariance matrix ! and the seed value used for random number generation, both of which are given by the user.Also, the variance of the state vector, !|!"# , is computed from !|!"# using Eq. ( 18).The inputs and outputs of `filtering` command are as shown in Table 2.

42The observation vector, !, is assumed to be prepared in advance through experiments.

43As the input ensemble, the outputs of the aforementioned prediction step are used.Here, while the each ensemble member

44was calculated in the prediction step, the entire ensemble !|! is handled collectively in the filtering step.In addition, similar to the prediction step, the seed value obs used for random number generation is as follows, using the observation time obs :

45The details of the parameter used for filtering is shown in Sec.

Implementation of plug-ins

46The implementation of the plugin for this platform is described in the programming language C++.Initially, the `douka::PluginInterface` class is inherited, and implement the following two methods.The first method is the `set_option`, which sets parameters to be used in the system model as needed.The second method is the `predict`, which performs a prediction step based on desired simulation model.

Ways to execute the entire process of data assimilation

47The DA process alternately executes the `predict` and `filter` commands to assimilate data while outputting the state vector to a file as show in Figure 4.The example code for Lorenz63 model is shown below.Here, the '&' at the end of the `douka predict` command allows the process to run in the background, enabling parallel execution of each process in the prediction ensemble.In addition, the process can be executed on a supercomputer by replacing the execution part of each process with a job script submission under the flow of this process.In this case, ensemble parallelization of prediction can be realized by bulk job execution.For further details on execution, see User Guide provided as Supplementary Information.

Acceleration techniques

48The DA processing, as depicted in Eqs. ( 12) and ( 19), involves intensive matrix operations.For these implementations, Eigen [25] library is selected due to its computational efficiency and flexibility.To explore performance improvements, established matrix calculation libraries, such as BLAS [26] and LAPACK [27], can be integrated as Eigen backends.Specifically, the Intel Math Kernel Library (MKL) [28], which provides thread-parallelized BLAS and LAPACK routines, can be utilized to enhance performance.

Lorenz63 model for non-linear problem

49In this section, we present a series of DA applications to various models to demonstrate the versatility of the douka platform developed in this study.We begin with the Lorenz63 model [29], a simple system that exhibits chaotic behavior.The Lorenz63 model is an idealized representation of thermal convection, described by the following three differential equations: 23) to (25) as follows:

50!= { } (28)

51The circumflex symbols in Eq. ( 27) represent estimated values and the same notation 3. The system noise covariance ! and the observation noise covariance ! are constructed as follows using the values in Table 3.

52All calculations in this study were performed on the workstation equipped with two Intel® Xeon® w7-3445 CPUs and 64 GiB memory, except for those conducted on the supercomputer Fugaku in Section 4.4.This twin experiment confirmed that douka can be used to achieve appropriate data DA for models with strong nonlinearities.

Phase-field model for free-boundary problem

53The phase-field model (PFM) has been widely applied in the field of materials science [30], including the dendrite growth during solidification [31,32] and the grain growth [33].Previous DA researches using phase-field models have contributed to the estimation of interfacial properties [16,34,35] and the improvement of model accuracy [13].In this section, we employ the PFM to simulate the solidification of pure Ni and use DA for the estimation of anisotropy of interfacial parameters.In the PFM, the morphology of the microstructure is defined by the spatial distribution of the phase-field variable .

54It is known that the numerical results of PFM are affected by the interface width, particularly when simulating system with temperature gradients across the interface.To address this issue, a quantitative PFM that accounts for temperature variations within the interface region are proposed [36].We employ the quantitative PFM [36] to model the solidification process of pure Ni.In this framework, = 1 and = −1 correspond to the solid and liquid phases, respectively, with the solid-liquid interface characterized by a continuous transition between −1 and 1.The time evolution equations of are presented below.

55The variables and are functions of the normal direction of the phase field variable , and are defined by the following expressions:

56To represent crystallographic anisotropy of Ni, which exhibits a 4-fold symmetric crystal structure, the term ?E + @ E is employed.Here, D and + correspond to the interface anisotropy and kinetic anisotropy, respectively, and are crucial parameters influencing the morphology during solidification.In this section, we conduct a twin experiment in which D and + are estimated by DA using 10 spatial distributions of the phase-field variable up to 5000 steps at 500 step intervals from above quantitative PFM simulation as the synthetic observation data.Note that these anisotropy parameters are challenging to measure using experimental approaches; therefore, most previous studies have relied on assumed or estimated values.

57The state and observation vectors are defined using the vectored form of the phase-field variable, as follows:

58The procedure for converting the phase-field variable into its vector format is illustrated in Figure 8 in the Supplementary Material.The DA parameters used for data assimilation are listed in Table 5, some of which are utilized in the following matrix form for estimation.

Data assimilation using experimental images: Volume-of-Fluid (VOF) Method

59We confirmed that DA was properly performed using douka in the above examples; however, all of these were twin experiments.The most exciting part of DA is the integration of practical experimental data with simulations.In this section, DA is performed using the images obtained in the experiment as observation data.Specifically, images taken by a high-speed camera of oxygen bubbles generated from an oxygen electrode during water electrolysis [37] were used as observation data, and DA with simulation using the Volume-of-Fluid (VOF) method was performed.We provide a brief background on this experimental system.The water electrolysis reaction has attracted attention as a clean energy storage technology for the development of a sustainable society.In this reaction, gas bubbles adhere to the electrode surface, hindering the reaction progress [38], which in turn reduces reaction efficiency.Therefore, analyzing the bubble detachment mechanism is crucial for improving reaction efficiency.In general, bubble detachment is explained by the balance between surface tension and buoyancy, with the detachment diameter typically considered to be around 1.6 mm [39].However, experiments have reported the detachment of smaller bubbles that cannot be explained by this balance alone [40].Elucidating this mechanism is expected to significantly enhance the efficiency of the reaction process.In order to bridge the gap between experiments and simulations, the process of bubble generation in water electrolysis was chosen as the target of DA.Details of the experimental setup for in-situ observation of O2 bubble formation on a Ni electrode are provided in Appendix A.

60The Volume-of-Fluid (VOF) method is a simulation technique used to analyze free surfaces in multiphase flows [41].This method distinguishes fluid phases by introducing a volume fraction, denoted as (VOF value).For example, in a two-phase flow consisting of air (gas phase) and water (liquid phase), the value corresponds to the fluid phase as follows: = 0 represents air, while = 1 represents water, with the water surface exhibiting a continuous transition between 0 and 1.By computing the temporal evolution of , the fluid dynamics of multiphase flows can be simulated.The governing equations include the continuity equation and the Navier-Stokes equations (i.e., ordinary computation fluid dynamics (CFD)), with surface tension calculated using the continuum surface force model [42].The time-dependent behavior of the fluid is then simulated by solving these equations.

61In this section, we employ DA to investigate the oxygen gas supply rate, A , at the Ni electrode surface and the contact angle, , at the electrode interface, both of which are considered crucial for understanding the bubble detachment mechanism.High-speed optical camera images of the oxygen bubble formation process [37] are used as observational data for DA.A large number of bubbles were generated throughout the experimental system; however, this study focuses on the growth process of a single bubble.The movie used for the actual observation data is provided in Supplementary Video S1.The images, captured at 1080 frames per second (fps), are processed by extracting bubble images every 100 frames and converting them to VOF values (i.e., continuous values between 0 and 1).The time interval between observational data points, Δ obs , is approximately 92.6 ms.The image-to-VOF conversion is performed based on image contrast, followed by binarization and smoothing of the solid-liquid interface using a Gaussian filter.Specifically, a Gaussian filter with a radius of 1 pixel and a standard deviation of 1.0 is applied to the image pixel data.Figure 10 illustrates the original images and their corresponding VOF values.Among the 11 sampled VOF values, the one corresponding to the first image is used as the initial condition for the simulation, while the remaining ones serve as observational data for estimating the interfacial properties.The numerical simulations were conducted using OpenFOAM [43], an open-source CFD software.Notably, douka exhibits high versatility and can be integrated with existing software.To reduce computational demands, an axisymmetric computational domain is employed, centered on the forming bubble as depicted in Figure 11.The domain is discretized into a 100 × 100 × 1 grid.To model bubble growth, an O2 gas inlet with radius R is placed at the lower left of the domain.This inlet imposes a constant upward flow with velocity A supplying O2 gas into the domain.The remaining bottom surface is set with a boundary condition that imposes a contact angle for O2.To prevent interface dissipation during bubble formation, the Geometric VOF method [44] is used for geometric interface reconstruction in the VOF calculations.The material properties and simulation parameters are detailed in Table 6.The state and observation vectors for the DA are defined as follows:

62Here, reprensents the VOF value, the pressure field and the velocity vector field.

63The estimated oxygen gas inlet velocity ™ A , and contact angle « , are the parameters to be estimated.When using the observed VOF values as initial estimates, the pressure field at each domain is initialized with ) ( − 1.0), where ) = 1950.0,to incorporate the bubble's internal pressure.The velocity field is initialized to 0.0 throughout the domain.Table 7 details the parameters used in the DA of the bubble formation.the estimated value « may not necessarily correspond to the actual contact angle of the bubble at the interface.Additionally, under the boundary conditions employed, the O2 gas supply rate A exerts an upward force on the entire bubble.As a result, the contact angle is expected to be influenced by A , particularly for small bubbles.Furthermore, Fig.

6412(c) indicates that the largest absolute differences in VOF values are concentrated near the three-phase interface.Further improvements to the simulation model are necessary for more precise estimation of interfacial properties using experimental data, which is beyond the scope of this study.The most significant achievement of this research is the development of a general-purpose platform that enables DA using practical experimental images.

Data assimilation with large ensemble members on a supercomputer Fugaku

65When performing sequential state estimation using nonlinear material models, it is essential to calculate the variance in the prediction step through ensemble approximation.

66In this section, we employ douka to conduct state estimation with large-scale ensemble members.Specifically, we focus on the estimation of interfacial properties using the PFM presented in Section 4.2, and we examine both the convergence of the estimation and the performance of the platform with large-scale ensemble members.All computations in this section were performed on the exascale supercomputer Fugaku at the RIKEN Center for Computational Science (R-CCS), Japan.Fugaku comprises 158,976 nodes, each equipped with a 48-core A64FX CPU and 32.0 GiB of memory.The target parameters for estimation are D and + , and all computational conditions, except for the number of ensemble members, remain consistent with those described in Section 4.2.Twin experiments were performed to assess the prediction accuracy while varying the number of ensemble members from 2 to 8192, with one ensemble assigned to each node.As a benchmark, we measured the execution time for prediction.The runtime averaged across all ensemble members is regarded as the computation time for a single step.

67Figures 13 and 14 present estimation results of capillary anisotropy ̂D and kinetic anisotropy ̂+ for varying ensemble numbers, respectively.It is evident that as the ensemble size N increases, the deviation from the true value due to sampling errors in the initial estimation phase decreases.When the ensemble size is extremely small (e.g., =

682), the variance of the estimated state converges rapidly, reducing the effectiveness of state correction by observational data.As a result, the true value may fall outside the estimated likelihood range.Figure 15 illustrates the execution time of the prediction step as a function of the ensemble size N.The execution time remains nearly constant and independent of N, demonstrating adherence to the ideal weak scaling law.In this twin experiment, the sampling error nearly converged at an ensemble size of approximately = 128, suggesting that an ensemble size on the order of 10 . is sufficient.However, many cases require a larger number of ensemble members, such as those involving complex models with strongly nonlinear systems or DA using other methodology such as particle filter method.Therefore, the fact that the prediction step of douka constructed in this study achieves ideal weak scaling efficiency highlights its versatility for various applications.

Conclusions

69In this study, a large-scale, general-purpose DA platform for materials modeling, named douka, was developed.Several applications of douka to nonlinear materials models are presented, demonstrating the effectiveness of DA.The platform's applicability to models with state vectors exceeding 1,000 dimensions is also shown, highlighting its capability to estimate physical properties that cannot be directly obtained from observed data.Notably, DA was successfully performed using experimental images of oxygen evolution at a water electrolysis electrode, enabling the estimation of injection velocity of oxygen gas and contact angle of the bubble.

70Furthermore, this platform was applied to large-scale ensemble DA using the supercomputer Fugaku, achieving state estimation with up to 8,192 ensemble members.

71The results demonstrate that even as the number of ensemble members increases, the runtime for prediction step follows the weak scaling law, leading to a significant speedup.

72This finding suggests that the proposed approach effectively mitigates the rise in computational cost associated with ensemble size, even when applied to DA for material models requiring time-intensive analyses.The outcomes of this study are expected to contribute to the advancement of data-driven materials science.Future developments will focus on integrating additional DA methodologies, such as the particle filter and Ensemble Kalman smoothers.Additionally, enhancing the platform's scalability through the parallelization of filtering operations will be a key objective.

73solution, measured with a K-type thermocouple, was maintained at 23.4 ± 0.2 °C.A constant voltage was applied to the electrodes using a DC power supply.The applied voltage was adjusted so that the current density of the anode became a target value between 0.1-3 A/cm².Oxygen bubbles generated on the anode were recorded using a high-speed camera (Photoron FASTCAM5) and a macro lens (LAOWA 25mm F2.8 2.5-5X ULTRA MACRO) at the frame rate of 1080 fps.To ensure sufficient brightness for high-speed imaging, a 3W white LED was used for illumination.Figure A1 shows the experimental setup.

Fig. 1 .

74Fig. 1.Schematic diagram of the process of sequential data assimilation.Horizontal (x) and vertical (y) axes represent time-step of simulation and observation, respectively.

Fig. 2 .

75Fig. 2. Schematic representation of the parallel data assimilation execution flow using individual process commands in douka.

Figure 3 (

76b) depicts the sequence of DA, including the prediction and filtering steps, via the shared file system, proposed in douka.The process flow is as follows: Each node executes the prediction step for each ensemble and writes the results to files.Then, the filtering process reads the predicted ensemble !|!"# and the given observation vector ! to compute the posterior ensemble !|! .As a result, the entire DA computation is divided into a collection of smaller jobs.Additionally, this method enables the file output of the state vector to serve as a checkpoint in the DA sequence.

Fig. 3 .

77Fig. 3. (a) Schematic diagram of the system architecture of a typical supercomputer.(b)

#Fig. 4 .

78Fig. 4. Schematic diagram of file updates during data assimilation process execution.

Fig. 5 .

79Fig. 5. Trajectories of the Lorenz63 model with different initial conditions of ( ) , ) , ) ) = (1.0,3.0, 5.0)(blue line) and ( ) , ) , ) ) = (1.1,3.3, 5.5)(red line).

80applies hereafter.For prediction, !F !|! G corresponds to computing the value after one time step by approximating Eqs.(23) to (25) using the forward differencing method, yielding the predicted state !>#|! .The initial state distribution is assumed to be a multivariate normal distribution with mean value ( ) , ) , ) ) = (−1.0,−3.0, −5.0) and variance of 20.0 for each component.It should be noticed that these initial conditions for the estimation process are distinct from those used to generate the synthetic observational data, which yield a significant difference in the behavior of the Lorentz63 model solution.Parameters for the DA are shown in Table

Figure 6

81Figure 6 illustrates the differences in state estimation with and without DA in the

Fig. 6 .

82Fig. 6.Comparison of state estimation results in the Lorenz63 model: (a)-(c) without data assimilation (DA) and (d)-(f) with DA.Crosses indicate synthetic observation data, while white dots denote the estimated mean.

Figure 7 Fig. 7 .

83Fig. 7. Simulation results of Ni solidification using a quantitative phase-field model.

Fig. 8 .

84Fig. 8. Schematic diagram of the conversion from phase-field variable %& into state vector .

Figure 9

85Figure9shows results of the twin experiment by DA of the PFM.Estimated mean

Fig. 9 .

86Fig. 9. Results of the twin experiment for estimating anisotropy parameters in Ni solidification using quantitative phase-field simulations.(a) Synthetic observation data.(b) Estimated mean of the phase-field variable obtained through data assimilation.(c) Absolute difference between the synthetic observation data and the estimated phase-field variable.(d, e) Temporal evolution of the estimated values of (d) capillary anisotropy D and (e) kinetic anisotropy +.Dashed lines indicate the true values used to generate the synthetic observation data.Solid lines represent the estimated values from each ensemble member, while white dots denote the estimated mean.

Fig. 10 .

87Fig. 10.(a) In-situ observation images of O2 bubble formation process on Ni electrode [23].(b) VOF values obtained by image transformation from in-site observation images.

Fig. 11 .

88Fig. 11.Computational domain used for simulating the O2 bubble formation process.

Figure 12

89Figure 12 presents the results of DA for bubble formation using experimental images.

Fig. 12 .

90Fig. 12. Results of data assimilation for the O₂ bubble formation process on a Ni electrode using experimental observation data.(a) Observational data.(b) Estimated mean VOF value.(c) Absolute difference between observed and estimated VOF values.(d, e) Temporal evolution of the estimated values: (d) gas injection velocity ( ™ A ) and (e) contact angle ( « ).Solid lines represent the estimated values for each ensemble member, while white dots indicate the estimated mean.

Fig. 13 .

91Fig. 13.Estimation result of capillary anisotropy D for varying ensemble numbers N by the large-scale data assimilation performed on the supercomputer, Fugaku.Dashed lines indicate the true values used to generate the synthetic observation data.Solid lines represent the estimated values from each ensemble member, while white dots denote the estimated mean.

Fig. 14 .

92Fig. 14.Estimation result of kinetic anisotropy ̂+ for varying ensemble numbers N by the large-scale data assimilation performed on the supercomputer, Fugaku.Dashed lines indicate the true values used to generate the synthetic observation data.Solid lines represent the estimated values from each ensemble member, while white dots denote the estimated mean.

Fig. 15 .

93Fig. 15.The prediction command execution time as a function of ensemble numbers N by the large-scale data assimilation performed on the supercomputer, Fugaku.

Fig. A1 .

94Fig. A1.Experimental setup.(a) Overview of the entire setup.(b) Close-up view of the

Table 1 .

95Input and output for prediction process

967.1 in User Guide provided as Supplementary Information.

Table 2 .

97Input and output for filtering process

98An example plug-in implementation of the Lorenz63 model (Section 4.1) is shown in Sec. 2 in User Guide provided as Supplementary Information.The plug-in implementation of other examples (for Section 4.2 and 4.3) canbe obtained at GitHub.It is built as a dynamic library and used as a system model for DA by specifying it with the `--plugin` option of the `douka` command.A key contribution of the proposed DA platform lies in its model agnostic architecture.Specifically, the platform is designed such that sole model-specific customization necessary for integrating diverse material models is the implementation of a state vector update within the `predict` method.

99The first input argument of this method is a reference to a vector of state mean value, which is updated by the material model as state prediction.

Table 3 .

100Data assimilation parameters for Lorenz63 model

Table 4 .

101Phase field parameter for Ni solidification.

Table 5 .

102Data assimilation parameter for phase field Ni solidification.

Table 6 .

103Physical properties and calculation parameters used in the calculation of bubble formation

Table 7 .

104Parameters used in data assimilation of bubble formation.

참고문헌 38건

  1. Data Assimilation in Meteorology and Oceanography Advances in geophysics · Elsevier BV · 1991 10.1016/s0065-2687(08)60442-2
  2. Intel Math Kernel Library Springer eBooks · Springer Nature · 2014 10.1007/978-3-319-06486-4_7
  3. Materials Design and Discovery with High-Throughput Density Functional Theory: The Open Quantum Materials Database (OQMD) JOM · Springer Science+Business Media · 2013 10.1007/s11837-013-0755-4
  4. Typhoon Ensemble Prediction System Developed at the Japan Meteorological Agency Monthly Weather Review · American Meteorological Society · 2009 10.1175/2009mwr2697.1
  5. Commentary: The Materials Project: A materials genome approach to accelerating materials innovation APL Materials · American Institute of Physics · 2013 10.1063/1.4812323
  6. Density and viscosity of aqueous solution of K2CrO4/KOH mixed electrolytes Transactions of Nonferrous Metals Society of China · Elsevier BV · 2010 10.1016/s1003-6326(10)60007-6
  7. Phase-field Modeling and Simulations of Dendrite Growth ISIJ International · The Iron and Steel Institute of Japan · 2014 10.2355/isijinternational.54.437
  8. Volume of fluid (VOF) method for the dynamics of free boundaries Journal of Computational Physics · Elsevier BV · 1981 10.1016/0021-9991(81)90145-5
  9. A continuum method for modeling surface tension Journal of Computational Physics · Elsevier BV · 1992 10.1016/0021-9991(92)90240-y
  10. Novel approach to nonlinear/non-Gaussian Bayesian state estimation IEE Proceedings F Radar and Signal Processing · 1993 10.1049/ip-f-2.1993.0015
  11. A New Approach to Linear Filtering and Prediction Problems Journal of Basic Engineering · American Society of Mechanical Engineers · 1960 10.1115/1.3662552
  12. A tensorial approach to computational continuum mechanics using object-oriented techniques Computers in Physics · American Institute of Physics · 1998 10.1063/1.168744
  13. The high-throughput highway to computational materials design Nature Materials · Nature Portfolio · 2013 10.1038/nmat3568
  14. Water mass variability in the western North Pacific detected in a 15-year eddy resolving ocean reanalysis Journal of Oceanography · Springer Science+Business Media · 2009 10.1007/s10872-009-0063-3
  15. An updated set of basic linear algebra subprograms (BLAS) ACM Transactions on Mathematical Software · Association for Computing Machinery · 2002 10.1145/567806.567807
  16. The ECMWF implementation of three‐dimensional variational assimilation (3D‐Var). III: Experimental results Quarterly Journal of the Royal Meteorological Society · Wiley · 1998 10.1002/qj.49712455004
  17. Sequential data assimilation with a nonlinear quasi‐geostrophic model using Monte Carlo methods to forecast error statistics Journal of Geophysical Research Atmospheres · American Geophysical Union · 1994 10.1029/94jc00572
  18. “Big Data Assimilation” Revolutionizing Severe Weather Prediction Bulletin of the American Meteorological Society · American Meteorological Society · 2016 10.1175/bams-d-15-00144.1
  19. Three-dimensional morphologies of inclined equiaxed dendrites growing under forced convection by phase-field-lattice Boltzmann method Journal of Crystal Growth · Elsevier BV · 2017 10.1016/j.jcrysgro.2017.11.029
  20. Advent of Cross‐Scale Modeling: High‐Performance Computing of Solidification and Grain Growth Advanced Theory and Simulations · Wiley · 2018 10.1002/adts.201800065
  21. Ensemble Kalman filter-based data assimilation for three-dimensional multi-phase-field model: Estimation of anisotropic grain boundary properties Materials & Design · Elsevier BV · 2019 10.1016/j.matdes.2018.107577
  22. Data‐Driven Materials Science: Status, Challenges, and Perspectives Advanced Science · Wiley · 2019 10.1002/advs.201900808
  23. Estimation of time-dependent heat transfer coefficient in unidirectional casting using a numerical model coupled with solidification analysis and data assimilation International Journal of Heat and Mass Transfer · Elsevier BV · 2020 10.1016/j.ijheatmasstransfer.2019.119222
  24. (제목 없음) Interface Science · Springer Science+Business Media · 2002 10.1023/a:1015815928191
  25. Influence of Bubbles on the Energy Conversion Efficiency of Electrochemical Reactors Joule · Elsevier BV · 2020 10.1016/j.joule.2020.01.005
  26. Bayesian inference of solid-liquid interfacial properties out of equilibrium Physical review. E · American Physical Society · 2020 10.1103/physreve.101.052121
  27. Large-scale phase-field study of anisotropic grain growth: Effects of misorientation-dependent grain boundary energy and mobility Computational Materials Science · Elsevier BV · 2020 10.1016/j.commatsci.2020.109992
  28. A computational method for sharp interface advection Royal Society Open Science · Royal Society · 2016 10.1098/rsos.160405
  29. Physics-Inspired Structural Representations for Molecules and Materials Chemical Reviews · American Chemical Society · 2021 10.1021/acs.chemrev.1c00021
  30. Bayesian Data Assimilation of Temperature Dependence of Solid–Liquid Interfacial Properties of Nickel Nanomaterials · Multidisciplinary Digital Publishing Institute · 2021 10.3390/nano11092308
  31. Non-classical nucleation in vapor–liquid–solid growth of monolayer WS2 revealed by in-situ monitoring chemical vapor deposition Scientific Reports · Nature Portfolio · 2021 10.1038/s41598-021-01666-9
  32. Fast-Decoding Algorithm for Electrode Processes at Electrified Interfaces by Mean-Field Kinetic Model and Bayesian Data Assimilation: An Active-Data-Mining Approach for the Efficient Search and Discovery of Electrocatalysts ACS Applied Materials & Interfaces · American Chemical Society · 2022 10.1021/acsami.1c21038
  33. The ECMWF operational implementation of four-dimensional variational assimilation. I: Experimental results with simplified physics Quarterly Journal of the Royal Meteorological Society · Wiley · 2000 10.1256/smsqj.56414
  34. A noise-robust data assimilation method for crystal structure determination using powder diffraction intensity The Journal of Chemical Physics · American Institute of Physics · 2022 10.1063/5.0125553
  35. Quantitative Description of Bubble Formation in Response to Electrolyte Engineering Langmuir · American Chemical Society · 2023 10.1021/acs.langmuir.2c03488
  36. High-fidelity phase-field simulation of solid-state sintering enabled by Bayesian data assimilation using in situ electron tomography data Acta Materialia · Elsevier BV · 2024 10.1016/j.actamat.2024.120251
  37. Twin experiments and detailed investigation of data assimilation system for columnar dendrite growth in thin film Acta Materialia · Elsevier BV · 2024 10.1016/j.actamat.2024.120356
  38. Evaluating inclination-dependent anisotropic grain boundary energies: Bayesian data assimilation approach using molecular dynamics and phase-field simulations Computational Materials Science · Elsevier BV · 2024 10.1016/j.commatsci.2024.113605