The invention discloses a detection
algorithm for the pore structure of a
shale gas reservoir. The detection
algorithm comprises the step of carrying out specific surface analysis and detection to obtain partial data by adopting a
nitrogen absorption method, and also comprises the following steps: (1) in the pressure reducing process after
nitrogen is absorbed to
maximum pressure, gradually and respectively converting staged desorbing amount of the
nitrogen into the percent of the volume of a desorbed
wetting phase at stages accounting for the volume of a rock-core pore and the percent of the volume of the desorbed nitrogen accounting for the total volume of the
rock core; (2) calculating out the thickness of a
wetting film in the process of staged
desorption, namely, the
throat radius of the process, by adopting a digital model for calculating the thickness of a water film according to the specific surface of
nitrogen absorption and the density of the
rock core; and (3) according to the relation of the
capillary pressure theory, obtaining
capillary pressure under the corresponding and
relative pressure and a
capillary pressure curve in the whole
desorption process. The detection
algorithm disclosed by the invention has the advantages that the characteristics of the pore structure of the
shale gas reservoir and the characteristics of seepage and production of
natural gas can be intuitively described, further the value of the
shale gas reservoir is evaluated, the practical value is very high and the application prospect is very wide.