Horizontal well cementation displacement numerical simulation method and system based on relative motion principle

Through the numerical simulation method of horizontal well cementing based on the principle of relative motion, an eccentric annulus physical model and a component model are established to simulate the mixing phenomenon of two-phase fluids, solving the problems of low simulation efficiency and low parameter sensitivity in the existing technology. problem, achieving efficient analysis of the cementing displacement process of horizontal wells.

CN118761282AActive Publication Date: 2024-10-11YANGTZE UNIVERSITY

Patent Information

Application Number
CN202410938148.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-12
Publication Date
2024-10-11
Estimated Expiration
2044-07-12

AI Technical Summary

Technical Problem

Existing numerical simulation methods are inefficient when simulating the displacement process of horizontal well cementing and have low sensitivity in parameter influence analysis. They cannot effectively describe the fluid mixing phenomenon and real interface characteristics. The calculations are heavy and time-consuming, and they cannot fully simulate the entire cementing process.

Method used

A numerical simulation method for horizontal well cementing replacement based on the principle of relative motion is used to establish a three-dimensional annulus physical model of an eccentric horizontal well. The mixing phenomenon of two-phase fluids is simulated through grid division and component model equations, and the boundary conditions of the moving wall and Dynamic replacement efficiency, grid-independent verification and unsteady calculations are performed to improve simulation efficiency and accuracy.

Benefits of technology

By saving the number of grids, improving calculation efficiency, and truly simulating the fluid movement process, it can quickly analyze the displacement problem of long horizontal sections, provide an efficient parameter sensitivity analysis method, and is suitable for horizontal well cementing displacement research.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118761282A_ABST
    Figure CN118761282A_ABST
Patent Text Reader

Abstract

The invention discloses a horizontal well cementation displacement numerical simulation method and system based on a relative motion principle. The method comprises the steps that an eccentric horizontal well cementation three-dimensional annulus physical model is established based on a well bore structure of a horizontal well; performing structural grid division on the annulus physical model to form a well cementation annulus grid model; determining a control equation and a component model equation according to the well cementation annulus mesh model, and setting physical property parameters; setting relative motion boundary conditions and initial conditions of the horizontal well based on a relative motion principle; the dynamic displacement interface and the dynamic displacement efficiency are redefined, steady flow field calculation is started, and the initial pressure and flow speed of the horizontal well are determined; performing grid independence verification according to the displacement interface and the dynamic displacement efficiency, starting unsteady calculation, and simulating the well cementation displacement process of the long horizontal well. The problems that an existing numerical simulation method is low in simulation efficiency and low in parameter influence analysis sensitivity are solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of oil drilling and production, and in particular to a horizontal well cementing displacement numerical simulation method and system based on the relative motion principle. Background Art

[0002] Horizontal well cementing is a key step in the development of oil and gas. Its purpose is to ensure the stability of the wellbore, prevent the wellbore from collapsing, isolate the fluids between different strata, and protect groundwater resources. During the horizontal well cementing operation, different types of liquids such as cement slurry, isolation fluid, and drilling fluid are sequentially discharged into the well by displacement, forming multiple displacement interfaces. Each displacement interface will have an important impact on the cementing quality. It is of great significance to deeply study the formation process and law of the displacement interface in the horizontal section of the horizontal well.

[0003] At present, the research methods of cementing displacement interface are mainly divided into three categories: theoretical analysis of displacement interface, indoor test method of displacement interface and numerical simulation method of displacement interface. Theoretical analysis of displacement interface can better describe the development dynamics of cementing displacement fluid interface, but both modeling and solving are quite difficult. Indoor test research on displacement interface is limited by the simulation length of wellbore, which affects the use of this research method. Numerical simulation method often uses VOF (Volume of Fluid) method to simulate the displacement process of multiphase fluid in cementing, which can study the influence of fluid density difference, viscosity and injection rate. At the same time, the time change of mud volume fraction in different wellbore axial sections is monitored to predict and analyze displacement efficiency and flow state. However, there is mixing phenomenon between the two-phase fluids in cementing displacement, but this method cannot reflect the material diffusion process of the two phases and the real interface characteristics of the two-phase fluids. At the same time, due to the long distance of the actual long horizontal well, a large number of grids need to be generated for simulation, which is cumbersome and time-consuming to calculate, and it is impossible to fully simulate the entire cementing process.

[0004] Therefore, it is necessary to propose a numerical simulation method for horizontal well displacement based on the principle of relative motion, which can study the cementing displacement problem in long horizontal sections with a shorter model and describe the fluid mixing phenomenon in the displacement, thus providing an efficient numerical simulation means for the rapid analysis of horizontal well cementing displacement. Summary of the invention

[0005] In view of this, the present invention provides a horizontal well cementing displacement numerical simulation method and system based on the principle of relative motion, so as to solve the technical problems of low simulation efficiency and low sensitivity of parameter influence analysis of existing numerical simulation methods.

[0006] In order to achieve the above technical objectives, the present invention adopts the following technical solutions:

[0007] The present invention provides a horizontal well cementing displacement numerical simulation method based on the relative motion principle, comprising:

[0008] A three-dimensional annular physical model for cementing eccentric horizontal wells is established based on the wellbore structure of the horizontal well;

[0009] Performing structural grid division on the annulus physical model to form a cementing annulus grid model;

[0010] Determine the control equation and component model equation according to the cementing annulus grid model, and set the physical property parameters;

[0011] The relative motion boundary conditions and initial conditions of the horizontal well are set based on the relative motion principle;

[0012] Redefine the dynamic displacement interface and dynamic displacement efficiency, start the steady flow field calculation, and determine the initial pressure and flow rate of the horizontal well;

[0013] The grid independence is verified according to the displacement interface and the dynamic displacement efficiency, and the unsteady calculation is started to simulate the cementing displacement process of the long horizontal well.

[0014] Furthermore, the annulus physical model is structured and meshed to form a cementing annulus mesh model, including:

[0015] Using a preset finite element analysis tool, meshing the eccentric semi-annulus area of ​​the annulus physical model along the axial direction, and performing mesh encryption processing on the part close to the wall;

[0016] The regular hexahedral three-dimensional structure grid is generated by using the surface mapping operation and setting the axial unit grid length;

[0017] The surface grid is mapped out through the three-dimensional structural grid, and each boundary is named to obtain an annulus grid model.

[0018] Furthermore, the control equations are used to simulate the process of displacement flow of two-phase fluids, including continuity equations and turbulence equations;

[0019] The component model equation is used to simulate the mixing phenomenon between the cementing displacement two-phase fluids and describe the mass diffusion between the fluids, including laminar mass diffusion and turbulent mass diffusion equations;

[0020] The physical property parameters are used to describe the deformation and flow properties of the slurry under the action of external forces, including the rheological parameters of the cement slurry and the spacer fluid.

[0021] Furthermore, the relative motion boundary conditions of the horizontal wells are set based on the relative motion principle and include:

[0022] Based on the principle of relative motion, the displacement process is simulated by using the moving wall boundary condition, setting the moving wall inlet and outlet conditions, and setting the initial mass fraction distribution of the two fluids.

[0023] Furthermore, the setting of the initial conditions of the horizontal well based on the relative motion principle includes: determining the distribution of flow field physical quantities in the eccentric annulus of the horizontal well at the start of displacement.

[0024] Furthermore, the redefinition of the dynamic replacement interface and the dynamic replacement efficiency includes:

[0025] Based on the eccentric effect, gravity and mass diffusion, the front and rear edge positions of the displacement are determined, and the difference between the front and rear edge positions of the displacement is used as the dynamic displacement interface length to analyze the growth of the slurry volume under the influence of different parameters during the displacement process.

[0026] According to the dynamic displacement interface length, the ratio of the displacement fluid rear edge volume to the displacement fluid front edge swept volume is taken as the dynamic displacement efficiency, and the interface length and displacement efficiency in the displacement process are coupled together.

[0027] Further, the grid independence verification is performed according to the replacement interface and the dynamic replacement efficiency, including:

[0028] The radial and circumferential grids are kept unchanged, the circumferential flow grid size is changed, and the grid independence is verified by taking the displacement interface length and displacement efficiency under different grids as evaluation indicators.

[0029] Furthermore, the starting of unsteady calculation to simulate the cementing displacement process of the long horizontal well includes:

[0030] The pressure and flow rate of each preset time step are numerically calculated. If the local residual value of the current time step meets the convergence criterion, the calculation is completed and the dynamic displacement interface length and displacement efficiency are updated, and the numerical calculation of the next time step is performed until the calculation of the last time step is completed.

[0031] Furthermore, the method also includes: extracting the displacement interface length and displacement efficiency under different parameter values ​​during the sensitivity analysis of different parameters.

[0032] The present invention also provides a horizontal well cementing displacement numerical simulation system based on the relative motion principle, comprising:

[0033] The 3D annulus model building module is used to build a 3D annulus physical model for cementing eccentric horizontal wells based on the wellbore structure of the horizontal well;

[0034] A grid division module, used for performing structural grid division on the annulus physical model to form a cementing annulus grid model;

[0035] A parameter setting module, used to determine the control equation and the component model equation according to the cementing annulus grid model, and to set the physical property parameters;

[0036] A condition setting module, used to set the relative motion boundary conditions and initial conditions of the horizontal well based on the relative motion principle;

[0037] Custom setting module, used to redefine the dynamic displacement interface and dynamic displacement efficiency, start the steady flow field calculation, and determine the initial pressure and flow rate of the horizontal well;

[0038] The simulation output module is used to verify the grid independence according to the displacement interface and the dynamic displacement efficiency, start the unsteady calculation, and simulate the cementing displacement process of the long horizontal well.

[0039] Compared with the prior art, the numerical simulation method for horizontal well cementing displacement based on the principle of relative motion provided by the present invention, firstly, according to the eccentric and axisymmetric flow characteristics in the horizontal well cementing process, a three-dimensional eccentric annulus physical model is established, which saves half of the grid number and is conducive to improving the calculation efficiency; secondly, a component model is used to capture the mixing phenomenon of the fluid in the displacement process, and the fluid movement process in cementing displacement is more realistically simulated; thirdly, a moving solid wall boundary is set based on relative motion, and a short model can be used to simulate the displacement process of horizontal well sections of different lengths, which greatly improves the calculation efficiency; finally, the dynamic displacement efficiency is redefined. In addition, compared with the traditional volume displacement efficiency, the present invention is more conducive to parameter sensitivity analysis, and provides an efficient technical means for the study of horizontal well cementing displacement process. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] Figure 1 A schematic flow chart of an embodiment of a numerical simulation method for horizontal well cementing displacement based on the relative motion principle provided by the present invention;

[0041] Figure 2 A schematic diagram of a three-dimensional annulus physical model for cementing an eccentric horizontal well provided by the present invention;

[0042] Figure 3 A schematic diagram of a cementing annulus grid model provided by the present invention;

[0043] Figure 4 A schematic diagram of mass diffusion distribution in the transverse and longitudinal sections of the annulus provided by the present invention;

[0044] Figure 5 A schematic diagram of the displacement process of the fixed wall boundary condition provided by the present invention;

[0045] Figure 6 A schematic diagram of the displacement process of the moving wall boundary condition provided by the present invention;

[0046] Figure 7 A schematic diagram of the displacement position and interface length provided by the present invention;

[0047] Figure 8 A schematic diagram showing the comparison of parameter sensitivity between the traditional displacement efficiency and the dynamic displacement efficiency provided by the present invention;

[0048] Fig. 9 The cloud diagram of cement slurry mass fraction under different displacement rates provided by the present invention and the corresponding schematic diagram of interface length and displacement efficiency change curve;

[0049] Fig.10 A structural schematic diagram of an embodiment of a horizontal well cementing displacement numerical simulation system based on the relative motion principle provided by the present invention. DETAILED DESCRIPTION

[0050] The preferred embodiments of the present invention are described in detail below in conjunction with the accompanying drawings, wherein the accompanying drawings constitute a part of this application and are used together with the embodiments of the present invention to illustrate the principles of the present invention, but are not used to limit the scope of the present invention.

[0051] The present invention provides a method and system for numerical simulation of horizontal well cementing displacement based on the principle of relative motion, which are respectively described below.

[0052] A specific embodiment of the present invention discloses a numerical simulation method for horizontal well cementing displacement based on the principle of relative motion. Figure 1 is a flow chart of the numerical simulation method for horizontal well cementing displacement based on the relative motion principle, as shown in Figure 1 As shown, the method includes:

[0053] Step S101: establishing a three-dimensional annulus physical model for cementing an eccentric horizontal well based on the wellbore structure of the horizontal well;

[0054] Step S102: performing structural grid division on the annulus physical model to form a cementing annulus grid model;

[0055] Step S103: determining the control equation and the component model equation according to the cementing annulus grid model, and setting the physical property parameters;

[0056] Step S104: setting relative motion boundary conditions and initial conditions of the horizontal well based on the relative motion principle;

[0057] Step S105: redefine the dynamic displacement interface and dynamic displacement efficiency, start the steady flow field calculation, and determine the initial pressure and flow rate of the horizontal well;

[0058] Step S106: Grid independence verification is performed according to the displacement interface and the dynamic displacement efficiency, unsteady calculation is started, and the cementing displacement process of the long horizontal well is simulated.

[0059] The method of this embodiment, firstly, establishes a three-dimensional eccentric annulus physical model based on the eccentric and axisymmetric flow characteristics during the horizontal well cementing process, which saves half of the grid number and is conducive to improving the calculation efficiency; secondly, a component model is used to capture the mixing phenomenon of the fluid during the displacement process, and more realistically simulates the fluid movement process during cementing displacement; thirdly, a moving solid wall boundary is set based on relative motion, and a short model can be used to simulate the displacement process of horizontal well sections of different lengths, greatly improving the calculation efficiency; finally, the dynamic displacement efficiency is redefined. In addition, compared with the traditional volume displacement efficiency, the present invention is more conducive to parameter sensitivity analysis, and provides an efficient technical means for the study of horizontal well cementing displacement process.

[0060] Since cementing displacement generally occurs in the annular space between the casing and the wellbore wall, the casing will generally be eccentric downward due to gravity. At the same time, the annular flow has an axisymmetric characteristic. Therefore, it is necessary to establish a physical model of the eccentric horizontal well cementing annulus.

[0061] As a specific embodiment, in step S101, considering the common wellbore structure, the outer diameter of the wellbore is 215.9mm, and the casing of 139.7mm is used for cementing. Considering the 8% wellbore expansion rate, the outer diameter of the horizontal well is 233.2mm, the length of the horizontal section annulus model is designed to be 50m, and the annulus displacement flow direction is perpendicular to the gravity direction. A three-dimensional horizontal well eccentric annulus cementing displacement physical model was established in Solidwork software, such as Figure 2 As shown, it is shortened by a ratio of 25:1 in the flow direction to facilitate observation of its model features.

[0062] As a specific embodiment, in step S102, firstly, the Hypermesh grid is used to read the physical model file of the eccentric annulus cementing displacement of the three-dimensional horizontal well, and then the axial eccentric semi-annulus is divided into regular grids, and the grid encryption processing is performed near the wall surface. The surface mapping operation is adopted and the axial unit grid length is set to generate a regular hexahedral three-dimensional structure grid, and then all the surface grids are deleted and the surface grids are mapped out through the three-dimensional body grid, and each boundary is named to generate a three-dimensional grid file, such as Figure 3 shown.

[0063] Using axial eccentric semi-annulus for regular grid division can effectively control the quality and accuracy of the grid and improve the efficiency and accuracy of numerical simulation. Mesh encryption in the area close to the wall can more accurately capture the changes in the flow field and improve the accuracy of the simulation results. The final generated three-dimensional grid file can be directly used for subsequent numerical simulation calculations, simplifying the subsequent workflow and improving work efficiency.

[0064] As a specific embodiment, in step S103, first, the three-dimensional eccentric annulus grid file is read using CFD numerical simulation software (AnsysFluent), and then the grid size is set. Since it is imported from different grid software, it is necessary to scale the size, and the scaling factor is 0.001 to complete the grid size homogenization;

[0065] Secondly, select the control equation and component model equation, and set the physical property parameters. Specifically:

[0066] (1) Selection of control equations

[0067] Since the essence of horizontal well cementing displacement is the flow process of liquid-liquid two-phase fluid in the long annular space, the two-phase fluid displacement flow process and law satisfy the fluid mechanics equations, and the control equations include the continuity equation and the momentum equation.

[0068] The continuity equation in inertial coordinates can be expressed as:

[0069]

[0070] Where ρ is the fluid density, V is the fluid velocity, t is the flow time, and ▽ is the gradient operator.

[0071] The momentum equation is:

[0072]

[0073] In the formula, is the gravitational acceleration, div is the divergence operator, and T is the stress tensor.

[0074] (2) Selection of component model

[0075] At present, the numerical simulation of cementing displacement generally uses the VOF model, which cannot reflect the material diffusion process of the two phases and the real interface characteristics of the two phases of fluid. However, there is a mixing phenomenon between the two phases of cementing displacement fluid, such as Figure 4 As shown, it is necessary to select the component model and the laminar diffusion equation to describe the mass diffusion problem between fluids:

[0076]

[0077] Mass Diffusion in Laminar Flow:

[0078]

[0079] Where: Y i is the volume fraction of each component, dimensionless; D i,m is the diffusion coefficient between the components.

[0080] (3) Fluid physical property parameter setting

[0081] In this embodiment, cement slurry is used to replace the spacer fluid. The rheological property of cementing slurry refers to the deformation and flow properties of slurry under the action of external force. Most of the fluids involved in the cementing field are non-Newtonian fluids. In the cementing process, the fluid shear rate of cementing operation is limited. Since the power law model describes the rheological properties of the slurry more accurately, the power law model is used for calculation in this embodiment, which can be expressed as:

[0082]

[0083] Where τ is shear stress, Pa; K is consistency coefficient, Pa.s n ; n is the rheological index, dimensionless.

[0084] At the same time, considering the flow state changes during cementing, it is necessary to calculate the fluid Reynolds number, where the calculation formula for the annulus Reynolds number Re is:

[0085]

[0086] Where, D1 is the outer diameter of the annulus, m; D2 is the inner diameter of the annulus, m; V is the average velocity of the annulus, m / s.

[0087] It should be noted that in previous numerical simulation studies on eccentric annulus displacement in horizontal wells, stationary wall boundary conditions were often used. Under such conditions, the fluid interface would quickly reach the outlet position of the eccentric annulus flow field in the horizontal well, and the observable displacement process would be very short. Figure 5 This figure shows the process of cement slurry (red) displacing spacer fluid (blue) under fixed wall conditions. It can be found that the displacement interface quickly develops to the outlet boundary position. A fairly long flow field model is required to observe the development process of the displacement interface. In this case, the numerical simulation of the long horizontal section requires a physical model of equal length, which leads to a sharp increase in the number of grids and increases the computational cost.

[0088] In order to solve the above problems, as a preferred embodiment, in step S104, relative motion boundary and other boundary conditions are set, that is, based on the principle of relative motion, the solid walls inside and outside the eccentric annulus are changed to motion wall boundary conditions, and other boundary conditions are set. The specific setting method is:

[0089] (1) Setting of moving wall boundary conditions

[0090] Assuming that the wall of the eccentric annulus of a horizontal well moves in the opposite direction at an average velocity, the fluid in the eccentric annulus of the horizontal well can be regarded as a movement with a zero cross-sectional flow integral. Figure 6As shown in the figure, by using the moving wall boundary condition, the interface of the two-phase fluid can always stay in the middle of the flow field and develop to both sides without reaching the outlet boundary quickly. This has the advantage that a relatively short flow field model can be used to simulate the displacement interface for a long time, and the development process of the displacement interface with the displacement time can be captured, which solves the problem of low efficiency of numerical simulation of long horizontal sections.

[0091] (2) Setting of entry and exit boundary conditions

[0092] In order to be consistent with the moving solid wall boundary conditions, the velocity at the inlet position needs to satisfy the flow integral of zero. There are generally two ways to set boundary conditions: the first is to calculate the velocity distribution of the eccentric annulus of the horizontal well under the single-phase conditions of the two-phase fluid, subtract the velocity average from the velocity distribution, and directly assign it to the inlet boundary; the other method is to directly assign the boundary condition velocity value to zero. Regardless of which initial condition is used, the flow field will have a velocity distribution formation process at the initial moment. At the beginning of displacement, there is a certain error between the velocity distribution and the actual situation. This embodiment uses the second method to set the inlet boundary conditions.

[0093] The outlet boundary adopts mass outlet conditions, that is, the physical quantities at the outflow boundary are derived from the physical quantities at adjacent positions within the region through interpolation and other methods, and are corrected by the mass conservation equation, which has little effect on the upstream flow.

[0094] (3) Initial condition setting

[0095] Initial conditions refer to the initial state that the fluid motion should satisfy at the initial moment of the flow field, that is, the values ​​of various physical quantities in the flow field at the initial moment need to be given. At the beginning of the displacement of the eccentric annulus of the horizontal well, it is necessary to give the distribution law of physical quantities in the flow field, especially the distribution law of two-phase fluid in the eccentric annulus of the horizontal well. In the initial state, the displacement fluid and the displaced fluid fill the annulus together, and the ratio of displacement fluid to displaced fluid is 60%:40%. The displacement fluid is close to the inlet end, and the displaced fluid is close to the outlet end.

[0096] In some embodiments, before starting the substitution calculation, step S105 requires redefinition of the dynamic substitution interface and dynamic substitution efficiency and compilation of a user-defined function (UDF). Specifically:

[0097] (1) Define the dynamic replacement interface length

[0098] The two-phase fluid flows in the eccentric annulus and is coupled by multiple factors such as gravity and buoyancy caused by density difference. The velocity characteristics of the wide and narrow sides are different. Under different displacement parameter conditions, different displacement interface characteristics will appear.

[0099] The displacement interface length can be used to comprehensively evaluate the influence of various factors such as the eccentric effect of the eccentric annulus, gravity, mass diffusion, etc. In the present invention, the displacement front position Z is defined as 20% of the cement slurry volume fraction. f , 80% is the replacement rear edge position Z b ,like Figure 7 As shown in Figure 2, the position of the front and rear edges of the displacement changes with time, so the difference between the two is defined as the dynamic displacement interface length L. i This length characterizes the mixed volume of different slurries during the displacement process and can be used to analyze the growth of mixed slurry volume under the influence of different parameters during the displacement process. Since the component model only displays the mass fraction in the software, a user-defined program (UDF) is required to extract the leading and trailing edge positions. It is written in C language and compiled in the software.

[0100] (2) Define dynamic replacement efficiency

[0101] During the cementing displacement process, the displacement degree of one fluid to another fluid is often characterized by displacement efficiency, represented by the symbol η. Displacement efficiency is generally divided into volume displacement efficiency and cross-sectional displacement efficiency. Currently, volume displacement efficiency is often used to express the displacement effect in engineering and numerical simulation analysis. The volume displacement efficiency η is generally defined as the ratio of the cement slurry in the annular space sealing section to the total volume of the annular space:

[0102]

[0103] When η=1, the displacement fluid completely replaces the displaced fluid, and the displacement efficiency is high. When η<1, the displacement fluid partially replaces the displaced fluid, and the lower the displacement efficiency, the lower the displacement efficiency.

[0104] The disadvantages of this displacement efficiency are: when analyzing the influence of parameters, before the front edge of the displacement fluid reaches the outlet, the displacement efficiency slope under each parameter is the inverse of the injection volume to time, which is a straight line; the influence of various parameters can only be shown as the time difference of the displacement fluid reaching the outlet, and it is impossible to accurately describe the influence of different parameters on the displacement efficiency during the displacement process. At the same time, the simulated displacement time is short, which cannot reflect the real displacement efficiency of the long horizontal section.

[0105] To address this problem, the present invention redefines the dynamic displacement efficiency η based on the dynamic displacement interface length. d , which is the ratio of the displacement fluid rear edge volume to the displacement fluid front edge swept volume. Under this definition, the interface length and displacement efficiency in the displacement process are coupled together. Figure 8As shown in the figure, as the displacement interface stabilizes, the influence of different parameters on the displacement efficiency is shown in less than 20 seconds, while the original difference time is after 30 seconds, which saves a lot of computing time for the parameter sensitivity analysis of numerical simulation. At the same time, combined with the relative motion simulation method, the displacement time can be further increased to simulate the displacement process of a longer well section, and the displacement efficiency is closer to the real displacement efficiency.

[0106] (3) Without starting the moving wall boundary condition, the steady flow field calculation is performed to obtain the stable initial pressure and flow velocity.

[0107] As a specific embodiment, in step S106, the grid independence verification is first performed based on the definition of step S105, wherein the radial and circumferential grids remain unchanged, and the circumferential flow grid size is changed. The grid independence verification is performed using the displacement interface length and displacement efficiency under different grids as evaluation indicators, and a grid of appropriate size is selected.

[0108] Secondly, edit and mount the relevant UDF, start the moving wall, and set the time step Δt to meet the CFL number criteria. Where Δx is the unit grid length of axial flow and v is the average displacement velocity.

[0109] Finally, the CFD software is used to calculate the pressure, flow rate, etc. of each time step, and the calculation is completed after the local residual value reaches the convergence criterion. When a time step is calculated, the dynamic displacement interface length and dynamic displacement efficiency are updated to calculate the next time step value until the calculation of the last time step is completed.

[0110] In addition, in the process of sensitivity analysis of different parameters, the displacement interface length and displacement efficiency under different parameter values ​​are extracted. Fig. 9 As shown in the figure, the cement slurry mass fraction cloud map and the corresponding interface length and dynamic displacement efficiency curve under five displacement rates (i.e. injection rate) are used as examples to illustrate. In order to maintain single factor analysis, the injection volume is kept consistent. As the injection rate increases, the interface length increases with the increase in pumping volume, and the displacement efficiency gradually decreases. However, as the pumping volume continues to increase, the difference in displacement efficiency of each injection rate gradually narrows.

[0111] like Fig.10 As shown, the embodiment of the present invention further provides a horizontal well cementing displacement numerical simulation system 1000 based on the relative motion principle, comprising:

[0112] A three-dimensional annulus model building module 1001 is used to build a three-dimensional annulus physical model for cementing of an eccentric horizontal well based on the wellbore structure of the horizontal well;

[0113] A grid division module 1002 is used to perform structural grid division on the annulus physical model to form a cementing annulus grid model;

[0114] A parameter setting module 1003 is used to determine the control equation and the component model equation according to the cementing annulus grid model, and to set the physical property parameters;

[0115] Condition setting module 1004, used to set relative motion boundary conditions and initial conditions of the horizontal well based on the relative motion principle;

[0116] The custom setting module 1005 is used to redefine the dynamic displacement interface and dynamic displacement efficiency, start the steady flow field calculation, and determine the initial pressure and flow rate of the horizontal well;

[0117] The simulation output module 1006 is used to verify the grid independence according to the displacement interface and the dynamic displacement efficiency, start the unsteady calculation, and simulate the cementing displacement process of the long horizontal well.

[0118] The numerical simulation method and system for horizontal well cementing displacement based on the relative motion principle provided by the present invention, firstly, according to the eccentric and axisymmetric flow characteristics in the horizontal well cementing process, a three-dimensional eccentric annulus physical model is established, which saves half of the grid number and is conducive to improving the calculation efficiency; secondly, a component model is used to capture the mixing phenomenon of the fluid in the displacement process, and the fluid movement process in cementing displacement is more realistically simulated; thirdly, a moving solid wall boundary is set based on relative motion, and a short model can be used to simulate the displacement process of horizontal well sections of different lengths, which greatly improves the calculation efficiency; finally, the dynamic displacement efficiency is redefined. In addition, compared with the traditional volume displacement efficiency, the present invention is more conducive to parameter sensitivity analysis, and provides an efficient technical means for the study of horizontal well cementing displacement process.

[0119] The above description is only a preferred specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily conceived by any technician familiar with the technical field within the technical scope disclosed by the present invention should be covered within the protection scope of the present invention.

Claims

1. A numerical simulation method for horizontal well cementing displacement based on the principle of relative motion, characterized in that: include: A three-dimensional annular physical model for cementing eccentric horizontal wells is established based on the wellbore structure of the horizontal well; Performing structural grid division on the annulus physical model to form a cementing annulus grid model; Determine the control equation and component model equation according to the cementing annulus grid model, and set the physical property parameters; The relative motion boundary conditions and initial conditions of the horizontal well are set based on the relative motion principle; Redefine the dynamic displacement interface and dynamic displacement efficiency, start the steady flow field calculation, and determine the initial pressure and flow rate of the horizontal well; The grid independence is verified according to the displacement interface and the dynamic displacement efficiency, and the unsteady calculation is started to simulate the cementing displacement process of the long horizontal well.

2. The horizontal well cementing displacement numerical simulation method based on the relative motion principle according to claim 1 is characterized in that: The annulus physical model is divided into structural grids to form a cementing annulus grid model, including: Using a preset finite element analysis tool, meshing the eccentric semi-annulus area of ​​the annulus physical model along the axial direction, and performing mesh encryption processing on the part close to the wall; The regular hexahedral three-dimensional structure grid is generated by using the surface mapping operation and setting the axial unit grid length; The surface grid is mapped out through the three-dimensional structural grid, and each boundary is named to obtain an annulus grid model.

3. The horizontal well cementing displacement numerical simulation method based on the relative motion principle according to claim 1 is characterized in that: The control equations are used to simulate the displacement flow process of two-phase fluids, and include continuity equations and turbulence equations; The component model equation is used to simulate the mixing phenomenon between the cementing displacement two-phase fluids and describe the mass diffusion between the fluids, including laminar mass diffusion and turbulent mass diffusion equations; The physical property parameters are used to describe the deformation and flow properties of the slurry under the action of external forces, including the rheological parameters of the cement slurry and the spacer fluid.

4. The horizontal well cementing displacement numerical simulation method based on the relative motion principle according to claim 1 is characterized in that: The relative motion boundary conditions for setting the horizontal well based on the relative motion principle include: Based on the principle of relative motion, the displacement process is simulated by using the moving wall boundary condition, setting the moving wall inlet and outlet conditions, and setting the initial mass fraction distribution of the two fluids.

5. The horizontal well cementing displacement numerical simulation method based on the relative motion principle according to claim 1 is characterized in that: The initial conditions of the horizontal well are set based on the relative motion principle, including: determining the distribution of flow field physical quantities in the eccentric annulus of the horizontal well at the start of displacement.

6. The horizontal well cementing displacement numerical simulation method based on the relative motion principle according to claim 1 is characterized in that: The redefinition of the dynamic replacement interface and the dynamic replacement efficiency includes: Based on the eccentric effect, gravity and mass diffusion, the front and rear edge positions of the displacement are determined, and the difference between the front and rear edge positions of the displacement is used as the dynamic displacement interface length to analyze the growth of the slurry volume under the influence of different parameters during the displacement process. According to the dynamic displacement interface length, the ratio of the displacement fluid rear edge volume to the displacement fluid front edge swept volume is taken as the dynamic displacement efficiency, and the interface length and displacement efficiency in the displacement process are coupled together.

7. The horizontal well cementing displacement numerical simulation method based on the relative motion principle according to claim 1 is characterized in that: Verification of grid independence based on the displacement interface and dynamic displacement efficiency includes: The radial and circumferential grids are kept unchanged, the circumferential flow grid size is changed, and the grid independence is verified by taking the displacement interface length and displacement efficiency under different grids as evaluation indicators.

8. The horizontal well cementing displacement numerical simulation method based on the relative motion principle according to claim 1 is characterized in that: The starting of unsteady calculation to simulate the cementing displacement process of the long horizontal well includes: The pressure and flow rate of each preset time step are numerically calculated. If the local residual value of the current time step meets the convergence criterion, the calculation is completed and the dynamic displacement interface length and displacement efficiency are updated, and the numerical calculation of the next time step is performed until the calculation of the last time step is completed.

9. The horizontal well cementing displacement numerical simulation method based on the relative motion principle according to claim 1 is characterized in that: Also includes: During the sensitivity analysis of different parameters, the displacement interface length and displacement efficiency under different parameter values ​​were extracted.

10. A horizontal well cementing displacement numerical simulation system based on the principle of relative motion, characterized in that: include: The 3D annulus model building module is used to build a 3D annulus physical model for cementing eccentric horizontal wells based on the wellbore structure of the horizontal well; A grid division module, used for performing structural grid division on the annulus physical model to form a cementing annulus grid model; A parameter setting module, used to determine the control equation and the component model equation according to the cementing annulus grid model, and to set the physical property parameters; A condition setting module is used to set the relative motion boundary conditions and initial conditions of the horizontal well based on the relative motion principle; Custom setting module, used to redefine the dynamic displacement interface and dynamic displacement efficiency, start the steady flow field calculation, and determine the initial pressure and flow rate of the horizontal well; The simulation output module is used to verify the grid independence according to the displacement interface and the dynamic displacement efficiency, start the unsteady calculation, and simulate the cementing displacement process of the long horizontal well.

Citation Information

Patent Citations

  • Displacement interface stability evaluating device and method

    CN106481333A

  • Design method for improving well cementation displacement efficiency of horizontal well

    CN112647894A

  • Displacement efficiency real-time online simulation method and device and well cementation operation method

    CN116696326A

  • Methods and apparatus for planning and dynamically updating sampling operations while drilling in a subterranean formation

    US20110266056A1

  • Designing a Wellbore Cement Sheath in Compacting or Subsiding Formations

    US20210324704A1

Cited By

  • Wind wave and flow coupling environment modeling method of FPSO system based on modelica

    CN119337782A