Profile File

The profile file is comparable to code aster export file used by asrun and astk. The difference to that format is basically it’s format which has to be valid yaml, and is hopefully easier in it’s data structure. The available keys are described below in detail. A full example profile file can be downloaded here.


This specifies the projectname for the calculations and has only informative character and is optional.


Here you specify the source directory for the calculation, if you omit it it will point to the directory currently run the client and is therfore optional.


Here you specify win which directory the calculation results should be saved to. Be careful, asterclient will overwrite files or directories if the have have same name as some results. If you specify a relative path it will be considered relative to the directory you run asterclient from.


The meshfile key specifies the path to the meshfile for the calculations, if relative to the srcdir or absolute.


This is a list of all known calculations, for example some stress calculation or some fatigue calculation of the same project and the same mesh. Every calclation needs a name and a commandfile, fr example:

- name: "stress"
  commandfile: "stress.comm"
- name: "fatigue"
  commandfile: "fatigue.comm"

This will provide to calculations named stress and fatigue with the associated commandfiles. If you want to run some calculation which needs some results of some other calculation as it’s input you need to specify the poursuite key, for example:

- name: "post"
  commandfile: "post.comm"
  poursuite: "stress"

This would tell asterclient that the calculation post needs the results of the calculation stress as it’s input, of course therefore you need first to calculate stress before you can calculate post.


The name of the calculation.


The commandfile associated with the specified calculation.


A list of additional (in addition to the standard protocol output and glob.1 and pick.1) result files. You specify a file with a name and Logical Unit Number LU (see codeasterglossary under UNITE), for example:

- 80
- 81

Which would specify two files one with the name and a LU numbe rof 80 and one with the name and a LU number of 81. They could can now be refered to in the commandfile of the calculation for example like:


If you want to write some result files through python then you also need to add these files here other wise they won’t get copied from the work directory to the result directory, you can also use globbing here. For example:

- protocol: ".rst"

would result into copying of the file protocol.rst from the working directory to the result directory.:

- protocol: "*.rst"

would result in copying all files starting with protocol and with the extension rst to the result directory, if there isn’t any file found or if the file is empty you get a warning.


If you want to run a parametric study, which means that you have calculations which need basically the same commandfile but with different values, the you just specify a distributionfile with tis confval. The explanation on how the distributionfile needs to look like see Distributionfile. For information on how to use the specified parameters in the commandfile see Commandfile.