Salome HOME
Copyright update: 2016
[modules/homard.git] / doc / en / gui_homard.rst
1 .. _gui_homard:
2
3 The computation
4 ###############
5 .. index:: single: iteration
6 .. index:: single: computation
7 .. index:: single: SMESH
8
9 To compute an iteration
10 ***********************
11 To launch an adaptation obtains by selecting the iteration to calculate. It is identified by an icone "wait". We choose then "*Compute*" or "*Compute and publish*" in the menu HOMARD or with the mouse. In the first case, the adaptation is done and the MED files are written down. In the second case, the new mesh will be published into SMESH. Note that if the choice "*Compute*" was used, the new mesh can be published afterwards, using the choice "*Publish*".
12
13 .. image:: images/lancement_1.png
14    :align: center
15
16 .. index:: single: object browser
17
18 Object browser
19 **************
20
21 At the end of this calculation, the object browser was enriched. The icone in front of the iteration is validated. Under the iteration, we find the reference to the files of results created, identified by their name in the directory *rep* which was defined in the creation of the case:
22
23   - *rep*/I(n+1)/Liste.n.vers.(n+1).log
24   - *rep*/I(n+1)/apad.n.vers.(n+1).bilan
25   - *rep*/maill.(n+1).med
26
27 The first two files are text files, editable. Liste.n.vers.(n+1).log contains information on the progress of the adaptation: summary of the mode of adaptation, percentage of concerned elements, etc. The file apad.n.vers.(n+1).bilan is a summary of the characteristics of the obtained mesh.
28
29 The file maill.(n+1).med is the one which contains the mesh produced in the format MED. If the publication was selected, we find this mesh in the section of the object browser of the module SMESH. It is then visible in this module and usable then as quite different mesh.
30
31
32 .. image:: images/lancement_2.png
33    :align: center
34
35 To consult the result of an adaptation
36 **************************************
37 Both text files, Liste.n.vers.(n+1).log and apad.n.vers.(n+1).bilan, are visible by selecting them. We choose then "*Edit file*" in the menu HOMARD or with the mouse.
38
39 .. image:: images/lancement_3.png
40    :align: center
41
42
43 .. note::
44   By default, the calculation is launched with the load module of HOMARD installed with SALOME. If we wish to use a personal version of HOMARD, to test an evolution for example, it is necessary to specify where the new load module is available. For that purpose, it is necessary to have got two variables of environment.
45   "*HOMARD_REP_EXE_PRIVATE*" defines the directory in which is the load module
46   "*HOMARD_EXE_PRIVATE*" defines the name of the load module in this directory, if this name is different of "*homard*".
47
48 Corresponding python functions
49 ******************************
50 Look :doc:`tui_create_iteration`
51