[go: up one dir, main page]

CN114002749A - Method, device, equipment and medium for calculating magnetic field gradient tensor in two-dimensional well - Google Patents

Method, device, equipment and medium for calculating magnetic field gradient tensor in two-dimensional well Download PDF

Info

Publication number
CN114002749A
CN114002749A CN202111293491.XA CN202111293491A CN114002749A CN 114002749 A CN114002749 A CN 114002749A CN 202111293491 A CN202111293491 A CN 202111293491A CN 114002749 A CN114002749 A CN 114002749A
Authority
CN
China
Prior art keywords
well
magnetic field
field gradient
gradient tensor
rectangular
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111293491.XA
Other languages
Chinese (zh)
Inventor
陈欣
陈龙伟
吕玉增
刘宁慧
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guilin University of Technology
Original Assignee
Guilin University of Technology
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guilin University of Technology filed Critical Guilin University of Technology
Priority to CN202111293491.XA priority Critical patent/CN114002749A/en
Publication of CN114002749A publication Critical patent/CN114002749A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01VGEOPHYSICS; GRAVITATIONAL MEASUREMENTS; DETECTING MASSES OR OBJECTS; TAGS
    • G01V3/00Electric or magnetic prospecting or detecting; Measuring magnetic field characteristics of the earth, e.g. declination, deviation
    • G01V3/18Electric or magnetic prospecting or detecting; Measuring magnetic field characteristics of the earth, e.g. declination, deviation specially adapted for well-logging
    • G01V3/26Electric or magnetic prospecting or detecting; Measuring magnetic field characteristics of the earth, e.g. declination, deviation specially adapted for well-logging operating with magnetic or electric fields produced or modified either by the surrounding earth formation or by the detecting device
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01VGEOPHYSICS; GRAVITATIONAL MEASUREMENTS; DETECTING MASSES OR OBJECTS; TAGS
    • G01V3/00Electric or magnetic prospecting or detecting; Measuring magnetic field characteristics of the earth, e.g. declination, deviation
    • G01V3/38Processing data, e.g. for analysis, for interpretation, for correction

Landscapes

  • Life Sciences & Earth Sciences (AREA)
  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Remote Sensing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Geology (AREA)
  • General Life Sciences & Earth Sciences (AREA)
  • General Physics & Mathematics (AREA)
  • Geophysics (AREA)
  • Electromagnetism (AREA)
  • Measuring Magnetic Variables (AREA)

Abstract

二度体井中磁场梯度张量计算方法、装置、设备及介质,构建内部包含所述目标区域的矩形模型,采用一维离散卷积法,计算各列小长方形单元在井中观测点处产生的井中磁场梯度张量,将矩形模型中各列小长方形单元在井中观测点处产生的井中磁场梯度张量分量分别进行累加,得到整个矩形模型在井中观测点处产生的井中磁场梯度张量。其中提出了一种特殊的磁场梯度张量加权系数计算方法,并结合采用一维离散卷积快速计算方法,实现了二度体井中磁场梯度张量在计算精度和计算效率上的统一。

Figure 202111293491

A method, device, equipment and medium for calculating the magnetic field gradient tensor in a two-dimensional well, a rectangular model containing the target area is constructed, and a one-dimensional discrete convolution method is used to calculate the wellbore generated by each column of small rectangular cells at the observation point in the well. Magnetic field gradient tensor. The in-well magnetic field gradient tensor components generated by each column of small rectangular units in the rectangular model at the observation points in the well are respectively accumulated to obtain the in-well magnetic field gradient tensor generated by the entire rectangular model at the observation points in the well. A special calculation method of the magnetic field gradient tensor weighting coefficient is proposed, and combined with the one-dimensional discrete convolution fast calculation method, the calculation accuracy and calculation efficiency of the magnetic field gradient tensor in the two-dimensional body well are unified.

Figure 202111293491

Description

Method, device, equipment and medium for calculating magnetic field gradient tensor in two-dimensional well
Technical Field
The invention belongs to the technical field of two-degree volume magnetic field numerical simulation, and particularly relates to a method, a device, equipment and a medium for calculating a magnetic field gradient tensor in a two-degree volume well.
Background
Compared with ground and aviation magnetic exploration, the magnetic exploration in the well can better reflect the information such as the position of the field source body due to the fact that the distance between the field source body and the magnetic exploration in the well is closer. The magnetic field gradient in the well is more sensitive to the magnetic susceptibility and the shape change of a field source body, is an important observation means in the field of solid mineral products, and along with the development of magnetic observation equipment in the well, the measurement of the magnetic field in the well gradually becomes an important exploration method. In order to meet the joint inversion requirement of the magnetic field gradient tensor data in the ground-well, the efficient calculation of the magnetic field gradient in the well becomes an urgent problem to be solved. Compared with the ground and aviation magnetic field gradient tensor forward calculation, the Green function is singular when the field source point and the observation point are located at the same position because the observation point is located inside the underground field source in the well, and the calculation precision is seriously influenced.
For the calculation of the magnetic field gradient tensor in the two-dimensional well with any section shape and any magnetic susceptibility distribution, a numerical method is generally adopted. The most common calculation idea is to divide the underground space into a plurality of small bivariates with rectangular sections, and accumulate the magnetic fields generated by the small bivariates to approach the magnetic field in the complex bivariate well, and the method has the biggest disadvantage of low calculation speed. The subdivision mode and the calculation method jointly determine the efficiency and the precision of the calculation of the magnetic field gradient tensor in the well. The calculation efficiency and the calculation accuracy are a pair of spears, and the maximum problem of the existing method is that the calculation efficiency and the calculation accuracy cannot be simultaneously ensured, and the requirements of the magnetic field data joint inversion imaging, the man-machine interaction modeling and the interpretation on the calculation efficiency in the ground-well cannot be met.
Therefore, the method for calculating the magnetic field gradient tensor in the two-dimensional well has high calculation efficiency and can ensure the calculation precision, and has important practical significance.
Disclosure of Invention
The invention provides a method, a device, equipment and a medium for calculating the magnetic field gradient tensor in a two-dimensional well, which can be suitable for fast and high-precision calculation of the magnetic field gradient tensor in the two-dimensional well with any section shape and any magnetic susceptibility distribution.
In order to achieve the technical purpose, the technical scheme provided by the invention is as follows:
in one aspect, the present invention provides a method for calculating a magnetic field gradient tensor in a two-dimensional well, comprising:
determining a target area, and constructing a rectangular model internally containing the target area; mesh subdivision is carried out on the rectangular model, the rectangular model is subdivided into a plurality of small rectangular units, and the magnetic susceptibility of each small rectangular unit is assigned;
given the coordinates of observation points in the well, the horizontal coordinate of each observation point is x0Vertical coordinate z of each observation pointnN is 1,2, and N is the number of observation points in the well;
calculating the in-well magnetic field gradient tensor generated by each line of small rectangular units at the in-well observation point by adopting a one-dimensional discrete convolution method;
and obtaining the magnetic field gradient tensor in the well generated by the whole rectangular model at the observation point in the well based on the magnetic field gradient tensor in the well generated by each line of small rectangular units at the observation point in the well.
Furthermore, the magnetic susceptibility of each small rectangular unit in the target area is a constant value, the magnetic susceptibility of different small rectangular units has different values, so that a second-degree body with any section shape and any magnetic susceptibility distribution is drawn at the moment, the magnetic susceptibility of the small rectangular units positioned in the air part is set to be zero, and the undulating terrain is drawn at the moment.
Further, the small rectangular units in the p-th column are observed at the well (x)0,zn) The resulting in-well magnetic field gradient tensor comprises 4 components, respectively
Figure BDA0003335761590000021
And
Figure BDA0003335761590000022
the calculation formulas are respectively as follows:
Figure BDA0003335761590000023
Figure BDA0003335761590000024
Figure BDA0003335761590000025
Figure BDA0003335761590000031
wherein p is 1,2, 1, M, M is the subdivision number of the rectangular model x direction small cuboid unit, r is 1,2, L, L is the subdivision number of the rectangular model z direction small cuboid unit, Mxpr) And mzpr) Respectively represents the coordinate position of the central point as (xi)pr) The x-component and z-component of the magnetization of the small cuboid cell; h is1(x0p,znr)、h2(x0p,znr) Respectively, represent weighting coefficients.
Further, mxpr) And mzpr) Calculated by the following steps:
according to the IGRF model of the main earth magnetic field, the coordinate position of the center point is calculated to be (xi)pr) Of a small cuboid unit of the earth's main magnetic fieldxpr) And z component Tzpr);
According to the coordinate position of the central point as (xi)pr) Magnetic susceptibility k (xi) of small rectangular unitpr) Calculating the coordinate position of the central point as (xi)pr) X component m of the magnetization of the small cuboid cellxpr) And z component mzpr):
mxpr)=κ(ξpr)·Txpr)
mzpr)=κ(ξpr)·Tzpr)
Further, a weighting factor h1(x0p,znr)、h2(x0p,znr) The calculation method comprises the following steps:
Figure BDA0003335761590000032
Figure BDA0003335761590000033
wherein mu0Represents the vacuum permeability; x1=ξp-0.5Δx-x0;X2=ξp+0.5Δx-x0;Z1=ζr-0.5Δz-zn;Z2=ζr+0.5Δz-zn(ii) a Δ x and Δ z represent the side lengths of the small rectangular solid cell in the x direction and the z direction, respectively.
Further, observing points (x) of each column of small rectangular units in the rectangular model in the well0,zn) Respectively accumulating the tensor components of the magnetic field gradient in the well to obtain the observation point (x) of the whole rectangular model in the well0,zn) The resulting magnetic field gradient tensor in the well, i.e.
Figure BDA0003335761590000041
Figure BDA0003335761590000042
In another aspect, the present invention provides an apparatus for calculating a magnetic field gradient tensor in a two-dimensional well, comprising:
the system comprises a first module, a second module and a third module, wherein the first module is used for determining a target area and constructing a rectangular model internally containing the target area; mesh subdivision is carried out on the rectangular model, the rectangular model is subdivided into a plurality of small rectangular units, and the magnetic susceptibility of each small rectangular unit is assigned;
a second module for giving coordinates of observation points in the well, each observation point having a horizontal coordinate of x0Vertical coordinate z of each observation pointnN is 1,2, and N is the number of observation points in the well;
the third module is used for calculating the in-well magnetic field gradient tensor generated by each line of small rectangular units at the in-well observation point by adopting a one-dimensional discrete convolution method;
and the fourth module is used for obtaining the magnetic field gradient tensor in the well, which is generated by the whole rectangular model at the observation point in the well, based on the magnetic field gradient tensor in the well, which is generated by each row of small rectangular units at the observation point in the well.
In another aspect, the present invention provides a computer device comprising a memory and a processor, the memory storing a computer program, the processor implementing the following steps when executing the computer program:
determining a target area, and constructing a rectangular model internally containing the target area; mesh subdivision is carried out on the rectangular model, the rectangular model is subdivided into a plurality of small rectangular units, and the magnetic susceptibility of each small rectangular unit is assigned;
given the coordinates of observation points in the well, the horizontal coordinate of each observation point is x0Vertical coordinate z of each observation pointnN is 1,2, and N is the number of observation points in the well;
calculating the in-well magnetic field gradient tensor generated by each line of small rectangular units at the in-well observation point by adopting a one-dimensional discrete convolution method;
and obtaining the magnetic field gradient tensor in the well generated by the whole rectangular model at the observation point in the well based on the magnetic field gradient tensor in the well generated by each line of small rectangular units at the observation point in the well.
In yet another aspect, the present invention also provides a computer readable storage medium having a computer program stored thereon, the computer program when executed by a processor implementing the steps of:
determining a target area, and constructing a rectangular model internally containing the target area; mesh subdivision is carried out on the rectangular model, the rectangular model is subdivided into a plurality of small rectangular units, and the magnetic susceptibility of each small rectangular unit is assigned;
given the coordinates of observation points in the well, the horizontal coordinate of each observation point is x0Vertical coordinate z of each observation pointnN is 1,2, and N is the number of observation points in the well;
calculating the in-well magnetic field gradient tensor generated by each line of small rectangular units at the in-well observation point by adopting a one-dimensional discrete convolution method;
and obtaining the magnetic field gradient tensor in the well generated by the whole rectangular model at the observation point in the well based on the magnetic field gradient tensor in the well generated by each line of small rectangular units at the observation point in the well.
The invention is an organic whole, a rectangular model containing the target area inside is constructed, a one-dimensional discrete convolution method is adopted to calculate the magnetic field gradient tensor in the well generated by each line of small rectangular units at the well observation point, and the magnetic field gradient tensor components in the well generated by each line of small rectangular units at the well observation point in the rectangular model are respectively accumulated to obtain the magnetic field gradient tensor in the well generated by the whole rectangular model at the well observation point. A special magnetic field gradient tensor weighting coefficient calculation method is provided, and a one-dimensional discrete convolution fast calculation method is combined, so that the unification of the magnetic field gradient tensor in the two-dimensional well in the calculation precision and the calculation efficiency is realized.
Compared with the prior art, the invention has the advantages that:
(1) the proposed rectangular model representation method is simple and flexible, and can easily depict any section shape, any susceptibility distribution complex two-dimensional body and undulating terrain;
(2) the method can realize the rapid and high-precision calculation of the magnetic field gradient tensor in the complex two-dimensional well under the conditions of any section shape, any magnetic susceptibility distribution and any well logging point distribution, and can meet the requirements of large-scale ground-well magnetic field data joint inversion, man-machine interaction modeling and interpretation;
(3) when the method is used for large-scale calculation, the calculation efficiency and the calculation precision are high, and the required computer memory is small.
Drawings
FIG. 1 is a flow chart in one embodiment of the present invention;
FIG. 2 is a schematic diagram of a complex two-dimensional model according to an embodiment of the present invention;
FIG. 3 is a schematic representation of a two-dimensional model with a rectangular cross-section and borehole observation points according to an embodiment of the present invention;
FIG. 4 is a calculated magnetic field gradient tensor in one embodiment of the present invention, in which (a) is the magnetic field gradient tensor and b is the magnetic field gradient tensorzzCalculated values of the components, (b) is the magnetic field gradient tensor bxzComponent calculation values;
FIG. 5 shows the theoretical values of the magnetic field gradient tensor in one embodiment of the present invention, in which (a) is the magnetic field gradient tensor and bzzComponent theoretical values, (b) are the magnetic field gradient tensor bxzA component theoretical value;
FIG. 6 is a diagram of the relative error between the computed and theoretical values of the magnetic field gradient tensor, in which (a) is the magnetic field gradient tensor and b is the magnetic field gradient tensorzzThe relative error of the calculated values of the components from the theoretical values, (b) the magnetic field gradient tensor bxzThe relative error of the calculated value of the component and the theoretical value;
fig. 7 is a schematic structural diagram according to an embodiment of the present invention.
Detailed Description
For the purpose of promoting a clear understanding of the objects, aspects and advantages of the embodiments of the invention, reference will now be made to the drawings and detailed description, wherein there are shown in the drawings and described below specific embodiments of the invention, in which modifications and variations can be made by one skilled in the art without departing from the spirit and scope of the invention. The exemplary embodiments of the present invention and the description thereof are provided to explain the present invention and not to limit the present invention.
Referring to fig. 1, in an embodiment of the present invention, a method for calculating a magnetic field gradient tensor in a two-dimensional well is provided, including:
(S1) a complex two-dimensional model representation:
given borehole observation point coordinates (x)0,zn) Observation pointHas a horizontal coordinate of x0Vertical coordinate z of each observation pointnN is 1,2, and N is the number of observation points in the well.
Determining a target area, and constructing a rectangular model internally containing the target area. The starting position of the rectangular model in the x, z direction is determined such that the target area (containing the relief) is completely embedded in the rectangular model.
According to the actual problem requirement, grid division is carried out on the rectangular model, the rectangular model is uniformly divided into a plurality of regular small rectangular units (as shown in fig. 2), and the geometric sizes delta x and delta z of the small rectangular units are determined, wherein the delta x and delta z respectively represent the side lengths of the small rectangular units in the x direction and the z direction.
And (3) assigning the magnetic susceptibility of each small rectangular unit according to the magnetic susceptibility distribution of the target area, wherein the magnetic susceptibility of each small rectangular unit in the target area is a constant value, the magnetic susceptibility of different small rectangular units is different in value, so that a binary body with any section shape and any magnetic susceptibility distribution is drawn at the moment, the magnetic susceptibility of the small rectangular units positioned in the air part is set to be zero, and the undulating terrain is drawn at the moment.
At this point, the complex two-dimensional model representation is completed.
(S2) calculation of magnetization:
according to the IGRF model of the main earth magnetic field, the coordinate position of the center point is calculated to be (xi)pr) Of a small cuboid unit of the earth's main magnetic fieldxpr) And z component Tzpr);
According to the coordinate position of the central point as (xi)pr) Magnetic susceptibility k (xi) of small rectangular unitpr) Calculating the coordinate position of the central point as (xi)pr) X component m of the magnetization of the small cuboid cellxpr) And z component mzpr):
mxpr)=κ(ξpr)·Txpr)
mzpr)=κ(ξpr)·Tzpr)
(S3) weighting coefficient calculation:
weighting factor h1(x0p,znr)、h2(x0p,znr) The calculation method comprises the following steps:
Figure BDA0003335761590000071
Figure BDA0003335761590000072
wherein mu0Represents the vacuum permeability; x1=ξp-0.5Δx-x0;X2=ξp+0.5Δx-x0;Z1=ζr-0.5Δz-zn;Z2=ζr+0.5Δz-zn(ii) a Δ x and Δ z represent the side lengths of the small rectangular solid cell in the x direction and the z direction, respectively.
(S4) one-dimensional discrete convolution calculation:
and calculating the in-well magnetic field gradient tensor generated by each row of small rectangular units at the in-well observation point by adopting a one-dimensional discrete convolution method.
Observation point (x) of the p-th column of small rectangular units in the well0,zn) The resulting in-well magnetic field gradient tensor comprises 4 components, respectively
Figure BDA0003335761590000081
And
Figure BDA0003335761590000082
based on the following calculation formula, respectively calculating each component of the magnetic field gradient tensor in the well generated by each row of small rectangular units at the observation point in the well by adopting a one-dimensional discrete convolution method:
Figure BDA0003335761590000083
Figure BDA0003335761590000084
Figure BDA0003335761590000085
Figure BDA0003335761590000086
wherein p is 1,2, 1, M, M is the subdivision number of the rectangular model x direction small cuboid unit, r is 1,2, L, L is the subdivision number of the rectangular model z direction small cuboid unit, Mxpr) And mzpr) Respectively represents the coordinate position of the central point as (xi)pr) The x-component and z-component of the magnetization of the small cuboid cell; h is1(x0p,znr)、h2(x0p,znr) Respectively, represent weighting coefficients.
(S5) magnetic field gradient tensor value synthesis:
observing the small rectangular units in each column in the rectangular model at the well observation point (x)0,zn) Respectively accumulating the tensor components of the magnetic field gradient in the well to obtain the observation point (x) of the whole rectangular model in the well0,zn) The resulting magnetic field gradient tensor in the well, i.e.
Figure BDA0003335761590000091
Figure BDA0003335761590000092
In another embodiment of the present invention, the one-dimensional discrete convolution method in the step (S4) includes the steps of:
(1) weighting coefficient h (x)0p,z1r) (represents h)1(x0p,z1r) And h2(x0p,z1r) Either) is arranged into a vector t, noted as
t=[t1,t2,…,tN+L-1]T
In the formula, matrix element tiAnd a weighting coefficient h (x)0p,znr) Existence relationship
ti=h(x0p,Zir)
In the formula, Zi=z11+(i-1)Δz,i=1,2,…,N+L-1。
(2) The magnetization m (xi) of the r columnpr)(mxpr) And mzpr) Either) is arranged into a vector m of dimension L, the vector elements miIn relation to magnetization
mi=m(ξpi)
Zero-filling and expanding the vector m into the vector mext
Figure BDA0003335761590000093
In the formula, 0(N-1)×1A zero vector with dimension (N-1) x 1;
(3) computing
Figure BDA0003335761590000094
In the formula, fft () represents one-dimensional fast fourier transform;
(4) computing
Figure BDA0003335761590000095
In the formula, ". indicates the multiplication operation of corresponding elements;
(5) computing
Figure BDA0003335761590000096
In the formula, ifft () represents one-dimensional inverse fast fourier transform;
(6) extracting the matrix fextThe first L rows of elements form a vector f with the dimension L, namely a one-dimensional discrete convolution calculation result.
The invention realizes the unification of the magnetic field gradient tensor calculation in any section shape and any susceptibility distribution well in the efficiency and the precision. The method solves the problems that the existing method for calculating the gradient tensor of the two-dimensional magnetic field in the well is low in calculation precision and low in calculation speed, and cannot meet the requirements of joint inversion imaging, man-machine interaction modeling and interpretation of the magnetic field data in the ground-well.
The accuracy and efficiency of the magnetic field gradient tensor calculation method in the two-dimensional well provided by the invention are examined.
In order to illustrate the efficiency and accuracy of the method proposed by the present invention for calculating the magnetic field gradient tensor in a complex two-dimensional well with arbitrary cross-sectional shape and arbitrary susceptibility distribution, a complex two-dimensional model as shown in fig. 3 was designed.
A small rectangle with uniform magnetic susceptibility is embedded in a rectangular area with constant magnetic susceptibility, and the centers of the two rectangles are superposed. The large rectangular range is: the x direction is from-1000 m to 1000m, and the z direction is from 0m to 1000m (the z axis is positive downward); the small rectangle ranges are: the x-direction is from-400 m to 400m and the z-direction is from 100m to 400 m. The magnetic susceptibility of the large rectangle is 0SI, and the density of the small rectangle is 0.1 SI. The large rectangle is divided into 10000 × 10000 units with the same size, the horizontal coordinate of the observation point in the well is 55.1m, the vertical coordinate of the observation point is sampled at equal intervals from 10m to 900m (shown by a dotted line A in FIG. 3), and the number of the observation points is 9401.
The underground gravity gradient tensor algorithm is realized by utilizing Matlab language programming, and the personal table type machine used for running the program is configured as follows: the CPU is i7-2620, the dominant frequency is 2.7GHz, 32GB of memory, four cores and eight threads. The time required to compute one of the magnetic field gradient tensor components is about 15 seconds, and thus the method of the present invention is very efficient. The calculated values of the magnetic field gradient tensor are shown in FIG. 4, the theoretical values of the magnetic field gradient tensor are shown in FIG. 5, and the calculated values of the magnetic field gradient tensor are consistent from the aspect of morphology, wherein (a) in FIG. 4 is the magnetic field gradient tensor and b thereofzzCalculated values of the components, (b) is the magnetic field gradient tensor bxzCalculated values of the components, in FIG. 5 (a) is the magnetic field gradient tensor bzzComponent theoretical values, (b) are the magnetic field gradient tensor bxzComponent theoretical value. The relative error is obtained by dividing the absolute value of the difference obtained by subtracting the calculated value from the theoretical value by the theoretical value (shown in FIG. 6, where (a) is the magnetic field gradient tensor, b thereofzzThe relative error of the calculated values of the components from the theoretical values, (b) the magnetic field gradient tensor bxzThe relative error of the component calculation value and the theoretical value) is calculated, the relative error is counted, the statistical result is given by table 1, and the algorithm precision is known to be very high.
TABLE 1 statistics of relative errors of theoretical and calculated values of magnetic field gradient tensor
Maximum value Minimum value Mean value
bzz 8.2197×10-9 5.3661×10-16 7.0166×10-12
bxz 1.1153×10-8 2.1029×10-16 9.9921×10-12
In another embodiment of the present invention, an apparatus for calculating a magnetic field gradient tensor in a two-dimensional well includes:
the system comprises a first module, a second module and a third module, wherein the first module is used for determining a target area and constructing a rectangular model internally containing the target area; mesh subdivision is carried out on the rectangular model, the rectangular model is subdivided into a plurality of small rectangular units, and the magnetic susceptibility of each small rectangular unit is assigned;
a second module for giving coordinates of observation points in the well, each observation point having a horizontal coordinate of x0Vertical coordinate z of each observation pointnN is 1,2, and N is the number of observation points in the well;
the third module is used for calculating the in-well magnetic field gradient tensor generated by each line of small rectangular units at the in-well observation point by adopting a one-dimensional discrete convolution method;
and the fourth module is used for obtaining the magnetic field gradient tensor in the well, which is generated by the whole rectangular model at the observation point in the well, based on the magnetic field gradient tensor in the well, which is generated by each row of small rectangular units at the observation point in the well.
The implementation method of the functions of the modules can be implemented by the same method in the foregoing embodiments, and details are not repeated here.
In this embodiment, a computer device is provided, and the computer device may be a server, and its internal structure diagram may be as shown in fig. 7. The computer device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer device is used to store sample data. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement the steps of the method for calculating the magnetic field gradient tensor in the two-dimensional well in the above embodiment.
Those skilled in the art will appreciate that the architecture shown in fig. 7 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In an embodiment, a computer device is provided, comprising a memory storing a computer program and a processor, the processor implementing the steps of the method for calculating a magnetic field gradient tensor in a two-dimensional well in the above embodiments when executing the computer program.
In an embodiment, a computer-readable storage medium is provided, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method for magnetic field gradient tensor calculation in a two-dimensional well according to the above-mentioned embodiments.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. The method for calculating the magnetic field gradient tensor in the two-dimensional well is characterized by comprising the following steps of:
determining a target area, and constructing a rectangular model internally containing the target area; mesh subdivision is carried out on the rectangular model, the rectangular model is subdivided into a plurality of small rectangular units, and the magnetic susceptibility of each small rectangular unit is assigned;
given the coordinates of observation points in the well, the horizontal coordinate of each observation point is x0Vertical coordinate z of each observation pointnN is 1,2, and N is the number of observation points in the well;
calculating the in-well magnetic field gradient tensor generated by each line of small rectangular units at the in-well observation point by adopting a one-dimensional discrete convolution method;
and obtaining the magnetic field gradient tensor in the well generated by the whole rectangular model at the observation point in the well based on the magnetic field gradient tensor in the well generated by each line of small rectangular units at the observation point in the well.
2. The method of calculating the magnetic field gradient tensor in the two-dimensional well according to claim 1, wherein the magnetic susceptibility of each small rectangular unit in the target area is a constant value, the magnetic susceptibility of different small rectangular units is different, the two-dimensional well with any cross-sectional shape and any magnetic susceptibility distribution is drawn at the moment, the magnetic susceptibility of the small rectangular units in the air part is set to be zero, and the undulating terrain is drawn at the moment.
3. The method of calculating the magnetic field gradient tensor in the two-dimensional well as recited in claim 1 or 2, wherein the observation point (x) of the p-th column of small rectangular units in the well0,zn) The resulting in-well magnetic field gradient tensor comprises 4 components, respectively
Figure FDA0003335761580000011
And
Figure FDA0003335761580000012
the calculation formulas are respectively as follows:
Figure FDA0003335761580000013
Figure FDA0003335761580000014
Figure FDA0003335761580000015
Figure FDA0003335761580000021
wherein, p is 1,2, M is the subdivision number of the rectangular unit in the x direction of the rectangular model, r is 1,2, L and L are the subdivision number of the small cuboid unit in the z direction of the rectangular model, and m isxpr) And mzpr) Respectively represents the coordinate position of the central point as (xi)pr) The x-component and z-component of the magnetization of the small cuboid cell; h is1(x0p,znr)、h2(x0p,znr) Respectively, represent weighting coefficients.
4. The method of calculating the magnetic field gradient tensor in the two-dimensional well as recited in claim 3, wherein m isxpr) And mzpr) Calculated by the following steps:
according to the IGRF model of the main earth magnetic field, the coordinate position of the center point is calculated to be (xi)pr) Of a small cuboid unit of the earth's main magnetic fieldxpr) And z component Tzpr);
According to the coordinate position of the central point as (xi)pr) Magnetic susceptibility k (xi) of small rectangular unitpr) Calculating the coordinate position of the central point as (xi)pr) X component m of the magnetization of the small cuboid cellxpr) And z component mzpr):
mxpr)=κ(ξpr)·Txpr)
mzpr)=κ(ξpr)·Tzpr)。
5. The method of claim 3, wherein the weighting factor h is a factor of a gradient of a magnetic field in a two-dimensional well1(x0p,znr)、h2(x0p,znr) The calculation method comprises the following steps:
Figure FDA0003335761580000022
Figure FDA0003335761580000023
wherein mu0Represents the vacuum permeability; x1=ξp-0.5Δx-x0;X2=ξp+0.5Δx-x0;Z1=ζr-0.5Δz-zn;Z2=ζr+0.5Δz-zn(ii) a Δ x and Δ z represent the side lengths of the small rectangular solid cell in the x direction and the z direction, respectively.
6. The method of claim 3, wherein each column of small rectangular units in the rectangular model is observed at a well observation point (x)0,zn) Respectively accumulating the tensor components of the magnetic field gradient in the well to obtain the observation point (x) of the whole rectangular model in the well0,zn) The resulting magnetic field gradient tensor in the well, i.e.
Figure FDA0003335761580000031
Figure FDA0003335761580000032
7. An apparatus for calculating a magnetic field gradient tensor in a two-dimensional well, comprising:
the system comprises a first module, a second module and a third module, wherein the first module is used for determining a target area and constructing a rectangular model internally containing the target area; mesh subdivision is carried out on the rectangular model, the rectangular model is subdivided into a plurality of small rectangular units, and the magnetic susceptibility of each small rectangular unit is assigned;
a second module for giving coordinates of observation points in the well, each observation point having a horizontal coordinate of x0Vertical coordinate z of each observation pointnN is 1,2, and N is the number of observation points in the well;
the third module is used for calculating the in-well magnetic field gradient tensor generated by each line of small rectangular units at the in-well observation point by adopting a one-dimensional discrete convolution method;
and the fourth module is used for obtaining the magnetic field gradient tensor in the well, which is generated by the whole rectangular model at the observation point in the well, based on the magnetic field gradient tensor in the well, which is generated by each row of small rectangular units at the observation point in the well.
8. The apparatus of claim 7, wherein the third module is configured to observe a point (x) in the well for a pth row of small rectangular elements at a pth row of small rectangular elements0,zn) The resulting in-well magnetic field gradient tensor comprises 4 components, respectively
Figure FDA0003335761580000033
Figure FDA0003335761580000034
And
Figure FDA0003335761580000035
the calculation formulas are respectively as follows:
Figure FDA0003335761580000041
Figure FDA0003335761580000042
Figure FDA0003335761580000043
Figure FDA0003335761580000044
wherein p is 1,2, 1, M, M is the subdivision number of the rectangular model x direction small cuboid unit, r is 1,2, L, L is the subdivision number of the rectangular model z direction small cuboid unit, Mxpr) And mzpr) Respectively represents the coordinate position of the central point as (xi)pr) The x-component and z-component of the magnetization of the small cuboid cell; h is1(x0p,znr)、h2(x0p,znr) Respectively, represent weighting coefficients.
9. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that: a processor implementing the steps in the method of magnetic field gradient tensor calculation in a two-dimensional well of claim 1,2, 4, 5 or 6 when executing the computer program.
10. A computer-readable storage medium having stored thereon a computer program, characterized in that: the computer program when executed by a processor performs the steps in the method of magnetic field gradient tensor calculation in a two-dimensional well of claim 1,2, 4, 5 or 6.
CN202111293491.XA 2021-11-03 2021-11-03 Method, device, equipment and medium for calculating magnetic field gradient tensor in two-dimensional well Pending CN114002749A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111293491.XA CN114002749A (en) 2021-11-03 2021-11-03 Method, device, equipment and medium for calculating magnetic field gradient tensor in two-dimensional well

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111293491.XA CN114002749A (en) 2021-11-03 2021-11-03 Method, device, equipment and medium for calculating magnetic field gradient tensor in two-dimensional well

Publications (1)

Publication Number Publication Date
CN114002749A true CN114002749A (en) 2022-02-01

Family

ID=79927194

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111293491.XA Pending CN114002749A (en) 2021-11-03 2021-11-03 Method, device, equipment and medium for calculating magnetic field gradient tensor in two-dimensional well

Country Status (1)

Country Link
CN (1) CN114002749A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080211507A1 (en) * 2004-02-23 2008-09-04 Michael Zhdanov Method and Apparatus for Gradient Electromagnetic Induction Well Logging
CN106777598A (en) * 2016-12-02 2017-05-31 中南大学 Any magnetic susceptibility complex distribution Magnetic Field of Magnetic Body gradient tensor method for numerical simulation
CN107024723A (en) * 2017-06-16 2017-08-08 桂林理工大学 A kind of Two bodies the Magnetic Field Numerical Calculation method
CN109707375A (en) * 2018-12-26 2019-05-03 吉林大学 A method for identifying underground magnetosphere information through downhole magnetic gradient tensor data

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080211507A1 (en) * 2004-02-23 2008-09-04 Michael Zhdanov Method and Apparatus for Gradient Electromagnetic Induction Well Logging
CN106777598A (en) * 2016-12-02 2017-05-31 中南大学 Any magnetic susceptibility complex distribution Magnetic Field of Magnetic Body gradient tensor method for numerical simulation
CN107024723A (en) * 2017-06-16 2017-08-08 桂林理工大学 A kind of Two bodies the Magnetic Field Numerical Calculation method
CN109707375A (en) * 2018-12-26 2019-05-03 吉林大学 A method for identifying underground magnetosphere information through downhole magnetic gradient tensor data

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
刘天佑;高文利;冯杰;习宇飞;欧洋;: "井中三分量磁测的梯度张量欧拉反褶积及应用" *
陈欣: "二度体重磁位场及其梯度张量正演算法研究" *

Similar Documents

Publication Publication Date Title
CN109375280B (en) A Fast and High-precision Forward Modeling Method for Gravity Field in Spherical Coordinate System
CN112800657B (en) Gravity field numerical simulation method and device based on complex terrain and computer equipment
CN105334542B (en) Any Density Distribution complex geologic body gravitational field is quick, high accuracy forward modeling method
CN114065511B (en) Method, device, equipment and medium for simulating two-dimensional forward modeling of magnetotelluric under undulating terrain
CN113656750B (en) Calculation method of magnetic induction intensity of ferromagnetic medium based on spatial wavenumber domain
CN112287534A (en) NUFFT-based two-dimensional magnetic anomaly fast forward modeling method and device
CN106855904A (en) A kind of Two bodies gravity anomaly computational methods
CN108984939A (en) Three-dimensional Gravity field of force forward modeling method based on 3D Gauss-FFT
CN114036805B (en) Forward modeling method, device, equipment and medium for three-dimensional steady-state heat conduction geothermal field
CN113779818A (en) Three-dimensional geologic body electromagnetic field numerical simulation method, device, equipment and medium thereof
CN113962077B (en) Three-dimensional anisotropic strong magnetic field numerical simulation method, device, equipment and medium
CN117538945A (en) Three-dimensional magnetotelluric multi-resolution inversion method, device, equipment and medium
CN113051779A (en) Numerical simulation method of three-dimensional direct-current resistivity method
CN107942399B (en) One kind is greatly apart from potential field upward continuation calculation method
CN111339688B (en) Method for solving rocket simulation model time domain equation based on big data parallel algorithm
CN115113286B (en) Aviation electromagnetic data fusion three-dimensional inversion method based on multi-component frequency domain
CN113076678B (en) Frequency domain two-degree body weight abnormity rapid numerical simulation method and device
CN114004127B (en) Two-dimensional main shaft anisotropic strong magnetic field numerical simulation method, device, equipment and medium
CN114002749A (en) Method, device, equipment and medium for calculating magnetic field gradient tensor in two-dimensional well
CN110826283A (en) Preprocessor and three-dimensional finite difference electromagnetic forward modeling calculation method based on preprocessor
Wang et al. Fast 3-D magnetic anomaly forward modeling based on integral equation
CN114036806B (en) Three-dimensional ground temperature field numerical simulation method based on heat conductivity anisotropic medium
CN114004092B (en) Method, device, equipment and medium for calculating gravity gradient tensor in binary well
CN108052778B (en) An Efficient Double Search Method for Neighboring Particles for Meshless Particle Simulation Techniques
CN113673163B (en) Three-dimensional magnetic abnormal constant rapid forward modeling method, device and computer equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20220201