Numerical simulation of the seismic wave propagation and fluid pressure in complex porous media at the mesoscopic scale