Perfectly matched layer construction method and system for calculating response of electromagnetic wave logging while drilling
By constructing a continuous vector field and medium parameters within a perfectly matched layer, the accuracy and speed issues in calculating the electromagnetic logging response during drilling in three-dimensional anisotropic formations were resolved, achieving efficient electromagnetic logging response calculation.
Patent Information
- Application Number
- CN202010889862.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-08-28
- Publication Date
- 2024-11-26
- Estimated Expiration
- 2040-08-28
AI Technical Summary
Existing technologies suffer from low accuracy and slow speed in calculating the response of electromagnetic logging while drilling in three-dimensional anisotropic formations. In particular, the absorption boundary conditions are unstable under complex conditions, and the traditional fully matched layer method results in a large difference between the discretized problem and the original problem, which increases the difficulty of solving the problem.
A continuous vector function is constructed within the perfectly matched layer. By setting the medium parameters in the vector field direction, the perfectly matched layer can effectively absorb electromagnetic waves. The variational problem is solved using the adaptive HP finite element method, ensuring both computational accuracy and speed.
It improves calculation accuracy and speed, is applicable to electromagnetic wave logging response calculation under complex formation conditions, reduces the calculation scale, and is suitable for induction logging, multi-component logging and dielectric logging, especially for calculation of anisotropic formations.
Smart Images

Figure CN112100886B_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the field of oil drilling logging, and specifically relates to a fully matched layer construction method and system for while-drilling electromagnetic wave logging response calculation, which solves the problem of unstable absorption boundary conditions under complex conditions for while-drilling electromagnetic wave logging response calculation. Background Art
[0002] Efficient calculation of electromagnetic wave logging response while drilling in three-dimensional anisotropic formations is an important way to study the logging response law and the application of logging data. Due to the large calculation scale and complex electromagnetic field distribution, direct calculation faces the difficulties of low calculation accuracy and low speed.
[0003] The perfectly matched layer technology can reduce the scale of calculations and improve the accuracy and speed of calculations by reasonably distributing the degrees of freedom. The perfectly matched layer method is to set a certain thickness of electromagnetic wave absorbing material outside the solution area of interest, and quickly absorb the electromagnetic waves propagating outward in the absorption layer to prevent the electromagnetic waves propagating outward from encountering the truncation boundary to form numerical reflection, so as to ensure that the electromagnetic field distribution in the area of interest is consistent with the distribution of the original problem, and transform the original problem into a smaller problem.
[0004] Generally, several different matching layer methods can be developed according to the characteristics of the problem, among which the uniaxial perfectly matched layer is the most effective one. Although the solution effect of the electromagnetic scattering problem is better when the uniaxial perfectly matched layer direction is discrete, the new variational problem in the perfectly matched layer is quite different from the original problem, which increases the difficulty of solving it.
[0005] The anisotropic perfect matching layer is proposed for homogeneous media and can be extended to heterogeneous media. Its advantage is that the new variational problem after considering the perfect matching layer is not much different from the original problem. Therefore, the condition number of the problem after finite element discretization is not large, which is effective for solving complex problems, especially anisotropic formations. The method of constructing an effective perfect matching layer for the formation conditions of the borehole in the electromagnetic wave logging while drilling can effectively solve the instability of the absorbing boundary conditions under complex conditions.
[0006] The main problem in constructing a perfectly matched layer at present is that the discretized problem using the perfectly matched layer cannot approximate the original problem well, and the new problem is affected by the thickness of the perfectly matched layer and the properties of the absorbing material. Inappropriate parameters will cause the discrete boundary value problem to no longer have good mathematical properties, making the solution of the problem non-convergent or unstable. Summary of the invention
[0007] The purpose of the present invention is to provide a method and system for constructing a perfectly matched layer for calculating the response of electromagnetic wave logging while drilling in order to solve the problems of insufficient speed and accuracy in the above-mentioned prior art. By constructing a continuous and reasonable vector function in the matching layer, the perfectly matched layer has good mathematical properties and can better approximate the original problem, which is suitable for the real logging environment of electromagnetic wave logging while drilling. The perfectly matched layer effectively absorbs electromagnetic waves propagating outward from the solution area.
[0008] In order to achieve the above object, the present invention has the following technical solutions:
[0009] A method for constructing a perfectly matched layer for calculating the response of electromagnetic wave logging while drilling comprises the following steps:
[0010] Step 1: construct the solution area of interest according to the distribution characteristics of the while drilling electromagnetic wave logging field;
[0011] Step 2, setting a perfectly matched layer according to the size of the solution area;
[0012] Step 3, starting from the point where the transmitting coil is located, setting rays in all directions, modifying the oblique area, making the direction of the vector field at the interface of different media parallel to the different interfaces, and constructing a continuous vector field in the perfect matching layer;
[0013] Step 4, setting the attenuation parameter of the medium in the perfect matching layer along the vector direction;
[0014] Step 5, constructing the variational equation in the perfectly matched layer using the coordinate complex scaling method;
[0015] Step 6, use the adaptive hp finite element method to solve the variational problem in the region of interest and the perfectly matched layer.
[0016] Preferably, the solution region of interest in step 1 is a cylindrical solution region containing the formation with the wellbore axis as the axis.
[0017] Preferably, the outer surface of the perfect matching layer provided in step 2 is a convex polyhedron, and has different thicknesses along different coordinate directions.
[0018] Preferably, the thickness of the perfectly matching layer in radial direction and longitudinal direction is 2-3 times of the corresponding size of the solution area respectively.
[0019] Preferably, step 4 sets the perfectly matched layer medium parameters according to the following formula:
[0020] α(t)=1+(ζ+i)σ(t)
[0021] Wherein, σ(t) is the absorption parameter of the medium, which is a positive non-decreasing monotonic function, and is selected to ensure strong attenuation of electromagnetic waves in the matching layer; ζ is a parameter introduced to attenuate electromagnetic waves in the conductive medium; i is an imaginary unit.
[0022] Preferably, the variational equation expression constructed in step 5 is:
[0023]
[0024] Each point on the vector line of the continuous vector field is represented by a vector, which is expressed as follows in the perfect matching layer:
[0025]
[0026] Among them, (x1,x2,x3) T is the coordinate of a point on a vector line r(x) in the rectangular coordinate system, (x 10 ,x 20 ,x 30 ) T is the intersection of the vector line and the interface of the perfect matching layer, that is, the coordinate of the starting point of the vector line in the perfect matching layer; r(x) is the length of the vector line, (n1, n2, n3) T is the unit vector of the vector line;
[0027] The unit vector of the vector line is:
[0028]
[0029] The coordinates after the extension of the complex variable along r(x) are:
[0030]
[0031] in,
[0032] The Jacobian matrix for coordinate transformation is established as follows:
[0033]
[0034] The curl operator in complex coordinates is:
[0035]
[0036] The electromagnetic field in the new coordinate system satisfies the following equation:
[0037]
[0038] Transformed into the original coordinate formula:
[0039]
[0040] Where A = J -1 DF T DF, B = DF T ;
[0041] By solving the Jacobian matrix and its determinant of the corresponding coordinate transformation for the vector line, the new variational problem can be solved.
[0042] Preferably, in step 6, the thickness and medium parameters of the perfectly matched layer are selected so that the truncation model error of the perfectly matched layer is smaller than the numerical error of the finite element solution, the field in the solution area is equivalent to the field of the original problem, and the field in the perfectly matched layer is the attenuation solution in the original problem.
[0043] The present invention also provides a fully matched layer structure system for calculating the response of electromagnetic wave logging while drilling, comprising:
[0044] A solution region construction module constructs a solution region of interest based on the characteristics of the solution to the problem being solved;
[0045] A fully matched layer setting module is used to set a fully matched layer according to the thickness of the solution region constructed by the solution region construction module;
[0046] A continuous vector field construction module constructs a continuous vector field in a perfectly matched layer, so that the direction of the vector field at the interface between different media is parallel to the different interfaces;
[0047] A parameter setting module is used to set the medium parameters of the perfect matching layer;
[0048] The variational equation construction module uses the coordinate complex scaling method to construct the variational equations in the perfectly matched layer;
[0049] The variational problem solving module solves the variational problem in the region of interest and the perfectly matched layer through the adaptive hp finite element method according to the variational equation in the perfectly matched layer constructed.
[0050] Compared with the prior art, the present invention has the following beneficial effects: by constructing a continuous vector layer in the matching layer, the fully matched layer has good mathematical properties, can better approximate the original problem, and is suitable for the real logging environment of multi-component induction logging. The fully matched layer effectively absorbs the electromagnetic waves propagating outward in the layer, thereby solving the speed and accuracy problems of three-dimensional multi-component induction logging response calculation. The traditional fully matched layer mainly attenuates and absorbs electromagnetic waves in the direction perpendicular to the solution area and the matching layer in the fully matched layer, while the electromagnetic waves perpendicular to this direction are not attenuated and absorbed. The present invention attenuates along the vector line direction, and the attenuation can obtain the attenuation effect perpendicular to the traditional direction after vector decomposition. In the process of constructing the vector field of the fully matched layer, considering the position of the transmitting coil, the transmitting coil is used as the starting point in the construction of the vector field, which ensures that the propagation direction of the actual field is basically consistent with the direction of the constructed vector field, so as to achieve the best absorption effect under the same medium parameters and matching layer thickness. The present invention is applicable to the calculation of logging responses such as induction logging, multi-component logging, dielectric logging, and electromagnetic wave logging while drilling, and is adaptable to complex isotropic and anisotropic formations. It can effectively reduce the calculation scale and increase the calculation accuracy, and is an efficient algorithm for the calculation of electromagnetic problems. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] Figure 1 Schematic diagram of the solution area, perfect matching layer and vector line construction in the matching layer;
[0052] Figure 2 Schematic diagram of using convex polygons to calculate circular areas in actual calculations. DETAILED DESCRIPTION
[0053] The present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.
[0054] The present invention designs a method and system for constructing anisotropic perfectly matched layers for while-drilling measurement response calculation, which solves the problem of large calculation scale and improves the accuracy and speed of model calculation. The present invention constructs an effective perfectly matched layer method under formation conditions containing wellbore for multi-component induction logging, and effectively solves the instability of absorbing boundary conditions under complex conditions.
[0055] The main idea of the present invention is to put an absorption layer on the periphery of the solution area of interest, construct a continuous vector field in it, ensure that the vector field at the interface of different media is continuous, and construct the absorption medium parameters in the direction of the vector field. When the electromagnetic wave propagates along the direction of the vector field, the electromagnetic wave will be attenuated by the absorption medium, thereby achieving the purpose of truncation boundary.
[0056] See also Figure 1 and Figure 2The method for constructing a perfectly matched layer for calculating the response of electromagnetic wave logging while drilling includes the following steps:
[0057] 1. Construct the solution region of interest based on the characteristics of the solution to the problem being solved, usually with the wellbore axis as the axis to establish the solution region;
[0058] According to the attenuation characteristics of electromagnetic waves in the medium, the area of interest is determined. The transmitting and receiving coils of the multi-component induction logging are both in the well. The solution area is a cylindrical solution area coaxial with the well axis and containing the formation. Its diameter is denoted by D and its height is denoted by H.
[0059] 2. The outer surface of the perfectly matched layer is a convex polyhedron, and the thickness is different along different coordinate directions.
[0060] Specifically, a perfect matching layer with a thickness of L1 is added in the radial direction and a thickness of L2 is added in the longitudinal direction; the thickness of the perfect matching layer is first determined when constructing the perfect matching layer, which can usually be 2-3 times the size of the region of interest.
[0061] 3. Construct a continuous vector field in the perfectly matched layer to ensure that the direction of the vector field at the interface between different media is parallel to the different interfaces;
[0062] The important approach is to start from the point where the transmitting coil is located, and make rays in all directions, eventually forming a part of the rays that obliquely intersect with the interfaces of different media. The oblique area is modified to make the direction of the vector line near the interface of different media parallel to it, and the ray is extended in sequence to ensure that the vector field of the entire area is continuous in space.
[0063] 4. Set the perfectly matched layer medium parameters;
[0064] α(t)=1+(ζ+i)σ(t) (1)
[0065] Where σ(t) is the absorption parameter of the medium, which is a positive, non-decreasing, monotonic function; ζ is the parameter introduced to attenuate electromagnetic waves in the conductive medium; and i is an imaginary unit.
[0066] 5. Use the coordinate complex scaling method to construct the variational equations in the matching layer;
[0067]
[0068] Each point on the vector line can be expressed as follows in the matching layer using the vector representation method:
[0069]
[0070] Among them, (x1,x2,x3) T is the coordinate of a point on a vector line r(x) in the rectangular coordinate system, (x 10 ,x20 ,x 30 ) T is the intersection of the vector line and the interface of the perfect matching layer, that is, the coordinate of the starting point of the vector line in the perfect matching layer; r(x) is the length of the vector line, (n1, n2, n3) T is the unit vector of the vector line;
[0071] The unit vector of the vector line is:
[0072]
[0073] The coordinates after the extension of the complex variable along r(x) are:
[0074]
[0075] in,
[0076] The Jacobian matrix for coordinate transformation is established as follows:
[0077]
[0078] The curl operator in complex coordinates is:
[0079]
[0080] The electromagnetic field in the new coordinate system satisfies the following equation:
[0081]
[0082] Transformed into the original coordinate formula:
[0083]
[0084] Where A = J -1 DF T DF, B = DF T (10)
[0085] The new variational problem can be solved by solving the Jacobian matrix and its determinant of the corresponding coordinate changes for the vector line.
[0086] 6. Use the adaptive hp finite element method to solve the variational problem in the region of interest and the matching layer and obtain the solution to the problem.
[0087] The thickness and medium parameters of the matching layer are selected so that the truncation model error of the matching layer is smaller than the numerical error of the finite element solution, the field in the region of interest is equivalent to the field of the original problem, and the field in the matching layer is the attenuated solution in the original problem.
[0088] A system for calculating anisotropic perfectly matched layer structures by measuring response while drilling, comprising:
[0089] A solution region construction module constructs a solution region of interest based on the characteristics of the solution to the problem being solved;
[0090] A fully matched layer setting module is used to set a fully matched layer according to the thickness of the solution region constructed by the solution region construction module;
[0091] A continuous vector field construction module constructs a continuous vector field in a perfectly matched layer, so that the direction of the vector field at the interface between different media is parallel to the different interfaces;
[0092] A parameter setting module is used to set the medium parameters of the perfect matching layer;
[0093] The variational equation construction module uses the coordinate complex scaling method to construct the variational equations in the perfectly matched layer;
[0094] The variational problem solving module solves the variational problem in the region of interest and the perfectly matched layer through the adaptive hp finite element method according to the variational equation in the perfectly matched layer constructed.
[0095] The present invention proposes a method and system for constructing a fully matched layer for calculating the response of electromagnetic wave logging while drilling, which solves the problem of large calculation scale and improves the accuracy and speed of model calculation. The present invention is aimed at constructing an effective fully matched layer method under the formation conditions of electromagnetic wave logging while drilling containing wellbore, and can effectively solve the instability of absorbing boundary conditions under complex conditions.
[0096] The above description is only a preferred embodiment of the present invention and is not intended to impose any limitation on the technical solution of the present invention. Those skilled in the art should understand that, without departing from the spirit and principles of the present invention, the technical solution can also be subjected to several simple modifications and substitutions, and these modifications and substitutions are also within the scope of protection covered by the claims.
Claims
1. A method for constructing a perfectly matched layer for calculating the response of electromagnetic wave logging while drilling, characterized in that: The following steps are involved: Step 1: construct the solution area of interest according to the distribution characteristics of the while drilling electromagnetic wave logging field; Step 2, setting a perfectly matched layer according to the size of the solution area; Step 3, starting from the point where the transmitting coil is located, setting rays in all directions, modifying the oblique area, making the direction of the vector field at the interface of different media parallel to the different interfaces, and constructing a continuous vector field in the perfect matching layer; Step 4, setting the attenuation parameter of the medium in the perfect matching layer along the vector direction; Step 5, constructing the variational equation in the perfectly matched layer using the coordinate complex scaling method; Step 6, using the adaptive hp finite element method to solve the variational problem in the region of interest and the perfectly matched layer; Step 4: Set the perfectly matched layer medium parameters according to the following formula: α(t)=1+(ζ+i)σ(t) Wherein, σ(t) is the absorption parameter of the medium, which is a positive non-decreasing monotonic function, and is selected to ensure strong attenuation of electromagnetic waves in the matching layer; ζ is a parameter introduced to attenuate electromagnetic waves in the conductive medium; i is an imaginary unit; The expression of the variational equation constructed in step 5 is: Each point on the vector line of the continuous vector field is represented by a vector, which is expressed as follows in the perfect matching layer: Among them, (x1, x2, x3) T is the coordinate of a point on a vector line r(x) in the rectangular coordinate system, (x 10 , x 20 , x 30 ) T is the intersection of the vector line and the interface of the perfect matching layer, that is, the coordinate of the starting point of the vector line in the perfect matching layer; r(x) is the length of the vector line, (n1, n2, n3) T is the unit vector of the vector line; The unit vector of the vector line is: The coordinates after the extension of the complex variable along r(x) are: in, The Jacobian matrix for coordinate transformation is established as follows: The curl operator in complex coordinates is: The electromagnetic field in the new coordinate system satisfies the following equation: Transformed into the original coordinate formula: Where A = J -1 DF T DF, B = DF T ; By solving the Jacobian matrix and its determinant of the corresponding coordinate transformation for the vector line, the new variational problem can be solved.
2. The method for constructing a perfectly matched layer by calculating the response of electromagnetic wave logging while drilling according to claim 1, characterized in that: The solution region of interest in step 1 is a cylindrical solution region containing the formation with the wellbore axis as the axis.
3. The method for constructing a perfectly matched layer for calculating the response of electromagnetic wave logging while drilling according to claim 1, characterized in that: The outer surface of the perfectly matched layer set in step 2 is a convex polyhedron, and the thickness is different along different coordinate directions.
4. The method for constructing a perfectly matched layer by calculating the response of electromagnetic wave logging while drilling according to claim 3, characterized in that: The thickness of the perfectly matched layer in the radial and longitudinal directions is 2-3 times the corresponding size of the solution area.
5. The method for constructing a perfectly matched layer for calculating the response of electromagnetic wave logging while drilling according to claim 1, characterized in that: Step 6: Select the thickness and medium parameters of the perfectly matched layer so that the truncation model error of the perfectly matched layer is smaller than the numerical error of the finite element solution, the field in the solution area is equivalent to the field of the original problem, and the field in the perfectly matched layer is the attenuated solution in the original problem.
6. A perfectly matched layer structure system for calculating the response of electromagnetic wave logging while drilling, characterized in that: include: A solution region construction module constructs a solution region of interest based on the characteristics of the solution to the problem being solved; A fully matched layer setting module is used to set a fully matched layer according to the thickness of the solution region constructed by the solution region construction module; A continuous vector field construction module constructs a continuous vector field in a perfectly matched layer so that the direction of the vector field at the interface between different media is parallel to the different interfaces; A parameter setting module is used to set the medium parameters of the perfect matching layer; The variational equation construction module uses the coordinate complex scaling method to construct the variational equations in the perfectly matched layer; The variational problem solving module solves the variational problem in the region of interest and the perfectly matched layer by using the adaptive hp finite element method according to the variational equation in the perfectly matched layer constructed; Set the perfectly matched layer medium parameters according to the following formula: α(t)=1+(++i)o(t) Wherein, σ(t) is the absorption parameter of the medium, which is a positive non-decreasing monotonic function, and is selected to ensure strong attenuation of electromagnetic waves in the matching layer; ζ is a parameter introduced to attenuate electromagnetic waves in the conductive medium; i is an imaginary unit; The constructed variational equation expression is: Each point on the vector line of the continuous vector field is represented by a vector, which is expressed as follows in the perfect matching layer: Among them, (x1, x2, x3) T is the coordinate of a point on a vector line r(x) in the rectangular coordinate system, (x 10 , x 20 , x 30 ) T is the intersection of the vector line and the interface of the perfect matching layer, that is, the coordinate of the starting point of the vector line in the perfect matching layer; r(x) is the length of the vector line, (n1, n2, n3) T is the unit vector of the vector line; The unit vector of the vector line is: The coordinates after the extension of the complex variable along r(x) are: in, The Jacobian matrix for coordinate transformation is established as follows: The curl operator in complex coordinates is: The electromagnetic field in the new coordinate system satisfies the following equation: Transformed into the original coordinate formula: Where A = J -1 DF T DF, B = DF T ; By solving the Jacobian matrix and its determinant of the corresponding coordinate transformation for the vector line, the new variational problem can be solved.
