Ultra-Fast Reactive Transport Simulations When Chemical Reactions Meet Machine Learning: Chemical Equilibrium

08/16/2017
by   Allan M. M. Leal, et al.
0

During reactive transport modeling, the computational cost associated with chemical reaction calculations is often 10-100 times higher than that of transport calculations. Most of these costs results from chemical equilibrium calculations that are performed at least once in every mesh cell and at every time step of the simulation. Calculating chemical equilibrium is an iterative process, where each iteration is in general so computationally expensive that even if every calculation converged in a single iteration, the resulting speedup would not be significant. Thus, rather than proposing a fast-converging numerical method for solving chemical equilibrium equations, we present a machine learning method that enables new equilibrium states to be quickly and accurately estimated, whenever a previous equilibrium calculation with similar input conditions has been performed. We demonstrate the use of this smart chemical equilibrium method in a reactive transport modeling example and show that, even at early simulation times, the majority of all equilibrium calculations are quickly predicted and, after some time steps, the machine-learning-accelerated chemical solver has been fully trained to rapidly perform all subsequent equilibrium calculations, resulting in speedups of almost two orders of magnitude. We remark that our new on-demand machine learning method can be applied to any case in which a massive number of sequential/parallel evaluations of a computationally expensive function f needs to be done, y=f(x). We remark, that, in contrast to traditional machine learning algorithms, our on-demand training approach does not require a statistics-based training phase before the actual simulation of interest commences. The introduced on-demand training scheme requires, however, the first-order derivatives ∂ f/∂ x for later smart predictions.

READ FULL TEXT

page 7

page 10

research
08/17/2020

Accelerated reactive transport simulations in heterogeneous porous media using Reaktoro and Firedrake

This work investigates the performance of the on-demand machine learning...
research
08/11/2018

Orders-of-magnitude speedup in atmospheric chemistry modeling through neural network-based emulation

Chemical transport models (CTMs), which simulate air pollution transport...
research
10/15/2021

An active learning approach for improving the performance of equilibrium based chemical simulations

In this paper, we propose a novel sequential data-driven method for deal...
research
07/25/2022

Transition1x – a Dataset for Building Generalizable Reactive Machine Learning Potentials

Machine Learning (ML) models have, in contrast to their usefulness in mo...
research
04/06/2021

A full order, reduced order and machine learning model pipeline for efficient prediction of reactive flows

We present an integrated approach for the use of simulated data from ful...
research
01/26/2022

Crystal structure prediction with machine learning-based element substitution

The prediction of energetically stable crystal structures formed by a gi...
research
05/06/2022

PTFlash: A deep learning framework for isothermal two-phase equilibrium calculations

Phase equilibrium calculations are an essential part of numerical simula...

Please sign up or login with your details

Forgot password? Click here to reset