Command files
Introduction
The command files, also called command programs or scripts, make possible the automation of a certain number of specific actions.
Instead of manually executing a series of actions within Flux, you can save the sequences of commands, which you can later replay.
The saved sequences can be improved due to the Python language which authorizes the utilization of variables, the implementation of loops, conditional or unconditional connections, …
A command file is therefore of interest as it can:
- accelerate the most frequent operations
- automate a series of complex tasks
Example
The command files for the tutorials are provided on the DVD with the software. By executing these command files, the user can quickly build the Flux projects described in the tutorials.
For example, the command file GeoMeshPhys.py builds the whole geometry, generates the mesh of the computation domain and describes the physical properties for the technical example “Rotating Motion”.