Abstract
The Elrod algorithm is widely used for the study of bearing cavitation problems. However, the potential instability of the algorithm makes it difficult to use in practical applications. A simplified Elrod algorithm based on a decoupled technique was developed. The new algorithm is well-regularized because the tough switch function used for the shear flow term is removed. The most significant advantage of the algorithm is the stability, unlike the traditional algorithm where the accuracy of results irregularly depends on the choice of grids. The numerical experiments, including a journal bearing and a surface-dimpled thrust bearing, show that the simplified Elrod algorithm converges consistently for all cases studied, while the traditional Elrod algorithm fails to converge for cases with a special number of grids. The simplified Elrod algorithm is considered to be a robust alternative to the traditional Elrod algorithm.
Introduction
The Elrod algorithm is a famous cavitation algorithm that can efficiently solve the bearing cavitation problem.1–8 The algorithm was proposed by Elrod and Adams 9 in 1974 and later improved by Elrod 10 in 1981. Since its inception, the algorithm has attracted wide attention for its mass-conserving approach to the study of bearing cavitation. The most important feature of this algorithm was the proposed switch function, which can automatically capture the free boundaries to reduce numerical difficulties. The algorithm was considered to be the first practical approach to realizing the well-known Jakobsson and Floberg 11 and Olsson 12 (JFO) theory.
Two widely used versions of the Elrod algorithm are clarified here. 13 The first version refers to the original algorithm presented in work 10 where the shear flow term was innovatively discretized by a switching central and backward difference scheme, with the purpose of accuracy improvement. Another version refers to the modified algorithm developed by Vijayaraghavan and Keith. 14 In this version, the discrete scheme was improved by incorporating the idea of artificial viscosity. Thus, the compressibility effect was taken into account by preserving variable θ in the full film region. A detailed analysis of the differences between the two versions can be found in work 14.
The Elrod algorithm has the potential instability regardless of the version used. Elrod 10 initially reported that the alternating-direction implicit (ADI) approach occasionally experienced instability and suggested using a smaller time step to address the issue. Brewe 15 found that the instability appeared in cases of high journal bearing eccentricity, and the calculation had to be repeated to update the switch function immediately. Qiu and Khonsari 16 reported that numerical instability appeared in the areas near the grooves of a thrust bearing, which was circumvented by using an approximate pressure of 99999.999 Pa instead of 1 × 105 Pa. Miraskari et al. 17 found that the instability strongly depended on the choice of the lubricant's bulk modulus.
The instability has caused convergence problems. 18 Therefore, many improvements to the Elrod algorithm have been proposed.17–33 Vijayaraghavan and Keith 19 developed a combined algorithm instead of the ADI method. The algorithm, based on Newton iteration and approximate factorization (AF) techniques, showed superiority in efficiency and robustness. Ausas et al.20,21 presented a relaxation-type finite-volume-based algorithm that eliminated the switch function by using the if-else-statement, and it was shown to be robust to complex surface-textured bearings. 27 More recently, an optimized discrete scheme of the Ausas algorithm was introduced in work. 22 Giacopini et al. 23 proposed a novel variable r to represent the void fraction (1 − θ) and then translated the cavitation problem into a linear complementarity problem (LCP). Standard LCP solvers can be used to assist in the solution. The LCP solvers reported so far have been robust. Many improvements have been made to the LCP.24–26,28–33 Fesanghary and Khonsari 18 proposed a modification of the switch function in which the step characteristic of the switch function was mitigated by a proposed gFactor. The initial crash problem of the Elrod algorithm was overcome. Miraskari et al. 17 developed an alternative solution scheme based on the finite volume method. The algorithm eliminated the scheme's dependence on the choice of lubricant bulk modulus and showed a significant improvement in robustness compared to the AF scheme.
The popular cavitation algorithms have recently been reviewed in work 32 and it can be seen that the balance between complexity and efficiency of these algorithms remains a challenge. In this study, we present a simplified algorithm that enhances the Elrod algorithm. The new algorithm is based on the authors’ previous decoupled technique. 22 Compared to the traditional Elrod algorithm, the new algorithm has the following advantages: (1) The discrete scheme is straightforward. The tough switch function used for the shear flow term is removed. This leads to a well-regularized algorithm with reduced arithmetic cost. (2) The algorithm is more stable. For all studied cases, including a journal and a thrust bearing, the algorithm converges consistently. (3) The algorithm is easy to understand and implement. The decoupled technique simplifies the Elrod algorithm without the need to introduce complex theory.
The outline of this article is as follows. First, the JFO theory is reviewed in part 2. Then, the simplified Elrod algorithm is introduced in part 3. Next, the characteristics of the algorithm are studied in part 4. Finally, the conclusion is summarized in part 5.
JFO theory
The compressible Reynolds equation for a Newtonian lubricant with constant viscosity is expressed as
Equation (1) is a mass continuity equation and can be decomposed into
Simplified Elrod algorithm
The cavitation problem can be modeled as follows. Find p and θ such that:
Equation (9) is known to have mixed behavior: elliptic for the full film region and hyperbolic (first-order differential equation) for the cavitated region. The shear flow term is needed to design a special discrete scheme that can be switched with the change of regions. The frequently used discrete schemes are as follows:
The Elrod version10,14,15:
Inspired by the discrete scheme,
22
the shear flow term can naturally be designed to satisfy the required special discrete scheme. The only thing needs to do is to decouple θ and h. Since θ is close to 1 in the full film region, variable θ can be written as
Table 1 compares the discrete schemes of the shear flow term for the three versions of the Elrod algorithm. The subtle differences between them can affect the accuracy and stability of the algorithm accordingly. In general bearing analysis, the accuracy differences can be safely ignored, as demonstrated in the numerical validation section in 4.1. However, for high pressure problems, such as the elastohydrodynamic lubrication problems,35,36 the accuracy difference is worthy of study. Here, the concern is focused on the stability difference. The new discrete scheme uses θ to achieve the same function as g, resulting in two key differences: (1) g is strongly stepwise, while θ varies relatively continuously. (2) g is updated after a loop, while θ is updated within a loop. Variable θ changes more smoothly than g, which benefits iterative computations, especially stability.
Comparison of discrete schemes for the shear flow term.
Observing Equation (15), the term
The shear flow term is thus discretized as
The pressure flow terms are approximated by substituting p with Equation (16):
Equations (17), (20), and (21) are the core of the simplified Elrod algorithm. Variable φ represents the film increase in the full film region and the film decrease (negative void) in the cavitated region. Explicit and implicit methods are both applicable to the simplified Elrod algorithm. The basic iterative scheme for solving φ is
The solution scheme is shown in Table 2. The successive over-relaxation method can be used to accelerate convergence. The modified switch function developed by Fesanghary and Khonsari
18
is used to avoid the initial crash problem. The convergence of the solution is determined by monitoring the change in the 1-norm of the vector φ. The convergence criterion is defined as
Solution scheme.
Algorithm analysis
Numerical validation
Three different types of bearings were used to analyze the present algorithm. The first is the one-dimensional hydrodynamic bearing with a convergent–divergent sinusoidal profile. The pressure distribution of the bearing was validated by the different cavitation algorithms performed by Giacopini et al. 23 and Miraskari et al. 17 The second is the submerged journal bearing studied experimentally by Jakobosson and Floberg. 11 The pressure distribution measured was consistent to the numerical results obtained by Brewe 15 and Cupillard et al. 37 The third is the dimple-enhanced seal-like thrust bearing studied by Qiu and Khonsari. 16 The pressure distribution based on the Elrod algorithm was provided by Qiu and Khonsari. 16 These bearing parameters are listed in Table 3. The periodic boundary condition is applied to cases 2 and 3.
Parameters for the studied bearings.
Figure 1 shows the pressure distributions for the simplified Elrod algorithm and other methods. It demonstrates good agreement between the resulting pressures obtained by the simplified Elrod algorithm and those obtained by the other methods for all three cases, indicating the reliability of the simplified Elrod algorithm. In addition, to facilitate a convenient evaluation of the plane bearing, the one-dimensional bearing is considered as a two-dimensional bearing by setting the y-direction length of the bearing to ten times the x-direction length (i.e., L = 10a).

Pressure distribution for simplified Elrod algorithm and other methods. (a) Plane bearing with gird 64 × 10, (b) journal bearing gird of 64 × 64, and (c) thrust bearing with gird 64 × 64.
Results and discussion
Algorithm instability
The instability of the Elrod algorithm has two meanings. The first meaning refers to the program crashing during iteration, where the asymptotic convergent behavior is broken. The crash typically occurs at the start of the iteration, resulting from the step change of the switch function, where the difference in the variable field between two neighboring iterations exceeds the tolerance of the system. However, the crash has already been overcome by using the modified switch function with the help of a constant gFactor. The choice of gFactor is wide and does not affect the accuracy of the results. The value of 0.8 for gFactor suggested by Fesanghary and Khonsari 18 makes all the calculations proceed normally and is adopted here. The initial crash problem is not the focus of this study.
The second meaning refers to the nonconvergent results caused by using a special number of grids. Some special grids, which are unknown a priori, can lead to nonconvergence, where the residual cannot fall sufficiently. In the study, the residual larger than 1 × 10−13 is considered nonconvergent. Figure 2 shows an example of the residual variations with iterative progress for the journal bearing case. The residuals were analyzed by the three versions of the Elrod algorithm mentioned previous. For the original Elrod algorithm, the residual for the grid with 64 × 63 nodes falls below 1 × 10−13, while the residual for the grid with 64 × 64 nodes stops falling at 1.9 × 10−6. For the modified Elrod algorithm by Vijayaraghavan and Keith, the residual for the grid with 64 × 64 nodes falls below 1 × 10−13, while the residual for the grid with 64 × 68 nodes stops falling at 4.7 × 10−6. The grids 64 × 64 and 64 × 68 are considered as the special grids for the two traditional Elrod algorithms. When the special grids are implemented in the simplified Elrod algorithm; however, the expected nonconvergence does not occur. Therefore, it would be interesting to investigate the stability of the simplified Elrod algorithm.

Residual variations with iterative progress for the journal bearing case. (a) Original Elrod algorithm; (b) modified Elrod algorithm; and (c) simplified Elrod algorithm.
There are two other interesting phenomena that can be seen from Figure 2. The first is that the convergence speed of the simplified algorithm is slower than that of the traditional algorithms. The speed difference, however, is very small and still within the same order of level. As these algorithms are explicit relaxation methods and only suitable for small numbers of grid cases, the calculated time difference cannot be reflected effectively. The second is that the residual oscillation of the simplified algorithm is severer than that of the traditional algorithms. This is caused by the discrete scheme difference. The oscillation does not seem to have a negative impact on the simplified algorithm.
2. Hazards of nonconvergence
This part is to analyze the reason why the residuals stop falling and what the hazard of nonconvergence is. Figure 3 shows the difference in θ between two neighboring iterations. High residuals can be seen at some nodes close to the film reformation boundary, as shown by the white lines.
38
Although these residuals are limited to only the local 2 ∼ 6 nodes, the maximum value is as high as the level of 1 × 10−3. The accuracy of the resulting pressure must be reduced.

Difference in θ between two neighboring iterations. (a) Grid 64 × 64 and (b) grid 64 × 68.
Local slight difference has little effect on the overall accuracy of the results. However, in some cases, unreliable pressure may appear. Figure 4 shows the results for the journal bearing case under special grids. The high residual near the film rupture boundary results in the singularity of pressure and density ratio. Notice that the correct maximum pressure only reaches up to 0.38 MPa, as shown in Figure 1(b). The predicted load-carrying capacity should become unreliable. The Elrod algorithm fails on the special grids. Nonconvergent grids should be avoided, even if they are unknown a priori. The practical approach to ensure accuracy is to try different grids until the residuals converge, but this is time consuming.
3. Stability analysis

Results of the journal bearing case under special grids. (a) Grid 60 × 68, original Elrod algorithm. (b) Grid 65 × 63, modified Elrod algorithm.
The accuracy of the Elrod algorithm has been shown to be related to the number of grids. The primary attention is on the nonconvergence probability for the three versions of the Elrod algorithm. Three grid densities, representing coarse, medium, and fine grids, were studied, as listed in Table 4. Each case has 100 grids to calculate. Notice that relaxation factor ω is kept as 1 to exclude the instability induced by ω. Table 5 shows the statistics of nonconvergent cases for coarse, medium, and fine grids. The detailed nonconvergent distributions of x-nodes and y-nodes are given in the appendix. From Table 5, it can be concluded that: (1) Both the original Elrod algorithm and the modified Elrod algorithm by Vijayaraghavan and Keith have potential instability. The nonconvergence probability is very high for the journal bearing case. The probability can reach up to 82% for the original Elrod algorithm. The thrust bearing cases can almost converge, with only three nonconvergent cases appearing in the modified Elrod algorithm by Vijayaraghavan and Keith. (2) The nonconvergence probability cannot be reduced by increasing the grid density. Conversely, the probability increases as the grid density increases. It makes the Elrod algorithm inapplicable to complex bearings. (3) The simplified Elrod algorithm converges consistently for all cases studied. The switch function used for the shear flow term is considered to be one of the main reasons for nonconvergence. The removal of the switch function for the shear flow term makes the Elrod algorithm more stable.
Coarse, medium, and fine grids.
Statistics of nonconvergences for coarse, medium, and fine grids.
Conclusion
The study clarified the versions of the Elrod algorithm and highlighted the drawback of the potential instability. A simplified Elrod algorithm based on the decoupled technique was developed. The discrete scheme, arithmetic cost, and regularity of the algorithm are superior to those of the traditional Elrod algorithms. The most significant advantage of the algorithm is the stability, unlike the traditional algorithm where the accuracy of results depends irregularly on the choice of grids and the convergent grids cannot be known a priori. The new algorithm is considered to be a robust alternative to the traditional Elrod algorithm.
Footnotes
Declaration of conflicting interests
The authors declared no potential conflicts of interest with respect to the research, authorship, and/or publication of this article.
Funding
The authors disclosed receipt of the following financial support for the research, authorship, and/or publication of this article: This work was supported by the Science Foundation of Nanjing Institute of Technology (grant number 3612403222440, CKJB202102).
Appendix
The nonconvergent distributions of x-nodes and y-nodes are shown in Appendix. The journal and thrust bearing cases are shown in Figures A1 and A2, respectively.
