Computational fluid dynamic (CFD) simulation is a powerful tool in the design and implementation of microfluidic systems, especially for systems that involve hydrodynamic behavior of objects such as functionalized microspheres, biological cells, or biopolymers in complex structures. In this work, we investigate hydrodynamic trapping of microspheres in a novel microfluidic particle-trap array device by finite element simulations. The accuracy of the time-dependent simulation of a microsphere's motion towards the traps is validated by our experimental results. Based on the simulation, we study the fluid velocity field, pressure field, and force and stress on the microsphere in the device. We further explore the trap array's geometric parameters and critical fluid velocity, which affect the microsphere's hydrodynamic trapping. The information is valuable for designing microfluidic devices and guiding experimental operation. Besides, we provide guidelines on the simulation set-up and release an openly available implementation of our simulation in one of the popular FEM softwares, COMSOL Multiphysics. Researchers may tailor the model to simulate similar microfluidic systems that may accommodate a variety of structured particles. Therefore, the simulation will be of particular interest to biomedical research involving cell or bead transport and migration, blood flow within microvessels, and drug delivery.