← Latest papers
⚡ electrical engineering

GPU Acclerated Explicit FEM–Level-Set DEM Coupling for Rigid–Soft Mixtures with LLM-Assisted Model Construction

This paper introduces an open-source, GPU-accelerated framework that couples explicit FEM and level-set DEM to simulate soft-rigid particle mixtures with a conservative contact model, while also providing an LLM-assisted platform to streamline model construction and verification.

Original authors: Yihao Shi

Published 2026-09-09
📖 6 min read🧠 Deep dive

Original authors: Yihao Shi

Original paper licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine a world where the ground beneath your feet is not just a uniform surface, but a chaotic mixture of hard, jagged stones and soft, squishy rubber balls. This is the reality of many natural and industrial materials, from sand mixed with clay to recycled tires blended with gravel. When these two very different types of particles interact, they do not behave like a simple average of their parts. The hard stones lock together to form a rigid skeleton, while the soft grains squeeze and stretch to fill the gaps, creating a complex, shifting network of forces. To understand how such mixtures flow, settle, or support weight, scientists must track two things simultaneously: the precise motion of every hard particle and the internal stretching and stress within every soft particle. For decades, simulating this dual nature on a computer has been a formidable challenge, often requiring so much computing power that realistic models were impossible to run.

A new approach developed by independent researcher Yihao Shi offers a solution by merging two powerful simulation techniques into a single, high-speed system. The method treats hard, irregular particles using a technique that maps their exact 3D shapes, while soft, deformable particles are broken down into tiny tetrahedral blocks that can stretch and compress like real rubber. The innovation lies in how these two distinct worlds talk to each other. The system uses a specialized, energy-conserving rule to calculate the forces when a soft block bumps into a hard shape, ensuring that the work done by the collision matches the energy stored inside the material. This prevents the simulation from creating or losing energy artificially, a common problem in computer models that can lead to unrealistic results. By running these calculations on a graphics processing unit, the same hardware found in modern video games, the researcher achieved a speedup that makes it possible to simulate thousands of these mixed particles interacting with high efficiency.

To make this complex technology accessible, the researcher also built an assistant powered by a large language model, a type of artificial intelligence trained on vast amounts of text and code. Instead of requiring a user to write hundreds of lines of code to set up a simulation, a person can now describe a scenario in plain English or upload a 3D model from a design program, and the system automatically generates the necessary geometry, checks the quality of the internal mesh, and sets the physical parameters. If the simulation fails or produces unstable results, the system can automatically diagnose the issue, adjust the settings, and restart the calculation without human intervention. This creates a seamless workflow from a simple idea to a verified physical result, lowering the barrier for scientists and engineers to study these complex materials.

The power of this new framework was tested through a series of rigorous experiments. First, the system was asked to replicate a classic physics problem: a soft sphere pressing against a flat surface. The simulation matched the theoretical predictions for how the sphere deforms and how the pressure spreads across the contact area, proving that the underlying math was correct. Next, the researcher simulated collisions between soft and hard objects, including spheres and cubes, to ensure that momentum and energy were conserved perfectly during impact. The results showed that the system could handle the transfer of energy from motion into deformation and back again with extreme precision, even when the shapes were irregular and the collisions were off-center.

The framework was then pushed to its limits by simulating a large-scale event: a funnel discharging a mixture of four hundred soft grains and four hundred hard, angular particles. As the gate opened, the mixture flowed out, with the soft grains deforming to fit through the narrow opening while the hard grains tumbled over them. The simulation tracked the energy of the entire system, showing how gravitational potential energy converted into motion, then into the elastic stretching of the soft particles, and finally dissipated as heat through friction and internal damping. The model successfully captured the collective behavior of the mixture, demonstrating that the soft and hard phases influenced each other in ways that simpler models could not predict.

Finally, the researcher tested the system's ability to handle extreme compression. In one scenario, a box filled with a mix of soft and hard spheres was squeezed from all sides. As the walls moved inward, the soft particles flattened and distorted significantly, while the hard particles rearranged to fill the remaining space. The simulation revealed that when the mixture contained a high proportion of soft particles, the intense local deformation at the contact points between soft and hard grains caused the internal mesh of the soft particles to distort severely, eventually limiting how much the material could be compressed. This finding highlights a physical limit in the behavior of such mixtures that would be invisible to a model that treats all particles as rigid.

Throughout these tests, the system demonstrated remarkable efficiency. In the funnel discharge experiment, the contact force calculations—the most computationally expensive part of the process—accounted for more than three-quarters of the total computing time, yet the system still managed to process hundreds of steps per second on a single graphics card, with throughput decreasing from approximately 202 steps per second for small systems to about 89 steps per second for systems with 1,200 particles. The memory usage scaled predictably, growing from less than one gigabyte for a small number of particles to just over twelve gigabytes for a system with twelve hundred particles. This performance confirms that the method is not only physically accurate but also practical for studying large, complex systems.

The integration of the large language model assistant proved to be a critical component of the workflow. By connecting natural language requests and 3D design files to the simulation engine, the system eliminated the tedious and error-prone steps of manual setup. The assistant could generate the necessary geometry, create the internal mesh, and verify that the physical parameters were within a stable range before the simulation even began. If a problem arose, such as an unstable time step or a mesh quality issue, the system could identify the specific setting causing the trouble and correct it automatically. This level of automation suggests a future where complex physical simulations are as easy to run as a standard software application, allowing researchers to focus on the science rather than the mechanics of the code.

The study concludes that this coupled approach successfully bridges the gap between the rigid world of discrete particles and the continuous world of deformable materials. It provides a tool that can resolve the intricate details of how soft grains deform while interacting with hard obstacles, all while maintaining the conservation of energy and momentum. While the current method faces challenges with extreme local distortion that can break the internal mesh of the soft particles, the results demonstrate a significant step forward in our ability to model the complex, mixed materials that surround us. The open-source nature of the software ensures that other researchers can build upon this foundation, potentially leading to new insights into soil mechanics, pharmaceutical manufacturing, and the processing of recycled materials.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →