1. Introduction
The functionality and longevity of components in technical systems are significantly influenced by their lubricated tribological contacts, such as those found in seals. Understanding the tribological interactions is challenging due to the complex phenomena involved. Dynamic friction, primarily governed by fluid dynamics, is crucial for accurately describing these interactions. Analytical models often require simplifications that exclude some phenomena, leading to inaccuracies. Experimental methods for understanding tribological behavior are typically costly and time-intensive. A commonly used approach is modeling the system with elastohydrodynamic lubrication (EHL) simulations, which employ the Reynolds equation to compute pressure distribution and contact surface deformation [
1].
At the Institute for Fluid Power Drives and Systems (ifas) of RWTH Aachen University, an EHL simulation model for reciprocating seals, known as ifas-DDS (Dynamic Description of Sealings), was developed [
2]. This model calculates friction by solving the hydrodynamic equations within the sealing contact using the Reynolds equation while also accounting for contact mechanics and seal deformation [
3]. Previous studies have validated this EHL model against experimental data [
4]. This approach’s significant drawback is the computational time required to solve the equations numerically. While increasing computational resources could alleviate this issue, it is often not practical, significantly as the complexity of simulations increases, and real-time computation is needed for applications like control systems.
Machine learning algorithms, such as neural networks (NNs), offer a promising substitution for traditional EHL simulations due to their rapid computation capabilities following initial training. The primary goal of using an NN, usually in regression tasks, is to minimize the deviation between the network’s predictions and the desired outcomes. This purely data-driven approach might yield good predictions for the training data. Still, it may result in overfitting, causing high errors for new data points within and especially outside the training domain due to a lack of physical understanding. An advancement in the field of NNs is the development of physics-informed neural networks (PINNs), which address this issue by incorporating physical laws into the network’s training process, thereby improving predictive accuracy across unfamiliar data. PINNs are a class of machine learning solvers for partial differential equations (PDEs). Unlike traditional NNs, their training process is not solely data-driven. The optimal parameters of a given network structure are determined by a loss function, which, in the case of PINNs, includes physical laws described by the residuals of the PDEs and the initial and boundary conditions.
Several studies have concentrated on the hydrodynamic aspect of EHL simula- tions, excluding deformation and friction. Recent developments, such as the studies by Almqvist [
1,
5,
6,
7,
8], highlight the potential of PINNs to combine the precision of distributed simulation models with the computational efficiency of NNs, ensuring robust, accurate, and faster computations. However, these studies have primarily modeled hydrodynamics involving either stationary cavitation or geometry changes without cavitation. There remains a gap in research on applying PINNs to transient cavitation scenarios, both with and without geometry changes.
This study explores the capability of PINNs in addressing the Reynolds equation under conditions of sliding and squeezing motions, as well as in modeling transient cavitation within sealing contacts, building on a previously successful application of the hydrodynamic-PINN (HD-PINN) framework for stationary cases without cavitation [
6]; this research extends the framework to two specific scenarios: a curved sealing geometry with a flat counter surface with a dynamic change in the gap height and a fixed sealing geometry. Furthermore, the framework is extended by two features, which are soft constraints and collocation point updates, to enhance the accuracy of the PINN. Consistent with earlier studies, the focus here is on the hydrodynamic aspects of elastohydrodynamic lubrication (EHL), with pressure and cavitation distributions being calculated while omitting considerations of friction and contact mechanics [
1]. Deformation is artificially modeled by a constant seal movement, ignoring any pressure dependencies.
The subsequent section outlines the model used for hydrodynamic lubrication.
Section 3 offers a general overview of PINNs, while
Section 4 delves into the HD-PINN framework, the implemented modifications, the specific scenarios analyzed, and the physical loss terms. The results, discussed in
Section 5, are validated using a modified variant of the ifas-DDS, known as the rigid DDS, which excludes the earlier mentioned EHL factors. The final section,
Section 6, summarizes the results and provides a conclusion.
2. Hydrodynamic Lubrication Reynolds Equation with Transient Cavitation Modeling
Friction and wear are significant factors in tribological systems. They can be analyzed with EHL simulations, which examine the dynamic interactions within lubricated contacts by modeling surface deformations and calculating hydrodynamic pressure within the gap. The results of these simulations are often utilized to design and optimize tribological contacts such as those found in dynamic seals or, more specifically, in valves [
1].
The ifas-DDS is a sophisticated simulation tool designed to solve the hydrodynamic interactions between a seal and its counter surface in small gaps. Using the Reynolds equation, a finite solver computes the pressure distribution within the lubricating film. Abaqus, a finite element software, is utilized to simulate the deformation of the seal. Dependencies between pressure and deformation are seamlessly integrated into Abaqus through custom user subroutines. Previous studies have validated these simulation results against experimental data [
4].
This study describes hydrodynamics as defined by the Reynolds equation, excluding contact mechanics, pressure-dependent surface deformation, and friction. The primary objective is to investigate lubricated contacts and assess how the PINN handles the constant movement of the seal, which will be modeled as pressure-dependent deformation in the next phase of the study. Furthermore, the study examines the potential of PINNs to model transient cavitation, which has not been explored in existing research, where cavitation studies, such as Rom’s work [
7], have focused on stationary cases.
The prediction of the PINN framework is compared to the rigid DDS. This model does not incorporate the Abaqus integration and thus neglects deformation, friction, and contact mechanics, focusing exclusively on lubrication dynamics. Both PINN and rigid DDS solve the same underlying equations, allowing for direct validation of the PINN’s predicted outputs. Cavitation in the fluid film is modeled according to the Jakobsson–Floberg–Olsson cavitation model. This model assumes the gaseous phase formation due to vaporization or the air dissolution in the fluid if the local pressure drops below a certain threshold (in this study
). Cavitation is characterized by the cavity fraction
[
3], which represents the local gaseous volume fraction, ranging from 0 (no cavitation) to 1 (full cavitation).
The investigated Reynolds equation is an extension of the original version by integrating the cavity fraction
as follows [
3]:
The Reynolds equation is used to describe the hydrodynamic pressure
p within a small lubricated gap. The pressure, as a function of position
x and time
t, depends on numerous additional parameters: the relative velocity
v between the contact surfaces, the fluid’s density
, the gap height
h, the viscosity
, and the derivatives of pressure with respect to time and position,
and
. The pressure flow factor
and the shear flow factor
represent the surface roughness according to the averaged flow model by Patir and Cheng [
9,
10]. Further parameters are the root mean square roughness of the contact surfaces
and the density
, which is neglected since the fluid is assumed to be incompressible, and changes in
are considered to be zero, allowing the Reynolds equation (Equation (
1)) to be simplified by dividing by
.
The cavity fraction
denotes the extent of cavitation within the lubricated contact and occurs when the pressure drops below the vaporization threshold. The vaporization threshold is set to zero in this research. To obtain a relationship between pressure and cavity fraction, according to the implementation by Woloszynski et al. [
11], the Fischer–Burmeister Equation is used:
Since the JFO cavitation model and its implementation make few assumptions about the physical mechanisms causing the cavity fraction
to become non-zero, the model can also be used for tracking the distribution of the lubricant in tribological contacts with only a limited amount of lubricant supply (starved lubrication), e.g., grease-lubricated sealing contacts in pneumatic spool valves. In this case, a non-zero value of the cavity fraction does not necessarily denote the occurrence of cavitation but rather a partial filling of the sealing gap at the corresponding location. For a better interpretation of the partial filling, the lubricant film height
is introduced. The lubricant film height is defined as the local film height and computed as follows:
Further details about the implementation of this model for describing contacts with starved lubrication in the EHL model will be published in a subsequent paper.
3. Physics-Informed Neural Network
The pressure distribution in narrow lubricated contacts is characterized by the Reynolds equation (Equation (
1)) described in the prior section. In its complete form, no analytical solution of this equation exists. It necessitates using computationally demanding numerical methods such as finite element or finite volume methods to simulate hydrodynamic and tribological issues.
In the field of tribology, machine learning has gained popularity in the last few years due to substantial progress [
12,
13]. In fault detection, NNs have been successfully applied in systems like slipper bearings, journal bearings, and ball bearings [
14,
15,
16]. Regarding EHL simulations, Hess et al. determined the elastohydrodynamic pressure distribution with a convolutional neural network within journal bearings [
17]. Two main reasons for the advancements of machine learning algorithms applied to tribological interfaces are the vast availability of open-source machine learning libraries, e.g., PyTorch and TensorFlow, and the algorithms’ adaptability. However, one drawback of these data-driven models is their black-box characteristics and lack of transparency. Hybrid models that combine physical rules with data-driven methods have been developed to address this issue. These models benefit from reduced data requirements and an implementation based on physics described by mathematical equations [
18]. The structure of these hybrid models can be implemented in a sequential, a parallel, and a structured configuration [
19,
20,
21].
Integrating data and mathematical physics models in machine learning algorithms, known as physics-informed machine learning (PIML), enhances traditional models by increasing their accuracy and robustness for applications in lubrication, friction, and wear prediction [
22]. Embedding physical rules into NNs, alongside the classical data-driven approach, results in implementing hybrid PINNs. These often provide more robust and precise solutions compared to purely data-driven networks. Physical laws are incorporated through residual terms that describe the underlying equations of the investigated systems. These terms are included in the loss function by solving them with the output of the PINN and, if applicable, the derivatives of the output [
23].
Following the work of Hornik and Cybenko, who derived that deep NNs can approximate any continuous function to a certain level of accuracy [
24,
25], Hyuk extended this theory to include Borel measurable functions [
26]. The early contributions to physics-based regularization in NNs were made by [
26,
27]. Although Lagaris and Hyuk did not explicitly utilize the term “physics-informed”, their research closely reflects the core concepts of what is now recognized as PINNs. Hyuk’s key innovation was to modify the NN’s loss function to integrate the governing differential equation, laying the groundwork for developing PINNs. This concept of embedding physical laws into NN training has significantly influenced the evolution of PIML, which combines traditional machine learning with domain-specific knowledge. Due to the limited computational resources and the early state of computational algebra techniques, this approach did not gain widespread attention. Recent progress in gradient calculation methods (e.g., AD) and significant improvements in hardware processing power opened up new potential.
A decade ago, Owhadi incorporated prior physical knowledge into the solving process of an NN, causing the resurgence of PIML. He formulated the solution of PDEs as Bayesian inference tasks, improving the algorithms with problem-dependent knowledge [
28]. Next, Raissi et al. developed a probabilistic machine learning algorithm to solve general linear equations via the Gaussian process, refining it for integro-differential or partial differential equations [
29,
30]. Furthermore, this algorithm was upgraded to compute nonlinear partial differential equations [
31,
32].
A significant advancement was the development of PINNs, which, compared to finite element solvers, can be described as mesh-free models that transform the solving process of PDEs into an optimization task dictated by loss function [
33]. Raissi utilized PINNs as a new class of hybrid solvers, capable of determining solutions to various forward and inverse problems described by PDEs with high accuracy [
34,
35,
36]. Antonello et al. continued the previous research and extended the PINN concept to control tasks by adding control inputs into the network, building an algorithm capable of solving control applications [
37].
Figure 1 demonstrates a PINN with two inputs and one output. With the gradients calculated by automatic differentiation (AD), a hybrid loss is computed using physics-informed and data-based information.
PINNs process inputs, such as parameters and variables like spatial coordinates x and time t, like traditional NNs: The input values are passed through multiple layers, each consisting of neurons that are interconnected with those in both the preceding and subsequent layers. Within each neuron, the input is multiplied by a weight, a bias term is added, and the resulting value is then passed through an activation function. This series of operations across the network layers culminates in generating complex, nonlinear functions representing the network’s output.
For PINNs, the residual loss corresponds to the residual of the underlying physical equation, aligning with the principles of unsupervised learning [
38]. The spatial and temporal evaluation points, where these residuals are calculated, are called collocation points. PINNs leverage AD to compute gradients of any order [
39] for complex differential equations with machine-level accuracy, utilizing the chain and product rules. Unlike traditional NNs, where AD is primarily used for parameter updates during training, PINNs also employ it to calculate the necessary derivatives of the physical equations.
In addition to the residual loss, PINNs can incorporate boundary condition (BC) and initial condition (IC) losses, which are implemented as supervised losses. As illustrated in
Figure 1, additional types of losses may arise depending on the specific problem setup. An example of this is the hybrid PINN approach, where existing data are integrated to accelerate and enhance the accuracy of the solution, resulting in a data loss term.
The following section provides a brief overview of the application of PINNs in the field of hydrodynamics.
The first publication utilizing PINNs in the field of hydrodynamics addressed the solution of a simplified Reynolds equation [
5]. Subsequent research by Yadav et al., Li et al., and Zhao et al. refined this approach, expanding the method to solve two-dimensional equations for tackling more complex problems [
40,
41,
42]. Notable progress was made by Rom, who successfully applied PINNs to solve the Reynolds equation incorporating the Jakobsson–Floberg–Olsson (JFO) cavitation model for stationary problems. Rom further enhanced the methodology by introducing soft constraints and adding collocation points during training, significantly improving the accuracy of the predicted cavitation distribution, particularly in regions with high gradient variations [
7].
Further progress in the application of PINNs to hydrodynamics was made by Cheng et al., who solved the Reynolds equation incorporating both the JFO and Swift–Stieber (SS) cavitation models [
43]. Building on this work, Xi et al. enhanced the solution by implementing a combination of hard and soft constraints [
44]. In the previous publication, we demonstrated that PINNs are capable of predicting solutions to the stationary Reynolds equation across a wide range of parameters [
6].
Rimon et al. utilized PINNs to model the deformation of rotary shaft seals, applying a simplified Reynolds equation in conjunction with the Lamé equation to account for material dependencies [
8]. This approach allowed for a more comprehensive description of the interactions between fluid dynamics and material deformation, highlighting the potential of PINNs in solving complex, coupled physical problems.
While these contributions have demonstrated considerable advances in addressing the Reynolds equation through the use of PINNs, it is crucial to recognize that most studies have primarily concentrated on the implementation of PINNs. However, a comprehensive hydrodynamic lubrication PINN framework extends beyond the PINN itself. Such a framework encompasses a broader set of components including the automated tuning of hyperparameters, strategic initialization of weights tailored to the specific activation functions employed, and sophisticated loss balancing. These elements are pivotal in the learning process and are often underemphasized in existing literature, where hyperparameter tuning and loss balancing frequently involve substantial manual experimentation.
7. Conclusions
This work demonstrates the ability of PINNs to solve dynamic height changes and cavitation modeling tasks governed by the Reynolds equation. These networks can compute the pressure distribution and cavity fraction within sealing contacts in a fraction of a second, achieving a speed-up factor of up to 300 compared to traditional numerical solvers. The paper begins with an introduction to hydrodynamic lubrication, followed by an explanation of PINNs and their application in solving variants of the Reynolds equation. Subsequently, the scenarios investigated are presented. Firstly, a transient cavitation scenario without sealing movement and, secondly, a transient cavitation scenario with sealing movement, along with the training procedures for the PINNs, are detailed.
Regarding pressure, the shown PINNs accurately compute the distribution and boundaries verified using the rigid DDS model. In the second scenario, the determination of cavitation demonstrates adequate agreement within the cavitation region. For regimes where the pressure and cavitation regions switch, the PINNs can locate these transitions and compute the desired values with sufficient accuracy. The presented PINNs have shown their capability of computing high gradients, and the introduced soft constraints offer further potential for enhancing accuracy in these areas. The results of this study represent an advancement in the field of lubricated contact simulations, illustrating a PIML approach to accelerate hydrodynamic lubrication computations with minimal to no loss in accuracy.
Future work will incorporate flow factors and roughness to address rough surface scenarios within the PINN framework. Recent research demonstrated that the PINN can solve the averaged Reynolds for different rough and textured surfaces [
45], thus indicating the successful application of PINNs for the complete average Reynolds equation with rough surfaces. Additionally, soft constraints will be further investigated to enhance accuracy in high-gradient regions. Eventually, the framework will be applied to solve elastohydrodynamic problems by accounting for deformation and friction within the investigated system.