Next Article in Journal
Determination of Potentially Harmful Element (PHE) Distribution in Water Bodies in Krugersdorp, a Mining City in the West Rand, Gauteng Province, South Africa
Next Article in Special Issue
Application of the AMT Method to Gold Deposits: A Case Study in the Qinling Metallogenic Belt of North China Craton
Previous Article in Journal
The Development History and Latest Progress of Deep-Sea Polymetallic Nodule Mining Technology
Previous Article in Special Issue
Prospecting Potential of the Yanjingou Gold Deposit in the East Kunlun Orogen, NW China: Evidence from Primary Halo Geochemistry and In Situ Pyrite Thermoelectricity
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A FORTRAN Program to Model Magnetic Gradient Tensor at High Susceptibility Using Contraction Integral Equation Method

1
Guangxi Key Laboratory of Exploration for Hidden Metallic Ore Deposits, College of Earth Sciences, Guilin University of Technology, Guilin 541006, China
2
College of Geophysics, China University of Petroleum-Beijing, Beijing 102249, China
*
Author to whom correspondence should be addressed.
Minerals 2021, 11(10), 1129; https://doi.org/10.3390/min11101129
Submission received: 11 September 2021 / Revised: 8 October 2021 / Accepted: 12 October 2021 / Published: 14 October 2021

Abstract

:
The magnetic gradient tensor provides a powerful tool for detecting magnetic bodies because of its ability to emphasize detailed features of the magnetic anomalies. To interpret field measurements obtained by magnetic gradiometry, the forward calculation of magnetic gradient fields is always necessary. In this paper, we present a contraction integral equation method to simulate the gradient fields produced by 3-D magnetic bodies of arbitrary shapes and high susceptibilities. The method employs rectangular prisms to approximate the source region with the assumption that the magnetization in each element is homogeneous. The gradient fields are first solved in the Fourier domain and then transformed into the spatial domain by 2-D Gauss-FFT. This calculation is performed iteratively until the required accuracy is reached. The convergence of the iterative procedure is ensured by a contraction operator. To facilitate application, we introduce a FORTRAN program to implement the algorithm. This program is intended for users who show interests in 3D magnetic modeling at high susceptibility. The performance of the program, including its computational accuracy, efficiency and convergence behavior, is tested by several models. Numerical results show that the code is computationally accurate and efficient, and performs well at a wide range of magnetic susceptibilities from 0 SI to 1000 SI. This work, therefore, provides a significant tool for 3D forward modeling of magnetic gradient fields at high susceptibility.

1. Introduction

Magnetic surveying is a significant and widely used geophysical exploration technique. Using magnetic measurements, three kinds of data can be obtained: total magnetic intensity (TMI) data, three-components field data and full tensor magnetic gradient data [1]. Because of easy acquisition, the TMI data and the three-components data were most commonly measured in the past decades [2,3,4,5]. However, these measurements are seriously affected by the Earth’s background magnetic field and very sensitive to instrument orientation, hence not just functions of the target’s magnetic susceptibility [6]. Recently, full tensor magnetic gradient measurements become available with the development of SQUID-based sensors [1,4,7]. In comparison with the traditional magnetic field measurements, gradient measurements offer many potential advantages, which includes less sensitivity to instrument orientation, improved resolution of shallow targets, no necessity for base stations and diurnal corrections, and suppression of regional anomalies [4,8,9,10]. Mathematically, the gradient tensor is a second rank tensor with 3 × 3 = 9 components, which is defined by derivatives of the magnetic field vector in each of the three directions of three-dimensional space [11]. Each component of the gradient tensor represents a directional filter and hence makes certain structures and characteristics of the magnetic bodies more noticeable [10]. Therefore, the magnetic gradient tensor can work as a useful tool for detecting magnetic bodies by suppressing specific undesirable contributes and emphasizing certain features of the magnetic fields.
Magnetic forward modeling of gradient fields plays a significant role in the interpretation of field measurements obtained from magnetic gradiometry. During the past decades, various analytic and numerical methods have been developed to simulate magnetic fields. Generally, analytic methods are limited to provide closed-form field expressions for magnetic bodies with regular geometric shapes [12,13,14,15]. For magnetic anomalies with arbitrary and complex susceptibility distribution, numerical methods have to be used. The spatial-domain method is one of the most commonly used numerical methods for computing magnetic fields due to bodies of given shapes [16,17,18,19,20,21,22]. These methods often represent the magnetized body using a set of cells (such as cubical cells) and approximate the total field by the sum of the elementary fields [23,24]. One key limitation of the spatial-domain method is that its computational time dramatically increases with the size and complexity of the model. The frequency-domain method is another important approach to model magnetic anomalies [25,26,27]. This approach is performed in the frequency domain and thereby can achieve high computational efficiency by using fast Fourier transform techniques. On the whole, however, most existing numerical methods ignore the effects of self-demagnetization and are only applicable to magnetic bodies with low susceptibilities.
To overcome the problem, Ref. [28] develop an iterative method and use a segmented model consisting of spherical voxels with arbitrary diameter to calculate the magnetic fields at high susceptibilities through an iterative procedure. Ref. [29] conduct a comprehensive study of the self-demagnetization effects on magnetic data, and compare the capability of two existing inversion methods in interpretation of data from highly magnetic areas. More recently, Ref. [30] develop an efficient and accurate frequency-domain iterative method that can be used to simulate magnetic fields from magnetic bodies with arbitrary shapes in a wide range of magnetic susceptibilities (0∼1000 SI). This strategy is based on a contraction integral equation and can achieve fast convergence. Although these methods perform well at high susceptibilities, they mainly focus on the calculation of the magnetic fields, and take no account of the gradient tensor.
In this paper, we present an algorithm to compute the magnetic gradient fields produced by 3-D magnetic bodies of arbitrary shapes and high susceptibilities based on the contraction integral equation method developed by [30]. In order to simulate the magnetic gradient fields for high susceptibility and to facilitate application of the algorithm of [30], we develop a computer program using FORTRAN language. This FORTRAN program generates multi-component fields, which includes six components of the magnetic gradient tensor and three components of the magnetic field vector, and has a good performance at a wide range of magnetic susceptibilities ( 0 < χ 1000 SI ), particularly applicable for strongly magnetic bodies.
The remainder of the paper is organized as follows. In Section 2, the algorithm for calculating the magnetic gradient fields from strongly magnetic bodies is developed. Subsequently, a detailed introduction is given to the subroutines, inputs and outputs of the FORTRAN program. Then, in Section 4 the performance of the algorithm is tested using several simple models, and the applicability of the code is demonstrated with a synthetic two-dike model. In Section 5, some conclusions are drawn from the work.

2. Contraction Integral Equation Method

The full magnetic gradient tensor T can be obtained by taking derivatives of the magnetic vector B with respect to the coordinates x, y and z,
T = T x x T x y T x z T y x T y y T y z T z x T z y T z z = x B x x B y x B z y B x y B y y B z z B x z B y z B z
where x , y , and z denote the partial derivation with respect to x, y and z, respectively. B = μ 0 H and μ 0 is the permeability of free space. Using
H = U
we can also write T as
T = μ 0 x x 2 U x y 2 U x z 2 U x y 2 U y y 2 U y z 2 U x z 2 U y z 2 U z z 2 U
It is apparent from Equation (3) that the magnetic gradient tensor T is symmetric. This indicates that using six components of T , namely T x x , T y y , T z z , T x y , T x z and T y z , will be sufficient in the forward calculation. Actually, because of · B = 0 , the magnetic gradient tensor has only five independent components.
To obtain the gradient fields at high susceptibility, we will first calculate the anomalous magnetic fields using the iterative contraction integral equation method, and then derive frequency-domain expressions for the anomalous gradient tensor based on the resulting magnetic field vector in the following sections.

2.1. The Integral Equation

In a 3D Cartesian coordinate system with downward positive z direction, the integral equation with respect to the total magnetic field H can be written as [30]
H ( r ) = H 0 ( r ) + V G ( r , r ) · χ ( r ) H ( r ) d V
where r and r are the observation point and the source point in the source region, respectively. χ H denotes the magnetization M . G = G is the Green’s function tensor, ∇ is the gradient operator, and G = 1 1 ( 4 π | r r | ) ( 4 π | r r | ) is the scalar Green’s function, which satisfies the following differential equation,
2 G ( r , r ) = δ ( r r )
where δ denotes the Dirac delta function [19].
The anomalous fields are defined as
H a ( r ) = V G ( r , r ) · χ ( r ) H ( r ) d V
Equation (4) indicates that the total magnetic field H results from two parts: the background field H 0 , which is associated with the Earth’s magnetic field (EMF), and the anomalous fields H a , which results from magnetic bodies in the source region. In general, the anomalous fields can be neglected at low magnetic susceptibilities ( χ < 0.01 SI ) [31]. Thus, the magnetization reduces to M = χ H 0 in this case, and accurate solutions for the integral Equation (4) can be obtained by direct methods [32,33]. For high susceptibility, however, the induced magnetization from neighboring material significantly affects the magnetic field at any point in the medium, which consequently reduces the resultant magnetic field. This phenomenon is the so-called self-demagnetization [34]. In the case of large susceptibility, the demagnetization effect is significant and cannot be neglected. Therefore, the anomalous magnetic fields must be taken into consideration, and the integral Equation (4) has to be solved by an appropriate iterative procedure.

2.2. Iterative Scheme

To obtain magnetic fields at high susceptibilities, [30] developed a convergent iterative scheme that efficiently calculates accurate magnetic fields produced by strongly magnetic bodies. Here, we follow this method to determine the Fourier-domain anomalous magnetic fields and then extend the algorithm to compute the magnetic gradient tensor.
In our algorithm, rectangular prisms are used as the building blocks. The whole computational domain is considered as the source region and is evenly divided into N x × N y × N z prisms in the x, y and z directions (see Figure 1). The geometric center of the prismatic element is ( x l , y m , z n ) , and the length is Δ x , Δ y and Δ z in the three directions, respectively. The magnetization is assumed to be homogeneous in each prism.
To simplify mathematical operations, we start with the anomalous magnetic potential U a [30,35],
U a ( r ) = V G U ( r , r ) · M ( r ) d V
where G U is the negative gradient of the scalar Green’s function, i.e., G U = G and M = χ H . Using the spatial discretization strategy aforementioned, we can get the discrete form of U a
U a ( r ) = n = 1 N z m = 1 N y l = 1 N x z n 0.5 Δ z z n + 0.5 Δ z y m 0.5 Δ y y m + 0.5 Δ y x l 0.5 Δ x x l + 0.5 Δ x G U ( r , r ) d x d y d z · M ( x l , y m , z n )
We deal with Equation (8) in the frequency domain of the horizontal coordinates so that the triple integral involved in the equation can reduce to a single integral only associated with z.
Taking the 2D Fourier transform of Equation (8) with respect to x and y, we have
U ^ a ( z ) = W n = 1 N z I G ( z n , z ) · M ^ ( z n )
with
I G ( z n , z ) = z n 0.5 Δ z z n + 0.5 Δ z G ^ U ( z z ) d z
W = 4 sin ( 0.5 k x Δ x ) sin ( 0.5 k y Δ y ) k x k y Δ x Δ y
where k x and k y are wavenumbers in the x and y directions. U ^ a and M ^ are the corresponding spectrum of U a and M , respectively. According to G U = G , the 2D Fourier transform of G U becomes
G ^ U ( z z ) = i k x , i k y , s i g n ( z z ) · k e k z z 2 k
Here, s i g n ( z z ) is the sign function and k = k x 2 + k y 2 .
Substituting Equations (10)–(12) into Equation (9), the anomalous magnetic potential in the Fourier domain is obtained
U ^ a ( z ) = W 2 k 2 e k z z n < z e k z n A 1 ( z n ) H ( z n ) + e k z z n = z e k z n A 2 ( z n ) H ( z n ) + e k z z n = z e k z n A 2 ( z n ) F ( z n ) 2 P ( z ) + e k z z n > z e k z n A 1 ( z n ) F ( z n )
with
A 1 ( z n ) = e 0.5 k Δ z e 0.5 k Δ z A 2 ( z n ) = e 0.5 k Δ z P ( z n ) = i k x M ^ x ( z n ) + i k y M ^ y ( z n ) F ( z n ) = P ( z n ) + k M ^ z ( z n ) H ( z n ) = P ( z n ) k M ^ z ( z n )
where M ^ x , M ^ y and M ^ z are three components of M ^ .
Note that P, F and H in Equation (14) are functions of M ^ , where M ^ = 2 DFT [ χ H ] with 2 DFT [ · ] being a 2D Fourier transform operator. This implies that the values of P, F and H will change with the number of iterations, since the magnetic field vector H is renewed iteratively. In contrast, A 1 , A 2 and e ± k z n are all independent of M ^ and hence can be pre-computed so as to improve the computational efficiency.
According to Equation (2), we can also write the Fourier-domain anomalous magnetic field as
H ^ a ( z ) = i k x , i k y , z U ^ a ( z )
As can be seen, the vertical component H ^ z a presents an implicit form due to the spatial derivative z U ^ a . In order to make it explicit, we substitute Equation (13) into Equation (15) and then have
H ^ z a ( z ) = W 2 k e k z z n < z e k z n A 1 ( z n ) H ( z n ) e k z z n = z e k z n A 2 ( z n ) H ( z n ) + e k z z n = z e k z n A 2 ( z n ) F ( z n ) + e k z z n > z e k z n A 1 ( z n ) F ( z n )
Therefore, once H ^ a is determined, the 2D inverse Fourier transform of H ^ a immediately gives its spatial-domain counterpart H a .
To solve H a , we rewrite the integral Equation (4) as
H ( r ) = H 0 ( r ) + H a ( r )
From Equations (14)–(17), we can find that H a is a function of M (or H , since M = χ H ). Thus, a convergent iterative algorithm is necessary, in order to obtain the magnetic fields caused by strongly magnetic bodies. But the fact is that the iterative calculation of Equation (4) does not always converge, because 2 -norm of the linear integral operator in Equation (4) is bigger than 1 in general cases [30]. It indicates that a contraction operator must be used to ensure convergence stability and convergence rates.
Therefore, instead of Equation (17), we adopt the contraction integral equation developed by [30]
H ( j + 1 ) ( r ) = 2 H 0 ( r ) + H a ( r , H ( j ) ( r ) ) + χ H ( j ) ( r ) 2 + χ , j = 0 , 1 , 2 ,
By doing this, an iterative format which makes the successive calculation of the total magnetic field always convergent is established using Equations (13)–(16) and (18).
Our final purpose is to calculate the anomalous magnetic gradient tensor produced by magnetic bodies with high susceptibilities. This can be achieved by taking 2D Fourier transform of Equation (1) and making use of Equation (13). It gives the anomalous gradient tensor as
T ^ a = μ 0 i k x H ^ x a i k y H ^ x a i k x H ^ z a i k y H ^ y a i k y H ^ z a s y m . z z 2 U ^ a
with
z z 2 U ^ a = W 2 e k z z n < z e k z n A 1 ( z n ) H ( z n ) + e k z z n = z e k z n A 2 ( z n ) H ( z n ) + e k z z n = z e k z n A 2 ( z n ) F ( z n ) + e k z z n > z e k z n A 1 ( z n ) F ( z n )
where H ^ a is given by Equations (15) and (16). It is noteworthy that the calculation of the gradient tensor should be carried out only when the iterative computation of the magnetic field is totally completed or the required convergence accuracy is reached. Certainly, the gradient tensor can also be calculated iteratively, but this only leads to an unnecessary computational cost.
Finally, we obtain the spatial-domain gradient fields through 2D inverse Fourier transform.

2.3. Workflow for Modeling Gradient Fields

The workflow for modeling magnetic gradient tensor at high susceptibility is summarized in Figure 2. In this study, the Gauss-FFT technique with 4 nodes is applied, and the root mean square (rms) difference is adopted as the convergence criterion, that is,
rms = i , m , n H ( j ) ( x i , y m , z n ) H ( j + 1 ) ( x i , y m , z n ) 2 N x N y N z
where H ( j ) denotes the total magnetic field after the j-th iteration.

3. Description of The Code

3.1. Subroutines

The developed FORTRAN program for calculating magnetic gradient fields at high susceptibilities consists of a main program, six major subroutines and four supporting subroutines. The functions of these subroutines are listed in Table 1.
All subroutines are called by the main program (Main). The computer code initially reads the input file para.txt and sets the required parameters in the subroutine ReadIn. Some significant matrices are pre-computed to improve the computational efficiency in the subroutine Storage. Next, the loop over the iteration number starts to operate. In each iteration, the magnetic fields are calculated layer by layer. For low magnetic susceptibility, having the first iterative cycle done is adequate enough to get accurate results. For high magnetic susceptibility, the total magnetic fields are calculated iteratively until the maximum number of iterations is reached or the required convergence accuracy is met. Finally, the magnetic gradient tensor is computed and then recorded in the output file MagneticField_3D.dat. The structure of the main program is shown in Figure 3.

3.2. Inputs and Outputs

The FORTRAN program requires a set of input parameters (see Table 2), such as the size of the computation space, the maximum iteration number and the strength and direction of the inducing magnetic field, etc. All these parameters are given in the input file para.txt. The magnetic susceptibility distribution of the studied magnetic bodies can be set freely in the subroutine Model. In the original version of the subroutine Model, we provide four types of magnetic models, including a sphere, a spherical shell, an ellipsoid and a two-dike model. One can modify the code in this subroutine to establish any expected magnetic model with arbitrary susceptibility distributions. It is also noteworthy that the default values of the minimum x and y coordinates of the prism’s center are set to be zero in the FORTRAN program, i.e., x0 = y0 = 0.
The output of the FORTRAN program is saved in a single file MagneticField_3D.dat. This file contains ten columns: x-coordinate, y-coordinate, z-coordinate, three magnetic field components ( B x a , B y a , B z a , nT) and six magnetic gradient tensor components ( T x x a , T y y a , T z z a , T x y a , T x z a , T y z a , nT/m).

4. Numerical Tests

In this section, the performance of the algorithm is evaluated and several numerical examples are presented to reveal the validity and applicability of the code.

4.1. Performance

To test the performance of the algorithm, we analyze its computational accuracy, convergence behavior and computational efficiency using several models (a spherical shell, a prolate ellipsoid and a sphere). The center of these magnetic bodies is located in the middle of the computational domain which extends from 0 km to 1 km in the x , y and z directions. The strength, inclination and declination of the inducing magnetic field are 50,000 nT, 60 and 45 , respectively. Analytical solutions for the spherical shell model are provided in Appendix A. Because no analytical solution is available for the prolate ellipsoid, the reference gradient tensor of this model is computed by numerically taking derivatives of the magnetic field vector obtained from the routines of [36]. All tests are carried out on a personal computer with 2.3 GHz CPU and 12 GB RAM.
In order to verify the accuracy of the algorithm, we compare the six components of the magnetic gradient tensor calculated using the contraction integral method with the theoretical solutions. In the test, the computational domain is divided into 200 × 200 × 200 regular prisms and the magnetic anomalies are a spherical shell with susceptibility of 50 SI and a prolate ellipsoid with susceptibility of 10 SI (see Figure 4).
Figure 5 and Figure 6 show the numerical and analytical solutions of the two models and the differences between them. The statistical properties of the misfits for both models are listed in Table 3. As can be seen from Figure 5, the modeled results for the spherical shell have a perfect agreement with the analytical solutions. The rms error in this case is 0.082 for T x x a and T y y a , 0.094 for T x z a and T y z a , 0.046 for T x y a and 0.142 for T z z a . The relative root mean square (rrms) errors in six magnetic gradient tensor components are all less than 0.5% (Table 3). For the prolate ellipsoid model, there is also a good agreement between the computed and reference solutions, but with a relatively larger rrms error (see Table 3). Part of such error is considered to be caused by the numerical derivation of the magnetic fields in order to obtain the reference magnetic gradient tensor.
Next, we investigate the convergence behavior of the algorithm. To this end, we compute the convergence errors in three total magnetic field components based on a magnetic sphere model with different susceptibilities ranging from 1 SI to 1000 SI. Figure 7 shows the trend of the convergence error versus the number of iterations at different magnetic susceptibilities. We can see that the convergence behavior of the algorithm is significantly influenced by the magnitude of the magnetic susceptibility. At lower susceptibilities ( χ 10 SI ), the algorithm converges with a high speed. But when the magnetic susceptibility becomes larger ( χ > 10 SI ), the convergence rate slows down. Although the convergence speed of the algorithm decreases with an increase of magnetic susceptibility, the algorithm exhibits a good and stable convergence behavior at a rather wide range of susceptibilities on the whole ( 0 < χ 1000 SI ).
Now, we test the computation efficiency of the code. According to the theory of the algorithm mentioned in Section 2, the calculation of the magnetic gradient fields mainly consists of two parts. The first part is the computation of the frequency domain magnetic field at each wavenumber point ( k x , k y ). The efficiency of this part is mainly affected by the number of prismatic elements ( N z ) used in the z direction. The second part is the implementation of the 2D inverse Gauss-FFT applied to obtain the spatial domain wave-fields. For this part, the calculation time is determined by the number of prismatic elements ( N x × N y ) on the x y plane and the Gauss nodes (which is set to be 4 in our test) that one uses. Therefore, N z and N x × N y have different influence on the calculation speed. To assess these factors, two cases are considered in this test. In case 1, we hold N h = 100 , where N h = N x = N y , and set N z = 60 , 80 , 100 , 150 , 200 , 250 , 300 . In case 2, we hold N z = 100 and set N h = 60 , 80 , 100 , 150 , 200 , 250 , 300 . Figure 8 shows the average computer time per iteration for calculating six magnetic gradient components and three magnetic field components in case 1 and case 2. As can be seen, when the number of the prismatic elements increases, the average computation time exhibits an approximately linear growth trend in both cases.

4.2. Example

In this subsection, we present a synthetic example with a slightly more complicated geometry to further demonstrate the capability of the algorithm (Figure 9). This synthetic example is a two-dike model with a vertical dike striking east-west, and a stepped dike that strikes north-south and dips to the west at 45 . Both dikes spans a depth of 50–150 m and are assigned a high magnetic susceptibility value of 3 SI . The inducing field for this study has strength of 50,000 nT, inclination of 45 and declination of 45 . The whole computational space, with cells of 5 m cubed, extends from 0 m to 1000 m in the x and y directions and from 0 m to 250 m in the z direction.
Figure 10 presents the surface total-field anomaly and the magnetic amplitude for the two-dike model with a magnetic susceptibility of 3 SI subject to a uniform inducing field. To verify the reliability of the computed results, we also display the magnetic data from a similar two-dike model calculated by [29] (see Figure 11). The geometric parameters of the west-dipping dike used in the work of [29] are slightly different from ours, but the values of other parameters are set the same. By comparing Figure 10 and Figure 11, we can see that the magnetic fields obtained from both methods have consistent shape characteristics, which further validates our algorithm.
In addition to the total-field anomaly, we also present the surface anomalous magnetic fields and gradient fields generated by the two-dike model in Figure 12 and Figure 13, respectively. The white lines in these figures outline the projection of the magnetic bodies on the surface. As expected, the gradient tensor is superior to the magnetic field vector in enhancing the directional features of the magnetic anomaly.

5. Conclusions

We have developed a computer program in FORTRAN programming language and provided a detailed description of the code for modeling magnetic gradient fields at high susceptibilities. The program generates multi-component fields produced by magnetic bodies of arbitrary shapes and high susceptibilities, including six components of the magnetic gradient tensor and three components of the magnetic field vector. A user friendly interface (i.e., input file) is also established to facilitate wide application of the FORTRAN program. Computational performance and capability of the scheme have been illustrated through several numerical examples (a spherical shell, a prolate ellipsoid, a sphere and a synthetic two-dike model). It is shown that the code performs well at a wide range of susceptibilities ( 0 < χ 1000 SI ) and is particularly applicable for strongly magnetic bodies. This work, therefore, provides a significant open tool for modeling magnetic gradient fields at high susceptibility.

Author Contributions

Conceptualization, L.C.; methodology, L.C. and F.O.; software, F.O; formal analysis, F.O; resources, F.O; data curation, F.O; writing—original draft preparation, F.O; writing—review and editing, L.C.; visualization, L.C.; supervision, L.C.; project administration, L.C.; funding acquisition, L.C. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the Natural Science Foundation of Guangxi Province grant number 2020GXNSFDA238021.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The name of the FORTRAN program (version 1) is 3D-MGTM-HS. This program is free and available at https://github.com/Yonfou/3D-MGTM-HS (accessed on 2 June 2021). The users can redistribute it and/or modify it under the terms of the GNU General Public License.

Acknowledgments

The authors are very grateful to the two anonymous reviewers for their helpful comments and constructive suggestions that helped to improve the paper.

Conflicts of Interest

The authors declare no conflict of interest.

Appendix A. Analytical Solutions

The analytical solutions for anomalous magnetic gradient fields outside a magnetic spherical shell have the forms of
T x x a = A 4 H x 0 α 1 β 1 + H y 0 α 2 γ 1 + H z 0 α 3 γ 1 T x y a = A 4 H x 0 α 2 γ 1 + H y 0 α 1 γ 2 H z 0 α 1 γ 4 T x z a = A 4 H x 0 α 3 γ 1 H y 0 α 1 γ 4 + H z 0 α 1 γ 3 T y y a = A 4 H x 0 α 1 γ 2 + H y 0 α 2 β 2 + H z 0 α 3 γ 2 T y z a = A 4 H y 0 α 3 γ 2 H x 0 α 1 γ 4 + H z 0 α 2 γ 3 T z z a = A 4 H x 0 α 1 γ 3 + H y 0 α 2 γ 3 + H z 0 α 3 β 3
with
A = χ 2 χ + 3 1 r i 3 r o 3 2 χ 2 r o 3 2 χ + 3 3 + χ r i 3
and
α 1 = 3 x x 0 r 5 , α 2 = 3 y y 0 r 5 , α 3 = 3 z z 0 r 5 β 1 = 3 5 x x 0 2 r 2 , β 2 = 3 5 y y 0 2 r 2 , β 3 = 3 5 z z 0 2 r 2 γ 1 = β 1 2 , γ 2 = β 2 2 , γ 3 = β 3 2 , γ 4 = 5 z z 0 y y 0 r 2
where r = ( x x 0 ) 2 + ( y y 0 ) 2 + ( z z 0 ) 2 is the distance between the observation point ( x , y , z ) and the center of the magnetic spherical shell ( x 0 , y 0 , z 0 ) , r i and r o denote the inner and outer radius of the spherical shell, respectively.

References

  1. Wang, Y.F.; Rong, L.L.; Qiu, L.Q.; Lukyanenko, D.V.; Yagola, A.G. Magnetic susceptibility inversion method with full tensor gradient data using low-temperature SQUIDs. Pet. Sci. 2019, 16, 794–807. [Google Scholar] [CrossRef] [Green Version]
  2. Schmidt, P.W.; Clark, D.A.; Leslie, K.E.; Bick, M.; Tilbrook, D.L. GET-MAG-a SQUID magnetic tensor gradiometer for mineral and oil exploration. Explor. Geophys. 2004, 35, 297–305. [Google Scholar] [CrossRef]
  3. Stocco, S.; Godio, A.; Sambuelli, L. Modelling and compact inversion of magnetic data: A Matlab code. Comput. Geosci. 2009, 35, 2111–2118. [Google Scholar] [CrossRef]
  4. Zhdanov, M.S.; Cai, H.Z.; Wilson, G.A. Migration transformation of two-dimensional magnetic vector and tensor fields. Geophys. J. Int. 2012, 189, 1361–1368. [Google Scholar] [CrossRef] [Green Version]
  5. Schiffler, M.; Queitsch, M.; Stolz, R.; Chwala, A.; Krech, W.; Meyer, H.G.; Kukowski, N. Calibration of SQUID vector magnetometers in full tensor gradiometry systems. Geophys. J. Int. 2014, 198, 954–964. [Google Scholar] [CrossRef] [Green Version]
  6. Brown, P.J.; Bracken, R.E.; Smith, D.V. A case study of magnetic gradient tensor invariants applied to the UXO problem. In Proceedings of the SEG International Exposition and 74th Annual Meeting, Denver, CO, USA, 10–15 October 2004; pp. 794–797. [Google Scholar]
  7. Stolz, R.; Zakosarenko, V.; Schulz, M.; Chwala, A.; Frtitzsch, L.; Meyer, H.G.; Kostlin, E.O. Magnetic full-tensor SQUID gradiometer system for geophysical applications. Lead. Edge 2006, 25, 178–180. [Google Scholar] [CrossRef]
  8. Schmidt, P.W.; Clark, D.A. Advantages of measuring the magnetic gradient tensor. Preview 2000, 85, 26–30. [Google Scholar]
  9. Heath, P.J.; Heinson, G.; Greenhalgh, S.A. Some comments on potential field tensor data. Explor. Geophys. 2003, 34, 57–62. [Google Scholar] [CrossRef]
  10. Schmidt, P.W.; Clark, D.A. The magnetic gradient tensor: Its properties and uses in source characterization. Lead. Edge 2006, 25, 75–78. [Google Scholar] [CrossRef] [Green Version]
  11. Kotsiaros, S.; Olsen, N. The geomagnetic field gradient tensor properties and parametrization in terms of spherical harmonics. Int. J. Geomath. 2012, 3, 297–314. [Google Scholar] [CrossRef]
  12. Bhattacharyya, B.K. Magnetic anomalies due to prism-shaped bodies with arbitrary polarization. Geophysics 1964, 29, 517–531. [Google Scholar] [CrossRef]
  13. Clark, D.A.; Saul, S.J.; Emerson, D.W. Magnetic and gravity anomalies of a triaxial ellipsoid. Explor. Geophys. 1986, 17, 189–200. [Google Scholar] [CrossRef]
  14. Blakely, R.J. Potential Theory In Gravity And Magnetic Applications; Cambridge University Press: Cambridge, UK, 1996; pp. 154–196. [Google Scholar]
  15. Halliday, D.; Resnick, R.; Walker, J. Fundamentals of Physics; John Wiley and Sons: New York, NY, USA, 1997. [Google Scholar]
  16. Sharma, P.V. Demagnetization effect of a rectangular prism. Geophysics 1968, 33, 132–134. [Google Scholar] [CrossRef]
  17. Eskola, L.; Tervo, T. Solving the magnetostatic field problem (a case of high susceptibility) by means of the method of subsections. Geo-Exploration 1980, 18, 79–95. [Google Scholar] [CrossRef]
  18. Lee, T.J. Rapid computation of magnetic anomalies with demagnetization included, for arbitarily shaped magnetic bodies. Geophys. J. R. Astron. Soc. 1980, 60, 67–75. [Google Scholar] [CrossRef] [Green Version]
  19. Furness, P. A versatile integral equation technique for magnetic modeling. J. Appl. Geophys. 1999, 41, 345–357. [Google Scholar] [CrossRef]
  20. Butler, D.K.; Pasion, L.; Billings, S.; Oldenburg, D.; Yule, D. Enhanced discrimination capability for UXO geophysical surveys. In Proceedings of the SPIE Detection and Remediation Technologies and Mines and Minelike Targets VIII, Orlando, FL, USA, 21–25 April 2003; pp. 958–969. [Google Scholar]
  21. Sanchez, V.; Li, Y.; Nabighian, M.N.; Wright, D.L. Numerical modeling of higher order magnetic moments in UXO discrimination. IEEE Trans. Geosci. Remote Sens. 2008, 46, 2568–2583. [Google Scholar] [CrossRef]
  22. Baykiev, E.; Ebbing, J.; Bronner, M.; Fabian, K. Forward modeling magnetic fields of induced and remanent magnetization in the lithosphere using tesseroids. Comput. Geosci. 2016, 96, 124–135. [Google Scholar] [CrossRef]
  23. Chen, L.W.; Liu, L.B. Fast and accurate forward modelling of gravity field using prismatic grids. Geophys. J. Int. 2019, 216, 1062–1071. [Google Scholar] [CrossRef]
  24. Hogue, J.D.; Renaut, R.A.; Vatankhah, S. A tutorial and open source software for the efficient evaluation of gravity and magnetic kernels. Comput. Geosci. 2020, 144, 104575. [Google Scholar] [CrossRef]
  25. Bhattacharyya, B.K.; Navolio, M.E. A fast Fourier transform method for rapid computation of gravity and magnetic anomalies due to arbitrary bodies. Geophys. Prospect. 1976, 24, 633–649. [Google Scholar] [CrossRef]
  26. Tontini, F.C. Rapid interactive modeling of 3D magnetic anomalies. Comput. Geosci. 2012, 48, 308–315. [Google Scholar] [CrossRef]
  27. Wu, L.Y.; Tian, G. High-precision Fourier forward modeling of potential fields. Geophysics 2014, 79, G59–G68. [Google Scholar] [CrossRef]
  28. Purss, M.B.J.; Cull, J.P. A new iterative method for computing the magnetic field at high magnetic susceptibilities. Geophysics 2005, 70, L53–L62. [Google Scholar] [CrossRef]
  29. Krahenbubl, R.A.; Li, Y. Investigation of magnetic inversion methods in highly magnetic environments under strong self-demagnetization effect. Geophysics 2017, 82, J83–J97. [Google Scholar] [CrossRef]
  30. Ouyang, F.; Chen, L.W. Iterative magnetic forward modeling for high susceptibility based on integral equation and Gauss-fast Fourier transform. Geophysics 2020, 85, J1–J13. [Google Scholar] [CrossRef]
  31. Lelievre, P.G.; Oldenburg, D.W. Magnetic forward modeling and inversion for high susceptibility. Geophys. J. Int. 2006, 166, 76–90. [Google Scholar] [CrossRef]
  32. Ren, Z.Y.; Chen, C.J.; Tang, J.T.; Chen, H.; Hu, S.G.; Zhou, C.; Xiao, X. Closed-form formula of magnetic gradient tensor for a homogeneous polyhedral magnetic target: A tetrahedral grid example. Geophysics 2017, 82, WB21–WB28. [Google Scholar] [CrossRef]
  33. Ren, Z.Y.; Chen, H.; Chen, C.J.; Zhong, Y.Y.; Tang, J.T. New analytical expression of the magnetic gradient tensor for homogeneous polyhedron. Geophysics 2019, 84, A31–A35. [Google Scholar] [CrossRef]
  34. Guo, W.; Dentith, M.; Bird, R.T.; Clark, D.A. Systematic error analysis of demagnetization and implications for magnetic interpretation. Geophysics 2001, 66, 562–570. [Google Scholar] [CrossRef]
  35. Butler, D.K.; Wolfe, P.J.; Hansen, R.O. Analytical modeling of magnetic and gravity signatures of unexploded ordnance. J. Environ. Eng. Geophys. 2001, 6, 33–46. [Google Scholar] [CrossRef]
  36. Tomazella, D.; Oliveira, V.C., Jr. Ellipsoids (v1.0): 3D magnetic modelling of ellipsoidal bodies. Geosci. Model Dev. Discuss. 2017, 10, 3591–3608. [Google Scholar]
Figure 1. The discretization and coordinate system of the computation space. The observation points are located on the first horizontal plane and have coincident ( x , y , z ) coordinates with the source points.
Figure 1. The discretization and coordinate system of the computation space. The observation points are located on the first horizontal plane and have coincident ( x , y , z ) coordinates with the source points.
Minerals 11 01129 g001
Figure 2. Workflow for modeling the magnetic gradient tensor produced by 3D magnetic bodies with high susceptibility (modified after [30]).
Figure 2. Workflow for modeling the magnetic gradient tensor produced by 3D magnetic bodies with high susceptibility (modified after [30]).
Minerals 11 01129 g002
Figure 3. Basic structure of the main program.
Figure 3. Basic structure of the main program.
Minerals 11 01129 g003
Figure 4. The magnetic spherical shell model with susceptibility of 50 SI and the prolate ellipsoid model with susceptibility of 10 SI used in the accuracy test.
Figure 4. The magnetic spherical shell model with susceptibility of 50 SI and the prolate ellipsoid model with susceptibility of 10 SI used in the accuracy test.
Minerals 11 01129 g004
Figure 5. Surface anomalous magnetic gradient fields produced by a magnetic spherical shell with susceptibility of 50 SI. T x x a * , T x y a * , T x z a * , T y y a * , T z z a * , T y z a * denote the analytical solutions, and T x x a , T x y a , T x z a , T y y a , T z z a , T y z a denote the numerical results calculated using the proposed algorithm.
Figure 5. Surface anomalous magnetic gradient fields produced by a magnetic spherical shell with susceptibility of 50 SI. T x x a * , T x y a * , T x z a * , T y y a * , T z z a * , T y z a * denote the analytical solutions, and T x x a , T x y a , T x z a , T y y a , T z z a , T y z a denote the numerical results calculated using the proposed algorithm.
Minerals 11 01129 g005aMinerals 11 01129 g005b
Figure 6. Surface anomalous magnetic gradient fields produced by a magnetic prolate ellipsoid with susceptibility of 10 SI. T x x a * , T x y a * , T x z a * , T y y a * , T z z a * , T y z a * denote the analytical solutions, and T x x a , T x y a , T x z a , T y y a , T z z a , T y z a denote the numerical results calculated using the proposed algorithm.
Figure 6. Surface anomalous magnetic gradient fields produced by a magnetic prolate ellipsoid with susceptibility of 10 SI. T x x a * , T x y a * , T x z a * , T y y a * , T z z a * , T y z a * denote the analytical solutions, and T x x a , T x y a , T x z a , T y y a , T z z a , T y z a denote the numerical results calculated using the proposed algorithm.
Minerals 11 01129 g006aMinerals 11 01129 g006b
Figure 7. Convergence errors in B x , B y and B z versus the number of iterations at different magnetic susceptibilities.
Figure 7. Convergence errors in B x , B y and B z versus the number of iterations at different magnetic susceptibilities.
Minerals 11 01129 g007
Figure 8. Average computer time per iteration for calculating six magnetic gradient components and three magnetic field components in case 1 and case 2.
Figure 8. Average computer time per iteration for calculating six magnetic gradient components and three magnetic field components in case 1 and case 2.
Minerals 11 01129 g008
Figure 9. A synthetic two-dike model with a west-dipping dike striking north-south and a vertical dike striking east-west.
Figure 9. A synthetic two-dike model with a west-dipping dike striking north-south and a vertical dike striking east-west.
Minerals 11 01129 g009
Figure 10. Surface total-field anomaly (a) and magnetic amplitude (b) due to the two-dike model with a magnetic susceptibility of 3 SI.
Figure 10. Surface total-field anomaly (a) and magnetic amplitude (b) due to the two-dike model with a magnetic susceptibility of 3 SI.
Minerals 11 01129 g010
Figure 11. Total-field anomaly (a) and magnetic amplitude (b) from [29] for a similar two-dike model with a susceptibility of 3 SI.
Figure 11. Total-field anomaly (a) and magnetic amplitude (b) from [29] for a similar two-dike model with a susceptibility of 3 SI.
Minerals 11 01129 g011
Figure 12. Surface anomalous magnetic fields due to the two-dike model with susceptibility of 3 SI.
Figure 12. Surface anomalous magnetic fields due to the two-dike model with susceptibility of 3 SI.
Minerals 11 01129 g012
Figure 13. Surface anomalous magnetic gradient fields due to the two-dike model with susceptibility of 3 SI.
Figure 13. Surface anomalous magnetic gradient fields due to the two-dike model with susceptibility of 3 SI.
Minerals 11 01129 g013
Table 1. Subroutines for modeling the magnetic gradient tensor at high susceptibility.
Table 1. Subroutines for modeling the magnetic gradient tensor at high susceptibility.
Main ProgramMainPerform the Iterative Procedure and Calculate the Magnetic Gradient Tensor
Major subroutinesReadInInitialize all required parameters and read model parameters from the input file (para.txt).
StoragePre-compute and save important matrices.
WavenumberGenerate wavenumbers for the 2D Gauss-FFT.
BackgroundSet background fields.
ModelEstablish a model.
GaussFFT_2D_FastAchieve forward and inverse 2D Gauss-FFT.
Major subroutinesModuleInclude initial variable declarations.
CoordinatesGenerate rectangular prims.
OutputOutput the calculation results, including six gradient field components and three magnetic field components.
DeOrAllocateAllocate and deallocate parameters.
Table 2. The required input parameters in the file para.txt.
Table 2. The required input parameters in the file para.txt.
Nx, Ny, NzNumber of prismatic elements in the x, y and z directions.
z0The minimum z coordinate of geometric center of prisms (m).
x1, y1, z1The maximum x, y and z coordinates of geometric center of prisms (m).
NIMaximum number of iterations
NGNumber of Gaussian nodes used in 2D Gauss-FFT (NG = 1, 2, 3 or 4)
Ang1Inclination angle (degree)
Ang2Declination angle (degree)
BgrStrength of the inducing field (nT)
Table 3. Statistical parameters of the misfits for the spherical shell and the prolate ellipsoid.
Table 3. Statistical parameters of the misfits for the spherical shell and the prolate ellipsoid.
Gradient FieldsMin (nT)Max (nT)RmsRrms * (%)
ShellEllipsoidShellEllipsoidShellEllipsoidShellEllipsoid
T x x a −54.188−14.93119.7336.6910.0820.1580.4552.812
T x y a −17.159−5.35818.8845.8180.0460.0790.4672.533
T x z a −54.908−16.48244.95312.7030.0940.2760.4314.031
T y y a −54.188−17.19019.7336.2100.0820.0920.4551.534
T y z a −54.908−16.98344.95313.9230.0940.1770.4312.459
T z z a −13.582−5.235108.37732.1150.1420.5650.4575.538
* The relative rms error is defined as: rrms [ T ] = rms [ T T * ] rrms [ T ] = rms [ T T * ] rms [ T * ] rms [ T * ] × 100 % .
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Chen, L.; Ouyang, F. A FORTRAN Program to Model Magnetic Gradient Tensor at High Susceptibility Using Contraction Integral Equation Method. Minerals 2021, 11, 1129. https://doi.org/10.3390/min11101129

AMA Style

Chen L, Ouyang F. A FORTRAN Program to Model Magnetic Gradient Tensor at High Susceptibility Using Contraction Integral Equation Method. Minerals. 2021; 11(10):1129. https://doi.org/10.3390/min11101129

Chicago/Turabian Style

Chen, Longwei, and Fang Ouyang. 2021. "A FORTRAN Program to Model Magnetic Gradient Tensor at High Susceptibility Using Contraction Integral Equation Method" Minerals 11, no. 10: 1129. https://doi.org/10.3390/min11101129

APA Style

Chen, L., & Ouyang, F. (2021). A FORTRAN Program to Model Magnetic Gradient Tensor at High Susceptibility Using Contraction Integral Equation Method. Minerals, 11(10), 1129. https://doi.org/10.3390/min11101129

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