A numerical simulation method and system for phase change seepage of three-phase fluid

By establishing the free energy function and phase transition seepage mathematical model of the gas-liquid-solid three-phase system, and combining the generalized α method for numerical simulation, the problem of difficult to track complex phase transition interfaces in the existing technology is solved, and gas-liquid is achieved -Quantitative description of solid three-phase fluid phase transition seepage and explanation of fluid seepage rules.

CN114970385BActive Publication Date: 2024-11-19CHINA UNIV OF PETROLEUM (BEIJING)
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210480945.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-05
Publication Date
2024-11-19
Estimated Expiration
2042-05-05

AI Technical Summary

Technical Problem

The prior art is difficult to quantitatively track the continuous evolution of components and geometric frontal morphology of complex phase transition interfaces, and lacks phase transition seepage theory and numerical simulation methods for gas-liquid-solid three-phase interfaces.

Method used

Establish the free energy function of the gas-liquid-solid three-phase system, establish a phase-transform seepage mathematical model of phase transformation seepage through the Cahn-Hilliard phase field equation, continuity equation and Darcy seepage equation, and combine it with equal geometric analysis to perform mesh division and generalized α method Solve and track the evolutionary laws of fluid phase components and geometric forms at the three-phase interface.

Benefits of technology

The quantitative description of the continuous evolution characteristics of components at the interfaces of complex fluid phases in pore media is realized, and the influence of the gas-liquid-solid phase transformation process on the fluid seepage law is clarified, which is of guiding significance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114970385B_ABST
    Figure CN114970385B_ABST
Patent Text Reader

Abstract

The present invention belongs to the field of energy development technology, and relates to a numerical simulation method and system for phase change seepage of three-phase fluid, comprising the following steps: establishing a gas-liquid-solid three-phase system free energy function; establishing a gas-liquid-solid three-phase fluid phase change seepage mathematical model through the free energy function; meshing the pore area to be measured, and according to the meshing result, integrally discretizing the model on the time and space scale to form a discretized differential equation group; integrating and solving the differential equation group, and using the solution result to track the evolution law of fluid phase components and geometric morphology at the three-phase interface. This solves the problem that most theories and methods are difficult to quantitatively track the continuous evolution of components and geometric front morphology of complex phase change interfaces and lack phase change seepage for gas-liquid-solid three-phase interfaces.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a numerical simulation method and system for phase change seepage of three-phase fluid, belonging to the technical field of energy development, and in particular to the field of establishing a phase change seepage model of three-phase fluid during natural gas exploitation. Background Art

[0002] With the development of society and national economy, my country's demand for energy is increasing day by day. As an important component of energy, oil and natural gas have an increasingly prominent contradiction between supply and demand. Phase change seepage of multiphase fluid is an engineering and technical problem that needs to be solved urgently in the process of oil and gas reservoir development and utilization. For example, condensate gas undergoes condensation phase change at the wax precipitation point and dew point pressure, and wax deposition, oil phase, and gas phase will undergo phase change and mass transfer. The phase change characteristics will lead to changes in oil and gas saturation in the reservoir. Wax deposition on the surface of porous media causes changes in pore properties, thereby affecting and changing the seepage characteristics of gas and water phases. During deepwater drilling and completion, the intrusion of formation gas will cause fundamental changes in the multiphase flow law in the wellbore, from liquid and solid two-phase flow to phase change. It is a complex three-phase flow of gas, liquid and solid. Due to the low temperature and high pressure conditions of deep-water wellbore, gas is prone to form hydrates during the ascent, which will cause wellbore blockage, inhibit the release of production capacity and cause safety accidents. As the most potential successor energy source, the exploitation of natural gas hydrates is essentially a process of phase change evolution between gas, liquid and solid fluids. As the hydrate saturation decreases or increases, the pore structure and physical properties of the hydrate-containing sedimentary layer will change dynamically, which significantly affects the migration capacity of the gas-water two-phase fluid in the pore space.

[0003] In order to solve the complex phase change problems between gas-liquid, liquid-solid, and gas-liquid-solid fluids, domestic and foreign scholars have done a lot of work and proposed a series of models and empirical formulas, but most theories and methods are difficult to quantitatively track the continuous evolution of components and geometric front morphology of complex phase change interfaces, resulting in the limitation of the application of existing theories and methods. In recent years, with the development of computer processing power, the diffusion interface theory represented by phase field dynamics and lattice Boltzmann method, combined with other partial differential equations, well describes the rapid changes at the interface of two-phase fluids, but for the phase change seepage problem between gas-liquid-solid three-phase fluids, there is no mature theory and numerical simulation method. Summary of the invention

[0004] The purpose of the present invention is to provide a numerical simulation method and system for phase change seepage of three-phase fluid, so as to solve the problem that most theories and methods are difficult to quantitatively track the continuous evolution of components and geometric front morphology of complex phase change interfaces and lack phase change seepage for gas-liquid-solid three-phase interfaces.

[0005] To achieve the above-mentioned purpose, the present invention adopts the following technical scheme: a numerical simulation method for phase change seepage of three-phase fluid, comprising the following steps: establishing a free energy function of a gas-liquid-solid three-phase system; establishing a mathematical model of phase change seepage of a gas-liquid-solid three-phase fluid through the free energy function; meshing the pore area to be measured, and based on the meshing results, integrally discretizing the model on time and space scales to form a discretized set of differential equations; integrating and solving the set of differential equations, and using the solution results to track the evolution of fluid phase components and geometric morphology at the gas-liquid-solid three-phase interface.

[0006] Furthermore, the free energy function of the gas-liquid-solid three-phase system is:

[0007]

[0008] Where F is the free energy function of the three-phase fluid system; f0 is the initial free energy; T is the ambient temperature; is the Laplace operator; V is the pore area to be measured; χ represents the methane concentration in the gas, liquid and solid phase fluids; φ is the phase field vector, φ=[φ g ,φ l ,φ s ],φ α represents the volume fraction of phase α in the three-phase flow system; phase α is gas phase, liquid phase or solid phase; is the interfacial energy density per unit volume of methane dissolved in gas, liquid or solid phase. is the interfacial energy density per unit volume between different phases; α = [g, l, s], β = [g, l, s]; λ is the Lagrangian factor.

[0009] Furthermore, the mathematical model of phase change seepage of gas-liquid-solid three-phase fluid is established based on the free energy function of the gas-liquid-solid three-phase system through the Cahn-Hilliard phase field equation, continuity equation, Darcy seepage equation and convection-diffusion equation, and the model is constrained by equation constraints, initial conditions and boundary conditions.

[0010] Furthermore, the specific process of establishing the mathematical model of gas-liquid-solid three-phase fluid phase change seepage is as follows: the concentration evolution equation of methane gas at the phase interface is established through the Cahn-Hilliard phase field equation, where the methane gas concentration at the phase interface is obtained by the variational inverse of the free energy function for each phase; the dissolution and precipitation process equations of gas, liquid and solid phase components caused by fluid phase change are described by the convection-diffusion equation, so as to quantitatively obtain the distribution of each phase component at the three-phase interface, where the dissolution and precipitation process equations are obtained by the variational inverse of the free energy function for the gas, liquid and solid phase methane concentrations; combined with the continuity equation and the Darcy seepage equation, the multiphase seepage mechanical behavior of compressible fluid in porous media under the influence of phase change is characterized.

[0011] Furthermore, the expression of the mathematical model of gas-liquid-solid three-phase fluid phase change seepage is established as follows:

[0012]

[0013] Where u is the velocity vector of the three-phase fluid system; K represents the conductivity; p represents the local fluid pressure after applying the compressible constraint; g represents the gravitational acceleration, is the Laplace operator, ρ is the density of the three-phase fluid system, μ(α) is the dynamic viscosity of phase α, and phase α is gas phase, liquid phase or solid phase.

[0014] Furthermore, the equality constraint is:

[0015] φ g +φ l +φ s =1

[0016] Among them, φ α It represents the volume fraction of phase α in the three-phase flow system; phase α is gas phase, liquid phase or solid phase; the initial condition is: the volume distribution of phase α at t=0; the boundary conditions include: periodic boundary conditions, Neumann boundary conditions or Dirichlet boundary conditions.

[0017] Furthermore, the meshing adopts the boundary finite element method of equal geometric proportion. By introducing non-uniform rational B-spline basis functions on the boundary, the geometric continuity of the solution domain boundary is retained in the computational physics field, so that the complex geometric shape of the porous medium can be accurately described.

[0018] Furthermore, the discretized differential equation system is expressed as:

[0019]

[0020] Where J represents the covariance matrix; R represents the residual vector; Δp, Δχ, Δφ g and Δφ l Respectively represent the fluid pressure p, methane concentration χ, and gas phase volume fraction φ at adjacent time steps g and liquid volume fraction φ l The amount of change.

[0021] Furthermore, the system of differential equations is solved by integration via the generalized α method.

[0022] The present invention also discloses a numerical simulation system for phase change seepage of three-phase fluid, comprising: a free energy establishment module, used to establish the free energy function of the gas-liquid-solid three-phase system; a model establishment module, used to establish the mathematical model of the phase change seepage of the gas-liquid-solid three-phase fluid through the free energy function; a discretization module, used to grid the pore area to be measured, and according to the grid division result, the model is integrally discretized on the time and space scales to form a discretized differential equation group; an integral solution module, used to integrally solve the differential equation group, and the solution result is used to track the evolution law of the fluid phase components and geometric morphology at the three-phase interface.

[0023] Compared with the prior art, the beneficial effects of the present invention are as follows: on the basis of establishing a free energy function of a gas-liquid-solid three-phase system that satisfies thermodynamically consistent stability, the present invention derives a mathematical model of phase change seepage of a gas-liquid-solid three-phase fluid based on phase field theory, and performs isogeometric proportional grid division on complex geometric models, thereby solving the model using an efficient numerical calculation method, which has guiding significance for exploring the continuous evolution characteristics of components at the complex fluid phase interface in porous media and clarifying the influence of the gas-liquid-solid phase change process on the fluid seepage law. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] Figure 1 It is a flow chart of a numerical simulation method of phase change seepage of a three-phase fluid in one embodiment of the present invention;

[0025] Figure 2 is the constitutive relationship between the equilibrium distribution of the phase field variable φ and the interface thickness δ in one embodiment of the present invention;

[0026] Figure 3 is a cubic rational B-spline basis function in an embodiment of the present invention, wherein, Figure 3 (a), (b) and (c) are the 0th, 1st and 2nd order basis functions of the uniform node vector [0, 1, 2, 3, 4, 5] respectively;

[0027] Figure 4 is a cubic rational B-spline function curve according to an embodiment of the present invention, wherein Pi, i=1, 2, 3 are control points and the polyline is a control polyline;

[0028] Figure 5 This is a diagram showing the effect of the expansion of the air-water dynamic interface obtained by numerical simulation of phase change seepage of a three-phase fluid according to an embodiment of the present invention. Figure 5 (a) Initial methane concentration distribution; Figure 5 (b) methane concentration distribution at t = 20 min; Figure 5 (c) is the solid-fluid volume fraction distribution at t = 20 min;

[0029] Figure 6A diagram showing changes in gas phase and solid phase saturation during the expansion of the gas-water interface in one embodiment of the present invention;

[0030] Figure 7 FIG. 4 is a diagram showing changes in pressure distribution during expansion of the air-water interface in one embodiment of the present invention. DETAILED DESCRIPTION

[0031] In order to make those skilled in the art better understand the technical direction of the present invention, the present invention is described in detail through specific embodiments. However, it should be understood that the provision of specific embodiments is only for a better understanding of the present invention, and they should not be understood as limitations of the present invention. In the description of the present invention, it should be understood that the terms used are only for the purpose of description and cannot be understood as indicating or suggesting relative importance.

[0032] In order to solve the problem that most theories and methods in the prior art are difficult to quantitatively track the continuous evolution of components and geometric front morphology of complex phase change interfaces and lack phase change seepage for gas-liquid-solid three-phase interfaces. The present invention proposes a numerical simulation method and system for phase change seepage of three-phase fluids, and a method for numerically simulating the complex phase change seepage process at the gas, liquid and solid three-phase fluid interfaces in porous media through isogeometric analysis. First, a free energy function of a gas-liquid-solid three-phase fluid system that satisfies thermodynamic consistent stability is constructed; a mathematical model of phase change seepage of a gas-liquid-solid three-phase fluid based on phase field theory is derived; the variational method and Galerkin method are introduced to discretize the established mathematical model of phase change seepage of the three-phase fluid in time and space to form a discretized differential algebraic equation group; the porous medium area under study is meshed based on isogeometric analysis; the discretized differential algebraic equation group is numerically solved using the generalized α method to achieve simulation and tracking of the dynamic behavior of complex phase change seepage of gas-liquid-solid three-phase fluid in porous media. The present invention is described in detail below through embodiments in conjunction with the accompanying drawings.

[0033] Embodiment 1

[0034] This embodiment discloses a numerical simulation method for phase change seepage of a three-phase fluid, targeting a microfluidic capillary model as a porous medium, such as Figure 1 As shown, the following steps are included:

[0035] S1 Establish the free energy function of the gas-liquid-solid three-phase system.

[0036] The free energy function of the gas-liquid-solid three-phase system is:

[0037]

[0038] Among them, g represents the gas phase state, l represents the liquid phase state, s represents the solid phase state, gs represents the gas-solid mixed state, gl represents the gas-liquid mixed state, ls represents the liquid-solid mixed state, F is the free energy function of the three-phase fluid system; f0 is the initial free energy; T is the ambient temperature; is the Laplace operator; V is the pore area to be measured; χ represents the methane concentration in the gas, liquid and solid phase fluids; φ is the phase field vector, φ=[φ g ,φ l ,φ s ],φ α represents the volume fraction of phase α in the three-phase flow system; phase α is gas phase, liquid phase or solid phase; is the interfacial energy density per unit volume of methane dissolved in gas, liquid or solid phase. is the interfacial energy density per unit volume between different phases; λ is the Lagrangian factor.

[0039] S2 establishes a mathematical model of phase change seepage of gas-liquid-solid three-phase fluid through free energy function.

[0040] The mathematical model of phase change seepage of gas-liquid-solid three-phase fluid is based on the free energy function of the gas-liquid-solid three-phase system. The mathematical model of phase change seepage of gas-liquid-solid three-phase fluid is established through the Cahn-Hilliard phase field equation, continuity equation, Darcy seepage equation and convection-diffusion equation. The model is constrained by equation constraints, initial conditions and boundary conditions.

[0041] The specific process of establishing the mathematical model of phase change seepage of gas-liquid-solid three-phase fluid is as follows:

[0042] S2.1 The concentration evolution equation of methane gas at the phase interface is established through the Cahn-Hilliard phase field equation. The expression of this equation is:

[0043]

[0044] In the formula, r α (α=g, l, s) represents the mobility of phase α; t represents time; u represents the velocity vector of the three-phase fluid system; represents the variational derivative of the free energy function F with respect to phase α, and its calculation expression is as follows:

[0045]

[0046] The convection-diffusion equation is used to describe the dissolution and precipitation process equations of gas, liquid and solid phase components caused by fluid phase change, so as to quantitatively obtain the distribution of each phase component at the three-phase interface. The expression of the process equation is:

[0047]

[0048] Where ρ represents the density of the compressible three-phase fluid system; D(φ) represents the diffusion coefficient of the three-phase fluid system, where D g , D l and D s are the diffusion coefficients of the gas phase, liquid phase and solid phase respectively; Ψ χ It represents the variational derivative of the free energy function F with respect to the methane concentration χ, and its calculation expression is as follows:

[0049]

[0050] Combining the continuity equation and Darcy's seepage equation, the multiphase seepage mechanical behavior of compressible fluid in porous media under the influence of phase change is characterized by the expression:

[0051]

[0052]

[0053] Where u is the velocity vector of the three-phase fluid system; K represents the conductivity; p represents the local fluid pressure after applying the compressible constraint; g represents the gravitational acceleration, is the Laplace operator, ρ is the density of the three-phase fluid system, μ(φ) is the dynamic viscosity of phase α, and phase α is gas, liquid or solid.

[0054] In addition, in order to ensure the conservation of mass of each phase component in the three-phase fluid system, an equality constraint condition is given in the process of establishing the phase change seepage mathematical model. The expression of the equality constraint is:

[0055] φ g +φ l +φ s =1

[0056] Among them, φ α represents the volume fraction of phase α in the three-phase flow system; phase α is gas phase, liquid phase or solid phase;

[0057] The initial conditions are: volume distribution of phase α at t = 0;

[0058] Boundary conditions include: periodic boundary conditions, Neumann boundary conditions or Dirichlet boundary conditions.

[0059] S3 performs meshing on the pore area to be measured, and based on the meshing results, performs integral discretization on the model in time and space scales to form a discretized differential equation group.

[0060] Figure 2is the constitutive relationship between the equilibrium distribution of the phase field variable φ and the interface thickness δ in this embodiment, where x is any direction in the pore region to be measured. In the actual simulation calculation process, 3 to 5 grids are generally used to reflect the continuous changes of the fluid phase interface to ensure good stability in the entire simulation calculation process. Therefore, it is necessary to divide the pore region to be measured into several grids, that is, the model needs to be discretized.

[0061] The meshes in the prior art are usually triangles, squares and parallelograms, but the actual pores are usually not regular shapes, so the numerical simulation results of the existing models are quite different from the actual situation. Therefore, in this embodiment, the meshing is performed by using the equal geometric proportion boundary finite element method, and the geometric continuity of the boundary of the solution domain is retained in the computational physical field by introducing non-uniform rational B-spline basis functions on the boundary, so that the complex geometric shape of the porous medium can be accurately described.

[0062] like Figure 3 As shown in the figure, B-spline is one of the most important fitting curves in CAD / CAM, which is composed of linear combinations of B-spline basis functions. B-spline is contained by the convex hull of its nodes, and the shape of the spline curve is determined by the position of the nodes. However, B-spline basis functions are not affected by the scaling and translation of node vectors. i,k The recursive expression of (t) is:

[0063]

[0064] Where k is the order. If the order is 0, the basis function is a step function, such as Figure 3 (a) shows that if t is on the i-th node interval, the basis function N i,0 (t) is 1; functions of other orders are obtained according to the recursive formula, Figure 3 (a), (b) and (c) are the 0th, 1st and 2nd order basis functions of the uniform node vector [0, 1, 2, 3, 4, 5] respectively.

[0065] like Figure 4 As shown, Figure 4 is a cubic rational B-spline function curve, the curve equation of which is defined as:

[0066]

[0067] P i (i=0, 1, ..., n) are control polygon vertices, ie, control points.

[0068] The expression of the discretized differential equation system is:

[0069]

[0070] Where J represents the covariance matrix; R represents the residual vector; Δp, Δχ, Δφ g and Δφ l Respectively represent the fluid pressure p, methane concentration χ, and gas phase volume fraction φ at adjacent time steps g and liquid volume fraction φ l The amount of change.

[0071] S4 integrates and solves the differential equations by the generalized α method, and uses the solution results to track the evolution of fluid phase composition and geometric morphology at the three-phase interface.

[0072] The generalized-α method is used to integrate and solve the discretized partial differential equations to achieve numerical simulation of the complex phase change seepage process of gas-liquid-solid three-phase fluid in porous media, so as to track the evolution of fluid phase components and geometric morphology at the three-phase interface. In the solution process of the generalized-α method, the degree of high-frequency damping is adaptively adjusted by the parameter α, which has good stability for solving high-order differential algebraic equations. The results of the evolution of fluid phase components and geometric morphology at the three-phase interface obtained by the method in this embodiment are shown in Figure 2. Figure 5-7 shown. Figure 5 This is a diagram showing the expansion effect of the air-water dynamic interface obtained by numerical simulation of phase change seepage of three-phase fluid in this embodiment. Figure 5 (a) Initial methane concentration distribution; Figure 5 (b) methane concentration distribution at t = 20 min; Figure 5 (c) is the solid-fluid volume fraction distribution at t = 20 min; Figure 6 is a graph showing changes in gas phase and solid phase saturation during the expansion of the gas-water interface in this embodiment; Figure 7 Graph showing changes in pressure distribution during expansion of the air-water interface in this embodiment. Figure 5 (a) represents the initial distribution of the microfluidic capillary geometry model, Figure 5 (b) Figure 5 (c) is the intermediate result of the gas-liquid-solid three-phase fluid phase change seepage simulation. The gas-liquid-solid phase change is essentially the process in which gaseous methane reacts with liquid water to form solid hydrates. Figure 5 The solid-fluid volume fraction shown in (c) is the distribution of solid-fluid saturation. Figure 6 and Figure 7 Graphs 1 and 2 show the saturation distribution and pressure field distribution in the final stable stage of the embodiment.

[0073] Embodiment 2

[0074] Based on the same inventive concept, this embodiment discloses a numerical simulation system for phase change seepage of a three-phase fluid, comprising:

[0075] Free energy building module, used to build the free energy function of the gas-liquid-solid three-phase system;

[0076] Model building module, used to establish a gas-liquid-solid three-phase fluid phase change permeation mathematical model through free energy function;

[0077] The discretization module is used to mesh the pore area to be measured, and based on the meshing results, the model is integrally discretized in time and space scales to form a discretized differential equation group;

[0078] The integral solution module is used to perform integral solutions to the differential equations, and the solution results are used to track the evolution of the fluid phase composition and geometric morphology at the three-phase interface.

[0079] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0080] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0081] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0082] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.

[0083] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit them. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in the relevant field should understand that the specific implementation of the present invention can still be modified or replaced by equivalents, and any modification or equivalent replacement that does not deviate from the spirit and scope of the present invention should be included in the protection scope of the claims of the present invention. The above content is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or replacements within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.

Claims

1. A numerical simulation method for phase change seepage of three-phase fluid, characterized in that: The following steps are involved: Establish the free energy function of the gas-liquid-solid three-phase system; Establishing a gas-liquid-solid three-phase fluid phase change seepage mathematical model through the free energy function; Meshing the pore area to be measured, and based on the meshing result, integrally discretizing the model in time and space scales to form a discretized differential equation group; Integrating and solving the differential equations, and using the solution results to track the evolution of fluid phase components and geometric shapes at the three-phase interface; The free energy function of the gas-liquid-solid three-phase system is: Where g represents the gas phase, l represents the liquid phase, s represents the solid phase, F is the free energy function of the three-phase fluid system, f0 is the initial free energy, T is the ambient temperature, is the Laplace operator; V is the pore area to be measured; χ represents the methane concentration in the gas, liquid and solid phase fluids; φ is the phase field vector, φ=[φ g ,φ l ,φ s ],φ α represents the volume fraction of phase α in the three-phase flow system; phase α is gas phase, liquid phase or solid phase; is the interfacial energy density per unit volume of methane dissolved in gas, liquid or solid phase. is the interfacial energy density per unit volume between different phases; α = [g, l, s], β = [g, l, s]; λ is the Lagrangian factor; The gas-liquid-solid three-phase fluid phase change seepage mathematical model is based on the gas-liquid-solid three-phase system free energy function, and the gas-liquid-solid three-phase fluid phase change seepage mathematical model is established through the Cahn-Hilliard phase field equation, the continuity equation, the Darcy seepage equation and the convection-diffusion equation, and the model is constrained by equation constraints, initial conditions and boundary conditions; The specific process of establishing the gas-liquid-solid three-phase fluid phase change seepage mathematical model is as follows: Establishing a concentration evolution equation of methane gas at the phase interface by using the Cahn-Hilliard phase field equation, wherein the concentration of methane gas at the phase interface is obtained by the variational inverse of the free energy function for each phase; The dissolution and precipitation process equations of gas, liquid and solid phase components caused by fluid phase change are described by the convection-diffusion equation, so as to quantitatively obtain the distribution of components of each phase at the three-phase interface, wherein the dissolution and precipitation process equations are obtained by the variational inverse of the free energy function with respect to the methane concentration of the gas, liquid and solid phases; Combining the continuity equation and Darcy's seepage equation, characterize the multiphase seepage mechanical behavior of compressible fluid in porous media under the influence of phase change; The expression for establishing the gas-liquid-solid three-phase fluid phase change seepage mathematical model is: Where u is the velocity vector of the three-phase fluid system; K represents the conductivity; p represents the local fluid pressure after applying the compressible constraint; g represents the gravitational acceleration, is the Laplace operator, ρ is the density of the three-phase fluid system, μ(α) is the dynamic viscosity of phase α, and phase α is gas phase, liquid phase or solid phase.

2. The numerical simulation method for phase change seepage of three-phase fluid according to claim 1, characterized in that: The equality constraint is: f g +φ l +φ s =1 Where φα represents the volume fraction of phase α in the three-phase flow system; phase α is gas phase, liquid phase or solid phase; The initial conditions are: volume distribution of phase α at t = 0; Boundary conditions include: periodic boundary conditions, Neumann boundary conditions or Dirichlet boundary conditions.

3. The numerical simulation method for phase change seepage of three-phase fluid according to claim 1 or 2, characterized in that: The mesh generation adopts the equal geometric proportion boundary finite element method, and the geometric continuity of the solution domain boundary is retained in the computational physical field by introducing non-uniform rational B-spline basis functions on the boundary, so that the complex geometric shape of the porous medium can be accurately described.

4. The numerical simulation method for phase change seepage of three-phase fluid according to claim 1 or 2, characterized in that: The expression of the discretized differential equation system is: Where J represents the covariance matrix; R represents the residual vector; Δp, Δχ, Δφ g and Δφ l Respectively represent the fluid pressure p, methane concentration χ, and gas phase volume fraction φ at adjacent time steps g And the change in liquid volume fraction φl.

5. The numerical simulation method for phase change seepage of three-phase fluid according to claim 1 or 2, characterized in that: The system of differential equations is solved by integration using the generalized alpha method.

6. A numerical simulation system for phase change seepage of three-phase fluid, characterized in that: include: Free energy building module, used to build the free energy function of the gas-liquid-solid three-phase system; A model building module, used to build a gas-liquid-solid three-phase fluid phase change percolation mathematical model through the free energy function; A discretization module is used to perform grid division on the pore area to be measured, and to perform integral discretization on the model in time and space scales according to the grid division results to form a discretized differential equation group; An integral solution module, used for integrally solving the differential equations, and using the solution results to track the evolution law of fluid phase components and geometric morphology at the three-phase interface; The free energy function of the gas-liquid-solid three-phase system is: Where g represents the gas phase, l represents the liquid phase, s represents the solid phase, F is the free energy function of the three-phase fluid system, f0 is the initial free energy, T is the ambient temperature, is the Laplace operator; V is the pore area to be measured; χ represents the methane concentration in the gas, liquid and solid phase fluids; φ is the phase field vector, φ=[φ g ,φ l ,φ s ],φ α represents the volume fraction of phase α in the three-phase flow system; phase α is gas phase, liquid phase or solid phase; is the interfacial energy density per unit volume of methane dissolved in gas, liquid or solid phase. is the interfacial energy density per unit volume between different phases; α = [g, l, s], β = [g, l, s]; λ is the Lagrangian factor; The gas-liquid-solid three-phase fluid phase change seepage mathematical model is based on the gas-liquid-solid three-phase system free energy function, and the gas-liquid-solid three-phase fluid phase change seepage mathematical model is established through the Cahn-Hilliard phase field equation, the continuity equation, the Darcy seepage equation and the convection-diffusion equation, and the model is constrained by equation constraints, initial conditions and boundary conditions; The specific process of establishing the gas-liquid-solid three-phase fluid phase change seepage mathematical model is as follows: Establishing a concentration evolution equation of methane gas at the phase interface by using the Cahn-Hilliard phase field equation, wherein the concentration of methane gas at the phase interface is obtained by the variational inverse of the free energy function for each phase; The dissolution and precipitation process equations of gas, liquid and solid phase components caused by fluid phase change are described by the convection-diffusion equation, so as to quantitatively obtain the distribution of each phase component at the three-phase interface, wherein the dissolution and precipitation process equations are obtained by the variational inverse of the free energy function with respect to the methane concentration of the gas, liquid and solid phases; Combining the continuity equation and Darcy's seepage equation, the multiphase seepage mechanical behavior of compressible fluid in porous media under the influence of phase change is characterized; The expression for establishing the gas-liquid-solid three-phase fluid phase change seepage mathematical model is: Where u is the velocity vector of the three-phase fluid system; K represents the conductivity; p represents the local fluid pressure after applying the compressible constraint; g represents the gravitational acceleration, is the Laplace operator, ρ is the density of the three-phase fluid system, μ(α) is the dynamic viscosity of phase α, and phase α is gas phase, liquid phase or solid phase.