摘要
在各向异性、起伏地形、真实地质模型电法模拟中,经自适应有限元离散后形成的大型稀疏线性系统存在内存消耗高、求解效率低等缺陷。为此,提出了聚合型代数多重网格(AGMG)法与自适应有限元法的联合算法,在提高正演精度的同时提升计算效率,实现复杂模型三维直流电法大规模正演模拟。对于三维直流电法满足的二阶椭圆边值问题,采用非结构化四面体网格的有限元法离散,并通过自适应策略进行局部加密,再利用AGMG法求解离散形成的大规模稀疏线性方程组。最后,通过复杂地电模型和实际地质模型验证了联合算法的有效性。在千万级自由度的求解中,联合算法比传统迭代法快了20多倍,比代数多重网格法快了近10倍,随着模型复杂度的提高,联合算法的效率优势更加明显。
直流电法的数值模拟方法有很
多重网格(MG)作为一种快速求解器,在数学上已被证实是求解椭圆型偏微分方程的最有效方法之一,现已被广泛应用于地球物理领
综上所述,针对复杂模型(含各向异性、起伏地表、复杂异常体等)正演效率低的问题,提出了AGMG法和自适应有限元法的联合算法。采用非结构四面体网格对计算区域进行剖分,利用基于非结构化网格的自适应有限元法对控制方程进行离散;结合边界条件生成大型稀疏线性方程组,引入AGMG法高效求解该线性系统。最后,通过理论模型与实际地质模型验证AGMG法的有效性、稳定性和收敛性等。
直流电法勘探是基于地下岩石和矿石的电阻率差异进行的。直流电在地下传输时,会遇到不同电阻率地层,从而产生电位差。通过测量电极间电位差,可获得与地质体有关的直流电场分布,进而推断地下电性结构和岩层分布等信息。取平面为水平地表,轴垂直向下,三维直流电阻率正演问题可由以下二阶椭圆方程混合边值问题描
(1) |
式中:为待求的未知电位;为电流源的位置,其电流大小为;为有界求解区域且,、上任一位置记为;为狄拉克函数;为边界的法向量;为地下介质的电导率。若地下介质为均匀各向同性时,则且为常数;若地下介质呈现各向异性时,为对称正定的电导率张量,且电导率张量与电阻率张量满足,则。对任一电导率张量,可由主轴电导率经过3次欧拉旋转计算得到,即:
(2) |
式中:为主轴电导率;,其中、、分别为走向角、倾角、倾斜角的旋转矩阵,具体表达式可参考文献[
AGMG
考虑的大型稀疏线性方程组
(3) |
式中:、分别为联合算法离散后的系数矩阵和右端项;为待求未知数,粗节点集合为的子集。假设细节点的个数为(即的个数),粗节点的个数为,矩阵为由细节点至粗节点的限制算子(即一个的矩阵)。通过Galerkin形式得到粗节点下的矩阵
(4) |
为一个插值算子,限制算子的转置。
由于AGMG法粗化中形成的聚类是互不相交的子集,因此矩阵可以被定义为布尔矩阵
(5) |
每行只有一个非零元素。
定义1 记集合为全体节点集,集合为细节点集,集合为粗节点集。
定义2 对某一特定节点,若对任意给定的节点满足
(6) |
则称为节点在集合上的邻接集,其中为矩阵中的元素。
定义3 对某一特定节点,若对任意给定的节点满足
(7) |
则为节点的强耦合集,其中为阈值,在[0,1]之间(通常取0.25最优)。记为节点的测度(即集合中元素的个数)。
以

图1 AGMG粗化
Fig.1 AGMG coarsening
AGMG法与经典AMG法在粗化方式和插值算子的构建上存在以下不同:
(1)在粗化方式上,AGMG粗化以聚类方式划分粗细节点,聚类之间互不相交,如
(2)在插值算子上,AGMG法的插值算子为布尔矩阵,即每行只有一个非零元素(见
(8) |
经过一系列转化可得到,其中为相应权重。以自由度为8 024 268的方程组为例,分别采用经典AMG法和AGMG法进行粗化。由

图2 AGMG法与经典AMG法的粗化对比
Fig.2 Comparison of coarsening between AGMG and classical AMG methods
在数值实验中,将自适应有限元法和AGMG法联合,完成三维直流电法正演模拟,并验证联合算法在复杂地形和各向异性模型下的有效性。对求解区域分别采用TetGen和ParaView软件进行四面体网格生成与可视化,利用自适应有限元离散生成大 型线性方程组,并采用AGMG、Hypre‒AM
模型一为球体模

图3 球体异常体模型
Fig.3 Spherical anomaly model
利用自适应加密技术对计算区域进行剖分,在球体及源电极附近网格越来越密,剖分后的网格图由ParaView软件绘制。

图4 四面体网格自适应加密示意图
Fig.4 Schematic diagram of adaptive tetrahedral mesh refinement
对不同的自适应网格误差,分别采用4种不同的求解器计算最密网格下的大规模线性系统,相同停机标准(相对残差小于1
自由度 | SSOR‒CG法 | Hypre‒AMG‒CG法 | Hypre‒AMG法 | AGMG法 | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
迭代次数 | 时间/s | 内存/GB | 迭代次数 | 时间/s | 内存/GB | 迭代次数 | 时间/s | 内存/GB | 迭代次数 | 时间/s | 内存/GB | |
206 069 | 205 | 6.55 | 0.5 | 7 | 7.42 | 0.5 | 19 | 7.13 | 0.5 | 12 | 0.98 | 0.1 |
1 945 747 | 441 | 154.30 | 5.2 | 8 | 113.97 | 4.3 | 24 | 166.64 | 4.9 | 12 | 11.67 | 1.3 |
8 024 268 | 719 | 1 152.23 | 14.8 | 8 | 554.69 | 17.4 | 25 | 571.59 | 17.6 | 13 | 57.14 | 5.4 |
11 686 326 | 774 | 1 951.66 | 31.2 | 8 | 851.59 | 24.7 | 23 | 849.75 | 24.4 | 13 | 88.08 | 7.2 |
13 568 104 | 808 | 2 396.10 | 36.8 | 8 | 991.79 | 27.9 | 25 | 1 018.51 | 28.5 | 13 | 102.16 | 9.2 |

图5 不同自由度下的数值对比
Fig.5 Numerical comparisons between different degrees of freedom

图6 不同算法视电阻率计算结果
Fig.6 Apparent resistivity calculation results of different algorithms
法求解过程中,将每一层网格的视电阻率数值解与精确解进行对比,随着网格不断加密,数值解越来越逼近精确解。
各向异性层状模型(2 000 m×2 000 m×2 000 m)如

图7 各向异性层状模型
Fig.7 Anisotropic layered model
与球体模型类似,4种求解器计算结果如
自由度 | SSOR‒CG法 | Hypre‒AMG‒CG法 | Hypre‒AMG法 | AGMG法 | ||||
---|---|---|---|---|---|---|---|---|
迭代次数 | 时间/s | 迭代次数 | 时间/s | 迭代次数 | 时间/s | 迭代次数 | 时间/s | |
217 400 | 248 | 16.54 | 7 | 8.34 | 20 | 8.28 | 15 | 1.34 |
897 180 | 389 | 136.36 | 8 | 55.87 | 22 | 54.98 | 15 | 7.12 |
1 693 175 | 480 | 655.72 | 8 | 125.07 | 23 | 126.10 | 15 | 14.40 |
8 193 852 | 814 | 6 197.55 | 9 | 1 001.81 | 26 | 1 007.83 | 15 | 113.79 |
在自适应加密过程中,将初始网格、第2次加密和第4次加密的视电阻率数值解与精确解进行对比。

图8 不同网格视电阻率计算结果
Fig.8 Apparent resistivity calculation results of different meshes
考虑如

图9 复杂地形结构示意图
Fig.9 Illustration of complex terrain structure
如
自由度 | SSOR‒CG法 | Hypre‒AMG‒CG法 | Hypre‒AMG法 | AGMG法 | ||||
---|---|---|---|---|---|---|---|---|
迭代次数 | 时间/s | 迭代次数 | 时间/s | 迭代次数 | 时间/s | 迭代次数 | 时间/s | |
105 025 | 177 | 2.32 | 7 | 2.92 | 18 | 2.87 | 12 | 0.45 |
156 545 | 203 | 4.56 | 7 | 5.01 | 20 | 5.04 | 12 | 0.75 |
894 432 | 374 | 58.66 | 7 | 42.46 | 22 | 44.16 | 17 | 5.84 |
5 060 274 | 648 | 608.57 | 8 | 324.44 | 23 | 325.80 | 19 | 42.52 |
8 864 454 | 791 | 1 445.82 | 8 | 705.06 | 24 | 751.81 | 19 | 88.49 |
在自适应加密过程中,绘制沿平面的地表视电阻率切面图(见

图10 起伏地形下视电阻率剖面
Fig.10 Apparent resistivity profile of rolling terrain

图11 各向异性起伏地形模型
Fig.11 Anisotropy model within rolling terrain
不同自适应加密环境下,最密网格中的大规模线性方程组在不同迭代方法上的计算结果如
自由度 | SSOR‒CG法 | Hypre‒AMG‒CG法 | Hypre‒AMG法 | AGMG法 | ||||
---|---|---|---|---|---|---|---|---|
迭代次数 | 时间/s | 迭代次数 | 时间/s | 迭代次数 | 时间/s | 迭代次数 | 时间/s | |
206 802 | 252 | 14.13 | 7 | 6.41 | 27 | 7.92 | 15 | 1.12 |
284 386 | 285 | 29.13 | 7 | 10.00 | 27 | 11.67 | 15 | 1.67 |
670 087 | 376 | 116.38 | 7 | 31.08 | 28 | 36.68 | 15 | 4.65 |
1 229 565 | 465 | 350.15 | 8 | 70.64 | 29 | 85.29 | 15 | 9.22 |
为了进一步验证联合算法处理复杂问题的能力,以安徽省泥河铁矿真实地质模
岩性单元 | 视电阻率/() |
---|---|
上双庙组(USF) | 552.0 |
下双庙组(LSF) | 495.0 |
砖桥组(BBF) | 624.0 |
闪长玢岩(DP) | 800.0 |
磁铁矿(MG) | 12.5 |
黄铁矿(PR) | 8.0 |
真实地质模型计算结果如
自由度 | SSOR‒CG法 | Hypre‒AMG‒CG法 | Hypre‒AMG法 | AGMG法 | ||||
---|---|---|---|---|---|---|---|---|
迭代次数 | 时间/s | 迭代次数 | 时间/s | 迭代次数 | 时间/s | 迭代次数 | 时间/s | |
146 618 | 148 | 3.62 | 7 | 5.27 | 17 | 4.93 | 12 | 0.73 |
1 208 988 | 301 | 68.85 | 8 | 69.40 | 18 | 60.77 | 12 | 6.82 |
9 153 622 | 557 | 1 057.09 | 8 | 657.38 | 20 | 593.40 | 12 | 67.49 |
40 896 890 | 828 | 8 905.53 | 8 | 3 456.72 | 21 | 3 257.59 | 13 | 372.51 |

图12 真实地形下视电阻率剖面
Fig.12 Apparent resistivity profile of real topography
可以看出,随着网格的不断加密,视电阻率等值线所围成的区域越来越清晰。同时,随着剖面深度增加,低阻部分区域逐渐清晰起来,在z=-450 m处可清晰地看到低阻的等值线,与真实地质模型的2个矿床相吻合。
(1)当正演得到的线性方程组未知数达千万量级时,AGMG法比SSOR‒CG法快20多倍,比
Hypre‒AMG‒CG法快近10倍。
(2)不论是各向异性模型,还是起伏地形或真实地质模型,随着AGMG法迭代的进行,相对残差快速下降,展现出很强的鲁棒性和可扩展性。
(3)AGMG法继承了GMG法的优点,不依赖实际几何网格,有望在其他地球物理大规模正反演问题中得到广泛应用。
作者贡献声明
潘克家:研究选题,研究思路提供,论文撰写指导。
王鹏德:数值计算,论文整体撰写。
胡双贵:论文整体结构安排及修改。
王晋轩:算法对比实验指导。
邱乐稳:提供层状各向异性模型及起伏各向异性模型等实验数据。
汤井田:提供真实地质模型等实验数据。
参考文献
DEMIRCI I, ERDOGAN E, CANDANSAYAR M E. Incorporating topography into 2D resistivity modeling using finite-element and finite-difference approaches[J]. Geophysics, 2008, 73(3): F135. [百度学术]
SAPUZHAK Y S, ZHURAVCHAK L M. The technique of numerical solution of 2D direct current modelling problem in inhomogeneous media[J]. Acta Geophysica Polonica, 1999, 47(2): 149. [百度学术]
WU X. A 3-D finite-element algorithm for DC resistivity modelling using the shifted incomplete Cholesky conjugate gradient method[J]. Geophysical Journal International, 2003, 154(3): 947. [百度学术]
任政勇, 汤井田, 潘克家,等. 直流电阻率有限单元法及进展[M]. 北京:科学出版社, 2017. [百度学术]
REN Zhengyong, TANG Jingtian, PAN Kejia, et al. Direct current resistivity finite element method and its progress[M]. Beijing: China Science Publishing & Media Ltd., 2017. [百度学术]
鲁晶津, 吴小平, SPITZER K. 直流电阻率三维正演的代数多重网格方法[J]. 地球物理学报, 2010, 53(3): 700. [百度学术]
LU Jingjin, WU Xiaoping, SPITZER K. Algerbraic multigrid method for 3D DC resistivity modelling[J]. Chinese Journal of Geophysics, 2010, 53(3):700. [百度学术]
徐世浙. 地球物理中的有限单元法[M]. 北京:科学出版社, 1994. [百度学术]
XU Shizhe. The finite element method in geophysics[M]. Beijing: China Science Publishing & Media Ltd.,1994. [百度学术]
LI Y, SPITZER K. Three-dimensional DC resistivity forward modelling using finite elements in comparison with finite-difference solutions[J]. Geophysical Journal International, 2002, 151(3): 924. [百度学术]
ZHOU B, GREENHALGH S A. Finite element three-dimensional direct current resistivity modelling: accuracy and efficiency considerations[J]. Geophysical Journal International, 2001, 145(3): 679. [百度学术]
任政勇, 汤井田. 基于局部加密非结构化网格的三维电阻率法有限元数值模拟[J]. 地球物理学报, 2009, 52(10): 2627. [百度学术]
REN Zhengyong, TANG Jingtian. Finite element modeling of 3D DC resistivity using locally refined unstructured meshes[J]. Chinese Journal of Geophysics, 2009, 52(10):2627. [百度学术]
阮百尧, 熊彬. 电导率连续变化的三维电阻率测深有限元模拟[J]. 地球物理学报, 2002, 45(1): 131. [百度学术]
RUAN Baiyao, XIONG Bin. A finite element modeling of three-dimensional resistivity sounding with continuous conductivity[J]. Chinese Journal of Geophysics, 2002, 45(1): 131. [百度学术]
ZIENKIEWICZ O C, ZHU J Z. Super-convergent patch recovery and a posteriori error estimates. Part 1: the recovery technique[J]. International Journal for Numerical Methods in Engineering, 1992, 33(7):1331. [百度学术]
REN Z, TANG J. 3-D direct current resistivity modeling with unstructured mesh by adaptive finite-element method[J]. Geophysics, 2010, 75(1): H7. [百度学术]
REN Z, QIU L, TANG J, et al. 3D direct current resistivity anisotropic modelling by goal-oriented adaptive finite element methods[J]. Geophysical Journal International, 2018, 212: 76. [百度学术]
殷长春, 杨志龙, 刘云鹤, 等.基于环形扫面测量的三维直流电阻率法任意各向异性模型响应特征[J]. 吉林大学学报(地球科学版), 2018, 48(3): 872. [百度学术]
YIN Changchun, YANG Zhilong, LIU Yunhe, et al. Characteristics of 3D DC resistivity response for arbitary anisotropic models using circular scanning measurement[J]. Journal of Jilin University(Earth Science Edition), 2018, 48(3): 872. [百度学术]
MOUCHA R, BAILEY R C. An accurate and robust multigrid algorithm for 2D forward resistivity modelling[J]. Geophysical Prospecting, 2004, 52(3): 197. [百度学术]
PAN K, HE D, HU H, et al. A new extrapolation cascadic multigrid method for three dimensional elliptic boundary value problems[J]. Journal of Computational Physics, 2017, 344: 499. [百度学术]
PAN K, TANG J. 2.5D and 3-D DC resistivity modelling using an extrapolation cascadic multigrid method[J]. Geophysical Journal International, 2014, 197(3): 1459. [百度学术]
潘克家, 汤井田, 胡宏伶, 等. 直流电阻率法2.5维正演的外推瀑布式多重网格法[J]. 地球物理学报, 2012, 55(8): 2769. [百度学术]
PAN Kejia, TANG Jingtian, HU Hongling, et al. Extrapolation cascadic multigrid method for 2.5D direct current resistivity modeling[J]. Chinese Journal of Geophysics, 2012, 55(8): 2769. [百度学术]
TANG J, WANG F, REN Z, et al. 3-D direct current resistivity forward modeling by adaptive multigrid finite element method[J]. Journal of Central South University of Technology, 2010, 17(3): 587. [百度学术]
SANG T, HYOUNG G. A meshless geometric multigrid method based on a node-coarsening algorithm for the linear finite element discretization[J]. Computers and Mathematics with Applications, 2021, 96:31. [百度学术]
YE Z, HU X, PAN W. A multigrid preconditioner for spatially adaptive high-order meshless method on fluid-solid interaction problems[J]. Computer Methods in Applied Mechanics and Engineering, 2022, 400: 115506. [百度学术]
NOTAY Y. An aggregation-based algebraic multigrid method[J]. Electronic Transactions on Numerical Analysis, 2010, 37: 123. [百度学术]
NOTAY Y. Aggregation-based algebraic multigrid for convection-diffusion equations[J]. SIAM Journal of Scientific Computing, 2012, 34(4): A2288. [百度学术]
CHEN H, DENG J, YIN M, et al. Three-dimensional forward modeling of DC resistivity using the aggregation-based algebraic multigrid method[J]. Applied Geophysics, 2017, 14(1): 154. [百度学术]
陈辉, 尹敏, 殷长春, 等. 大地电磁三维正演聚集多重网格算法[J]. 吉林大学学报 (地球科学版), 2018, 48(1): 261. [百度学术]
CHEN Hui, YIN Min, YIN Changchun, et al. Three dimensional magnetotelluric modeling using aggregation-based algerbeaic multigrid method[J]. Journal of Jilin University(Earth Science Edition), 2018, 48(1): 261. [百度学术]
朱姣, 殷长春, 任秀艳,等. 任意各向异性介质三维非结构谱元法直流电阻率正演模拟研究[J]. 地球物理学报, 2021, 64(12): 4644. [百度学术]
ZHU Jiao, YIN Changchun, REN Xiuyan, et al. DC resistivity forward modelling for arbitrarily anisotropic media using the unstructured spectral element method[J]. Chinese Journal of Geophysics, 2021, 64(12): 4644. [百度学术]
BIBBY H M. Analysis of multiple-source bipole quadripole resistivity surveys using the apparent resistivity tensor[J]. Geophysics, 1986, 51(4): 972. [百度学术]
Lawrence Livermore National Security. HYPRE: scalable linear solvers and multigrid methods [EB/OL]. [2022-10-20]. http://www.llnl.gov/casc/hypre/. [百度学术]
REN Z, CHEN H, TANG J, et al. A volume-surface integral approach for direct current resistivity problems with topography[J]. Geophysics, 2018, 83(5): E293. [百度学术]
任政勇, 邱乐稳, 汤井田, 等. 基于电流密度连续性条件的直流电阻率各向异性问题自适应有限元模拟[J]. 地球物理学报, 2018, 61(1): 331. [百度学术]
REN Zhengyong, QIU Lewen, TANG Jingtian, et al. 3D modeling of direct-current anisotropic resistivity using the adaptive finite-element method based on continuity of current density[J]. Chinese Journal of Geophysics, 2018, 61(1): 331. [百度学术]
LIU Zhengguang, REN Zhengyong, YAO Hongbo, et al. A parallel adaptive finite-element approach for three-dimensional realistic controlled-source electromagnetic problems using hierarchical tetrahedral grids[J]. Geophysical Journal International, 2023, 232: 1866. [百度学术]