主权项 |
1. A method performed with a computing system for modeling fluid flow within a wellbore, the method comprising:
identifying, with the computing system, an input characterizing a fluid flow through a wellbore; identifying, with the computing system, an input characterizing a geometry of the wellbore; generating, with the computing system, a model of the fluid flow through the wellbore based on the inputs characterizing the fluid flow and the geometry of the wellbore, the model comprising at least one discontinuity corresponding to an opening in a casing that facilitates fluid communication between an interior of the casing and a fluid reservoir in the wellbore exterior to the casing, wherein the opening comprises a perforation of a plurality of perforations through the casing; simulating, with the computing system, a stimulation treatment for the fluid flow through the wellbore based on evaluating the model with a numerical method that:
resolves the discontinuity by determining fluid flow conditions at a first boundary location node of the model and a second boundary location node of the model, the first and second boundary location nodes incorporated in the model proximate the discontinuity, with the first boundary location node upstream and adjacent to the discontinuity in the model, and the second boundary location node downstream and adjacent to the discontinuity in the model; anddetermines a mass flow rate of the fluid that flows through the plurality of perforations based, at least in part, on a respective size of each of the plurality of perforations, a density of the fluid, and a pressure difference between a wellbore pressure and a reservoir pressure in a subterranean zone; and preparing, based on the fluid flow conditions determined with the numerical method, an output associated with the simulated fluid flow through the wellbore for display to a user. |