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.