Reconstruction of porous structure and simulation of non-continuum flow in shale matrix