Process Automation

Autodesk® CFD Scripting is built using QT Script, the scripting language produced by Trolltech ASA. It is a subset of JavaScript, and contains many of the language features of JavaScript.

To run a script from a command line, append the “-script” modifier to the Autodesk® CFD executable name followed by the path and name of the script. For example, to run a script called “poppet-valve.script” that is in the “c:\models” folder, type the following in the Autodesk® CFD installation folder:

simcfd.exe -script c:\models\poppet-valve.script

When a script is run, a console window appears that lists the status of the script execution.