HOME › Forums › Thermoacoustic Engines › General thermoacoustic theory › Reply To: General thermoacoustic theory
DeltaEC in batch mode on Linux, driven by an AI coding agent
Hi Ralf, hi everyone,
a workshop note rather than a result. I have been rebuilding your printed loop (compliance, hose, T-junction with membrane) in DeltaEC on Linux, and one thing turned out to be worth sharing: DeltaEC 7.0.2 has a console mode (DeltaEC -c model.out) that runs without any X server. It is a small text menu on stdin: r runs the model, w writes the result into the .out, y confirms the overwrite, e exits. With that, a shell script can run a model non-interactively, and an AI coding agent (I use Claude Code) can write dozens of variants of the .out, run them in a loop, and read guessz/targs back from the end of each file as the starting point for the next. Parameter sweeps over mesh, hose length or heater temperature then become a few minutes of unattended work instead of an evening of clicking. The agent also makes a reasonable DeltaEC assistant: it reads the manual, explains segment parameters and finds the reason when a run does not converge.
The limit is the usual one: the model is only as good as its inputs. For your loop I have the CAD parts, but two numbers would help more than anything else, if you happen to have them: the moving mass in grams for the runs where you measured 1943, 2039 and ~2600 rpm on the membrane, and the heater temperature at which the engine starts by itself. No hurry, and thanks for publishing the files and the test runs in such detail.



