Code_Aster ®
Version
7.4
Titrate:
Procedure PRE_GMSH
Date:
10/02/05
Author (S):
COURTEOUS Mr., NR. TARDIEU Key
:
U7.01.31-B Page
: 1/4
Organization (S): EDF-R & D/AMA
Handbook of Utilization
U7.0- booklet: Data exchanges
Document: U7.01.31
Procedure PRE_GMSH
1 Goal
To see a file of grid to format GMSH then to write it with the Aster format.
GMSH is a tool of modelling, grid and post processing diffused under license GNU LPG with the address
http://www.geuz.org/gmsh/.
Note:
The transformation of linear meshs into quadratic meshs is ensured by the command
CREA_MAILLAGE (cf [U4.23.02]).
Handbook of Utilization
U7.0- booklet: Data exchanges
HT-66/05/004/A
Code_Aster ®
Version
7.4
Titrate:
Procedure PRE_GMSH
Date:
10/02/05
Author (S):
COURTEOUS Mr., NR. TARDIEU Key
:
U7.01.31-B Page
: 2/4
2 Syntax
PRE_GMSH (
UNITE_GMSH
=
/
19,
[DEFAUT]
/
unilec,
[I]
UNITE_MAILLAGE
=
/
20,
[DEFAUT]
/
uniecr,
[I]
)
Handbook of Utilization
U7.0- booklet: Data exchanges
HT-66/05/004/A
Code_Aster ®
Version
7.4
Titrate:
Procedure PRE_GMSH
Date:
10/02/05
Author (S):
COURTEOUS Mr., NR. TARDIEU Key
:
U7.01.31-B Page
: 3/4
3 Operands
3.1 Operand
UNITE_GMSH
UNITE_GMSH = unilec
Logical number of the file of result of GMSH (reading).
3.2 Operand
UNITE_MAILLAGE
UNITE_MAILLAGE = uniecr
Logical number of the file grid Aster (writing).
4 Use
The entities created by GMSH are not named but are not numbered.
All the groups of elements of numbers 1, 2,… created in GMSH (“physical”) are transformed
in groups of meshs (GROUP_MA) bearing name GM1, GM2,…
On the level of the interface astk, the file of grid produced by GMSH (which gives him the extension .msh)
is read again by PRE_GMSH on the logical unit 19 per defect.
Normally, the data files of grid GMSH are of .geo type (i.e. files of
geometry) while the files of grid are of .msh type.
Nevertheless, in the list of the tests of the code, the files of geometry are typified .datg and the files
of grid .mgib. To find them, one can thus make a search on the site of Code_Aster
with words PRE_GMSH or GMSH.
Handbook of Utilization
U7.0- booklet: Data exchanges
HT-66/05/004/A
Code_Aster ®
Version
7.4
Titrate:
Procedure PRE_GMSH
Date:
10/02/05
Author (S):
COURTEOUS Mr., NR. TARDIEU Key
:
U7.01.31-B Page
: 4/4
Intentionally white left page.
Handbook of Utilization
U7.0- booklet: Data exchanges
HT-66/05/004/A
Outline document