URL: https://multiphasesystems.online/mfs2025.4.026,en
DOI: https://doi.org/10.21662/mfs2025.4.026
2Ufa University of Science and Technology, Ufa, Russia
Abstract
Nowadays, machine learning technologies have deeply invaded all spheres of human activity. This is mainly due to the necessity of processing huge amounts of data produced at an increasing rate. In the field of scientific knowledge, the results of natural and numerical experiments carried out using modern methods and tools of observation and simulation are often so large that they cannot be processed without the use of machine learning and big data processing methods. On the other hand, it is well known that any experimental data contains imprecision and noise, and may also be distorted due to errors in the experimental setup. Therefore, machine learning methods that integrate both experimental data and existing theoretical knowledge from a particular field of science have recently become increasinglypopular. This paper provides an analytical overview of various architectures of physics-informed neural networks (PINNs) used to model two-phase flows with bubbles. The concept of constructing physics-informed neural networks and the general form of the loss function are described, and various modifications of the PINN architecture that take into consideration the specifics of the problem formulation and the computational domain are analysed. The advantages and disadvantages of distributed PINNs are considered, and an example of optimising a distributed PINN architecture using a Gaussian probability model to form a self-adaptive loss function is given. A comparative analysis of distributed PINN modifications (DPINN, TPINN) for the problem of gas bubble buoyancy in a liquid is presented. The advantages and limitations of the chain architecture of physics-informed neural networks, used in cases where the initial system of equations can be decomposed into separate subsystems, are considered. In this case, a specialised PINN module is created for each individual subsystem, and all the solutions obtained by the subsystems are then sequentially combined into a single chain. An example of integrating spectral methods into the PINN architecture is also considered: the solutions obtained are decomposed into high-order orthogonal polynomials, and the decomposition coefficients are determined by the weighted discrepancy method. The use of high-order polynomials allows for a wider range of information about frequency parameters to be obtained, which ensures high prediction accuracy, especially at interphase boundaries and in areas with large velocity gradients. The materials of this review can be used as reference material for constructing new solutions to problems of two phase flow description, as well as for initial familiarisation with PINN technology.
Bikmeyev AT, Gainullina EF. The use of physics-informed neural networks in the hydrodynamics of two-phase fluids. Multiphase Systems. 2025;20(4):197–207 (in Russian).
physics-informed neural networks;
neural network architecture;
loss function;
two-phase fluids;
bubble
Article outline
Purpose. An analytical review of the application of various architectures of Physics-Informed Neural Networks (PINN) for modeling two-phase flows with bubbles.
Methodology. Physics – informed neural networks use constraints in training due to compliance with the laws of physics, the fulfillment of the initial and boundary conditions of the tasks under consideration, and the correspondence of the solution to real experimental data. While solving a problem, a neural network with given hyperparameters minimizes a loss function, which characterizes how much the approximation of the unknown functions vector deviates from the actual solution. Hyperparameters are specified before training and are external parameters of the neural network, determining its configuration: the number of layers, neurons, learning rate, etc. The coefficients before the terms in the global loss function are determined proportionally to the reliability of the corresponding data, ensuring a balanced contribution of each term (differential equations, initial and boundary conditions, and actual data) to the overall optimization problem. Minimization of the loss function is carried out using gradient optimization methods such as ADAM or L-BFGS (Limited-memory Broyden-Fletcher-Goldfarb-Shanno), which allows iteratively finding the optimal values of weights and biases in the layers of the neural network.
Findings. Various modifications of physically-informed neural networks, their advantages and limitations, are studied for solving problems of bubble dynamics in a two-phase medium.
In particular, distributed PINN architectures are considered, in which the global spatiotemporal domain is divided into cells, each of which has a smaller localized PINN with a single- or two-layer architecture. This avoids the problems of deep neural networks, potentially increasing computational speed. An example of generating a self-adaptive loss function using a Gaussian probability model is given. A comparative analysis of distributed PINN modifications (distributed PINN – DPINN, transfer PINN – TPINN) is presented for the classical problem of a gas bubble rising in a liquid under the action of the Archimedes buoyancy force. DPINNs are shown to have higher accuracy, leading to the conclusion that the use of individual local hypotheses in temporal subdomains is more useful for this problem than sharing learned features across subdomains. The use of local neural networks allows for more accurate prediction of the dynamics of physical processes, similar to mesh refinement in computational fluid dynamics.
This paper discusses the chain architecture of physically-informed neural networks, which is used in cases where it is possible to decompose the original system of equations into individual subsystems, each of which is created with a specialized PINN module, and all the resulting solutions for the subsystems are then sequentially connected into a single chain.
This paper presents the integration of spectral methods into the architecture of physically-informed neural networks, with the solutions decomposition into high-order orthogonal polynomials. The use of these methods allows to obtain a wider range of information on frequency parameters and ensures high prediction accuracy, especially at interfaces and in zones with large velocity gradients.
Value. Unlike traditional computational fluid dynamics (CFD) methods, which require full spatiotemporal resolution at all calculation steps, PINN predicts flow behavior based on limited input data, using fundamental conservation laws built into its loss function. This principal feature significantly reduces dependence on resource-intensive CFD calculations and expensive experimental data. The physical consistency of predictions and conservation laws ensures reliable results even for time steps not represented in the training set, unlike computational fluid dynamics methods, which require labor-intensive tuning of numerical schemes or stabilization methods to achieve similar accuracy. Furthermore, the use of physically-informed neural networks eliminates the need for recalculations when changing resolution, significantly reducing computational costs. Thus, PINN opens up new possibilities for the multiscale analysis of complex flows, significantly reducing the time and cost compared to classical CFD methods.
References
- Anderson DA, Pletcher RH, Tannehill JC, Munipalli R, Shankar V. Computational Fluid Mechanics and Heat Transfer. 4th Edition. Boca Raton: CRC Press; 2020. 974 p. https://doi.org/10.1201/9781351124027
- Sharma P, Chung WT, Akoush B, Ihme M. A Review of Physics-Informed Machine Learning in Fluid Mechanics. Energies. 2023;16:2343.
https://doi.org/10.3390/en16052343 - Jalili D, Jang S, Jadidi M, Giustini G, Keshmiri A, Mahmoud Y. Physics-informed neural networks for heat transfer prediction in two-phase flows. International Journal of Heat and Mass Transfer. 2024;221:125089. https://doi.org/10.1016/j.ijheatmasstransfer.2023.125089
- Головизнин ВМ, Зайцев МА, Карабасов СА, Короткин ИА. Новые алгоритмы вычислительной гидродинамики для многопроцессорных вычислительных комплексов. М.: Изд-во Московского университета; 2013. 472 с.
Goloviznin VM, Zaytsev MA, Karabasov SA, Korotkin IA. New computational fluid dynamics algorithms for multiprocessor computing systems. M.: Moscow University Press; 2013. P. 472. (in Russian) - Autee AT, Giri SV. Experimental study on two-phase flow pressure drop in small diameter bends. Perspectives in Science. 2016;8:621–625. https://doi.org/10.1016/j.pisc.2016.06.038
- Юдов ЮВ, Волкова СН, Мигров ЮА. Замыкающие соотношения теплогидравлической модели расчетного кода КОРСАР. Теплоэнергетика. 2002;11:22–29. https://elibrary.ru/XAGRET
Yudov YuV, Volkova SN, Migrov YuA. The closing relationships of the thermohydraulic model of the korsar computer code. Thermal Engineering. 2002;49(11):901–908. https://elibrary.ru/PUJNRH - Ребров ЕВ. Режимы двухфазного течения в микроканалах. Теоретические основы химической технологии. 2010;44(4):371–383.
https://elibrary.ru/MTJDAL
Rebrov EV. Two-phase flow regimes in microchannels. Theoretical Foundations of Chemical Engineering. 2010;44(4):355–367.
https://doi.org/10.1134/s0040579510040019 - Shannon CE. A Mathematical Theory of Communication. Bell System Technical Journal. 1948;27:379–423.
https://doi.org/10.1002/j.1538-7305.1948.tb01338.x - Cai S, Mao Z, Wang Z, Yin M, Karniadakis GE. Physics-informed neural networks (PINNs) for fluid mechanics: a review. Acta Mechanica Sinica. 2021;37(12):1727–1738. https://doi.org/10.1007/s10409-021-01148-1
- Кошелев КБ, Стрижак СВ. Применение физически-обоснованной нейронной сети на примере моделирования
гидродинамических процессов, допускающих аналитическое решение. Труды ИСП РАН. 2023;35(5):245–258. https://doi.org/10.15514/ISPRAS-2023-35(5)-16
Koshelev KB, Strishak SV. Application of physics-informed neural network on the example of modeling hydrodynamic processes that allow an analytical solution. Proceedings of the Institute for System Programming of the RAS. 2023;35(5):245–258. (In Russian) - Qiu R, Li J, Wang J, Fan Ch, Wang Y. Direct numerical simulations of three-dimensional two-phase flow using physics-informed neural networks with a distributed parallel training algorithm. J. Fluid Mech. 2025;1017:A15. https://doi.org/10.1017/jfm.2025.10448
- El Hassan M, Mjalled A, Miron P, Monnigmann M, Bukharin N. Machine Learning in Fluid Dynamics—Physics-Informed Neural Networks (PINNs) Using Sparse Data: A Review. Fluids. 2025;10:226.
https://doi.org/10.3390/fluids10090226 - Radhakrishnan G, Pattamatta A, Srinivasan B. Distributed Physics-Informed machine learning strategies for two-phase flows. International Journal of Multiphase Flow. 2024;177:104861.
https://doi.org/10.1016/j.ijmultiphaseflow.2024.104861 - Dwivedi V, Parashar N, Srinivasan B. Distributed learning machines for solving forward and inverse problems in partial differential equations. Neurocomputing. 2021;420:299–316.
https://doi.org/10.1016/j.neucom.2020.09.006 - Xiang Z, Peng W, Liu X, Yao W. Self-adaptive loss balanced Physics-informed neural networks. Neurocomputing. 2022;496:11–4.
https://doi.org/10.1016/j.neucom.2022.05.015 - Manikkan S, Srinivasan B. Transfer physics informed neural network: a new framework for distributed physics informed neural networks via parameter sharing. Engineering with Computers. 2023;39(4):2961–2988. https://doi.org/10.1007/s00366-022-01703-9
- Buhendwa AB, Adami S, Adams NA. Inferring incompressible two-phase flow fields from the interface motion using physics-informed neural networks. Mach. Learn. Appl. 2021;4: 100029.
https://doi.org/10.48550/arXiv.2101.09833 - Ouyang H, Zhu Z, Chen K, Tian B, Huang B, Hao J. Reconstruction of hydrofoil cavitation flow based on the chain-style physics-informed neural network. Engineering Applications of Artificial Intelligence. 2023;119:105724. https://doi.org/10.1016/j.engappai.2022.105724
- Tian B, Chen J, Zhao X, Zhang M, Huang B. Numerical analysis of
interaction between turbulent structures and transient sheet/cloud cavitation. Physics of Fluids. 2022;34:047116.
https://doi.org/10.1063/5.0085072 - Ding NX, Feng HZ, Lou HZ, Fu SH, Li CL, Zhang ZH, Ma WL, Zhang ZQ. Prediction of velocity and pressure of gas–liquid flow using spectrum–based physics–informed neural networks. Applied Mathematics and Mechanics (English Edition). 2025;46(2):341–356.
https://doi.org/10.1007/s10483-025-3217-8

