Research Article

Investigating the applications and analysis of physics engine technologies

Sheng Chen*
Northeastern University

* Corresponding author: [email protected]

Abstract

This research project delves into the performance impact of implementing parallel programming techniques in physics engine applications. With the advent of multi-core processors in contemporary computing environments, optimizing physics simulations through parallel programming has become increasingly feasible. A conventional blob collision physics engine serves as the benchmark for evaluation, and its performance is juxtaposed against a parallel-programmed variant. Experimental findings indicate a significant reduction in computational time required for collision detection and response when parallel processing is employed. This efficiency gain is particularly pronounced in scenarios involving a large number of blobs, showcasing the scalability advantages of parallelization. Moreover, parallel programming facilitates optimal harnessing of multi-core processor capabilities, thereby enhancing the overall efficiency and performance of the physics engine in question. This study not only substantiates the technical merits of applying parallel programming but also illuminates the practical benefits, including resource-efficient operation and quicker simulation times. Consequently, the research provides valuable insights for developers and engineers aiming to fully exploit the capabilities of modern computing hardware in physics-based simulations and applications.

Keywords: Physics Engine; Collision Detection; Parallel Programming; Parallel Optimization; OpenMP; Speedup
Published: February 21, 2024
DOI: 10.54254/2755-2721/40/20230654
Volume: ACE Vol.40
pp. 224-233
Download PDF

References

  1. Vasheghani Farahani M, Foroughi S, Norouzi S, et al. Mechanistic study of fines migration in porous media using lattice Boltzmann method coupled with rigid body physics engine[J]. Journal of Energy Resources Technology, 2019, 141(12): 123001.
  2. Freeman C D, Frey E, Raichuk A, et al. Brax--A Differentiable Physics Engine for Large Scale Rigid Body Simulation[J]. arXiv preprint arXiv:2106.13281, 2021.
  3. Millington I. Game physics engine development[M]. CRC Press, 2007.
  4. Vasheghani Farahani M, Foroughi S, Norouzi S, et al. Mechanistic study of fines migration in porous media using lattice Boltzmann method coupled with rigid body physics engine[J]. Journal of Energy Resources Technology, 2019, 141(12): 123001.
  5. Quinn M J. Parallel programming[J]. TMH CSE, 2003, 526: 105.
  6. Culler D E, Dusseau A, Goldstein S C, et al. Parallel programming in Split-C[C]//Supercomputing'93: Proceedings of the 1993 ACM/IEEE conference on Supercomputing. IEEE, 1993: 262-273.
  7. Gilles K. The semantics of a simple language for parallel programming[J]. Information processing, 1974, 74(471-475): 15-28.
  8. Chandra R. Parallel programming in OpenMP[M]. Morgan kaufmann, 2001.
  9. Huber J, Cornelius M, Georgakoudis G, et al. Efficient execution of OpenMP on GPUs[C]//2022 IEEE/ACM International Symposium on Code Generation and Optimization (CGO). IEEE, 2022: 41-52.
  10. Yviquel H, Pereira M, Francesquini E, et al. The OpenMP Cluster Programming Model[C]//Workshop Proceedings of the 51st International Conference on Parallel Processing. 2022: 1-11.
  11. Doerfert J, Patel A, Huber J, et al. Co-Designing an OpenMP GPU runtime and optimizations for near-zero overhead execution[C]//2022 IEEE International Parallel and Distributed Processing Symposium (IPDPS). IEEE, 2022: 504-514.
  12. Pham B Q, Alkan M, Gordon M S. Porting fragmentation methods to graphical processing units using an OpenMP application programming interface: Offloading the Fock build for low angular momentum functions[J]. Journal of Chemical Theory and Computation, 2023, 19(8): 2213-2221.
  13. Silva H U, Lucca N, Schepke C, et al. Parallel OpenMP and OpenACC porous media simulation[J]. The Journal of Supercomputing, 2023, 79(8): 8425-8446.
  14. Marques S M V N, Serpa M S, Muñoz A N, et al. Optimizing the edp of openmp applications via concurrency throttling and frequency boosting[J]. Journal of Systems Architecture, 2022, 123: 102379.
  15. Da Silva H U, Schepke C, Lucca N, et al. Parallel openmp and openacc mixing layer simulation[C]//2022 30th Euromicro International Conference on Parallel, Distributed and Network-based Processing (PDP). IEEE, 2022: 181-188.