ChronoLLM: customizing language models for physics-based simulation code generation

Abstract This contribution is concerned with the following issue: can pretrained large language models (LLMs) be refined and customized to the point where they become virtual assistants helping users with the effective use of a simulation tool? In this case study, the “simulation tool” considered is PyChrono, an open source multi-physics dynamics engine for multibody systems. We present a framework for refining and customizing both open- and closed-source LLMs to harness the power of AI in generating scripts that perform PyChrono virtual experiments. We refine and customize several classes of LLMs through a process that leads to a quantifiable improvement in the quality of the generated PyChrono simulation scripts. These scripts can range from simple single-pendulum simulations to complex virtual experiments involving full vehicles on deformable terrain. While the generated scripts are rarely perfect, they often serve as strong starting points for the user to modify and improve on. Additionally, the LLM can answer specific API questions about the simulator, or recommend modeling approaches. The framework discussed is general and can be applied to lower the entry barrier for simulation tools associated with other application domains.

Authors

Institutions

Publication Details

Journal
Multibody System Dynamics
Published
2026-02-24
DOI
https://doi.org/10.1007/s11044-026-10152-x
Primary Topic
Modeling and Simulation Systems
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

ChronoLLM: customizing language models for physics-based simulation code generation

Dan Negruţ, Jingquan Wang, Radu Serban, Shu Wang et al.
Multibody System Dynamics
Modeling and Simulation Systems
article

ChronoLLM: customizing language models for physics-based simulation code generation

Dan Negruţ, Jingquan Wang, Radu Serban, Shu Wang, Khailanii Slaton, Andrew Negrut, Harry Zhang, Jinlong Wu
article en

Abstract

Abstract This contribution is concerned with the following issue: can pretrained large language models (LLMs) be refined and customized to the point where they become virtual assistants helping users with the effective use of a simulation tool? In this case study, the “simulation tool” considered is PyChrono, an open source multi-physics dynamics engine for multibody systems. We present a framework for refining and customizing both open- and closed-source LLMs to harness the power of AI in generating scripts that perform PyChrono virtual experiments. We refine and customize several classes of LLMs through a process that leads to a quantifiable improvement in the quality of the generated PyChrono simulation scripts. These scripts can range from simple single-pendulum simulations to complex virtual experiments involving full vehicles on deformable terrain. While the generated scripts are rarely perfect, they often serve as strong starting points for the user to modify and improve on. Additionally, the LLM can answer specific API questions about the simulator, or recommend modeling approaches. The framework discussed is general and can be applied to lower the entry barrier for simulation tools associated with other application domains.

Multibody System Dynamics
University of Wisconsin–Madison (US), Rice University (US)
Openalex Percentile: Top 43%
Modeling and Simulation Systems
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.