The invention discloses a porous rock multiphase fluid lattice Boltzmann
simulation method based on GPU acceleration, and belongs to the technical field of computational fluid
mechanics, a D3019 speed discrete model is utilized to identify porous rock to obtain a digital core model, a speed direction and a
weight coefficient are defined, a
distribution function is defined by means of an LBM method, and a multi-phase fluid lattice Boltzmann
simulation model is obtained. Calculating a macroscopic
physical quantity by utilizing a relation between a
distribution function and a velocity moment, respectively describing a gas-
liquid interface and a complex boundary of the porous rock by virtue of a scalar tracer function and a step function, and constructing a
physical model; constructing an equilibrium
state distribution function, performing LB equation calculation by adopting a forming schema equation under an external force, constructing a pseudo-potential multiphase model by virtue of a Shang-Chen
potential energy formula, and
processing the
solid-liquid boundary of the porous rock by using a semi-rebound format; and carrying out a numerical solution
pseudo code process based on the lattice Boltzmann method. According to the method, the characteristics of
multithreading,
memory sharing and the like of GPU hardware are fully utilized under the LBM framework, and the steps of the core
algorithm are highly parallelized, so that high-performance calculation is realized.