Cement injection circulation temperature determination method and device considering stratum physical property conditions

By establishing a wellbore-formation transient heat transfer model and a fully implicit finite difference method, the problem of different lithology of the wellbore affecting the cement injection circulation temperature has been solved. The wellbore temperature has been accurately predicted and the cement slurry performance has been optimized, and the cement injection efficiency has been improved. Well quality and downhole safety.

CN118734727APending Publication Date: 2024-10-01PETROCHINA CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310318718.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-03-28
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

The existing technology fails to effectively consider the impact of different lithology and physical properties of the well wall on the cement injection cycle temperature, resulting in inaccurate wellbore temperature prediction and affecting cementing quality and underground safety.

Method used

Establish a wellbore-formation transient heat transfer model, combine the differences in formation rock properties, use the fully implicit finite difference method to solve the problem, and accurately calculate the cement injection cycle temperature.

Benefits of technology

It achieves accurate prediction of wellbore circulation temperature, optimizes cement slurry performance, improves cementing quality, and reduces the risk of downhole accidents.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118734727A_ABST
    Figure CN118734727A_ABST
Patent Text Reader

Abstract

The invention discloses a cementing circulation temperature determination method and device considering stratum physical property conditions. The method comprises the steps that initial conditions of a cementing shaft are determined; the method comprises the following steps: establishing a first model for calculating transient cycle temperature of each control area of a cementing shaft-stratum by considering friction heat generation of a shaft fluid and a heat exchange mechanism of the fluid in a radial direction and an axial direction; determining a shaft-stratum initial temperature and boundary conditions of the first model; step length is divided, the first model is discretized according to the step length to obtain a second model, and the second model is solved to obtain the cementing circulation temperature. According to the method, the physical composition of an actual well body structure and a casing string combination in the cementing process is strictly followed, a shaft transient heat transfer model is established, meanwhile, the shaft wall is divided into different differential units in the radial direction in combination with different lithologic composition close to the shaft wall, different heat conduction coefficients are assigned to the units, and a near-shaft-wall stratum transient heat transfer model is established; and the actual underground working condition is expressed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of oil well exploitation and cementing, and in particular to a method and a device for determining cement injection circulation temperature taking formation physical property conditions into consideration. Background Art

[0002] Cementing of oil and gas wells is to inject cement slurry from the wellhead through the casing string into the annulus between the well wall and the casing string. The cement slurry is injected at a certain displacement on the ground, and reaches the bottom of the well during the downward process in the casing string, and then flows upward from the annular space formed by the outer wall of the casing and the well wall until it returns to the ground. The lithology of the well wall at different depths in the vertical direction is different, and the porosity, permeability and other characteristics are also different. Different lithologies and their mineral compositions, different saturated fluid types (the reservoir may be composed of one, two or three substances in oil, gas and water), and different porosities and permeabilities make the thermal conductivity of the lithology in the long open hole section to be sealed vary greatly. When the cement slurry flows, in the process of contacting with different lithologies of the well wall, the heat exchange efficiency between the annular cement slurry and the surrounding rock of the well wall varies greatly, which in turn affects the circulation temperature distribution of the wellbore.

[0003] Cement slurry is a temperature-sensitive material, and the annular temperature during the circulation process has a great influence on its thickening time. If the wellbore circulation temperature prediction during cementing is inaccurate, resulting in premature thickening and coagulation of cement slurry or failure of cement slurry to coagulate within the corresponding time range, it will seriously affect the cementing quality and even cause underground safety accidents. If the cement slurry thickens and causes the pump pressure to increase during cementing, the slurry displacement will be difficult and the formation will be prone to leakage; if the slurry coagulates prematurely, it will cause major underground safety accidents such as "sausage stuffing" or "flagpole planting"; if the cement slurry does not coagulate within the required time range when returning to the designed well depth, the annular pressure caused by the weight loss of cement slurry during the waiting process will fail to suppress the gas layer, resulting in gas channeling, which in turn affects the annular isolation quality. The performance of cement slurry is controlled by admixtures such as fluid loss reducers, retarders, and drag reducers, but the performance of these admixtures is also greatly affected by temperature. The selection of which admixture has a temperature-resistant effect and how much admixture to add are key factors in the preparation of high-performance cement slurry. Therefore, accurate calculation is required.

[0004] Calculating the wellbore temperature during cementing and adjusting cement slurry properties based on this temperature profile is an important means to improve cementing quality.

[0005] At present, there are few research reports on cement injection circulation temperature under the condition of formation properties, and existing research mainly focuses on the simulation of circulation temperature under the condition of homogeneous formation properties. For example, Wu Pengcheng et al. published a transient heat transfer model of wellbore-formation in deep shale gas horizontal well drilling in "Petroleum Drilling and Production Technology" in 2022, which analyzed the influence of drilling fluid properties and construction displacement on wellbore temperature during drilling. Chinese patent CN112528218A discloses a method for determining the maintenance temperature of cement stone in the real underground environment, and analyzes the influence of cement slurry hydration heat on cement stone temperature during cementing.

[0006] The current existing methods do not take into account the actual situation that the wellbore is composed of lithologies with different characteristics, which results in a certain error between the calculated results and the actual results, and then causes the designed cement slurry performance to fail to meet the downhole temperature range, resulting in complex cementing accidents downhole. Summary of the invention

[0007] The present invention aims at the problem that during cementing, the wellbore-formation is a coupled body, the formation rock properties and the degree of saturated fluid will affect the heat exchange between the wellbore fluid and the well wall, and then affect the wellbore fluid temperature. If the temperature prediction is inaccurate, it will seriously affect the safety of the complex underground construction. The transient heat transfer model of each control area of ​​the cementing wellbore-formation is established, and the formation is considered as an object with different heat transfer properties in combination with the difference in rock properties from top to bottom, which will affect the heat exchange at the wellbore-formation interface. The model is solved by an accurate fully implicit finite difference method to accurately obtain the cementing cycle temperature. The present invention can provide a key reference method for optimizing the performance of high-temperature deep well cement slurry; at the same time, the formation rock properties can also be derived in combination with the simulated temperature.

[0008] In order to achieve the above-mentioned object, the present invention provides a method for determining cement injection cycle temperature taking into account formation physical properties, including:

[0009] Determine initial conditions for cementing wellbore;

[0010] Considering the heat generated by the friction resistance of the wellbore fluid and the heat exchange mechanism of the fluid in the radial and axial directions, the first model for calculating the transient cycle temperature of each control area of ​​the cementing wellbore-formation is established;

[0011] Determining the initial wellbore-formation temperature and the boundary conditions of the first model;

[0012] The step length is divided, the first model is discretized according to the step length to obtain a second model, and the second model is solved to obtain the cement injection cycle temperature.

[0013] Furthermore, the first model includes a transient heat transfer model in the casing, a casing wall temperature model, an annulus fluid temperature model, a wellbore wall temperature mathematical model, and a near-wellbore wall formation temperature model.

[0014] Further, the determining the initial wellbore-formation temperature includes determining the initial wellbore-formation temperature according to the inlet temperature of the wellhead:

[0015]

[0016] in, is the initial wellbore-formation temperature, T s is the inlet temperature of the wellhead, g f is the geothermal gradient, z j is the well depth, and θ is the well inclination angle.

[0017] Furthermore, the step size is divided, the first model is discretized according to the step size to obtain a second model, and the second model is solved to obtain the cementing cycle temperature, including:

[0018] Divide the radial step, axial step and time step;

[0019] Discretizing the first model in space and time to obtain a second model and then solving it;

[0020] Determine whether the difference between the temperature at the nth time node and the temperature at the n+1th time node of the cement injection cycle temperature meets the set accuracy;

[0021] If it is less than the set accuracy, the solution is stopped and the temperature of the n+1th time node is the cementing cycle temperature;

[0022] If it is greater than the set accuracy, the temperature at the n+1th time node is updated to the initial temperature of the wellbore-formation and solved again until it is less than the set accuracy.

[0023] Furthermore, the discretizing the first model in space and time includes:

[0024] Discretize the first-order partial differential equation in space:

[0025]

[0026] Second-order partial differential equations are discretized in space:

[0027]

[0028] Discretize in time:

[0029]

[0030] Where Δt is the time step, Δz j is the axial step size, i, j, n are the radial, axial and time grid numbers respectively.

[0031] Furthermore, the boundary conditions of the first model meet the following requirements:

[0032] The temperature of the fluid in the casing, the wall of the drill string and the annulus fluid is equal at the bottom of the hole;

[0033] At the wellbore face, the heat flowing out of the formation and into the annulus is equal;

[0034] Fluid circulation does not disturb distant temperatures;

[0035] The wellbore-formation control areas are insulated from the atmosphere at the surface.

[0036] Furthermore, the solution uses a fully implicit finite difference method.

[0037] Furthermore, the initial conditions of the cementing wellbore include:

[0038] Casing: Wellbore size and casing size;

[0039] Wellbore fluids: type, rheology, flow rate, circulation time, density and operation displacement;

[0040] and the thermophysical parameters of casing, cement sheath, rock and fluid.

[0041] The present invention also provides a device for determining cement injection cycle temperature taking into account formation physical conditions, comprising:

[0042] A determination unit for determining initial conditions of the cementing wellbore;

[0043] The model unit considers the heat generated by the friction resistance of the wellbore fluid and the heat exchange mechanism of the fluid in the radial and axial directions, and establishes the first model for calculating the transient cycle temperature of each control area of ​​the cementing wellbore-formation;

[0044] A condition unit, used to determine the initial wellbore-formation temperature and the boundary conditions of the first model;

[0045] The solving unit is used to divide the step length, discretize the first model according to the step length to obtain the second model, and solve the second model to obtain the cement injection cycle temperature.

[0046] Furthermore, the solving unit is specifically used for:

[0047] Divide the radial step, axial step and time step;

[0048] Discretizing the first model in space and time to obtain a second model and then solving it;

[0049] Determine whether the difference between the temperature at the nth time node and the temperature at the n+1th time node of the cement injection cycle temperature meets the set accuracy;

[0050] If it is less than the set accuracy, the solution is stopped and the temperature of the n+1th time node is the cementing cycle temperature;

[0051] If it is greater than the set accuracy, the temperature at the n+1th time node is updated to the initial temperature of the wellbore-formation and solved again until it is less than the set accuracy.

[0052] Compared with the prior art, the present invention has the following beneficial effects:

[0053] (1) The present invention strictly follows the physical composition of the actual wellbore structure and the casing string combination during cementing to establish a wellbore transient heat transfer model. At the same time, combined with the different lithology near the wellbore wall, the wellbore wall is divided into different differential units in the radial direction, and different thermal conductivity coefficients are assigned to the units to construct a near-wellbore formation transient heat transfer model. The established wellbore-formation transient heat transfer model fully describes the actual working conditions underground in combination with the formation environment without any simplification, and can truly reflect the heat exchange conditions underground;

[0054] (2) In establishing the boundary conditions of the wellbore-formation transient heat transfer model, the present invention takes into account the different heat transfer properties of formation rocks, and transfers the formation heat to the wellbore wall equal to the heat transferred from the wellbore wall to the annulus, fully considering the influence of the difference in the physical properties of the rocks near the wellbore wall on the temperature of the cementing wellbore;

[0055] (3) The present invention not only comprehensively considers the influence of the physical properties of the wellbore formation on the wellbore temperature, but also helps to select and optimize the cement slurry admixtures that meet the downhole conditions; at the same time, the formation rock properties can also be deduced based on the calculated wellbore circulation temperature.

[0056] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or be understood by practicing the present invention. The purpose and other advantages of the present invention can be realized and obtained by the steps or devices indicated in the description and the drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0057] In order to more clearly illustrate the embodiments of the present invention 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 invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0058] Figure 1 A flow chart of a method for determining cementing cycle temperature taking into account formation physical properties in an embodiment of the present invention is shown;

[0059] Figure 2 A schematic diagram of the heat transfer mechanism of the heat transfer physical model in an embodiment of the present invention is shown;

[0060] Figure 3 A schematic diagram of temperature distribution of an original formation, a formation physical property considered, and a formation physical property not considered in an embodiment of the present invention is shown;

[0061] Figure 4 Shows Figure 3 Schematic diagram of temperature distribution in the dashed box;

[0062] Figure 5 A schematic structural diagram of a device for determining cementing circulation temperature taking formation physical properties into consideration in an embodiment of the present invention is shown. DETAILED DESCRIPTION

[0063] The present invention is based on the principles of conservation of mass and energy, combined with the performance of cementing fluid, including the density and rheology of drilling fluid, spacer fluid, lead slurry, tail slurry and plugging fluid, and based on the cementing construction displacement and formation gradient. At the same time, considering the heat generated by the circulating friction during cementing and the heat conduction efficiency of different lithology sections of the formation, based on the heat exchange mechanism of each control area of ​​the wellbore-formation in the radial and axial directions, a transient heat transfer model of each control area of ​​the wellbore-formation is established, the mathematical model is discretized using the difference format, the time and space steps (axial and radial) in the model calculation process are determined, and the fully implicit finite difference method is used to solve the mathematical model, and the temperature distribution characteristics of the wellbore during the cementing process are accurately obtained.

[0064] like Figure 1 As shown, in one embodiment of the present invention, a method for determining cementing cycle temperature taking into account formation physical properties is provided, comprising the following steps:

[0065] S101. Determine the initial conditions for cementing wellbore

[0066] The borehole size and casing size of each layer of casing are determined in combination with the drill bit size, casing size, and wellbore structure. At the same time, the actual slurry column structure of cementing is used to determine the wellbore fluid type, rheology, flow rate, circulation time, density and construction displacement during cementing, as well as the thermal physical parameters of the casing, cement sheath, rock and fluid.

[0067] S 102. Considering the heat generated by the friction resistance of the wellbore fluid and the heat exchange mechanism of the fluid in the radial and axial directions, the first model for calculating the transient cycle temperature of each control area of ​​the cementing wellbore-formation is established.

[0068] Based on the principle of conservation of energy, considering the heat generated by friction of wellbore fluid and the heat exchange mechanism of fluid in radial and axial directions, a first model for calculating the transient circulation temperature of each control area of ​​cementing wellbore-formation is established. The first model includes a transient heat transfer model in the casing, a casing wall temperature model, an annulus fluid temperature model, a wellbore temperature mathematical model, and a near-wellbore formation temperature model.

[0069] ① Transient heat transfer model in casing

[0070] like Figure 2 As shown in the figure, combined with the heat transfer mechanism described in the heat transfer physical model, the heat transfer model in the casing is established as follows:

[0071] The heat flowing into the differential unit during the downward flow of the fluid in the casing:

[0072] dQ1=Q p(z) -Q p(z+Δz) =ρ m Q m |T p(z) -T p(z+Δz) |dt;

[0073] Heat exchanged between the fluid in the casing and the inner wall of the casing in the radial direction by heat convection:

[0074] dQ2=2πr0h wi (T w -T p )Δzdt;

[0075] Heat generated by friction resistance of fluid circulation in casing:

[0076] dW=Q p Δzdt;

[0077] The change in the internal energy of the differential unit in the casing per unit time:

[0078]

[0079] Based on the law of conservation of energy,

[0080]

[0081] Dividing both sides of the equation by Δzdt, we have

[0082]

[0083] The circulating temperature model in the casing can be obtained as follows:

[0084]

[0085] In the above formula, z is the depth, m; Δz is the axial step, m; t is the time; ρ m is the fluid density in the casing, kg / m 3 ;c m is the specific heat capacity of the fluid in the casing, J / (kg·℃); T p is the temperature of the fluid in the casing, °C; T w is the casing wall temperature, °C; hwi is the convection heat transfer coefficient of the inner wall of the casing, W / (m 2 ·℃); Q is the cementing construction displacement, m 3 / s;Q p is the heat source term of the fluid in the casing, w / m; r0 is the inner diameter of the casing, m.

[0086] ②Casing wall temperature model

[0087] The factors that affect the heat of the casing wall are: axial heat conduction of the casing wall, heat convection between the outer wall of the casing and the annular fluid, heat convection between the inner wall of the casing and the annular fluid, and the change of the casing wall heat per unit time. According to the principle of energy conservation, the model can be expressed as:

[0088]

[0089] In the formula, ρ w is the casing density, kg / m 3 ;c w is the specific heat capacity of the casing wall, J / (kg·℃); T a is the annular fluid temperature, °C; h wo is the convection heat transfer coefficient of the outer wall of the casing, W / (m 2 ·℃);λ w is the thermal conductivity of the casing, W / (m·℃); r1 is the outer diameter of the casing, m.

[0090] ③ Annular fluid temperature model

[0091] Factors affecting the heat of the annular fluid include: the heat carried by the upward flow of the fluid, the heat convection between the outer wall of the casing and the fluid, the heat convection between the well wall and the annular fluid, the heat generated by the friction resistance of the annular fluid circulation, and the change of the internal energy of the annular fluid. Based on the law of conservation of energy, the mathematical model of heat transfer of the annular fluid is:

[0092]

[0093] In the formula, h b is the well wall convection heat transfer coefficient, W / (m 2 ·℃); r2 is the wellbore radius, m; T c1 is the well wall temperature, °C; Q a is the heat source term of the fluid in the annulus, w / m.

[0094] ④ Mathematical model of wellbore temperature

[0095] The wellbore wall is composed of casing and rock, and the factors affecting the heat of the wellbore wall are: heat conduction in the axial direction, heat convection between the annular fluid inside the wellbore wall and the wellbore wall, heat conduction between the cement stone (or retained drilling fluid) / rock outside the wellbore wall and the casing, and the change of the energy of the micro-element segment itself. Based on the principle of energy conservation, the wellbore heat transfer model is:

[0096]

[0097] In the formula, λ c1 is the thermal conductivity of casing / rock, W / (m·℃); s1 is the thermal conductivity of cement sheath / rock, W / (m·℃); T s1 is the cement sheath / rock temperature, °C; ρ c1 is the casing / rock density, kg / m 3 ;c c1 is the specific heat capacity of casing / rock, J / (kg·℃); r3 is the outer diameter of casing, m.

[0098] ⑤Near-wellbore formation temperature model

[0099] The formation near the wellbore wall consists of multiple layers of casing, cement ring and formation. Its heat transfer model can be regarded as the heat conduction of multiple cylindrical walls in radial and axial directions. The mathematical model is:

[0100]

[0101] Where, T fk is casing / cement sheath / rock temperature, °C; ρ fk is the density of casing / cement sheath / rock, kg / m 3 ; r k is the radial stratigraphic grid unit, m; c fk is the specific heat capacity of casing / cement sheath / rock, J / (kg·℃); fk is the thermal conductivity of casing / cement sheath / rock, W / (m·℃); k depends on the size of the casing layer, usually 4≤k≤11.

[0102] S103, determining the initial wellbore-formation temperature and the boundary conditions of the first model

[0103] The initial wellbore-formation temperature is determined according to the inlet temperature of the wellhead:

[0104]

[0105] in, is the initial wellbore-formation temperature, T s is the inlet temperature of the wellhead, g f is the geothermal gradient, z j is the well depth, and θ is the well inclination angle.

[0106] The boundary conditions of the first model meet the following requirements:

[0107] The temperatures of the fluid in the casing, the drill string wall, and the annulus fluid are all equal at the bottom of the well:

[0108] T p(z=H,t) =T w(z=H,t) =T a(z=H,t) ;

[0109] Where, T p(z=H,t) is the temperature of the fluid in the casing at the bottom of the well, T w(z=H,t) is the temperature of the drill string wall at the bottom of the well, T a(z=H,t) is the temperature of the annulus fluid at the bottom of the well.

[0110] At the wellbore wall, the heat flowing out of the formation and into the annulus is equal.

[0111] The fluid circulation does not disturb the distant temperature, that is, the formation temperature far away from the wellbore wall is the original temperature.

[0112] The wellbore-formation control areas are insulated from the atmosphere at the surface.

[0113] S104, dividing the step length, discretizing the first model according to the step length to obtain a second model, and solving the second model to obtain the cementing cycle temperature

[0114] The radial step length, axial step length and time step length are divided. The radial step length near the wellbore is determined by combining the casing size and cement ring thickness in the actual wellbore structure. When the radial distance is close to the wellbore rock, the thickness of the adjacent cement ring is used as the initial step length. The radial step length far from the wellbore is divided into e k Gradually increase (k = 1, 2, ... 6); axial step size (Δz, usually less than 3% of the well depth) and time step size (Δt). The corresponding number of grids can be determined according to the well structure, well depth and cementing construction time. Based on this, the number of radial, axial and time grids are: i, j, n respectively.

[0115] Discretizing the first model in space and time to obtain a second model and then solving it;

[0116] The discrete format is as follows:

[0117] Discretize the first-order partial differential equation in space:

[0118]

[0119] Second-order partial differential equations are discretized in space:

[0120]

[0121] Discretize in time:

[0122]

[0123] Where Δt is the time step, Δz j is the axial step size, i, j, n are the radial, axial and time grid numbers respectively.

[0124] Taking the annular fluid temperature model as an example, the equation is discretized based on this, and the discretized model is as follows:

[0125]

[0126] Combine terms of equal time and equal temperature:

[0127]

[0128] In addition, the second model obtained by discretizing the transient heat transfer model in the casing, the casing wall temperature model, the well wall temperature mathematical model, and the near-well wall formation temperature model involves multiple partial differential equations, forming a group of partial differential equations. For the group of partial differential equations, this embodiment uses a fully implicit finite difference method to solve the model. The model discretization format is:

[0129]

[0130] In the formula, α ij , β ij , γ ij ,δ ij , ij are the matrix coefficients, c ij is the spatial grid node coefficient in the radial and axial directions; i, j are the spatial grid nodes in the radial and axial directions respectively; n is the time node.

[0131] Preferably, the finite difference equations of all nodes can also be expressed in matrix form.

[0132] Determine whether the difference between the temperature at the nth time node and the temperature at the n+1th time node of the cement injection cycle temperature meets the set accuracy;

[0133] If it is less than the set accuracy, the solution is stopped and the temperature of the n+1th time node is the cementing cycle temperature;

[0134] If it is greater than the set accuracy, the temperature at the n+1th time node is updated to the initial temperature of the wellbore-formation and solved again until it is less than the set accuracy.

[0135] Taking the temperature solution of the annular fluid temperature model as an example, when the difference between the annular temperature at the n+1th time node and the nth time node is less than or equal to the set accuracy δ = 1×10 -2If , the operation is terminated, otherwise the operation continues.

[0136] An embodiment of the present invention applies the method of the above embodiment to a specific implementation well, which includes the following steps in sequence:

[0137] (1) According to the well to be implemented, the wellbore structure and the properties and parameters of the injected fluid are determined. The specific wellbore structure and cementing construction parameters are shown in Tables 1 and 2.

[0138] Table 1 Wellbore structure parameters

[0139]

[0140] Table 2 Construction displacement and fluid performance parameters

[0141]

[0142] (2) Obtain the fluid thermophysical parameters: the geothermal gradient is 2.23℃ / 100m, the fluid inlet temperature is 24℃, the thermal conductivity of the 3000m-4000m formation is 1.0W / (m.℃), the thermal conductivity of the 4000m-4500m formation is 2.0W / (m.℃), and the thermal conductivity of the 4500m-5075m formation is 3.0W / (m.℃).

[0143] (3) Based on fluid mechanics and heat transfer, calculate the fluid Reynolds number, and then calculate the model pressure drop and heat transfer coefficient of the fluid in the tube and annulus;

[0144] (4) Determine the radial, axial and time steps. The radial step is determined according to the inner and outer diameters of the casing and the thickness of the cement ring of the actual wellbore structure. The axial step is 25m and the time step is 60s.

[0145] (5) According to the second model established in the method embodiment, the temperature variation values ​​of each control area of ​​the wellbore-formation over time and space are set. For example, the temperature variation parameters of the casing, casing wall and annulus are:

[0146] (6) According to the second model and the temperature of node n Get the n+1 time node If the parameter value is less than the set accuracy range (δ = 1 × 10 -2 ),Right now and If any of the parameter values ​​is greater than the set accuracy range (δ = 1×10 -2 ), the temperature at the n+1th time node is updated to the initial temperature of the wellbore-formation and solved again until it is less than the set accuracy.

[0147] (7) Accurately obtain the temperature distribution characteristics of the cement annulus, and then determine the cement slurry thickening time.

[0148] like Figure 3 and Figure 4 As shown, the results show that the open hole section of the well is 3065-5075m. Combined with the examples, it is shown that the annular fluid temperature is about 4.2℃ higher under the condition of fully considering the formation thermal physical parameters than under the condition of not considering the formation thermal physical parameters. This temperature difference may affect the physical properties of cement slurry such as rheology and thickening time.

[0149] like Figure 5 As shown, an embodiment of the present invention further provides a cementing cycle temperature determination device taking into account formation physical properties, comprising:

[0150] A determination unit for determining initial conditions of the cementing wellbore;

[0151] The model unit considers the heat generated by the friction resistance of the wellbore fluid and the heat exchange mechanism of the fluid in the radial and axial directions, and establishes the first model for calculating the transient cycle temperature of each control area of ​​the cementing wellbore-formation;

[0152] A condition unit, used to determine the initial wellbore-formation temperature and the boundary conditions of the first model;

[0153] The solving unit is used to divide the step length, discretize the first model according to the step length to obtain the second model, and solve the second model to obtain the cement injection cycle temperature.

[0154] The solving unit is specifically used for:

[0155] Divide the radial step, axial step and time step;

[0156] Discretizing the first model in space and time to obtain a second model and then solving it;

[0157] Determine whether the difference between the temperature at the nth time node and the temperature at the n+1th time node of the cement injection cycle temperature meets the set accuracy;

[0158] If it is less than the set accuracy, the solution is stopped and the temperature of the n+1th time node is the cementing cycle temperature;

[0159] If it is greater than the set accuracy, the temperature at the n+1th time node is updated to the initial temperature of the wellbore-formation and solved again until it is less than the set accuracy.

[0160] Finally, it should be noted that the above is only a preferred embodiment of the present invention and is not intended to limit the present invention. Although the present invention has been described in detail with reference to the aforementioned embodiments, it is still possible for those skilled in the art to modify the technical solutions described in the aforementioned embodiments or to make equivalent substitutions for some of the technical features therein. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A method for determining cementing cycle temperature taking into account formation physical properties, characterized in that: include, Determine initial conditions for cementing wellbore; Considering the heat generated by the friction resistance of the wellbore fluid and the heat exchange mechanism of the fluid in the radial and axial directions, the first model for calculating the transient cycle temperature of each control area of ​​the cementing wellbore-formation is established; Determining the initial wellbore-formation temperature and the boundary conditions of the first model; The step length is divided, the first model is discretized according to the step length to obtain a second model, and the second model is solved to obtain the cement injection cycle temperature.

2. The method according to claim 1, characterized in that The first model includes a transient heat transfer model in the casing, a casing wall temperature model, an annulus fluid temperature model, a wellbore wall temperature mathematical model, and a near-wellbore wall formation temperature model.

3. The method according to claim 2, characterized in that The determining of the initial wellbore-formation temperature includes determining the initial wellbore-formation temperature according to the inlet temperature of the wellhead: in, is the initial wellbore-formation temperature, T s is the inlet temperature of the wellhead, g f is the geothermal gradient, z j is the well depth, and θ is the well inclination angle.

4. The method according to claim 3, characterized in that The dividing step size, discretizing the first model according to the step size to obtain a second model, and solving the second model to obtain the cementing cycle temperature comprises: Divide the radial step, axial step and time step; Discretizing the first model in space and time to obtain a second model and then solving it; Determine whether the difference between the temperature at the nth time node and the temperature at the n+1th time node of the cement injection cycle temperature meets the set accuracy; If it is less than the set accuracy, the solution is stopped and the temperature of the n+1th time node is the cementing cycle temperature; If it is greater than the set accuracy, the temperature at the n+1th time node is updated to the initial temperature of the wellbore-formation and solved again until it is less than the set accuracy.

5. The method according to claim 4, characterized in that The discretizing the first model in space and time includes: Discretize the first-order partial differential equation in space: Second-order partial differential equations are discretized in space: Discretize in time: Where Δt is the time step, Δz j is the axial step size, i, j, n are the radial, axial and time grid numbers respectively.

6. The method according to claim 1, characterized in that The boundary conditions of the first model meet the following requirements: The temperature of the fluid in the casing, the wall of the drill string and the annulus fluid is equal at the bottom of the hole; At the wellbore face, the heat flowing out of the formation and into the annulus is equal; Fluid circulation does not disturb distant temperatures; The wellbore-formation control areas are insulated from the atmosphere at the surface.

7. The method according to claim 1, characterized in that The solution uses a fully implicit finite difference method.

8. The method according to any one of claims 1 to 7, characterized in that: The initial conditions for cementing the wellbore include: Casing: Wellbore size and casing size; Wellbore fluids: type, rheology, flow rate, circulation time, density and operation displacement; and the thermophysical parameters of casing, cement sheath, rock and fluid.

9. A device for determining cementing cycle temperature taking into account formation physical properties, characterized in that: include, A determination unit for determining initial conditions of the cementing wellbore; The model unit considers the heat generated by the friction resistance of the wellbore fluid and the heat exchange mechanism of the fluid in the radial and axial directions, and establishes the first model for calculating the transient cycle temperature of each control area of ​​the cementing wellbore-formation; A condition unit, used to determine the initial wellbore-formation temperature and the boundary conditions of the first model; The solving unit is used to divide the step length, discretize the first model according to the step length to obtain the second model, and solve the second model to obtain the cement injection cycle temperature.

10. The device according to claim 9, characterized in that The solving unit is specifically used for: Divide the radial step, axial step and time step; Discretizing the first model in space and time to obtain a second model and then solving it; Determine whether the difference between the temperature at the nth time node and the temperature at the n+1th time node of the cement injection cycle temperature meets the set accuracy; If it is less than the set accuracy, the solution is stopped and the temperature of the n+1th time node is the cementing cycle temperature; If it is greater than the set accuracy, the temperature at the n+1th time node is updated to the initial temperature of the wellbore-formation and solved again until it is less than the set accuracy.