Drill string modeling method and device based on beam unit, electronic equipment and storage medium
By optimizing the number of beam units and contact points of the drill string model and dynamically adjusting the number of beam units, the problem of waste of computing resources caused by excessive number of beam units in the prior art is solved, and a more efficient analysis of the stress state of the drilling tool system is achieved.
Patent Information
- Application Number
- CN202411684197.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-22
- Publication Date
- 2025-08-26
AI Technical Summary
The number of beam units in the existing drill string model is too large, resulting in wasted computing resources and it is difficult to efficiently analyze the stress state of the drilling tool system.
By determining the minimum number of beam units required for each operating conditions of the target drill string, building unit mapping relationships, dynamically adjusting the number of beam units, and optimizing the drill string model with the number of target contact points.
It reduces the waste of computing resources, improves the calculation efficiency of the drill string model and the accuracy of the stress state, and reduces the system's calculation amount.
Smart Images

Figure CN120542014A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure belongs to the technical field of drilling exploration and development, and in particular relates to a drill string modeling method, device, electronic device, and storage medium based on beam units. Background Art
[0002] As conventional oil and gas exploration reaches a bottleneck, deep, unconventional oil and gas resources are gaining increasing attention. Increasing well depths, increasing horizontal lengths, and more complex wellbore structures pose greater challenges to safe drilling. This is especially true for high-slenderness drilling tool systems, which are more susceptible to self-locking and fracture, impacting drilling safety.
[0003] To assess the safety of oil and gas drilling, a dynamic model of the drill tool system is constructed. This model is used to calculate the stress state of the drill tool system and assess the safety of oil and gas drilling. The drill tool system consists of a drill string and a drill bit. When constructing the drill string model, it is typically modeled using uniform flexible beam elements of equal cross-section. This involves constructing the drill string model using a continuous array of beam elements of equal distance and equal cross-section. Because a drill string is composed of multiple sub-drill rods connected end-to-end, existing methods typically use the joints between two adjacent sub-drill rods on the drill string as the node locations for the beam elements. This beam element distribution is not tailored to the specific operating conditions. In actual drilling, some drill string sections with small deformations only require a single beam element to accurately describe the dynamic behavior of that section.
[0004] The existing drill string model contains a large number of beam elements (one beam element is between two adjacent nodes). A large number of beam elements will result in a waste of computing resources when calculating the stress state (the stress state of the drill tool system is calculated based on each beam element). Therefore, how to reduce the number of beam elements to obtain a better drill string model, thereby reducing the calculation amount and saving computing resources is a problem that needs to be solved in this field. Summary of the Invention
[0005] To solve the above problems, the present disclosure provides a unit-based drill string modeling method, device, electronic device and storage medium, which aims to save computing resources.
[0006] To achieve the above objectives, the present disclosure mainly provides the following technical solutions:
[0007] In a first aspect, the present disclosure provides a unit-based drill string modeling method, comprising:
[0008] Determining the minimum number of beam elements required for the target drill string under each working condition, and obtaining a unit mapping relationship, wherein the unit mapping relationship is used to indicate the minimum number of beam elements corresponding to each working condition;
[0009] Determining the number of target beam units according to the unit mapping relationship and the current working condition of the target drill string;
[0010] A target drill string model is constructed based on the target number of beam elements.
[0011] Optionally, constructing a target drill string model based on the target number of beam elements includes:
[0012] Determining, based on the initial number of contact points, a minimum number of contact points required for the target drill string under each operating condition, and obtaining a contact point mapping relationship, wherein the contact point mapping relationship is used to indicate the minimum number of contact points corresponding to each operating condition, wherein the initial number of contact points is greater than the number of joints of the target drill string;
[0013] determining a target number of contact points according to the contact point mapping relationship and a current working condition of the target drill string;
[0014] A target drill string model is constructed based on the target number of beam elements and the target number of contact points.
[0015] Optionally, constructing a target drill string model based on the target number of beam units and the target number of contact points includes:
[0016] Amplifying the target number of beam elements and the target number of contact point beam elements by using a scaling factor to obtain an amplified number of beam elements and an amplified number of contact point beam elements;
[0017] A target drill string model is constructed based on the enlarged number of beam elements and the enlarged number of contact point beam elements.
[0018] Optionally, the minimum number of beam elements required for the target drill string under each working condition is determined to obtain an element mapping relationship, including:
[0019] Configuring drilling parameters of a target drill string to obtain a working condition corresponding to the drilling parameters, wherein the drilling parameters are related to the deformation of the target drill string, and the drilling parameters include at least weight on bit, reactive torque, dogleg, a relationship between an outer diameter of a drill string joint and an inner diameter of a wellbore, and a depth difference between the target drill string and the bottom of the well;
[0020] Determine the minimum number of beam elements required for the stated load case;
[0021] Using the drilling parameters corresponding to each working condition and the minimum number of beam elements required for each working condition, a unit mapping relationship between the drilling parameters and the minimum number of beam elements is constructed.
[0022] Optionally, determining the minimum number of beam elements required for the working condition includes:
[0023] Setting an initial number of beam elements of the target drill string, constructing a drill string model based on the initial number of beam elements, and obtaining a first drill string model;
[0024] Calculating the deformation of the first drill string model using the drilling parameters to obtain a first deformation;
[0025] Iterating the number of beam elements of the target drill string to obtain an iterated deformation, wherein the number of beam elements of the target drill string is reduced by one for each iteration;
[0026] If the error between the deformation amount after the iteration and the first deformation amount exceeds a preset error range, the number of beam elements in the previous iteration is determined as the minimum number of beam elements required under the working condition.
[0027] Optionally, the working conditions include a no-weight-on-bit working condition and a weight-on-bit working condition, and the no-weight-on-bit working condition includes a tripping-in and tripping-out working condition, a top drive idling working condition, and a slippery-hole working condition.
[0028] In a second aspect, the present disclosure provides a unit-based drill string modeling device, the device comprising:
[0029] A first determining unit is configured to determine a minimum number of beam elements required for a target drill string under various working conditions, and obtain a unit mapping relationship, wherein the unit mapping relationship is used to indicate the minimum number of beam elements corresponding to each working condition;
[0030] a second determining unit, configured to determine the number of target beam units according to the unit mapping relationship and the current working condition of the target drill string;
[0031] A construction unit is used to construct a target drill string model based on the target number of beam units.
[0032] On the other hand, the present disclosure further provides a storage medium, which is used to store a computer program, wherein when the computer program is running, it controls the device where the storage medium is located to execute the method of the first aspect above.
[0033] On the other hand, the present disclosure also provides an electronic device, which includes at least one processor, and at least one memory and a bus connected to the processor; wherein the processor and the memory communicate with each other through the bus; the processor is used to call program instructions in the memory to execute the method of the first aspect as described above.
[0034] Compared with the prior art, the present disclosure has the following advantages:
[0035] The present disclosure constructs a target drill string model based on beam elements. When constructing the target drill string model, the minimum number of beam elements required for each operating condition of the target drill string is determined. A unit mapping relationship is constructed based on each operating condition and the corresponding minimum number of beam elements. The unit mapping relationship and the current operating condition of the target drill string are used to obtain the minimum number of beam elements required for the current operating condition, and the target drill string model is constructed based on the minimum number of beam elements. The present disclosure dynamically determines the minimum number of beam elements required for the current construction of the drill string model based on the real-time operating condition, and constructs the target drill string model based on the minimum number of beam elements. When the target drill string model is used to analyze the stress state of the target drill string, the reduced number of beam elements reduces the computational effort compared to the prior art, thereby saving computing resources.
[0036] Other features and advantages of the present disclosure will be described in the following description, and in part will become apparent from the description, or will be understood by practicing the present disclosure. The purposes and other advantages of the present disclosure can be realized and obtained by the structures indicated in the description, claims and drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0038] Figure 1 shows a schematic diagram of a drill string according to an embodiment of the present disclosure;
[0039] Figure 2 A schematic flow chart of a unit-based drill string modeling method according to an embodiment of the present disclosure is shown;
[0040] Figure 3 A schematic flow chart of another unit-based drill string modeling method according to an embodiment of the present disclosure is shown;
[0041] Figure 4 A schematic diagram of a process for determining the minimum number of beam units and the minimum number of contact points according to an embodiment of the present disclosure is shown;
[0042] Figure 5 A schematic diagram of drill string model optimization according to an embodiment of the present disclosure is shown;
[0043] Figure 6 shows a schematic diagram of contact point allocation according to an embodiment of the present disclosure;
[0044] Figure 7a A comparison diagram of simulation results of different units when each unit has one contact point according to an embodiment of the present disclosure is shown;
[0045] Figure 7b Shown Figure 7a A partial enlarged view of
[0046] Figure 7c A comparison diagram of simulation results of different contact point numbers for 4 units according to an embodiment of the present disclosure is shown;
[0047] Figure 7d Shown Figure 7c A partial enlarged view of
[0048] Figure 7e A comparison diagram of simulation results of different units when each unit has two contact points according to an embodiment of the present disclosure is shown;
[0049] Figure 7f Shown Figure 7e A partial enlarged view of
[0050] Figure 7g A comparison diagram of simulation results of different units when each unit has 4 contact points according to an embodiment of the present disclosure is shown;
[0051] Figure 7h Shown Figure 7g A partial enlarged view of
[0052] Figure 7i A comparison chart of simulation results with different numbers of units when there are 16 contact points in total according to an embodiment of the present disclosure is shown;
[0053] Figure 7j Shown Figure 7g A partial enlarged view of
[0054] Figure 8 A schematic structural diagram of a unit-based drill string modeling device according to an embodiment of the present disclosure is shown;
[0055] Figure 9 A schematic structural diagram of an electronic device according to an embodiment of the present disclosure is shown. DETAILED DESCRIPTION
[0056] To make the objectives, technical solutions, and advantages of the embodiments of the present disclosure more clear, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present disclosure, not all of the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments of the present disclosure without making any creative efforts shall fall within the scope of protection of the present disclosure.
[0057] In order to conduct safety assessment of oil and gas drilling, it is necessary to analyze the relationship between the drill string system and the bottom rock, well wall rock formation, and the stress state of the drilling tool system. Before the analysis, it is necessary to build a drill string model. In related technologies, when building a drill string model based on multi-body dynamics, fixed unit nodes are usually used, that is, the joints of two adjacent sub-drill rods on the drill string are used as the node positions of the beam unit. Figure 1 The drill string model constructed using existing methods often uses a large number of beam elements, which wastes computational resources. Therefore, the present invention improves drill string element partitioning by dynamically generating the number of elements in real time based on current working conditions. This minimizes the number of beam elements required to construct the drill string model, thereby reducing computational complexity.
[0058] Figure 2 A flow chart of a drill string modeling method based on beam elements according to an embodiment of the present disclosure is shown. Figure 2 As shown, the drill string modeling method based on the beam element in the embodiment of the present disclosure includes:
[0059] 101. Determine the minimum number of beam elements required for the target drill string under various working conditions and obtain the element mapping relationship.
[0060] The element mapping relationship indicates the minimum number of beam elements corresponding to each working condition. Each working condition in the element mapping relationship corresponds to a number of beam elements required to construct the drill string model. This number of beam elements is the minimum number of beam elements required to construct the drill string model under the corresponding working condition.
[0061] Before constructing a drill string model of a target drill string based on beam units, the number of beam units must be determined. In the prior art, the number of beam units is the number of sub-drill rods in the target drill string. However, in some working conditions, some drill string sections with small deformations only require a single beam unit to accurately describe the dynamic performance of this section of the drill string. At this time, if the drill string is still divided by the number of sub-drill rods to obtain each unit, it will result in a waste of computing resources. Therefore, the disclosed embodiment determines the minimum number of beam units required under the current working conditions and uses this minimum number of beam units to construct a target drill string model. This can save computing resources compared to the prior art when analyzing the relationship between the drill string system and the bottom rock, wellbore rock formations, and the stress state of the drilling tool system.
[0062] In order to obtain the minimum number of beam units required for the current working condition, the disclosed embodiment pre-constructs a mapping relationship between the working condition and the minimum number of beam units, so that when constructing the drill string model, the minimum number of beam units corresponding to the current working condition can be directly found to improve modeling efficiency. The disclosed embodiment determines the minimum number of beam units required to construct the drill string model of the target drill string under each working condition. After obtaining the minimum number of beam units corresponding to each working condition, the unit mapping relationship is constructed using each working condition and its corresponding minimum number of beam units. When determining each working condition, the drilling parameters related to drill string deformation can be used to determine each working condition, that is, the parameter values of each drilling parameter are changed to obtain different working conditions.
[0063] 102. Determine the number of target beam elements based on the element mapping relationship and the current working condition of the target drill string.
[0064] The target number of beam elements is the minimum number of beam elements required to construct a drill string model of the target drill string under the current working condition.
[0065] In this step, the current drilling parameters may be used to determine the current working condition, and the minimum number of beam units corresponding to the current working condition may be found using the unit mapping relationship, and the minimum number of beam units may be determined as the target number of beam units.
[0066] 103. Construct a target drill string model based on the target number of beam elements.
[0067] The target drill string model is a model of the target drill string constructed for the current working condition, that is, the target drill string model in the embodiment of the present disclosure changes dynamically according to the real-time working condition.
[0068] The embodiment of the present disclosure constructs a target drill string model based on beam units. When constructing the target drill string model, the minimum number of beam units required under each working condition of the target drill string is determined, and a unit mapping relationship is constructed based on each working condition and the corresponding minimum number of beam units. The unit mapping relationship and the current working condition of the target drill string are used to obtain the minimum number of beam units required for the current working condition. The target drill string model is constructed based on the minimum number of beam units. Compared with the drill string model constructed with a fixed number of sub-drill rods, the embodiment of the present disclosure reduces the number of beam units, thereby reducing the amount of calculation when calculating the stress state of the drilling tool system. Therefore, the embodiment of the present disclosure saves computing resources compared with the existing technology.
[0069] When constructing a drill string model, it's necessary not only to determine the number of beam elements but also the number of contact points. These contact points indicate where the target drill string contacts the wellbore wall. Like the beam element nodes, contact points are evenly distributed throughout the constructed drill string model. Because it's generally assumed that the drill string contacts the wellbore wall primarily at joints (the junction between adjacent sub-drill rods), conventional techniques typically place contact points at these joints. However, in reality, for some drill string sections with complex deformation, contact with the wellbore wall occurs not only at the joints. Therefore, contact points determined by joints are insufficient to accurately construct a drill string model that reflects the actual deformation of the drill string.
[0070] In order to accurately reflect the deformation of the target drill string, the embodiment of the present disclosure constructs the target drill string model not only based on the determined number of target beam units, but also based on the target number of contact points. The specific method for determining the target number of contact points is as follows:
[0071] Step 1: Based on the initial number of contact points, determine the minimum number of contact points required for the target drill string under various working conditions and obtain a contact point mapping relationship.
[0072] The contact point mapping relationship indicates the minimum number of contact points corresponding to each working condition. Each working condition in the contact point mapping relationship corresponds to a specific number of contact points required to construct the drill string model. This number of contact points represents the minimum number of contact points required to construct the drill string model under that working condition. The initial number of contact points should be greater than the number of joints in the target drill string. The initial number of contact points can be set based on the actual application scenario. Typically, the initial number of contact points will be much greater than the number of joints in the target drill string.
[0073] In this step, the minimum number of contact points required to construct the target drill string model under each operating condition is determined. During this process, drilling parameters are configured to obtain the corresponding operating condition. Starting from the initial number of contact points, the minimum number of contact points required to construct the target drill string model under that operating condition is determined through iteration. A contact point mapping relationship is constructed using each operating condition and its corresponding minimum number of contact points.
[0074] It should be noted that since the number of initial contact points is greater than the number of joints in the target drill string, under working conditions with complex drill string deformation, the minimum number of contact points required to construct the drill string model of the target drill string will be greater than the number of joints in the target drill string.
[0075] Step 2: Determine the target number of contact points based on the contact point mapping relationship and the current working condition of the target drill string.
[0076] The disclosed embodiments utilize the target number of contact points to accurately reflect the actual deformation of the drill string. The target drill string model constructed using the target contact points more accurately calculates the stress state of the drill string compared to existing target drill string models, improving the accuracy of stress state calculations. The disclosed embodiments analyze the optimal number of beam elements and contact points required for the drill string model under specific working conditions, optimize the multi-body dynamics model of the drill string, and reduce the system's computational complexity, providing assistance in improving the effectiveness of drilling system simulations and studying related control issues.
[0077] In order to explain in detail a drill string modeling method based on beam elements proposed in the present disclosure, the present disclosure proposes another embodiment of a drill string modeling method based on beam elements. The specific implementation steps of the embodiment of the present disclosure are as follows: Figure 3 As shown, including:
[0078] 201. Configure drilling parameters of a target drill string to obtain a working condition corresponding to the drilling parameters.
[0079] Among them, the drilling parameters are related to the deformation of the target drill string, and the drilling parameters include at least drilling pressure, counter-torque, dogleg degree, the relationship between the outer diameter of the target drill string joint and the inner diameter of the well wall, and the depth difference between the target drill string and the bottom of the well. The working conditions in the embodiments of the present disclosure can be various working conditions under different well trajectories and different wellbore diameters. The working conditions are mainly divided into two categories: no drilling pressure working conditions and drilling pressure working conditions. For the no drilling pressure working conditions, the deformation of the drill pipe caused by the bending of the well wall can be mainly analyzed. For the drilling pressure working conditions, the deformation of the drill string under multiple composite loads of tension, compression, bending and torsion can be analyzed. The no drilling pressure working conditions can also be divided into three working conditions: drilling and pulling, top drive idling and sliding eye.
[0080] The disclosed embodiments can analyze the data of simulation results under various working conditions to obtain the minimum number of beam elements and the minimum number of contact points required for calculation convergence under each working condition, establish a mapping relationship between the drilling parameters corresponding to each working condition and the required number of beam elements and contact points, and optimize the number of beam elements and contact points of the drill string in the dynamic model under the current working condition to improve calculation efficiency and the accuracy of the stress state.
[0081] In this step, various drilling parameters are configured for the target drill string, and the corresponding working condition is obtained by configuring the various drilling parameters, so as to determine the minimum number of beam elements and the minimum number of contact points corresponding to the working condition using these drilling parameters.
[0082] 202. Determine the minimum number of beam elements and the minimum number of contact points required for this working condition.
[0083] In this step, you can first set the error accuracy requirement and then iterate the simulation starting with the initial number of beam elements to determine whether the number of beam elements is appropriate. If the error exceeds the error accuracy requirement, the number of beam elements in the previous iteration is the minimum number that meets the accuracy requirement. The process for determining the minimum number of contact points is similar to that for determining the minimum number of beam elements and will not be repeated here.
[0084] In one practicable manner, the specific implementation method for determining the minimum number of beam elements and the minimum number of contact points is as follows:
[0085] 2021. Set the error accuracy requirement ε.
[0086] 2022. Set the initial number of beam elements (contact points) of the target drill string to n0, calculate the simulation deformation of the target drill string under this working condition to be k, and iterate the number of beam elements (contact points) to n=n0-1.
[0087] 2023. Simulate a drill string model with n beam elements (contact points), and the simulated deformation of the target drill string is k'.
[0088] 2024. Determine the relative error value Is it greater than ε?
[0089] In this step, if If ε is greater than ε, execute step 2026; otherwise, execute step 2025.
[0090] 2025. Set n=n-1 and then execute step 2024.
[0091] 2026. Determine that the minimum number of beam elements (contact points) that can meet the error requirements under the current working conditions is n+1.
[0092] In one achievable method, the specific steps for determining the minimum number of beam elements are as follows:
[0093] Step 1: Set the initial number of beam elements of the target drill string, build a drill string model based on the initial number of beam elements, and obtain a first drill string model.
[0094] The number of initial beam units can be equal to or greater than the number of sub-drill rods in the target drill string. The first drill string model is the drill string model constructed based on the initial number of beam units, that is, the initial drill string model. Figure 5 The disclosed embodiment continuously optimizes the drill string model by iterating the number of beam units and the number of contact points, and finally obtains an optimized drill string model, namely, a target drill string model.
[0095] Step 2: Calculate the deformation of the first drill string model using the drilling parameters to obtain a first deformation.
[0096] Step 3: Iterate the number of beam elements of the target drill string to obtain the deformation after iteration.
[0097] The number of beam elements in the target drill string is reduced by one in each iteration.
[0098] In this step, the number of beam elements in the target drill string is iterated to obtain the final number of beam elements. This final number of beam elements is used to construct a beam element model of the target drill string, obtaining a second drill string model. The deformation of the second drill string model is calculated using the drilling parameters to obtain a second deformation. Convergence is determined by these two deformations.
[0099] Step 4: If the error between the deformation after the iteration and the first deformation exceeds the preset error range, the number of beam elements in the previous iteration is determined as the minimum number of beam elements required under the working condition.
[0100] Assuming that the number of beam elements in this iteration is 5, the number of beam elements in the previous iteration is 6.
[0101] 203. Using the drilling parameters corresponding to each working condition and the minimum number of beam units and the minimum number of contact points required for each working condition, a unit mapping relationship between the drilling parameters and the minimum number of beam units, and a contact point mapping relationship between the drilling parameters and the minimum number of contact points are constructed respectively.
[0102] In this step, various working conditions can be determined based on different drilling pressures, dogleg degrees, ratios of wellbore diameter to drill string diameter, and different measured depths. A unit mapping relationship is established based on each working condition and the corresponding minimum number of beam units. A mapping relationship is established based on each working condition and the corresponding minimum number of beam units and the minimum number of contact points.
[0103] 204. Determine the target number of beam elements based on the unit mapping relationship and the current working condition of the target drill string, and determine the target number of contact points based on the contact point mapping relationship and the current working condition of the target drill string.
[0104] The target number of contact points is the minimum number of contact points required to construct a drill string model of the target drill string under the current working conditions.
[0105] 205. Use the scaling factor to respectively scale up the target beam unit number and the target contact point beam unit number to obtain the scaled-up beam unit number and the scaled-up contact point beam unit number.
[0106] In the embodiment of the present disclosure, a scaling factor can be set, and the scaling formula is as follows:
[0107]
[0108] Where, is the target number of beam elements (contact points), and k is the scaling factor.
[0109] When the scaling factor is greater than 1, the number of beam elements and contact points used to construct the target drill string model increases, and the calculated stress state results are more accurate.
[0110] 206. Construct a target drill string model based on the enlarged number of beam elements and the enlarged number of contact point beam elements.
[0111] This disclosed embodiment introduces a scaling factor, allowing the number of beam elements and contact points to be adjusted according to time requirements during the actual modeling process to achieve the desired computational accuracy. This disclosed embodiment analyzes the minimum number of beam elements and contact points required for the drill string model under different drilling parameters and establishes a mapping relationship to optimize the distribution of beam elements and contact points in the new operating conditions, reducing the system's computational complexity. Furthermore, the reduced number of required beam elements and contact points also enables the rapid construction of a dynamic drill string model.
[0112] In order to explain in more detail the drill string modeling method based on beam elements proposed in this disclosure, the following typical working condition is used as an example:
[0113] The drill string system is simulated by taking different numbers of beam elements ( Figure 6 , Table 1), the drill string length is 1064 m (112 drill string sections, each 9.5 m long), and the downhole drill assembly length is 20.91 m, for a total of 1084.91 m. First, using evenly spaced cells, the downhole drill assembly is described using a single cell. Simulations are performed for the following conditions and the results are compared.
[0114]
[0115]
[0116] Comparison of groups 1-4 shows the simulation results. Figure 7a As shown in Figure 7b, when contact detection is performed only at the nodes of each element, the beam element can simulate complex curves as the number of elements increases. However, due to the small number of contact points, the drill pipe may penetrate the wellbore wall after being compressed, resulting in distorted simulation results that are inconsistent with reality. Figure 7b is a partial enlargement of Figure 7a.
[0117] Calculate and compare groups 1, 5, and 9, such as Figure 7c As shown in Figure 7d, it can be seen that when only node contact is used, the drill string is stable within the wellbore, and the simulation results are reasonable. The enlarged image shows that when only node contact is used, there is a large deviation in the curved section. Figure 7d is a partial enlargement of Figure 7c.
[0118] Figure 7eA comparison of different numbers of elements with two contact points per element is shown. It can be seen that, except for the large deviation in the simulation results for 4 elements, the results for 8, 16, and 28 elements are all relatively reasonable. Figure 7f is a partial enlargement of Figure 7e.
[0119] Figure 7g The calculation comparison of four contact points is given. It can be found that the simulation results are basically consistent with the number of elements. The enlarged view shows that the result of four elements is slightly distorted. 7h is a enlarged view of 7g.
[0120] Comparing the three groups of calculations with different numbers of units but a total number of 16 contact points, it can be seen that, unlike the traditional method of using as many units as possible for simulation, through the optimization analysis of the number of units and the distribution of contact points, it is believed that the results of 8 units with 2 contact points per unit and 4 units with 4 contact points per unit are better than 16 units with 1 contact point per unit, as shown in Figure i. Therefore, for the simulation modeling calculation method using the embodiment of the present disclosure, it is possible to reasonably plan the number of units and the number of contact points per unit. 7j is a partial enlargement of 7i. The thickest lines in the above Figures 7 represent the well wall, the x-axis represents the horizontal direction, and the y-axis represents the vertical direction, both in units of m.
[0121] Based on the above method, the embodiment of the present disclosure provides a drill string modeling device based on beam elements, which is used to save computing resources. The embodiment of the device corresponds to the above method embodiment. For ease of reading, this embodiment will not repeat the details of the above method embodiment one by one, but it should be clear that the device in this embodiment can implement all the contents of the above method embodiment. Figure 8 As shown, the device includes:
[0122] A first determining unit 31 is configured to determine the minimum number of beam elements required for the target drill string under various working conditions, and obtain a unit mapping relationship, wherein the unit mapping relationship is used to indicate the minimum number of beam elements corresponding to each working condition;
[0123] A second determining unit 32 is configured to determine the number of target beam units according to the unit mapping relationship and the current working condition of the target drill string;
[0124] The construction unit 33 is configured to construct a target drill string model based on the target number of beam elements.
[0125] Furthermore, the construction unit includes:
[0126] a first determining module configured to determine, based on the initial number of contact points, a minimum number of contact points required for the target drill string under each operating condition, and obtain a contact point mapping relationship, wherein the contact point mapping relationship is used to indicate the minimum number of contact points corresponding to each operating condition, wherein the initial number of contact points is greater than the number of joints of the target drill string;
[0127] A second determining module is configured to determine the target number of contact points based on the contact point mapping relationship and the current working condition of the target drill string;
[0128] A construction module is used to construct a target drill string model based on the target number of beam units and the target number of contact points.
[0129] Furthermore, the building blocks are specifically used to:
[0130] Amplifying the target number of beam elements and the target number of contact point beam elements by using a scaling factor to obtain an amplified number of beam elements and an amplified number of contact point beam elements;
[0131] A target drill string model is constructed based on the enlarged number of beam elements and the enlarged number of contact point beam elements.
[0132] Furthermore, the first determining unit includes:
[0133] a configuration module, configured to configure drilling parameters of a target drill string and obtain a working condition corresponding to the drilling parameters, wherein the drilling parameters are related to the deformation of the target drill string and include at least weight on bit, reactive torque, dogleg degree, relationship between the outer diameter of the drill string joint and the inner diameter of the wellbore, and the depth difference between the target drill string and the bottom of the well;
[0134] A determination module, configured to determine the minimum number of beam elements required under the working condition;
[0135] The construction module is used to use the drilling parameters corresponding to each working condition and the minimum number of beam units required for each working condition to construct a unit mapping relationship between the drilling parameters and the minimum number of beam units.
[0136] Furthermore, the determining module is specifically configured to:
[0137] Setting an initial number of beam elements of the target drill string, constructing a drill string model based on the initial number of beam elements, and obtaining a first drill string model;
[0138] Calculating the deformation of the first drill string model using the drilling parameters to obtain a first deformation;
[0139] Iterating the number of beam elements of the target drill string to obtain an iterated deformation, wherein the number of beam elements of the target drill string is reduced by one for each iteration;
[0140] If the error between the deformation amount after the iteration and the first deformation amount exceeds a preset error range, the number of beam elements in the previous iteration is determined as the minimum number of beam elements required under the working condition.
[0141] Furthermore, the working conditions include a no-weight-on-bit working condition and a weight-on-bit working condition, and the no-weight-on-bit working condition includes a tripping-in and tripping-out working condition, a top drive idling working condition, and a slippery-hole working condition.
[0142] Furthermore, the embodiment of the present disclosure further provides a processor, which is used to run a program, wherein the program executes the above Figure 2-5 The method described.
[0143] Furthermore, the embodiment of the present disclosure also provides a storage medium, which is used to store a computer program, wherein when the computer program is running, the device where the storage medium is located is controlled to execute the above Figure 2-5 The method described.
[0144] Furthermore, the present disclosure provides an electronic device 4, such as Figure 9 As shown, the device includes at least one processor 41, at least one memory 42 connected to the processor 41, and a bus 43. The processor 41 and the memory 42 communicate with each other via the bus 43. The processor 41 is configured to invoke program instructions stored in the memory 42 to execute the aforementioned unit-based drill string modeling method. The device herein may be a server, a PC, a PAD, a mobile phone, or the like.
[0145] Furthermore, the present disclosure also provides a computer program product, which, when executed on a data processing device, is suitable for executing a program that initializes the steps of the inspection method for network devices as described above.
[0146] Although the present disclosure has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein; and these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present disclosure.
Claims
1. A drill string modeling method based on beam elements, characterized in that: The method comprises: Determining the minimum number of beam elements required for the target drill string under each working condition, and obtaining a unit mapping relationship, wherein the unit mapping relationship is used to indicate the minimum number of beam elements corresponding to each working condition; Determining the number of target beam units according to the unit mapping relationship and the current working condition of the target drill string; A target drill string model is constructed based on the target number of beam elements.
2. The method according to claim 1, characterized in that Constructing a target drill string model based on the target number of beam elements includes: Determining, based on the initial number of contact points, a minimum number of contact points required for the target drill string under each operating condition, and obtaining a contact point mapping relationship, wherein the contact point mapping relationship is used to indicate the minimum number of contact points corresponding to each operating condition, wherein the initial number of contact points is greater than the number of joints of the target drill string; determining a target number of contact points according to the contact point mapping relationship and a current working condition of the target drill string; A target drill string model is constructed based on the target number of beam elements and the target number of contact points.
3. The method according to claim 2, characterized in that Constructing a target drill string model based on the target number of beam elements and the target number of contact points includes: Amplifying the target number of beam elements and the target number of contact point beam elements by using a scaling factor to obtain an amplified number of beam elements and an amplified number of contact point beam elements; A target drill string model is constructed based on the enlarged number of beam elements and the enlarged number of contact point beam elements.
4. The method according to claim 1, wherein Determine the minimum number of beam elements required for the target drill string under each working condition and obtain the element mapping relationship, including: Configuring drilling parameters of a target drill string to obtain a working condition corresponding to the drilling parameters, wherein the drilling parameters are related to the deformation of the target drill string, and the drilling parameters include at least weight on bit, reactive torque, dogleg, a relationship between an outer diameter of a drill string joint and an inner diameter of a wellbore, and a depth difference between the target drill string and the bottom of the well; Determine the minimum number of beam elements required for the stated load case; Using the drilling parameters corresponding to each working condition and the minimum number of beam elements required for each working condition, a unit mapping relationship between the drilling parameters and the minimum number of beam elements is constructed.
5. The method according to claim 4, characterized in that Determine the minimum number of beam elements required for the stated load case, including: Setting an initial number of beam elements of the target drill string, constructing a drill string model based on the initial number of beam elements, and obtaining a first drill string model; Calculating the deformation of the first drill string model using the drilling parameters to obtain a first deformation; Iterating the number of beam elements of the target drill string to obtain an iterated deformation, wherein the number of beam elements of the target drill string is reduced by one for each iteration; If the error between the deformation amount after the iteration and the first deformation amount exceeds a preset error range, the number of beam elements in the previous iteration is determined as the minimum number of beam elements required under the working condition.
6. The method according to any one of claims 1 to 5, characterized in that The working conditions include a no-weight-on-bit working condition and a weight-on-bit working condition. The no-weight-on-bit working condition includes a tripping-and-running working condition, a top drive idling working condition, and a slippery-hole working condition.
7. A drill string modeling device based on beam elements, characterized in that: The device comprises: A first determining unit is configured to determine a minimum number of beam elements required for a target drill string under various working conditions, and obtain a unit mapping relationship, wherein the unit mapping relationship is used to indicate the minimum number of beam elements corresponding to each working condition; a second determining unit, configured to determine the number of target beam units according to the unit mapping relationship and the current working condition of the target drill string; A construction unit is used to construct a target drill string model based on the target number of beam units.
8. The device according to claim 7, characterized in that The building blocks include: a first determining module configured to determine, based on the initial number of contact points, a minimum number of contact points required for the target drill string under each operating condition, and obtain a contact point mapping relationship, wherein the contact point mapping relationship is used to indicate the minimum number of contact points corresponding to each operating condition, wherein the initial number of contact points is greater than the number of joints of the target drill string; A second determining module is configured to determine the target number of contact points based on the contact point mapping relationship and the current working condition of the target drill string; A construction module is used to construct a target drill string model based on the target number of beam units and the target number of contact points.
9. An electronic device, characterized in that: The device includes at least one processor, and at least one memory and a bus connected to the processor; wherein the processor and the memory communicate with each other through the bus; the processor is used to call program instructions in the memory to execute the method according to any one of claims 1 to 6.
10. A computer storage medium, characterized in that The storage medium is used to store a computer program, wherein when the computer program is running, it controls the device where the storage medium is located to execute the method according to any one of claims 1 to 6.