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.

User sub routines (Groovy): limitations / advices

Limitations

Here are some limitations:

  • For the user sub routines modeling the properties of materials, it is essential to use a single core in Flux. To do this, user needs to go to options/system/multi-cores from the supervisor.
  • For this version, the number of arguments of the “User” function can not exceed 8.

Advices

Here are some advices:

  • It is possible to save considerably computation time giving the type of the numerical data in Groovy. For instance, it is better to write 2.0d than 2.0.
  • The indexation of the tables starts to 0 in Groovy.