Next Article in Journal
Multimode Representation of the Magnetic Field for the Analysis of the Nonlinear Behavior of Solar Activity as a Driver of Space Weather
Previous Article in Journal
Minimization of Torque Ripples in Multi-Stack Slotted Stator Axial-Flux Synchronous Machine by Modifying Magnet Shape
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Computationally Effective Modeling of Self-Demagnetization and Magnetic Field for Bodies of Arbitrary Shape Using Polyhedron Discretization

Bulashevich Institute of Geophysics, Ural Branch of Russian Academy of Science, 620016 Yekaterinburg, Russia
*
Author to whom correspondence should be addressed.
Mathematics 2022, 10(10), 1656; https://doi.org/10.3390/math10101656
Submission received: 8 April 2022 / Revised: 27 April 2022 / Accepted: 10 May 2022 / Published: 12 May 2022
(This article belongs to the Section E: Applied Mathematics)

Abstract

:
A performance-effective numerical method for magnetic field calculations is proposed. The method can accept either regular or irregular polyhedron discretization that enables us to construct magnetic object models of an arbitrary shape. A concise, closed-form expression for the magnetic field of a polyhedron is presented, which allows for the high accuracy of the method. As a case study, models of a solid sphere, an ellipsoid, a cuboid, and a well are considered. The models are approximated with a dense irregular grid, elements of which are polyhedrons. The approximation leads to the system of linear algebraic equations that we solve with a gradient method, which allows for finding the self-demagnetization of the body and then calculating the total magnetic field. For the presented example of a well in the medium of relatively strong magnetic susceptibility (0.2), the contribution of the self-demagnetization to the secondary magnetic field reaches an RMS of 24%.

1. Introduction

The theory of magnetic field modeling for two- and three-dimensional objects was developed and extensively covered in [1,2]. One of the great difficulties in magnetic field modeling is the fact that not only the external magnetic field contributes to the body magnetization, but it is also affected by the object’s self-magnetic field and by the field of other bodies. This effect is usually called “self-demagnetization”. The magnitude of this effect highly depends on the magnetic susceptibility of the modeled object and can be neglected if susceptibility is low. Self-demagnetization is an important magnetic field feature that needs to be accounted for during the interpretation of magnetometric data. In mineral explorations of the ores, one cannot disregard self-demagnetization, as it will lead to significant errors in the determination of the magnetic body position and its magnetization. At the same time, accounting for self-demagnetization is a very computationally expensive procedure. That is why new effective methods for forward and inverse magnetic modelling are needed.
In much research, the volume of the magnetic object is approximated by the set of cuboids prior to expressing its magnetic field. Such an approach is understandable from the perspective of computational effectiveness: the expression of the magnetic field of a cuboid has the well-known closed form. However, the method introduces significant restrictions, as it becomes impossible to consider complex objects that are poorly approximated by cuboids. This fact limits the applicability of the method in practical applications.
Pointing out one of the works in which the initial steps of accounting for self-demagnetization are taken, in [3], a method is presented to compute the demagnetization tensor field for uniformly magnetized particles of an arbitrary shape. By means of a Fourier space approach, the analytic Fourier representation of the demagnetization tensor field for a given shape is derived. As an example, the demagnetization tensor field for the tetrahedron is given.
To highlight contemporary research on the topic of this phenomenon, in [4,5], the authors acknowledge the significant impact of the self-demagnetization to the total magnetization of complex models constructed out of cuboids. However, no insides on effective computational algorithms are presented.
In [6,7], the authors present a fairly complete approach to the problem of magnetic modeling for real data, but the demagnetization factor is considered to be uniform across the whole model volume, which may result in unsatisfactory accuracy, as even the simplest shapes (e.g., a cuboid) have substantially non-uniform self-demagnetization. For this reason, in our approach, we take into account self-demagnetization in every element of discretization. The task of calculating self-demagnetization for such a model has a computational complexity of O ( k N 2 ) , where N is a number of discretization elements and k is a number of iterations required to numerically solve the magnetization equation with the specified accuracy. Comparing this to the magnetic field calculation, which requires no iterative solving and has linear complexity (with respect to N ), it becomes apparent that highly efficient algorithms are needed to be developed and used to solve this problem. Otherwise, no computing resources would be enough to model the self-demagnetization of practical models with millions of discretization elements.
Another notable work is [8] in which the authors claim to have developed an approach for fast self-demagnetization computation for arbitrary shaped bodies. In our opinion, the last claim is a bit of a stretch, to put it lightly. The proposed method will only work for bodies that can be sufficiently approximated with regular grid of cuboids, which is far from “arbitrary”. We use the same word in the title of this paper because unlike other approaches, our method does not impose any constrains on the discretization whatsoever.
When modelling the magnetic field of an object, the shape of which cannot be adequately approximated with cuboids (e.g., an object with a spherical surface), it is more reasonable to use polyhedron discretization as it is more universal. For this reason, in this paper we will describe a computationally effective method for calculating the magnetic field for an object that is approximated with polyhedrons. The method based on the closed-form expression for the magnetic field of a triangular plate with uniform magnetization. The expression is applied to the triangulation of the polyhedron surface and after a simple summation yields the magnetic field of the polyhedron. The algorithm was implemented in software using parallelization technologies, which made it possible to consider models with a large number of discretization elements in our numerical experiments (~106 elements for the largest example presented, though this number is nowhere near the practical limit, provided one has the access to sufficient computational power).
Note. All physical quantities in this paper are in SI (and not CGS), consecutively some of the cited expressions may differ from what was printed in the source.

2. Problem Statement

Let D be a region of the model under consideration in 3-dimensional space 3 with Cartesian coordinate system O x y z . The O z axis is in a down direction. The magnetic susceptibility in D is determined by Κ ( q ) , q  D . Generally speaking, Κ is a tensor, but in this paper, we will consider Κ a scalar for simplicity. All the described techniques can be applied when Κ is a tensor with minor modifications. The I(q) function denotes the magnetization at the point q D . Then, the total magnetic field strength H consists of two parts [8]:
H ( a ) = H p r m ( a ) + H s n d ( a )
H s n d ( a ) = 1 4 π a D I ( q ) a 1 | q a | d V q ,
I = Κ H + I n
where H p r m is external (primary) field, H s n d is body-generated (secondary) field, a and q are radius-vectors of points a 3 and q D , respectively, q is the point of integration, and I n is the remanent magnetization. Note that, when a 3 \ D , H s n d ( a ) is the external field, and when a D , H s n d ( a ) is the internal field.
Let us introduce I p r m = Κ H p r m + I n , the magnetization of the body induced by the external field. If we consider H p r m , I n and Κ defined, then the total magnetization I can be found from the Fredholm equation of the second kind:
I ( a ) = I p r m ( a ) + Κ ( a ) 4 π a D I ( q ) a 1 | q a | d V ,   when   a D ,
or
I ( a ) = I p r m ( a ) + Κ ( a ) H s n d ( a )
The non-zero difference of I and I p r m is called the “self-demagnetization effect”. In order to solve this equation numerically, the effective computation of the right side is of a great importance. It will be used as a primary operation in any of the iterative solving methods. From a mathematical point of view, the problem is reduced to solving the Fredholm integral equation of the second kind (2). The main problem that arises when solving this equation is the efficient calculation of the volume integral with a weak singularity. Here we propose a new original method for calculating this integral. Instead of integrating over the body volume, we first represent the original volume integral as a sum of integrals over a set of polyhedra. Then each polyhedron integral is split into integrals over triangles (that form the surface of the said polyhedron).

3. The Method of Computation for H s n d

3.1. Finite Element Method

Let’s introduce a discretization of the region D in a form of D i : D = i N D i . Let H i denote contribution to H s n d of the element D i   with the uniform magnetization I i . Then,
H s n d ( a ) = i N H i ( a ) .
Next, we consider D i   a polyhedron. In almost any practical application where D i is not a polyhedron, it can be always approximated by one with arbitrary accuracy (at the cost of a number of faces).

3.2. Derivation of a Closed-Form Expression for H i ( a )

Here we will derive a closed-form expression for direct calculation of H i ( a ) . The advantages of the analytical approach over any approximation scheme in terms of precision are self-apparent. Likewise, the advantages of calculating a single-dimensional integral over three-dimensional. Moreover, in the presented method we offer a valid closed-form expression for an integral with a weak singularity.
Let D be closed and bounded region of 3-dimensional space 3 , I is uniform magnetization of D . In accordance with Poisson’s equation [9] the magnetic field strength H in an arbitrary point a 3 with radius vector a can be expressed as
H ( a ) = 1 4 π a ( I , a D d V q | q a | ) ,
or, using the divergence theorem,
a D d V q | q a | = D q 1 | q a | d V q = D n q | q a | d S q ,
where n q is outer unit normal to the elementary surface of integration. Making further transformations we acquire
H ( a ) = 1 4 π a ( I , D n q | q a | d S q ) = 1 4 π a D ( I , n q ) | q a | d S q .
Here D is a polyhedron and S ( D ) is a set of its faces. For every face S S ( D ) its outer normal n S is constant, hence
H ( a ) = 1 4 π S S ( D ) ( I , n S ) a S d S q | q a | = 1 4 π S S ( D ) ( I , n S ) g S ( a ) .
In this expression g S ( a ) = a S d S q | q a | , which, incidentally, is the gravity field magnitude of polygon S of uniform density numerically equal to 1 / γ , where γ is gravitational constant.
Next, we write the following expression using Lagrange’s formula for double cross product g S = g S ( n , n ) n ( g S , n ) + n ( g S , n ) = n ( g S , n ) + [ n , [ g S , n ] ] , where n is an arbitrary unit vector. And substitute the integral for g S
g S ( a ) = n ( n , a S d S q | q a | ) [ n , [ n , a S d S q | q a | ] ] = n S ( n , q a ) | q a | 3 d S q + [ n , S [ n , q 1 | q a | ] d S q ] .
Now we consider n = n S , then the integral in the first term of the sum is a solid angle ω S ( a ) , under which the S face is seen from the point a . To the integral in the second term Green’s theorem can be applied:
S [ n S , a 1 | q a | ] d S q = S d l q | q a | .
Note that when applying this formula to a polygon S, the enumeration order of its vertices should be counterclockwise with respect to the outer normal n S k . Let N be the count of vertices of polygon S, p i is the radius-vector of the vertex i, p 0 p N , then
S d l q | q a | = i = 1 N p i p i 1 | p i p i 1 | p i 1 p i d l q | q a | .
Here V i ( a ) = p i 1 p i d l q | q a | is the gravity potential of a straight-line segment (edge i of polygon S) with uniform density numerically equal to 1 / γ . Its closed form is well known (for example, published in [10]):
V i ( a ) = 2   arth | p i p i 1 | | p i a | + | p i 1 a | .
When S is a triangle (N = 3), then the solid angle ω S ( a ) can be expressed as [11]
ω S ( a ) = 2   atan 2 ( ( a 1 , [ a 2 , a 3 ] ) , 1 + ( a 1 , a 2 ) + ( a 2 , a 3 ) + ( a 3 , a 1 ) ) ,
where a i = p i a | p i a | ,
atan 2 ( y , x ) = Arg ( x + i y ) = { arctg y x ,   x > 0   + π + arctg y x ,   x < 0 , y 0 π + arctg y x ,   x < 0 , y < 0 + π 2 ,   x = 0 , y > 0 π 2 ,   x = 0 , y < 0 u n d e f i n e d ,   x = 0 , y = 0 .
Substituting these expressions in (4) we acquired a closed-form solution for the gravity field magnitude of a triangle of uniform density numerically equal to 1 / γ :
g S ( a ) = 2 n S   atan 2 ( ( a 1 , [ a 2 , a 3 ] ) , 1 + ( a 1 , a 2 ) + ( a 2 , a 3 ) + ( a 3 , a 1 ) ) + 2 [ n S , i = 1 3 A i 1 , i | A i 1 , i | arth | A i 1 , i | | A i 1 | + | A i | ] ,
where A i = p i a , a i = A i / | A i | , A i 1 , i = p i p i 1 = A i A i 1 , n S = [ A 3 , 1 , A 1 , 2 ] / | [ A 3 , 1 , A 1 , 2 ] | is unit normal to S (selected with right-handed helix rule). Hence, (3) and (5) allow us to express the magnetic field magnitude of an arbitrary polyhedron of uniform magnetization in a closed-form. Previously, the authors employed a similar approach to find closed-form expression for the gravity field of a polyhedron [12].

3.3. Magnetic Equation for I k

Substituting (3) and (5) in (2) and with the described model discretizationin mind, we get a system of linear algebraic equations
I k = I k p r m 1 4 π   K k i N S S ( D i ) ( I i , n S ) g S ( a i ) ,   k N ,  
where a i is the center of mass of D i   and S ( D i ) is a set of triangles that forms (or approximates) the surface of D i   .

4. Numerical Algorithm—Iterative Solver

The most “head-on” approach one can employ for solving (6) is the fixed-point iteration method [13]:
I ( m + 1 ) = I p r m +   Κ H ( m ) s n d ,   I ( 0 ) = I p r m ,
where m denotes the m -th iteration. H ( m ) s n d is calculated via (1) with a substitution of I ( m ) . The method works reasonably good for Κ 1 , but as Κ grows, the convergence rate will drastically decrease until, at some point, it will no longer converge at all due to the right-hand side of the equation losing its contraction property. In order to fix this problem, the authors of [8] proposed an approach of transforming the Equation (2) to an alternative form, for which, the fixed-point iteration method is guaranteed to be convergent independent of the value of Κ . Here, we rewrite that equation in terms of I (instead of H, as per original paper). The two forms are completely equivalent to one another.
I = 2   ( Κ H s n d + I p r m ) +   Κ I 2 + Κ
The method of fixed-point iterations for this equation will be as follows:
I ( m + 1 ) = 2   ( Κ H ( m ) s n d + I p r m ) +   Κ I ( m ) 2 + Κ
Even though the convergence of (7) is proven for all values of Κ (see [8]), the convergence rate still very much depends on it, and for the large values of Κ it can become unpractically slow.
For this reason, we concluded that one of the best iterative schemes that can be applied to the Equation (2) is the conjugate gradient method [14]. For a system of linear equations A x = b it can be written as
x m = x m 1 + α m z m 1     r m = r m 1 α m A z m 1 z m = r m + β m z m 1   α k = ( r m 1 ,   r m 1 ) ( A z m 1 ,   z m 1 ) β k = ( r m ,   r m ) ( r m 1 ,   r m 1 ) r 0 = z 0 = b A x 0
Appling this to the problem in question, x I ,     b   I p r m ,   A z z Κ H I = z s n d . Strictly speaking, the convergence in this case is not guaranteed because A is not necessarily a symmetric matrix, as it depends on the chosen discretization of the magnetic body. However, we have yet to encounter a setup in which the method failed to converge in practical applications. In the authors’ opinion, it is more a question of carefully and deliberately constructing such a discretization as to make the method diverge, then encountering this problem “in the wild”. The final conclusion being, it is more practical to run a numerical experiment for a particular setup and check if the method converges to the solution (by simply substituting it into the original equation), then to rigorously prove convergence in every single case. Overwhelmingly more often than not, the method will, indeed, converge to the solution.
In order to demonstrate the relative difference in the rate of convergence between (7) and (8), the two methods were applied to a numerical experiment with a cuboid (which will be described later on). The results are presented in Table 1. The termination criterion was |   I n I n 1 | | I n | < ϵ .

5. Numerical Experiments

5.1. A Solid Sphere and an Ellipsoid

This example is purely synthetic and its purpose is to assure correctness and high accuracy of the proposed method.
In this experiment we will calculate the magnetization I (taking in account self-demagnetization) of a solid sphere with uniform magnetic susceptibility K in a uniform external magnetic field and compare the result with the theoretical value. The expression for I in this case has a well-known closed form.
I = K H prm + I n 1 + N K
where N is the demagnetizing factor; N = 1 3 for a solid sphere. Let us introduce a spherical coordinate system ( ρ [ 0 , + ) , ϕ [ 0 , 2 π ] , θ [ 0 , π ] ) that is placed in the center of the primary Cartesian coordinate system. A solid sphere of radius R is then placed in the center of the system. The sphere is split along each of the axis ( ρ , ϕ , θ ) in a uniform manner. The points of this mesh form hexahedrons that fill the inner volume of the sphere and approximate its surface. Each hexahedron is considered to have uniform magnetization I i . The surface of a hexahedron is being trivially split to triangles in order to apply (6).
The initial conditions for this example are: sphere radius R = 10 m; partition elements = 64,000 ( N ρ = 20 ,   N ϕ = 80 ,   N θ = 40 ); H p r m = ( 14 ,   14 ,   35 )   A/m; Κ = 2, I n = 0 . Precise theoretical I = (16.8, 16.8, 42) A/m. The computed I has RMS (Root Mean Square) of 2.6% (across all partition elements), the outer sphere layer has the worst RMS (~10%) due to insufficient discretization. Increasing it to 256,000 ( N ρ = 20 ,   N ϕ = 160 ,   N θ = 80 ) leads to an overall RMS of 0.27% (RMS of outer layer is 1.2%). The example was calculated with conjugate gradient method. It took just one single iteration to converge (residual 8 × 10−5).
The magnetization of a solid sphere has the same direction as the external magnetic field (in cases when remnant magnetization is non-present). Let us now consider an ellipsoid of revolution, the axis of which are misaligned with the direction of the external field. The magnetization of such an ellipsoid in the same setup as for the solid sphere will be also uniform, but not necessarily collinear to the external field. An explicit expression for an arbitrary (3-dimensional) ellipsoid exists, but involves elliptic integrals. For an ellipsoid of revolution, the expression has a closed form representation, which is
I = K H prm + I n 1 +   K N ,   N = ( N x , N y , N z ) ,
where   ˙     .   is an element-wise division. The demagnetizing factor for an ellipsoid consists of three components, two of which are the same in case of an ellipsoid of revolution:
N x = N y = m 2 ( m 2 1 ) [ m 1 2 m 2 1 ln ( m + m 2 1 m + m 2 1 ) ] ,
N z = 1 m 2 1 [ m 2 m 2 1 ln ( m + m 2 1 m + m 2 1 ) 1 ] ,
where m = a / b ,   a > b , a and b are ellipsoid semi-axis along O z and O x ,   O y , respectively. The expressions for N x , N y , N z were taken from [15].
Initial conditions for this example are the same as for the solid sphere, a = 20 ,   b = 10 ; partition elements = 1,024,000 ( N ρ = 20 ,   N ϕ = 320 ,   N θ = 160 ). Precise theoretical I = (15.33, 15.33, 51.96) A/m. Computed I has RMS 0.3% (across all partition elements); the outer layer has the worst RMS (~1%). The experiment took two iterations of conjugate gradient method to converge to residual 7 × 10−5.

5.2. A Cuboid

If needed, the method can also be used to effectively compute magnetic field H s n d (without self-demagnetization) for complex-shaped bodies. We can further check correctness of the method against the formula for the magnetic field of a cuboid, which can be expressed in a closed form
H s n d ( a ) = 1 4 π   V ( x , y , z ) | x 2 x 1 | y 2 y 1 | z 2 z 1 ,
V ( x , y , z ) = ( a r c t g ( y z x R ) ln ( z + R ) ln ( y + R ) ln ( z + R ) a r c t g ( x z y R ) ln ( x + R ) ln ( y + R ) ln ( x + R ) a r c t g ( y x z R ) ) I .
R = x 2 + y 2 + z 2 .
We numerically checked that expressions (3) and (5) correspond to it exactly (up to a machine epsilon).
Now we will put an isolated cuboid with the uniform magnetic susceptibility Κ = 0.2 in the uniform magnetic field H p r m = ( 14 ; 14 ;   35 ) A/m and observe its self-demagnetization. Physical dimensions of the cuboid are 1 × 0.4 × 0.4 m. Discretization of the model is 100 × 40 × 40. In Figure 1, the visual representation of I I p r m is presented. Even for such a simple shape, self-demagnetization is very intricate and it always arranges itself is such a way as to decrease the magnitude of the principle component of the magnetization I p r m . The effect, however, is very weak, for the presented example | I I p r m | | I p r m |     0.0036 and the mean of I I p r m   (which represents the principle component) is (0.019; −0.009; −0.023) A/m.

5.3. A Well

Let D = { ( x , y , z ) : x ( , + ) ,   y ( , + ) ,   z ( z 1 , z 2 ) } be a region in the Cartesian coordinate system O x y z (plane–parallel layer). The O z axis is in a down direction. The well is represented as a straight circular cylinder with base radius r and axis of symmetry collinear to O z . The upper base plane is z = z 1 , and the lower is z = h z 2 . The inside of the cylinder is denoted as D i n t and the outside as D e x t = D \ D i n t .
The region D has infinite length, so in order to conduct a numerical experiment, we will have to consider a finite region D = { ( x , y , z ) : x ( x 1 ,   x 2 ) ,   y ( y 1 ,   y 2 ) ,   z ( z 1 , z 2 ) } instead. D is approximated with a set of polyhedrons. By choosing the decomposition diameter we can achieve any desired accuracy for H s n d . In order to eliminate unwanted distortions on the model boundary, when calculating H s n d on the Oxy plane above the model, D should be extended far beyond the boundary of the field calculation plane. To achieve this without blowing the computational complexity, we make use of irregular discretization as shown in Figure 2 [16].
As a concrete example, let us consider the parallelepiped in D of size 12 × 12 × 8 m3, the axis of the cylinder (the well) of radius r = 0.25 m passes through the center of the upper and lower faces. K is set to 0.2 inside of the parallelepiped and to 0 inside of the cylinder. The external magnetic field H p r m is uniform and set to (14; 14; 35) A/m. The model discretization is 480 × 480 × 20. The field is calculated on a plane with linear dimensions of 3.5 m × 2.5 m, located at height h of 0.25 m above the surface of the parallelepiped and centered relative to it. Field discretization is 175 × 125 (50 points per meter). Figure 3 shows components of the calculated field H s n d (top row): H s n d x (min., max.: [−0.32; 0.44] A/m) and H s n d z (min., max.: [−0.03; 0.003] A/m), as well as part of the field due to the self-demagnetization (bottom row), i.e., the difference of H s n d calculated with and without the self-demagnetization: x-component (min., max.: [−0.084; 0.085] A/m) and z-component (min., max.: [0.01; 0.19] A/m). The average contribution of the self-demagnetization to the field H s n d is 24%. Computational error for the self-demagnetization was estimated with the Runge rule and is equal to 10−3%.

6. Notes on Technical Implementation

The conjugate gradient method for solving the resulting system of Equation (6) was implemented in a program using contemporary HPC (High-Performance Computing) solutions (Nvidia CUDA and AMD ROCm) that runs computations on GPUs. In order to conduct a series of described experiments we employed five Radeon VII GPUs. Each experiment took mere minutes (we did not run benchmarks in a well-controlled environment, as it is outside of the topic of this paper; sufficient to say, it would have taken days to run on any high-end CPU). This fact leaves a lot of room to process more complex models, with a high discretization density of the model itself and/or its magnetic field.
The program source code is available on github [17] under MIT license and allows for the recreation of the results of the described experiments.

7. Conclusions

Finding a closed-form expression for the magnetic field of a polyhedron enabled us to construct a computationally efficient method for calculating self-demagnetization of complex-shaped 3D objects as well as their magnetic field. The results were verified against a number of known simple cases (a solid sphere, an ellipsoid, and a cuboid placed in the external magnetic field), a practical example (the well model) is also presented.
In our future work we plan to develop a method of magnetic data inversion based on the presented algorithm of the forward modelling. The method will be applied for geophysical magnetic data interpretation in the fields of mineral exploration, ecological, and archeological problems.

Author Contributions

Conceptualization, P.M. and D.B.; methodology, P.M. and D.B.; software, D.B. and A.C.; validation, P.M., D.B. and A.C.; formal analysis, P.M.; investigation, P.M., A.C. and D.B.; writing original draft preparation, P.M. and A.C.; writing review and editing, P.M., D.B. and A.C.; visualization, D.B. and A.C.; supervision, P.M.; project administration, P.M.; funding acquisition, P.M. All authors have read and agreed to the published version of the manuscript.

Funding

This research was partially funded by Russian Science Foundation, grant number 20-17-00058 (Sections 4 and 5).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest. The funders had no role in the design of the study; in the collection, analyses, or interpretation of data; in the writing of the manuscript, or in the decision to publish the results.

References

  1. Martyshko, P.S. The solution of a DC electrical sounding inversion problem for arbitrary classes of potentials. Izv. Akad. Nauk. SSSR Fiz. Zemli 1986, 1, 87–92. [Google Scholar]
  2. Blokh, Y.I. Interpretation of magnetic-anomalies including demagnetization effects. Izv. Akad. Nauk. SSSR Fiz. Zemli 1987, 4, 56–62. [Google Scholar]
  3. Beleggia, M.; De Graef, M. On the computation of the demagnetization tensor field for an arbitrary particle shape using a Fourier space approach. J. Magn. Magn. Mater. 2003, 263, L1–L9. [Google Scholar] [CrossRef]
  4. Shuang, L.; Xiangyun, H.; Henglei, Z.; Eixia, G.; Boxin, Z. 3D Magnetization Vector Inversion of Magnetic Data: Improving and Comparing Methods. Pure Appl. Geophys. 2017, 174, 4421–4444. [Google Scholar]
  5. Krahenbuhl, 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]
  6. Austin, J.; Geuna, S.; Clark, D.; Hillan, D. Remanence, self-demagnetization and their ramifications for magnetic modelling of iron oxide copper-gold deposits: An example from Candelaria, Chile. J. Appl. Geophys. 2014, 109, 242–255. [Google Scholar] [CrossRef]
  7. Liu, S.; Fedi, M.; Hu, X.; Ou, Y.; Baniamerian, J.; Zuo, B.; Liu, Y.; Zhu, R. Three-dimensional inversion of magnetic data in the simultaneous presence of significant remanent magnetization and self-demagnetization: Example from Daye iron-ore deposit, Hubei province, China. Geophys. J. Int. 2018, 215, 614–634. [Google Scholar] [CrossRef]
  8. Ouyang, F.; Chen, L. Iterative magnetic forward modeling for high susceptibility based on integral equation and Gauss-FFT. Geophysics 2020, 85, J1–J13. [Google Scholar] [CrossRef]
  9. Rothwell, J.; Cloud, M.J. Electromagnetics; Taylor & Francis: Oxfordshire, UK, 2010; 667p. [Google Scholar]
  10. Strakhov, V.N.; Lapina, M.I. Direct problems of gravimetry and magnetometry for arbitrary homogeneous polyhedral. Izv. Phys. Solid Earth 1982, 4, 45. [Google Scholar]
  11. Van Oosterom, A.; Strackee, J. The Solid Angle of a Plane Triangle. IEEE Trans. Biomed. Eng. 1983, 30, 125–126. [Google Scholar] [CrossRef] [PubMed]
  12. Martyshko, P.S.; Ladovskij, I.V.; Byzov, D.D.; Chernoskutov, A.I. On Solving the Forward Problem of Gravimetry in Curvilinear and Cartesian Coordinates: Krasovskii’s Ellipsoid and Plane Modeling. Izv. Phys. Solid Earth 2018, 54, 565–573. [Google Scholar] [CrossRef]
  13. Faddeev, D.K.; Faddeeva, V.N. Computational Methods of Linear Algebra; W.H. Freeman & Co.: San Francisco, CA, USA; London, UK, 1963; 622p. [Google Scholar]
  14. Vorst, H. Iterative Krylov Methods for Large Linear System; Cambridge University Press: Cambridge, UK, 2003; 221p. [Google Scholar]
  15. Osborn, J.A. Demagnetizing Factors of the General Ellipsoid. Phys. Rev. 1945, 67, 351–357. [Google Scholar] [CrossRef]
  16. Martyshko, P.S.; Byzov, D.D.; Chernoskutov, A.I. Numerical solution of the forward magnetic field problem for models with irregular polyhedron discretization taking into account the “demagnetization effect”. In Proceedings of the International Conference on Numerical Analysis and Applied Mathematics 2019, ICNAAM 2019, Rhodes, Greece, 23–28 September 2019; Volume 2293. [Google Scholar] [CrossRef]
  17. Chernoskutov, A.I.; Byzov, D.D. High-Performance Self-Demagnetization Modeling with GPUs. Available online: https://github.com/AlexIII/GRAFEN/tree/demag-paper-pub (accessed on 9 May 2022).
Figure 1. Visual representation of calculated I I p r m for the cuboid.
Figure 1. Visual representation of calculated I I p r m for the cuboid.
Mathematics 10 01656 g001
Figure 2. Visual representation of discretization of a two-layer medium (side faces of the partition elements are not shown). The central part of the image (with the dense discretization) is the area over which the field H s n d is calculated. The remaining space is filled with 4 identical parallelepipeds (the upper and lower faces of 3 parallelepipeds are shown). The length of the parallelepipeds is 103 times of the length of the area with the dense discretization.
Figure 2. Visual representation of discretization of a two-layer medium (side faces of the partition elements are not shown). The central part of the image (with the dense discretization) is the area over which the field H s n d is calculated. The remaining space is filled with 4 identical parallelepipeds (the upper and lower faces of 3 parallelepipeds are shown). The length of the parallelepipeds is 103 times of the length of the area with the dense discretization.
Mathematics 10 01656 g002
Figure 3. Calculated secondary (induced) magnetic field including the self-demagnetization of the well model (upper row) and the part of the field caused by the self-demagnetization (lower row). First column is H x s n d ( H y s n d looks exactly the same), second column is H z s n d . The black circle indicates the well position.
Figure 3. Calculated secondary (induced) magnetic field including the self-demagnetization of the well model (upper row) and the part of the field caused by the self-demagnetization (lower row). First column is H x s n d ( H y s n d looks exactly the same), second column is H z s n d . The black circle indicates the well position.
Mathematics 10 01656 g003
Table 1. Comparison of fixed-point iteration method and conjugate gradient method.
Table 1. Comparison of fixed-point iteration method and conjugate gradient method.
Number of Iterations/Time, sec
Fixed-Point Iteration Method (7)Conjugate Gradient Method (8)
K = 2 ,       ϵ = 10 4
7/1035/90
K = 10 ,     ϵ = 10 3
14/1928/128
K = 20 ,     ϵ = 10 3
26/3569/141
K = 30 ,     ϵ = 10 3
40/52410/154
K = 50 ,     ϵ = 10 3
Failed   to   reach   desired   ϵ after
50   iterations   ( 655   s ) ,   ϵ = 0.0023
13/191
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Byzov, D.; Martyshko, P.; Chernoskutov, A. Computationally Effective Modeling of Self-Demagnetization and Magnetic Field for Bodies of Arbitrary Shape Using Polyhedron Discretization. Mathematics 2022, 10, 1656. https://doi.org/10.3390/math10101656

AMA Style

Byzov D, Martyshko P, Chernoskutov A. Computationally Effective Modeling of Self-Demagnetization and Magnetic Field for Bodies of Arbitrary Shape Using Polyhedron Discretization. Mathematics. 2022; 10(10):1656. https://doi.org/10.3390/math10101656

Chicago/Turabian Style

Byzov, Denis, Petr Martyshko, and Alexander Chernoskutov. 2022. "Computationally Effective Modeling of Self-Demagnetization and Magnetic Field for Bodies of Arbitrary Shape Using Polyhedron Discretization" Mathematics 10, no. 10: 1656. https://doi.org/10.3390/math10101656

APA Style

Byzov, D., Martyshko, P., & Chernoskutov, A. (2022). Computationally Effective Modeling of Self-Demagnetization and Magnetic Field for Bodies of Arbitrary Shape Using Polyhedron Discretization. Mathematics, 10(10), 1656. https://doi.org/10.3390/math10101656

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