TY - JOUR
T1 - Speeding Up Reactive Transport Simulations in Cement Systems by Surrogate Geochemical Modeling - Deep Neural Networks and k‑Nearest Neighbors
AU - Laloy, Eric
AU - Jacques, Diederik
N1 - Score=10
PY - 2022/4/26
Y1 - 2022/4/26
N2 - We accelerate reactive transport (RT) simulation by replacing the geochemical solver in the RT code by a surrogate model or emulator, considering either a trained deep neural network (DNN) or a k-nearest neighbor (kNN) regressor. We focus on 2D leaching of hardened cement paste under diffusive or advective-dispersive transport conditions, a solid solution representation of the calcium silicate hydrates and either 4 or 7 chemical components, and use the HPx (coupled Hydrus-PHREEQC model) reactive transport code as baseline. We find that after training, both our DNN-based and kNN-based codes, HPxpy-DNN and HPxpy -kNN, can make satisfactorily to very accurate predictions while providing either a 3 to 9 speedup factor compared to HPx with parallelized geochemical calculations over 4 cores. Benchmarking against single-threaded HPx, these speedup factors become 8 to 33. Overall, HPxpy-DNN and HPxpy-kNN are found to achieve a close to optimal speedup when DNN regression and kNN search are performed on a GPU. Importantly, for the more complex 7-components cement system, no emulator that is globally accurate over the full space of possible geochemical conditions could be devised. Instead we therefore build “local” emulators that are only valid over a relevant fraction of the input parameter space. This space is identified by running a coarse and thus computationally cheap full RT simulation, and subsequently explored by kernel density sampling. Future work will focus on improving accuracy for this type of cement systems.
AB - We accelerate reactive transport (RT) simulation by replacing the geochemical solver in the RT code by a surrogate model or emulator, considering either a trained deep neural network (DNN) or a k-nearest neighbor (kNN) regressor. We focus on 2D leaching of hardened cement paste under diffusive or advective-dispersive transport conditions, a solid solution representation of the calcium silicate hydrates and either 4 or 7 chemical components, and use the HPx (coupled Hydrus-PHREEQC model) reactive transport code as baseline. We find that after training, both our DNN-based and kNN-based codes, HPxpy-DNN and HPxpy -kNN, can make satisfactorily to very accurate predictions while providing either a 3 to 9 speedup factor compared to HPx with parallelized geochemical calculations over 4 cores. Benchmarking against single-threaded HPx, these speedup factors become 8 to 33. Overall, HPxpy-DNN and HPxpy-kNN are found to achieve a close to optimal speedup when DNN regression and kNN search are performed on a GPU. Importantly, for the more complex 7-components cement system, no emulator that is globally accurate over the full space of possible geochemical conditions could be devised. Instead we therefore build “local” emulators that are only valid over a relevant fraction of the input parameter space. This space is identified by running a coarse and thus computationally cheap full RT simulation, and subsequently explored by kernel density sampling. Future work will focus on improving accuracy for this type of cement systems.
KW - Reactive transport
KW - Machine learning
KW - Cement
KW - Surrogate modeling
UR - https://ecm.sckcen.be/OTCS/llisapi.dll/open/51675722
U2 - 10.1007/s11242-022-01779-3
DO - 10.1007/s11242-022-01779-3
M3 - Article
SN - 0169-3913
VL - 143
SP - 1
EP - 30
JO - Transport in Porous Media
JF - Transport in Porous Media
M1 - 433-462
ER -