ChronoLLM: Customizing Language Models for Physics-Based Simulation Code Generation

Jingquan Wang, Andrew Negrut, Harry Zhang, Khailanii Slaton, Shu Wang +3 more
8/19/2025
cs.AI

No confident code implementation found for this paper. 1 possible match can be shown below.

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 experts 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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{wang2025chronollm,
  title  = {ChronoLLM: Customizing Language Models for Physics-Based Simulation Code Generation},
  author = {Jingquan Wang and Andrew Negrut and Harry Zhang and Khailanii Slaton and Shu Wang and Radu Serban and Jinlong Wu and Dan Negrut},
  year   = {2025},
  eprint = {2508.13975},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2508.13975v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2508.13975.svg)](https://codeofpaper.com/paper/2508.13975)

Discussion