Skip to content

Purpose

CrashDefNet is built for one application, the learned prediction of crash deformation, and is developed further specifically for it. Its basic construct is the autoregressive prediction, with contact found anew in the predicted geometry at every step (why autoregressive). On it, data structures and architectures are refined to model the physics of a crash in more detail (design principles). It is not meant to become a general physics AI framework that also covers other problem classes, such as fluid dynamics.

Highlights

  • Autoregressive by design. The model predicts one step and carries the whole load case on its own predictions. Training with noise on the positions, scheduled sampling over one or several steps or on rollout windows with the gradients through every step, loss terms on the stretch of the mesh and the motion of rigid bodies, model selection by validation rollouts and the metrics over the whole load case are built for it (why autoregressive, training methods, loss, rollout and metrics).
  • Complete workflow. From raw data through training with model selection on several criteria to rollout, rollout metrics, comparison reports, data exploration, ParaView export and animations (evaluation, data exploration).
  • Prediction of new designs, with an applicability check. A new run needs only its initial state and its deck; before it is prepared, it is compared with the runs the model was trained on, and what lies outside them is named (predict new runs).
  • Quick to try, with a graphical app. A page in the browser leads through a first run without typing commands; at an early stage and to be developed further, it can already train with any configuration (the app). On Google Colab's free GPU the quick start needs no installation (quick start).
  • New architectures, quickly. A new model on the same graph is one file plus a few lines in the config and the model factory (guide).
  • Fair comparison under a fixed protocol. Data, seed, budget and recipe are fixed, and check_protocol.py checks every run against them. New architectures are compared with a MeshGraphNets baseline on the same contact edges and with the published results of the MeshGraphNets paper (protocol, deforming plate results).
  • Physics in the graph. Every input stands for a physical quantity and enters where it acts (design principles):
    • Contact and self-contact are rebuilt from the predicted geometry at every step, only where bodies touch or a structure folds onto itself, optionally with the gap between the shell surfaces (contact edges); a rigid wall of the deck enters as the distance to its surface.
    • Parts are components, with contact rules for the pairs that can touch (components).
    • Run parameters enter as a global input (global block), node properties such as thickness and material properties as static features, element properties on the mesh edges, any result fields as targets, among them the membrane and bending parts of the stress (general data).
    • Rigid parts are given actuators or free rigid bodies that keep their shape (free rigid parts).
  • MeshGraphNets and MGN-T, implemented from the papers. The authors of MGN-T have not published code; CrashDefNet implements it independently from the paper and documents every assumption that fills a gap (models).
  • OpenRadioss runs and further raw formats (early stage). The exporter reads OpenRadioss runs with their starter decks, verified on a real crash example, a bumper beam against a pole (design of experiments, results, tutorial, OpenRadioss runs). LS-DYNA runs and VTK time series are read too, with general meshes, parts, materials, result fields and units; an export config defines the dataset, the training config chooses what a run uses (LS-DYNA runs, VTK time series, choose the features, verification status).
  • Built for large datasets. Streaming, resumable export and lazy loading keep the memory independent of the dataset size, up to a few hundred GB; micro-batches train large models on large meshes (scaling).
  • Documented as a reference. Tutorials, guides, concepts and a reference of every command line option, config key and file format (command line, configuration, file formats).
  • Lean, open and local. Plain PyTorch and PyTorch Geometric under AGPL-3.0, with a core that can be read end to end. Everything runs on your own machines, also on a CPU, so confidential simulation data stays on site (installation).