LLM-tuned fluid solver cuts cylinder-wake error from 0.38 to 0.04

In short

0.383 → 0.042 median velocity error at Re = 100; 0.461 → 0.089 at Re = 200; 0.567 → 0.138 at Re = 300; 6.25% share of simulated time run in the accurate mode

The problem: a small timing error that keeps growing

Behind a cylinder in a flow, swirls peel off alternately from each side at a steady rhythm. The paper's authors, Junoh Jung, Riccardo Balin and Emil Constantinescu at Argonne, say a hybrid solver (a cheap, coarse physics calculation plus a neural network that corrects it) gets the shape of this wake right. But it sheds swirls at a slightly wrong rate. The paper's Table 3 puts the rate error at -0.39% at Re = 100, -2.24% at Re = 200 and -0.71% at Re = 300.

A small rate error does not stay small. The simulated swirls fall further and further out of step with the true ones, a drift the paper calls phase drift, even though the simulation stays numerically stable. Over the measured window (simulated time 60 to 80), the unaided fast solver ("accelerated-only" in the paper) ends with a mean relative velocity error of 0.383 to 0.567, depending on Re.

What the method does

The workflow uses two modes on the same mesh. Mode A is the cheap, low-order solver with the neural correction. Mode B is a high-order solver with no neural correction. (Descriptions in this section are ours, from the paper's text.)

The paper's component test, at Re = 200 and 300 with one fixed configuration each, found that the lasting adjustment fixes the frequency but leaves accumulated lag, and that adding the temporary correction lowered the error in both configurations.

Where the language model comes in

Settings such as when to start the accurate stretch, how long to hold it and how strongly to adjust are what the LLM chooses. It proposes a first configuration, then revises it after each of the first two candidate runs, using diagnostic feedback. A fixed diagnostic score picks the best of the three candidates. A rule-based routine, not the LLM, carries out each run.

The authors say that in these searches, neither the choice of settings nor the selection of the winner uses the stored reference trajectory or its error. Two caveats from the paper: the Re = 200 and 300 prompts include prior information from Re = 100, and the reference error was used while developing the score.

Results

Values are mean relative velocity error. The LLM-tuned column is the best-performing model in the main comparison, which the paper's Appendix C lists as Claude Opus 5.5 (four chains per case, three candidates each). Individual chains varied: at Re = 200 one such chain ended at 0.261, and the paper says the smallest model tested, without reasoning, did worse than random search. The authors say the results show the approach is feasible in the tested cases and search budget, "without establishing general superiority" over other automatic optimisation methods.

What it costs

The paper estimates, rather than times, a full accurate-only run. On that basis the accurate-only run would cost about 13.7 to 14.0 times the selected run. Once all three candidate runs, a pilot and the LLM's response time are counted, the ratio falls to 4.5 to 4.6. These exclude other overheads and the training of the neural correction, and the authors call them indicative, not measured speedups at equal accuracy. The accuracy also differs between the methods being compared.

Terms in plain English

Where things stand

The paper is a preprint and has not been peer reviewed. The tests are on one channel-and-cylinder set-up in two dimensions. The authors also tried the learned corrections at other Reynolds numbers without retraining: reference-informed settings reduced error at Re = 150 and 250, and at Re = 350 moving the scheduled accurate window cut the mean error from 0.463 to 0.192, which they say shows how sensitive transfer is to window timing. They name that as the direction they will take next.

Sources

Sources

More from Model Makers

All stories from Model Makers