Next Article in Journal
Data-Driven Pavement Performance: Machine Learning-Based Predictive Models
Previous Article in Journal
Universal Modeling for Non-Destructive Testing of Soluble Solids Content in Multi-Variety Blueberries Based on Hyperspectral Imaging Technology
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Three-Dimensional Inversion of the Time-Lapse Resistivity Method on the MPI Parallel Algorithm

1
Oil & Gas Survey, China Geological Survey, Beijing 100083, China
2
State Key Laboratory of Continental Shale Oil, Beijing 100083, China
3
The Key Laboratory of Unconventional Petroleum Geology, China Geological Survey, Beijing 100083, China
*
Authors to whom correspondence should be addressed.
Appl. Sci. 2025, 15(7), 3885; https://doi.org/10.3390/app15073885
Submission received: 21 February 2025 / Revised: 26 March 2025 / Accepted: 1 April 2025 / Published: 2 April 2025

Abstract

:
The resistivity method is widely used to address long-term monitoring challenges in fields such as environmental protection, ecological restoration, seawater intrusion, and geological hazard assessment. However, external environmental changes can influence monitoring data, resulting in inversion results that fail to accurately reflect subsurface variations. Furthermore, the data volume required for such monitoring is several times larger than that for conventional single-point observations, leading to excessively long inversion times and low computational efficiency. To address these issues, we develop a three-dimensional inversion algorithm for the resistivity method that incorporates time-lapse constraints. Additionally, MPI parallelization is integrated into the program to increase computational efficiency. Through the design of theoretical models and the synthesis of data to test the algorithm, the results show that, compared with those of separate inversion, the shapes and values of time-lapse inversion results at different time points are more consistent, maintaining temporal continuity, and the computational efficiency of MPI parallel inversion is greatly improved. Particularly in high-noise environments, time-lapse inversion effectively suppresses background noise interference, reduces false anomalies, and produces results that closely align with the true model, thus confirming the algorithm’s effectiveness and superiority.

1. Introduction

In recent years, geophysics has been widely used to monitor subsurface changes [1,2,3]. Compared with other geophysical methods, the multielectrode and multichannel system of the resistivity method allows for the effective collection of large-scale monitoring data, offering significant advantages. Therefore, time-lapse resistivity inversion has become a popular topic in geophysical inversion.
The resistivity method has a long history in monitoring [4]. Initially, the international scholar Daily [5] carried out experiments to confirm that the resistivity method could monitor the infiltration process of groundwater, but it involved only repeated measurements at different times, without considering the correlation among the data at those different times. Later, scholars at home and abroad reported that normalizing the observation dataset before inversion, filtering the false anomalies of the initial data, and then applying traditional inversion algorithms could highlight small changes in the physical structure underground [6]. In normalization research, scholars use the inversion results of background data as a priori model to participate in the inversion calculation of subsequent observation data. This approach improves the convergence speed and reduces data fitting errors [7,8,9]. However, these methods do not account for the temporal continuity of physical property changes, making the accurate reflection of subsurface variations challenging. Kim [10] realized time-lapse inversion on the basis of the constraint of time-lapse function. This method simultaneously inverts data from different time points while ensuring that the inversion results evolve continuously over time by constraining datasets at different times. However, time-lapse inversion requires the simultaneous inversion of monitoring data from multiple time points, demanding substantial memory resources and resulting in inefficiencies.
In this study, we developed a three-dimensional inversion algorithm for the resistivity method, that incorporates time-lapse function constraints. We also integrated MPI parallelization into the program to increase computational efficiency, ensuring that the inversion results change continuously over time while significantly improving computational performance. The theoretical model was designed to synthesize data, which confirmed the anti-interference effect of the algorithm.

2. Rationale and Theory

2.1. Three-Dimensional Forward Modeling Algorithm

In this study, the finite difference method is used to implement the three-dimensional forward modeling of the resistivity method. According to the forward modeling theory of the resistivity method derived from Zhu [11], the partial differential equation satisfied by the point source resistivity method is as follows:
σ x , y , z φ x , y , z = j δ ( x x 0 ) δ ( y y 0 ) δ ( z z 0 ) ,
where σ is the electrical conductivity of rock ore (S·m−1), φ is the potential array (V), j is the electric current density (A·m−2), and δ is a Dirac function, that specifies the position of the supply point.
Boundary conditions need to be added at the boundary of infinity and the interface between the surface and air in the meshed region. Boundary conditions are divided into three categories: Dirichlet boundary conditions, Neumann boundary conditions, and mixed boundary conditions.
φ = 0 σ φ n = 0 φ n + cos θ r φ = 0 ,
where n is the normal vector outside the boundary, r is the distance from the source point to the boundary, and θ is the angle between n and r .
The Dirichlet boundary condition means that the potential value on the boundary is 0. The Neumann condition boundary condition refers to the normal vector of the current density; that is, the normal derivative of the potential is 0. The mixed boundary condition not only maintains the continuity of the potential at the boundary, but also eliminates the reflection effect on the virtual source at the underground boundary [12,13].The finite difference method is applied to discretize (1), resulting in a large sparse linear system [11], whose matrix form can be expressed as:
A φ = b ,
where A is the coefficient matrix, which is used to calculate the sparse matrix of each element through the finite difference method and then assemble it into a large coefficient matrix of all the elements; b is the vector that contains information with respect to the field source.
The potential is obtained by solving (3) using the BICGSTAB method. After the potential is obtained, the apparent resistivity is obtained according to (4).
U = α φ ρ a = K Δ U I ,
where α is the vector that is designed to select the potential at the receiver among all grid node potentials, Δ U is the potential difference between the receiving electrodes (V), I is the electric current (A), and K is the geometric factor.
In this study, the accuracy and precision of the finite difference method are verified. A vertical contact band model is designed, as shown in Figure 1, in which the dielectric resistivity on the left is 100 Ω·m, and the dielectric resistivity on the right is 20 Ω·m. Data acquisition is carried out using a three-pole device, where A represents the transmitting electrode, M and N represent the receiving electrode, and observations are made from left to right.
Figure 2 shows the apparent resistivity curve of the vertical contact zone model. The numerical solution obtained by numerical simulation using the finite difference method is close to the analytical solution, and the error of both methods is less than 5% at all measurement points, which verifies the accuracy and precision of the forward numerical simulation results in this paper.

2.2. Time-Lapse Function

The time-lapse function ensures the continuity of the inversion results across different times. In the process of time-lapse inversion, the data at different times are synchronously inverted. Assuming that m σ , i is the conductivity model at a certain time, the time-lapse conductivity model M σ can be defined as:
M σ = m σ , 1   m σ , 2     m σ , n t T ,
where n t is the number of observations. At present, there are two calculation methods for time-lapse function: L1 norm and L2 norm [14,15]. The time-lapse function calculated by the L2 norm can better ensure the continuity of inversion results over time, whereas the time-lapse function calculated by the L1 norm can avoid the over-continuity of inversion results at different times with time and better reflect the local changes at different times [16]. In this study, we focus on the anti-interference effect of the time-lapse function on high noise, so the L2 norm method is used for calculation, and the calculation formula is as follows:
Φ t ( M σ ) = M σ T C T C M σ = k = 1 n t m σ , k m σ , k + 1 2 ,
C = I 1         I 2 0 0 0 0 I 2 I 3 0 0 0 0 0   0 0 0 0 I nt 1 I nt ,
where Φ t ( M σ ) is a time-lapse function, which is calculated by the difference in the underground conductivity model at the adjacent time. By introducing the time-lapse function into the objective function, the difference in the inversion results at the adjacent time can be reduced by minimizing the objective function, to ensure that the underground physical property model changes continuously with time.

2.3. Three-Dimensional Time-Lapse Inversion Objective Function

In this study, we use the regularized constrained inversion method, which adds model terms to the objective function to constrain, avoiding excessive data fitting and reducing the multiplicity of geophysical inversion solutions. The objective function of regularization constraint inversion is as follows:
Φ M σ = Φ d M σ + λ m σ Φ m M σ ,
The objective function consists of two parts: the data function Φ d M σ and the model function Φ m M σ . Φ d M σ is used to calculate the difference between the observation data and the response data of the inversion result, Φ m M σ is used to calculate the smoothness of the model, and λ m σ is the weight factor of the model function, which is used to adjust the proportions of the data function and the model function in the objective function.
By introducing the time-lapse function calculated by (6) into (8), the time-lapse inversion objective function can be obtained:
Φ ( M σ ) = Φ d ( M σ ) + λ m σ Φ m ( M σ ) + λ t σ Φ t ( M σ ) ,
where λ t σ is the weight factor of the time-lapse function.
In this study, we use the method of L-curves to choose the λ m σ and λ t σ [17], which can not only ensure the minimum of Φ d M σ , but also ensure the minimum of Φ m M σ and Φ t ( M σ ) .
Expanding (9) yields the specific form of the time-lapse inversion objective function:
Φ ( M σ ) = D ρ , o b s F M σ T V σ 1 D ρ , o b s F M σ + λ m σ ( M σ M σ , 0 ) T C M , σ 1 ( M σ M σ , 0 ) + λ t σ M σ T C T C M σ ,
where D ρ , o b s represents the apparent resistivity data observed at all times, F M σ represents the forward response function, M σ , 0 represents the initial model of inversion, and V σ represents the covariance matrix of the data. The gradient of the objective function can be obtained by calculating the partial derivative of the objective function with respect to M σ :
g M σ = 2 J σ T V σ 1 D ρ , o b s F M σ + 2 λ m σ C M , σ 1 M σ M σ , 0 + 2 λ t σ M σ T C T C M σ ,
where J σ represents the sensitivity matrix of the inversion.
Owing to the complexity of the underground model and observation data, it is necessary to smooth the gradient of the objective function to improve the computational efficiency and stability of the inversion. Egbert and Kelbert proposed a simple and efficient method to smooth the gradient of model parameters [18]. The specific transformation formula is derived as follows:
C M , σ 1 = ( C M , σ 1 / 2 ) T C M , σ 1 / 2 M ~ σ = C M , σ 1 / 2 ( M σ M σ , 0 ) ,
Formula (11) is transformed by the method above to obtain:
g M ~ σ = 2 C m , σ 1 / 2 J σ T V σ 1 D ρ , o b s F M σ + 2 λ m σ M ~ σ + 2 λ t σ C m , σ 1 / 2 C T C C m , σ 1 / 2 M ~ σ + M σ , 0 ,
After M ~ σ is obtained through inversion, the model M σ is solved by the following inverse transformation method:
M σ = C M , σ 1 / 2 M ~ σ + M σ , 0 ,

2.4. MPI Parallel Inversion Algorithm

To better reflect the subsurface information, three-dimensional inversion via the resistivity method uses multiple point power sources to improve the inversion performance. The corresponding amount of observation data is large, and the original serial inversion program is inefficient. When calculating the forward response, apparent resistivity, and potential at various measuring points for different power supply points, the Jacobian matrix corresponding to each source point during gradient calculation and the solution of the quasi-forward equations are independent of one another. Therefore, the problem can be divided into several independent subproblems, and parallel computing can enhance the inversion speed and efficiency. MPI is not a language, but rather a “function library” that can be applied to a variety of programming languages and contains hundreds of functions calling interfaces. Table 1 lists the parallel environment-related library functions used in the programming process.
In parallel inversion, the main process communicates with sub-processes. The sub-processes communicate with each other, and transmit messages and data, including three parts: message assembly, message passing, and message receiving. Table 2 shows the library functions related to communication.
The MPI parallel algorithm significantly improves computational efficiency through the synchronous allocation of tasks across multiple processes. It includes both peer-to-peer and master–slave modes. In the peer-to-peer mode, all processes contribute to completing a portion of the assigned tasks. In the master–slave mode, processes are divided into master and slave processes. The master process is responsible for task allocation, message transmission, and data collection, whereas the slave processes execute the assigned tasks. In this study, the master–slave mode is selected. Suppose that there are 4 field sources, and that 10 data points are observed for each field source. N processes are used for calculations using MPI, with each process assigned 40/N field source calculation tasks. Finally, the MPI parallel algorithm is integrated into the inversion algorithm, forming a 3D time-lapse inversion MPI parallel algorithm suitable for combined data from multiple devices via the resistivity method. The MPI parallel inversion flow chart for the resistivity method is shown in Figure 3.
The flow chart can be briefly summarized in the following steps:
(1) The initial conductivity is inputted, and the necessary parameters for inversion are set.
(2) The main process collects and assigns tasks to slave processes.
(3) The calculation of the forward response between the master and slave processes is synchronized, and the computation of the objective function and gradient continues.
(4) The main process collects the results from all the processes.
(5) The update direction is calculated, and the step size is determined.
(6) The conductivity model is updated.
(7) The iteration termination criteria are checked. If the criteria are met, the iteration terminates; if not, the iteration continues.
(8) The termination criteria of inversion are when the data misfit is below a predefined threshold or the number of iterations reaches a set limit. The formula for calculating the misfit (root mean square, RMS) is as follows:
R M S = D ρ , o b s F M σ T V σ 1 D ρ , o b s F M σ N ,
where N is the number of data points.
In this study, the termination condition is set such that RMS is less than 1 or the number of iterations is greater than 100.

3. Synthetic Example Tests

3.1. Theoretical Model and Forward Modeling Response

The time-lapse resistivity method is commonly used to monitor the migration process of underground fluid, in which the fluid often migrates from one geological unit to another with groundwater. In this study, a time-lapse model is established to simulate the fluid migration process.
Figure 4 shows the sections of the time-lapse model. The anomalous bodies in the time-lapse model are two low-resistance prisms. The left prism remains unchanged, whereas the prism on the right diffuses along the positive direction of the X-axis, simulating the continuous migration of underground fluids over time. The time-lapse model includes three different time points, labeled T1, T2, and T3. A schematic diagram of the model in the X–Z and X–Y directions at these three times is shown from left to right. The resistivity of background A is 100 Ω·m, whereas the resistivities of abnormal bodies B1 and B2 are 10 Ω·m. The size of B1 is fixed, with dimensions of 5 m in the X-direction, 6 m in the Y-direction, and 5 m in the Z-direction. The distance between B1 and B2 is 6 m. B2 remains fixed at 6 m in the Y-direction and 5 m in the Z-direction, but its size in the X-direction increases over time, reaching 4 m, 5 m, and 6 m at T1, T2, and T3, respectively.
The same observation system was used for forward modeling of the time-lapse model at T1, T2, and T3. Figure 5 shows a schematic diagram of the observation system. The three-pole device is used for measurement on the ground surface. The electrodes are arranged as a rectangular square array, the red triangle represents the position of the transmitting electrode, the blue dot represents the position of the receiving electrode, and the black solid line box represents the projection of the anomalous bodies B1 and B2 on the ground surface. When each transmitting electrode is powered, all adjacent receiving electrodes in the X-direction are activated to ensure that enough information in the three-dimensional space is obtained. Gaussian-random errors of 5%, 5%, and 20% were added to the observation data at T1, T2, and T3, respectively, which simulated significant noise disturbance in the data. At last, there were a total of 194 sources, with 23,760 data points obtained at a single time, and 71,280 data points obtained at three times.
The forward modeling and inversion use the same grid generation method, which is obtained through many forward and inversion tests. First, we must ensure that all the transmitting and receiving electrodes are on the grid nodes; second, infinity is set to more than 3 times the size of the observation area; finally, we must ensure that there are at least 1–2 lines with 3–5 points on each line above the anomalous body.

3.2. MPI Parallel Calculation Efficiency

We evaluate the computational efficiency of the three-dimensional MPI parallel inversion via the time-lapse resistivity method. Taking the above synthetic data as an example, with consistent grid division, inversion of the initial model, and observation data errors, the program was executed using 5, 10, 20, 30, and 40 processes, respectively, and the times of the serial program were compared. Table 1 shows the running times of the serial program and the MPI parallel program.
As shown in Table 3, the relative acceleration ratio between the MPI parallel program and serial programs is not an integer multiple relationship. When the number of processes is 5, the acceleration ratio increases greatly. As the number of processes increases, the growth rate of the acceleration ratio decreases. When the number of processes is 40, the acceleration ratio is almost unchanged compared with when the number of processes 30. This has two causes. First, during the execution of parallel programs, data transfer between processes takes up time, decreasing efficiency. Second, only processes with high computational complexity such as forward response, objective functions, and gradients need to use MPI parallel computing; the other processes do not need to use MPI parallel programs. Overall, a reasonable number of processes can not only ensure the improvement of computing efficiency but also avoid the waste of computer processes. In practice, we should set the number of processes reasonably according to the specific number of sources.

3.3. Analysis of the Inversion Results

We performed both separate inversion and time-lapse inversion on the synthesized data. The final RMS values of single inversion and time-lapse inversion are 1.77 and 1.76, respectively. Compared with that of single inversion, the RMS of time-lapse inversion is slightly smaller because the RMS reflects only the degree of data fitting. In this study, we added high noise to the data, so the RMS value cannot accurately invert the true fitting degree of the true resistivity model.
Figure 6 and Figure 7 show the sections at Z = 8 m and Y = 0 m for the separate inversion and time-lapse inversion results, respectively. The black solid line in the figures represents the true location of the anomalous bodies.
The analysis of the results shown in Figure 6 and Figure 7 clearly reveals that the time-lapse inversion results are more similar in shape and resistivity values for anomalous bodies B1 and B2 at all three times than the separate inversion results are.
The results of the separate inversion and time-lapse inversion at the three times points were compared. At T1, the time-lapse inversion better approximates the shape and resistivity of anomalous body B2 than the separate inversion does. At T2, there is no significant change in the shape or resistivity of anomalous bodies B1 and B2 between the time-lapse and separate inversions. At T3, the separate inversion results are heavily influenced by noise, distorting the shapes of B1 and B2 and introducing false anomalies around the anomalous bodies. In contrast, the time-lapse inversion significantly reduces these distortions and eliminates most of the false anomalies.
To further assess the constraint effect of the time-lapse function, we computed the difference between adjacent time points for both the separate inversion results and the time-lapse inversion results, as shown in Figure 8 and Figure 9. The black solid line represents the model from the previous time step, and the area between the black solid line and the dotted line highlights the model changes relative to the previous time.
As shown in Figure 8 and Figure 9, the resistivity difference between adjacent times decreases after time-lapse inversion. At the Z = 8 m section, the resistivity of the T2–T1 model significantly decreases in the real change area after separate inversion, and the reduction range is larger than that in the real change area. The resistivity of the T3–T2 model changes in a disordered manner, which is inconsistent with the real change area and is caused mainly by the influence of high noise at T3. After time-lapse inversion, the variation ranges of the resistivities of the T2–T1 and T3–T2 models are on the right side of the real variation area, and the variation value is smaller, whereas the variation range of the resistivities of the T3–T2 models is more regular. At the Y = 0 m section, the resistivity of T2–T1 and T3–T2 decreases around B2 after separate inversion, and the variation range is larger than the real variation region. After time-lapse inversion, the variation range of the resistivity is smaller, and it is concentrated in the upper right of the real variation region.
To quantitatively evaluate the effect of time-lapse inversion, the model fitting difference δ is introduced to calculate the difference between the real model and the inversion result. The calculation of model fitting difference δ follows the calculation method of Moorkamp [19].
δ = 1 M p i = 1 M p m i i n v m i t r u e m i t r u e 2 ,
where m i t r u e represents the true model, m i i n v represents the result of the separate method or joint inversion, and M p represents the total number of grid cells underground. Table 4 shows the δ value statistics of the results of single inversion and time-lapse inversion. We can use (16) to calculate δ at three times.
Compared with those of the single inversion, the δ value at T1 decreases, the δ value at T2 increases, and the δ value at T3 decreases after time-lapse inversion. This is because the resistivity values at the three times in the time-lapse model have not recovered to the true value; with increasing B2 scale, the resistivity value decreases, and the time-lapse inversion results in closer values at those three times. At T1, the resistivity of B2 decreases and is closer to the true value, resulting in a decrease in the δ value at T1. At T2, the δ value increases because of the influence of high-noise data at T3. The influence of noise at T3 is suppressed by T2, and the δ value also decreases.
In summary, the inversion results of time-lapse inversion at adjacent times are more similar in value form and can still reflect the change in underground resistivity under high noise interference.

4. Conclusions

In this study, a three-dimensional inversion of the time-lapse resistivity method based on time-lapse function constraint theory was implemented, and an MPI parallel design was incorporated into the program.
Using synthetic data from the theoretical model, both separate inversion and time-lapse inversion were conducted to test the program. The MPI parallel design significantly reduces the program runtime, which is critical for geophysical monitoring. A comparison of the separate inversion results with the time-lapse inversion results reveals that the difference between the inversion results at adjacent times is smaller after time-lapse inversion, indicating that the shape of the inversion results at different times is closer to that of the true resistivity values. Especially in high-noise environments, time-lapse inversion effectively suppresses false anomalies at the boundaries and background of the model, demonstrating strong resistance to interference and the ability to reflect changes in underground resistivity. Overall, the parallel inversion program for time-lapse resistivity methods is shown to be reliable and superior.

Author Contributions

Conceptualization, D.Z.; methodology, D.Z. and Y.Y.; software, D.Z.; validation, D.Z. and L.W.; writing—original draft preparation, D.Z.; writing—review and editing, D.Z. and L.W.; supervision, Y.Y. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the National Basic Geological Survey of Oil and Gas (No. DD20240052).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The original contributions presented in the study are included in the article, further inquiries can be directed to the corresponding authors.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Attwa, M.; Günther, T.; Grinat, M.; Binot, F. Evaluation of DC, FDEM and IP resistivity methods for imaging perched saltwater and a shallow channel within coastal tidal flat sediments. J. Appl. Geophys. 2011, 75, 656–670. [Google Scholar] [CrossRef]
  2. López-González, A.E.; Tejero-Andrade, A.; Hernández-Martínez, J.L.; Prado, B. Induced Polarization and Resistivity of Second Potential Differences (SPD) with Focused Sources Applied to Environmental Problems. J. Environ. Eng. Geophys. 2019, 24, 49–61. [Google Scholar] [CrossRef]
  3. Douglas, Y.; Oldenburg, D. DC resistivity and IP methods in acid mine drainageproblems results from the Copper Cliff mine tailings impoundments. J. Appl. Geophys. 1996, 34, 187–198. [Google Scholar]
  4. Robinson, J.; Buda, A.; Collick, A.; Shober, A.; Ntarlagiannis, D.; Bryant, R.; Folmar, G.; Andres, S.; Slater, L. Electrical monitoring of saline tracers to reveal subsurface flow pathways in a flat ditch-drained field. J. Hydrol. 2020, 586, 124862. [Google Scholar] [CrossRef]
  5. Daily, W.; Ramirez, A.; LaBrecque, D.; Nitao, J. Electrical resistivity tomography of vadose water movement. Water Resour. Res. 1992, 28, 1429–1442. [Google Scholar] [CrossRef]
  6. Cassiani, G.; Bruno, V.; Villa, A.; Fusi, N.; Binley, A.M. A saline trace test monitored via time-lapse surface electrical resistivity tomography. J. Appl. Geophys. 2006, 59, 244–259. [Google Scholar] [CrossRef]
  7. LaBrecque, D.J.; Yang, X. Difference Inversion of ERT Data:a Fast Inversion Method for 3-D In Situ Monitoring. J. Environ. Eng. Geophys. 2001, 6, 83–89. [Google Scholar] [CrossRef]
  8. Oldenborger, G.A.; Knoll, M.D.; LaBrecque, D.J. Time-lapse ERT monitoring of an injection/withdrawal experiment in a shallow unconfined aquifer. Geophysics 2007, 72, 177–187. [Google Scholar] [CrossRef]
  9. Miller, C.R.; Routh, P.S.; Brosten, T.R.; McNamara, J.P. Application of Time-Lapse ERT Imaging to Watershed Characterization. Geophysics 2008, 73, 7–17. [Google Scholar]
  10. Kim, K.J.; Cho, I.K. Time-lapse inversion of 2D resistivity monitoring data with a spatially varying cross-model constraint. J. Appl. Geophys. 2011, 74, 114–122. [Google Scholar]
  11. Zhu, D.; Tan, H.; Peng, M.; Wang, T. Three-Dimensional Joint Inversion of the Resistivity Method and Time-Domain-Induced Polarization Based on the Cross-Gradient Constraints. Appl. Sci. 2023, 13, 8145. [Google Scholar] [CrossRef]
  12. Ma, H.; Guo, Y.; Wu, P.; Tan, H. 3-D joint inversion of multi-array data set in the resistivity method based on MPI parallel algorithm. Chin. J. Geophys. 2018, 61, 5052–5065. [Google Scholar]
  13. Ma, H. Study of DC and IP 3-D Nonlinear Conjugate Gradients Parallel Inversion Algorithm for the Different Record Layouts Combined Data. Ph.D. Thesis, China University of Geosciences (Beijing), Beijing, China, 2015. [Google Scholar]
  14. Kim, J.H.; Supper, R.; Tsourlos, P.; Yi, M.J. Four-dimensional inversion of resistivity monitoring data through Lp norm minimizations. Geophys. J. Int. 2013, 195, 1640–1656. [Google Scholar] [CrossRef]
  15. Loke, M.H.; Dahlin, T.; Rucker, D.F. Smoothness-constrained time-lapse inversion of data from 3D resistivity surveys. Near Surf. Geophys. 2013, 12, 5–24. [Google Scholar]
  16. Farquharson, C.G.; Oldenburg, D.W. Non-linear inversion using general measures of data misfit and model structure. Geophys. J. Int. 1998, 134, 213–227. [Google Scholar]
  17. Xu, Y.; Yang, P.; Dong, F. An extended L-curve method for choosing a regularization parameter in electrical resistance tomography. Meas. Sci. Technol. 2016, 27, 114002. [Google Scholar] [CrossRef]
  18. Egbert, G.D.; Kelbert, A. Computational recipes for electromagnetic inverse problems. Geophys. J. Int. 2012, 189, 251–267. [Google Scholar] [CrossRef]
  19. Moorkamp, M.; Heincke, B.; Jegen, M.; Roberts, A.W. A framework for 3-D joint inversion of MT, gravity and seismic refraction data. Geophys. J. Int. 2011, 184, 477–493. [Google Scholar]
Figure 1. The vertical contact band model.
Figure 1. The vertical contact band model.
Applsci 15 03885 g001
Figure 2. Apparent resistivity curve between analytical solution and finite difference method.
Figure 2. Apparent resistivity curve between analytical solution and finite difference method.
Applsci 15 03885 g002
Figure 3. MPI parallel inversion flow chart of the resistivity method.
Figure 3. MPI parallel inversion flow chart of the resistivity method.
Applsci 15 03885 g003
Figure 4. The sections of time-lapse model. The three columns from left to right represent the models at three times. The top panels (a) are schematic diagrams in the X-Z direction at T1, T2, and T3, and the bottom panels (b) are schematic diagrams in the X-Y direction at T1, T2, and T3. The resistivity value of background A is 100 Ω·m, and the resistivity of abnormal bodies B1 and B2 is 10 Ω·m. The direction of the red arrow represents the change direction of B2.
Figure 4. The sections of time-lapse model. The three columns from left to right represent the models at three times. The top panels (a) are schematic diagrams in the X-Z direction at T1, T2, and T3, and the bottom panels (b) are schematic diagrams in the X-Y direction at T1, T2, and T3. The resistivity value of background A is 100 Ω·m, and the resistivity of abnormal bodies B1 and B2 is 10 Ω·m. The direction of the red arrow represents the change direction of B2.
Applsci 15 03885 g004
Figure 5. Schematic diagram of the observation system. The red circle triangles denote transmitters, the blue dots denote receivers, and the black rectangle denotes the projection of the prism on the surface.
Figure 5. Schematic diagram of the observation system. The red circle triangles denote transmitters, the blue dots denote receivers, and the black rectangle denotes the projection of the prism on the surface.
Applsci 15 03885 g005
Figure 6. The sections at Z = 8 m from separate inversion and time-lapse inversion of synthetic data. The separate inversion results are shown in the first column, and the time-lapse inversion results are shown in the second column; the top to bottom panels of (ac) are schematic diagrams at T1, T2, and T3, respectively.
Figure 6. The sections at Z = 8 m from separate inversion and time-lapse inversion of synthetic data. The separate inversion results are shown in the first column, and the time-lapse inversion results are shown in the second column; the top to bottom panels of (ac) are schematic diagrams at T1, T2, and T3, respectively.
Applsci 15 03885 g006
Figure 7. The sections at Y = 0 m from separate inversion and time-lapse inversion of synthetic data. The separate inversion results are shown in the first column, and the time-lapse inversion results are shown in the second column; the top to bottom panels of (ac) are schematic diagrams at T1, T2, and T3, respectively.
Figure 7. The sections at Y = 0 m from separate inversion and time-lapse inversion of synthetic data. The separate inversion results are shown in the first column, and the time-lapse inversion results are shown in the second column; the top to bottom panels of (ac) are schematic diagrams at T1, T2, and T3, respectively.
Applsci 15 03885 g007
Figure 8. The sections of resistivity difference with adjacent time at Z = 8 m in the results of separate inversion and time-lapse inversion of synthetic data. The top panels (a) are schematic diagrams of T2–T1, and the bottom panels (b) are schematic diagrams of T3–T2.
Figure 8. The sections of resistivity difference with adjacent time at Z = 8 m in the results of separate inversion and time-lapse inversion of synthetic data. The top panels (a) are schematic diagrams of T2–T1, and the bottom panels (b) are schematic diagrams of T3–T2.
Applsci 15 03885 g008
Figure 9. The sections of resistivity difference with adjacent time at Y = 0 m in the results of separate inversion and time-lapse inversion of synthetic data. The top panels (a) are schematic diagrams of T2–T1, and the bottom panels (b) are schematic diagrams of T3–T2.
Figure 9. The sections of resistivity difference with adjacent time at Y = 0 m in the results of separate inversion and time-lapse inversion of synthetic data. The top panels (a) are schematic diagrams of T2–T1, and the bottom panels (b) are schematic diagrams of T3–T2.
Applsci 15 03885 g009
Table 1. The parallel environment-related library functions used in the programming process.
Table 1. The parallel environment-related library functions used in the programming process.
Function NameFunctions
MPI_INITInitializes all MPI programs.
MPI_FINALIZEFinalizes all MPI programs.
MPI_COMM_RANKReturns the identification number for calling a process in a given communication domain, distinguishing different processes from other processes.
MPI_COMM_SIZEReturns the number of included processes in a given communication domain.
Table 2. Library functions related to communication.
Table 2. Library functions related to communication.
Function NameFunctions
MPI_SENDSends the data in the buffer to the destination child process.
MPI_RECVReceives information from the specified process.
MPI_BCASTSends a message from the main process to all child processes in the group that includes itself.
MPI_ ALLGATHERMake each child process collect data from all other processes.
Table 3. Comparison of the running time of the serial program and the MPI parallel program.
Table 3. Comparison of the running time of the serial program and the MPI parallel program.
Type of ProgramNumber of ProcessesRunning Time
/Minutes
Acceleration Ratio
Serial program1487.261
MPI parallel program5124.33.92
1064.627.54
2036.7712.98
3032.4615.04
4031.3215.56
Table 4. The δ value of separate inversion and time-lapse inversion.
Table 4. The δ value of separate inversion and time-lapse inversion.
ParameterModelSeparate InversionTime-Lapse Inversion
δ T16.155.95
T25.415.48
T35.354.12
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Zhu, D.; Yang, Y.; Wen, L. Three-Dimensional Inversion of the Time-Lapse Resistivity Method on the MPI Parallel Algorithm. Appl. Sci. 2025, 15, 3885. https://doi.org/10.3390/app15073885

AMA Style

Zhu D, Yang Y, Wen L. Three-Dimensional Inversion of the Time-Lapse Resistivity Method on the MPI Parallel Algorithm. Applied Sciences. 2025; 15(7):3885. https://doi.org/10.3390/app15073885

Chicago/Turabian Style

Zhu, Depeng, Youxing Yang, and Lei Wen. 2025. "Three-Dimensional Inversion of the Time-Lapse Resistivity Method on the MPI Parallel Algorithm" Applied Sciences 15, no. 7: 3885. https://doi.org/10.3390/app15073885

APA Style

Zhu, D., Yang, Y., & Wen, L. (2025). Three-Dimensional Inversion of the Time-Lapse Resistivity Method on the MPI Parallel Algorithm. Applied Sciences, 15(7), 3885. https://doi.org/10.3390/app15073885

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop