-
Inverse Physics-Informed Neural Networks for transport models in porous materials
Authors:
Marco Berardi,
Fabio Difonzo,
Matteo Icardi
Abstract:
Physics-Informed Neural Networks (PINN) are a machine learning tool that can be used to solve direct and inverse problems related to models described by Partial Differential Equations. This paper proposes an adaptive inverse PINN applied to different transport models, from diffusion to advection-diffusion-reaction problems. Once a suitable PINN is established to solve the forward problem, the tran…
▽ More
Physics-Informed Neural Networks (PINN) are a machine learning tool that can be used to solve direct and inverse problems related to models described by Partial Differential Equations. This paper proposes an adaptive inverse PINN applied to different transport models, from diffusion to advection-diffusion-reaction problems. Once a suitable PINN is established to solve the forward problem, the transport parameters are added as trainable parameters. We find that, for the inverse problem to converge to the correct solution, the different components of the loss function (data misfit, initial conditions, boundary conditions and residual of the transport equation) need to be weighted adaptively as a function of the training iteration (epoch). Similarly, gradients of trainable parameters are scaled at each epoch accordingly. Several examples are presented for different test cases to support our PINN architecture and its scalability and robustness.
△ Less
Submitted 27 November, 2024; v1 submitted 15 July, 2024;
originally announced July 2024.
-
HiPhom$\varepsilon$ -: HIgh order Projection-based HOMogenisation for advection diffusion reaction problems
Authors:
Giovanni Conni,
Stefano Piccardo,
Simona Perotto,
Giovanni Michele Porta,
Matteo Icardi
Abstract:
We propose a new model reduction technique for multiscale scalar transport problems that exhibit dominant axial dynamics. To this aim, we rely on the separation of variables to combine a Hierarchical Model (HiMod) reduction with a two-scale asymptotic expansion. We extend the two-scale asymptotic expansion to an arbitrary order and exploit the high-order correctors to define the HiMod modal basis,…
▽ More
We propose a new model reduction technique for multiscale scalar transport problems that exhibit dominant axial dynamics. To this aim, we rely on the separation of variables to combine a Hierarchical Model (HiMod) reduction with a two-scale asymptotic expansion. We extend the two-scale asymptotic expansion to an arbitrary order and exploit the high-order correctors to define the HiMod modal basis, which approximates the transverse dynamics of the flow, while we adopt a finite element discretisation to model the leading stream. The resulting method, which is named HiPhom$\varepsilon$ (HIgh-order Projection-based HOMogEnisation), is successfully assessed both in steady and unsteady advection-diffusion-reaction settings. The numerical results confirm the very good performance of HiPhom$\varepsilon$, which improves the accuracy and the convergence rate of HiMod and extends the reliability of the standard homogenised solution to transient and pre-asymptotic regimes.
△ Less
Submitted 17 November, 2023;
originally announced January 2024.
-
A reduced-order model for advection-dominated problems based on Radon Cumulative Distribution Transform
Authors:
Tobias Long,
Robert Barnett,
Richard Jefferson-Loveday,
Giovanni Stabile,
Matteo Icardi
Abstract:
Problems with dominant advection, discontinuities, travelling features, or shape variations are widespread in computational mechanics. However, classical linear model reduction and interpolation methods typically fail to reproduce even relatively small parameter variations, making the reduced models inefficient and inaccurate. This work proposes a model order reduction approach based on the Radon-…
▽ More
Problems with dominant advection, discontinuities, travelling features, or shape variations are widespread in computational mechanics. However, classical linear model reduction and interpolation methods typically fail to reproduce even relatively small parameter variations, making the reduced models inefficient and inaccurate. This work proposes a model order reduction approach based on the Radon-Cumulative-Distribution transform (RCDT). We demonstrate numerically that this non-linear transformation can overcome some limitations of standard proper orthogonal decomposition (POD) reconstructions and is capable of interpolating accurately some advection-dominated phenomena, although it may introduce artefacts due to the discrete forward and inverse transform. The method is tested on various test cases coming from both manufactured examples and fluid dynamics problems.
△ Less
Submitted 2 January, 2025; v1 submitted 28 April, 2023;
originally announced April 2023.
-
Mathematical modelling and numerical simulation of reverse-osmosis desalination
Authors:
Nicodemo Di Pasquale,
Mayo Akele,
Federico Municchi,
John King,
Matteo Icardi
Abstract:
The reverse osmosis membrane module is an integral element of a desalination system as it determines the overall performance of the desalination plant. The fraction of clean water that can be recovered via this process is often limited by salt precipitation which plays a critical role in its sustainability. In this work, we present a model to study the complex interplay between flow, transport and…
▽ More
The reverse osmosis membrane module is an integral element of a desalination system as it determines the overall performance of the desalination plant. The fraction of clean water that can be recovered via this process is often limited by salt precipitation which plays a critical role in its sustainability. In this work, we present a model to study the complex interplay between flow, transport and precipitation processes in reverse osmosis membranes, which together influence recovery and in turn process sustainability. A reactive porous interface model describes the membrane with a dynamic evolving porosity and permeability to capture the scaling and clogging of the membrane. An open-source finite-volume numerical solver is implemented within the OpenFOAM library and numerical tests are presented here showing the effect of the various parameters of the model and the robustness of the model to describe a wide range of operating conditions.
△ Less
Submitted 16 January, 2023;
originally announced January 2023.
-
Electrochemical transport modelling and open-source simulation of pore-scale solid-liquid systems
Authors:
Robert Barnett,
Federico Municchi,
John King,
Matteo Icardi
Abstract:
The modelling of electrokinetic flows is a critical aspect spanning many industrial applications and research fields. This has introduced great demand in flexible numerical solvers to describe these flows. The underlying phenomena are microscopic, non-linear, and often involve multiple domains. Therefore often model assumptions and several numerical approximations are introduced to simplify the so…
▽ More
The modelling of electrokinetic flows is a critical aspect spanning many industrial applications and research fields. This has introduced great demand in flexible numerical solvers to describe these flows. The underlying phenomena are microscopic, non-linear, and often involve multiple domains. Therefore often model assumptions and several numerical approximations are introduced to simplify the solution. In this work, we present a multi-domain multi-species electrokinetic flow model including complex interface and bulk reactions. After a dimensional analysis and an overview of some limiting regimes, we present a set of general purpose finite-volume solvers, based on \of, capable of describing an arbitrary number of electrochemical species over multiple interacting (solid or fluid) domains \cite{spnpfoam}. We provide verification of the computational approach for several cases involving electrokinetic flows, reactions between species, and complex geometries. We first present three one-dimensional verification test cases, and then show the capability of the solver to tackle two- and three-dimensional electrically driven flows and ionic transport in random porous structures. The purpose of this work is to lay the foundation for a general-purpose open-source flexible modelling tool for problems in electrochemistry and electrokinetics at different scales.
△ Less
Submitted 6 November, 2023; v1 submitted 27 December, 2022;
originally announced December 2022.
-
Splitting Schemes for Coupled Differential Equations: Block Schur-Based Approaches and Partial Jacobi Approximation
Authors:
Roberto Nuca,
Erlend Storvik,
Florin A. Radu,
Matteo Icardi
Abstract:
Coupled multi-physics problems are encountered in countless applications and pose significant numerical challenges. Although monolithic approaches offer possibly the best solution strategy, they often require ad-hoc preconditioners and numerical implementations. Sequential (also known as splitted, partitioned or segregated) approaches are iterative methods for solving coupled problems where each e…
▽ More
Coupled multi-physics problems are encountered in countless applications and pose significant numerical challenges. Although monolithic approaches offer possibly the best solution strategy, they often require ad-hoc preconditioners and numerical implementations. Sequential (also known as splitted, partitioned or segregated) approaches are iterative methods for solving coupled problems where each equation is solved independently and the coupling is achieved through iterations. These methods offer the possibility to flexibly add or remove equations from a model and to rely on existing black-box solvers for every specific equation. Furthermore, when problems are non-linear, inner iterations need to be performed even in monolithic solvers, therefore making a sequential iterative approach a viable alternative. The cost of running inner iterations to achieve the coupling, however, could easily becomes prohibitive, or, in some cases the iterations might not converge. In this work we present a general formulation of splitting schemes for continuous operators, with arbitrary implicit/explicit splitting, like in standard iterative methods for linear systems. By introducing a generic relaxation operator we find the conditions for the convergence of the iterative schemes. We show how the relaxation operator can be thought as a preconditioner and constructed based on an approximate Schur-complement. We propose a Schur-based Partial Jacobi relaxation operator to stabilise the coupling and show its effectiveness. Although we mainly focus on scalar-scalar linear problems, most results are easily extended to non-linear and higher-dimensional problems. Numerical tests (1D and 2D) for two PDE systems, namely the Dual-Porosity model and a Quad-Laplacian operator, are carried out to confirm the theoretical results.
△ Less
Submitted 6 November, 2023; v1 submitted 21 December, 2022;
originally announced December 2022.
-
Computational framework for complex flow and transport in heterogeneous porous media
Authors:
Matteo Icardi,
Eugenio Pescimoro,
Federico Municchi,
Juan H Hidalgo
Abstract:
We present a flexible scalable open-source computational framework, named SECUReFoam, based on the finite-volume library OpenFOAM(R), for flow and transport problems in highly heterogeneous geological media and other porous materials. The framework combines geostatistical pre- and post-processing tools with specialised Partial Differential Equations solvers. Random fields, for permeability and oth…
▽ More
We present a flexible scalable open-source computational framework, named SECUReFoam, based on the finite-volume library OpenFOAM(R), for flow and transport problems in highly heterogeneous geological media and other porous materials. The framework combines geostatistical pre- and post-processing tools with specialised Partial Differential Equations solvers. Random fields, for permeability and other physical properties, are generated by means of continuous or thresholded Gaussian random fields with various covariance/variogram functions. The generation process is based on an explicit spectral Fourier decomposition of the field which, although more computationally intensive than Fast Fourier Transform methods, allows a more flexible choice of statistical parameters and can be used for general geometries and grids. Flow and transport equations are solved for single-phase and variable density problems, with and without the Boussinesq approximation, and for a wide range of density, viscosity, and dispersion models, including dual-continuum (dual permeability or dual porosity) formulations. The mathematical models are here presented in details and the numerical strategies to deal with heterogeneities, equation coupling, and boundary conditions are discussed and benchmarked for the heterogeneous Henry and Horton-Rodgers-Lapwood problems, and other test cases. We show that our framework is capable of dealing with large permeability variances, viscous instabilities, and large-scale three-dimensional transport problems.
△ Less
Submitted 21 December, 2022;
originally announced December 2022.
-
Macroscopic models for filtration and heterogeneous reactions in porous media
Authors:
Federico Municchi,
Matteo Icardi
Abstract:
Derivation of macroscopic models for advection-diffusion processes in the presence of dominant heterogeneous (e.g., surface) reactions using homogenisation theory or volume averaging is often deemed unfeasible due to the strong coupling between scales that characterise such systems. In this work, we show how the upscaling can be carried out by applying and extending the methods presented in litera…
▽ More
Derivation of macroscopic models for advection-diffusion processes in the presence of dominant heterogeneous (e.g., surface) reactions using homogenisation theory or volume averaging is often deemed unfeasible due to the strong coupling between scales that characterise such systems. In this work, we show how the upscaling can be carried out by applying and extending the methods presented in literature. The approach relies on the decomposition of the microscale concentration into a reactive component, given by the eigenfunction of the advection-diffusion operator, the associated eigenvalue which represents the macroscopic effective reaction rate, and a non-reactive component. The latter can be then upscaled with a two-scale asymptotic expansion and the final macroscopic equation is obtained for the leading order. The same method can also be used to overcome another classical assumption, namely of non solenoidal velocity fields, such as the case of deposition of charged colloidal particles driven by electrostatic potential forces. The whole upscaling procedure, which consists in solving three cell problems, is implemented for arbitrarily complex two- and three-dimensional periodic structures using the open-source finite volume library OpenFOAM. We provide details on the implementation and test the methodology for two-dimensional periodic arrays of spheres, and we compare the results against fully resolved numerical simulations, demonstrating the accuracy and generality of the upscaling approach. The effective velocity, dispersion and reaction coefficients are obtained for a wide range of Péclet and surface Damk{ö}hler numbers, and for Coulomb-like forces to the grains.
△ Less
Submitted 26 April, 2020; v1 submitted 6 September, 2019;
originally announced September 2019.
-
Solving the Klein-Gordon equation using Fourier spectral methods: A benchmark test for computer performance
Authors:
S. Aseeri,
O. Batrašev,
M. Icardi,
B. Leu,
A. Liu,
N. Li,
B. K. Muite,
E. Müller,
B. Palen,
M. Quell,
H. Servat,
P. Sheth,
R. Speck,
M. Van Moer,
J. Vienne
Abstract:
The cubic Klein-Gordon equation is a simple but non-trivial partial differential equation whose numerical solution has the main building blocks required for the solution of many other partial differential equations. In this study, the library 2DECOMP&FFT is used in a Fourier spectral scheme to solve the Klein-Gordon equation and strong scaling of the code is examined on thirteen different machines…
▽ More
The cubic Klein-Gordon equation is a simple but non-trivial partial differential equation whose numerical solution has the main building blocks required for the solution of many other partial differential equations. In this study, the library 2DECOMP&FFT is used in a Fourier spectral scheme to solve the Klein-Gordon equation and strong scaling of the code is examined on thirteen different machines for a problem size of 512^3. The results are useful in assessing likely performance of other parallel fast Fourier transform based programs for solving partial differential equations. The problem is chosen to be large enough to solve on a workstation, yet also of interest to solve quickly on a supercomputer, in particular for parametric studies. Unlike other high performance computing benchmarks, for this problem size, the time to solution will not be improved by simply building a bigger supercomputer.
△ Less
Submitted 19 January, 2015;
originally announced January 2015.