Implementation of a Physical Model in the Unreal Engine Game Engine for Computer Simulation of the Stress-Strain State of Porous Media Using the MPM/APIC Method

This article focuses on the formalisation of a physical model of a porous medium and the architecture of its practical implementation in the Unreal Engine game engine. Unlike the review stage, this work examines not only the feasibility of using MPM/APIC, but also a specific scheme for storing material state, numerical stress updates, momentum transfer between particles and the mesh, as well as the organisation of the computational pipeline within the game engine. The physical model is formulated in a reduced continuous formulation, where the porous medium is treated as a compressible elastoplastic material with a pressure-dependent yield strength. Porosity in the model is accounted for not through full multiphase poromechanics, but through density, volume change, plastic compaction, and compaction-dependent effective stiffness parameters. Compressible hyperelastic energy is used to describe the elastic response, and for irreversible deformations, a Drucker–Prager-type yield criterion with controlled dilatation and hardening is employed. For numerical discretisation, the Material Point Method was used in combination with the Affine Particle-In-Cell method with velocity transport. This approach allows the Lagrangian deformation history to be preserved on the particles, force calculations to be performed on a regular background grid, and numerical diffusion to be reduced compared to the classical PIC scheme. The order of execution of the P2G (particle-to-grid) stages, the calculation of internal forces, the updating of nodal velocities, contact corrections, the G2P (grid-to-particle) stage, and the updating of the deformation gradient and plastic state are described separately. The proposed Unreal Engine architecture encompasses the script integration layer, a C++ simulation module, a GPU pipeline based on compute shaders and the Render Dependency Graph, a buffer layer with StructuredBuffer/UAV/SRV resources, and a Niagara-based rendering layer. This approach ensures scalability, separates simulation from rendering, and enables the use of simulation in both scientific visualisation tasks and real-time interactive applications.

Authors

Institutions

Publication Details

Journal
Mathematical and computer modelling Series Technical sciences
Published
2026-11-30
DOI
https://doi.org/10.32626/2308-5916.2026-30.5-16
Primary Topic
Fluid Dynamics Simulations and Interactions
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

Implementation of a Physical Model in the Unreal Engine Game Engine for Computer Simulation of the Stress-Strain State of Porous Media Using the MPM/APIC Method

Наталія Анатоліївна Жуковська, Viktor Bykov
Mathematical and computer modelling Series Technical sciences
Fluid Dynamics Simulations and Interactions
article

Implementation of a Physical Model in the Unreal Engine Game Engine for Computer Simulation of the Stress-Strain State of Porous Media Using the MPM/APIC Method

Наталія Анатоліївна Жуковська, Viktor Bykov
article en

Abstract

This article focuses on the formalisation of a physical model of a porous medium and the architecture of its practical implementation in the Unreal Engine game engine. Unlike the review stage, this work examines not only the feasibility of using MPM/APIC, but also a specific scheme for storing material state, numerical stress updates, momentum transfer between particles and the mesh, as well as the organisation of the computational pipeline within the game engine. The physical model is formulated in a reduced continuous formulation, where the porous medium is treated as a compressible elastoplastic material with a pressure-dependent yield strength. Porosity in the model is accounted for not through full multiphase poromechanics, but through density, volume change, plastic compaction, and compaction-dependent effective stiffness parameters. Compressible hyperelastic energy is used to describe the elastic response, and for irreversible deformations, a Drucker–Prager-type yield criterion with controlled dilatation and hardening is employed. For numerical discretisation, the Material Point Method was used in combination with the Affine Particle-In-Cell method with velocity transport. This approach allows the Lagrangian deformation history to be preserved on the particles, force calculations to be performed on a regular background grid, and numerical diffusion to be reduced compared to the classical PIC scheme. The order of execution of the P2G (particle-to-grid) stages, the calculation of internal forces, the updating of nodal velocities, contact corrections, the G2P (grid-to-particle) stage, and the updating of the deformation gradient and plastic state are described separately. The proposed Unreal Engine architecture encompasses the script integration layer, a C++ simulation module, a GPU pipeline based on compute shaders and the Render Dependency Graph, a buffer layer with StructuredBuffer/UAV/SRV resources, and a Niagara-based rendering layer. This approach ensures scalability, separates simulation from rendering, and enables the use of simulation in both scientific visualisation tasks and real-time interactive applications.

Mathematical and computer modelling Series Technical sciences(30)
National University of Water and Environmental Engineering (UA)
Fluid Dynamics Simulations and Interactions
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon