Since version 2026, Flux 3D and Flux PEEC are no longer available.

Please use SimLab to create a new 3D project or to import an existing Flux 3D project.

Please use SimLab to create a new PEEC project (not possible to import an existing Flux PEEC project).

/!\ Documentation updates are in progress – some mentions of 3D may still appear.

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

Contents