Mechanics Simulation with Implicit Neural Representations of Complex Geometries

Samundra Karki, Ming-Chen Hsu, Adarsh Krishnamurthy, Baskar GanapathysubramanianarXiv 2025

TL;DR

This paper introduces a novel computational framework that eliminates the traditional, painful meshing step in engineering simulations by directly coupling Implicit Neural Representations (INRs) with the Shifted Boundary Method (SBM). By representing complex geometries as neural network-encoded signed distance fields, the framework achieves high-fidelity solid mechanics simulations with constant-time geometric queries regardless of shape complexity. This paves the way for seamless integration of AI-generated 3D assets directly into physics-based simulation pipelines.

What Problem Does This Paper Address?

Traditional computational physics methods, like Finite Element Analysis (FEA), are deeply beholden to explicit geometric representations such as polygonal meshes. Generating these meshes for highly complex, intricate, or dynamically changing geometries (e.g., biomedical structures, advanced manufacturing parts, or geodynamical models) is notoriously difficult, often requiring extensive manual preprocessing and introducing significant discretization errors.

Meanwhile, the computer vision and generative AI communities have embraced Implicit Neural Representations (INRs)—where a shape is continuously encoded as a Signed Distance Field (SDF) inside the weights of a neural network. While INRs are compact, smooth, and resolution-independent, they cannot be directly plugged into standard FEA pipelines because these pipelines fundamentally require a mesh to compute physics. This paper bridges that gap, allowing engineers to run physics simulations directly on neural fields without ever building an explicit mesh.

Methods

The authors achieve mesh-free simulation by combining two core components:

  1. Implicit Neural Representations (INRs): A Multi-Layer Perceptron (MLP) is trained to represent the geometry as a continuous SDF. To make the INR "analysis-suitable," the authors use a hybrid sampling strategy (sampling uniformly across the space, on the surface, and within a narrow band around the boundary) combined with a custom loss function. This loss incorporates the Eikonal constraint ($||\nabla_x f_\theta(x)|| = 1$) and a normal similarity constraint to ensure the network accurately predicts both distance and boundary directions.
  2. Shifted Boundary Method (SBM): SBM is an embedded/immersed boundary method that avoids body-fitted meshing. Instead, it performs computations on a simple, grid-aligned "surrogate" boundary that encloses the true geometry. It corrects for the geometric mismatch by using Taylor expansions, which require two key pieces of information: an inside/outside classification and a distance vector ($\mathbf{d}$) from the surrogate boundary to the closest point on the true boundary.
The computational advantage of neural inference (constant operations) vs. traditional triangle mesh traversal (linear scaling).

Instead of performing expensive mesh traversals to find these distance vectors, the proposed framework directly queries the trained neural network. By leveraging the mathematical properties of the SDF, the distance vector is computed instantly using the network's gradient: $\mathbf{d} = -f_\theta(x) \cdot \nabla_x f_\theta(x)$.

Datasets

The framework was evaluated using several geometric datasets sourced from triangle soups and point clouds:

  • Canonical Shapes: Icosphere, Cone, Cylinder, and Tetrakis (used for accuracy and convergence validation).
  • Complex Geometries: The standard Stanford Bunny, a point-cloud-derived Eiffel Tower model, and mathematically complex Gyroid structures.

Key Insights and Ideas

  • Constant-Time Geometric Queries: In traditional mesh-based simulation, computing the distance vectors requires searching through the triangles of a mesh, a process that scales linearly ($O(N)$) with the number of triangles. With the INR-SBM framework, finding the distance vector requires only a forward pass and a gradient query through the neural network. This takes a constant number of operations, completely decoupling simulation assembly time from geometric complexity.
The computational advantage of neural inference (constant operations) vs. traditional triangle mesh traversal (linear scaling).
  • Curvature-Driven Errors: The authors observed that the primary source of geometric error occurs in regions with sharp curvature changes (like the edges of a Tetrakis). This happens because high-curvature zones challenge the network's adherence to the Eikonal constraint, providing a clear indicator of where neural network architectures need to improve for simulation purposes.

Key Results

  • Convergence Validation: The method was validated using a 2D ring benchmark with a known analytical solution, demonstrating the expected second-order ($O(h^2)$) spatial convergence consistent with linear basis functions.
  • Scalability Breakthrough: When testing an icosphere with increasing geometric resolution, traditional mesh-based meshing and assembly times scaled up rapidly. In contrast, the INR-based pipeline maintained perfectly flat, constant wall times for both meshing and matrix assembly.
  • Complex 3D Simulations: The framework successfully executed linear elasticity simulations on highly intricate structures, including a Gyroid model yielding nearly 3 million degrees of freedom, without requiring manual geometry cleanup or explicit mesh generation.

Limitations and Future Work

While promising, the authors note a few limitations that pave the way for future research:

  • Linear Physics Only: The current framework is restricted to linear partial differential equations (linear elasticity). Extending this to fully nonlinear physics, such as large deformation mechanics or coupled multi-physics, remains an open challenge.
  • Training Overhead: Although inference (querying the geometry during simulation) is exceptionally fast and constant-time, training the INR from raw data still requires significant upfront computational time.
  • Advanced Adaptivity: Future iterations could leverage the neural representation to dynamically adjust simulation grid resolutions on the fly based on local geometric complexity.

Summary updated

BibTeX
@misc{karki2025mechanics,
  author = {Samundra Karki and Ming-Chen Hsu and Adarsh Krishnamurthy and Baskar Ganapathysubramanian},
  title = {{Mechanics Simulation with Implicit Neural Representations of Complex Geometries}},
  year = {2025},
  eprint = {2507.03087},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2507.03087},
}
Figure