Particle arrangement plays a crucial role in determining the behavior of granular materials, influencing stress distribution and particle movement within the system. Despite the significance of considering particle arrangements, their impact on granular materials under shock compaction remains inadequately explored. To investigate the influence of internal structures determined by particle arrangements, this study employs mesoscale simulations of a granular material under shock compaction. 2D simulations employing three representative particle arrangements were generated with varying pore distributions. Simulated results shed light on how the particle arrangements modulate shock wave speed and the morphology of the shock wavefront. Simulations were used to analyze the shock wave precursor, shock wavefront, and end. Interestingly, different particle arrangements under constant porosity led to varying shock compaction velocities. We show that the pore distribution within a granular material is an important aspect of predicting the shock compaction response of granular materials.