background image
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
Instruction manual
U7.0- booklet: Data exchanges
HT-66/05/004/A
Organization (S):
EDF-R & D/AMA














Instruction manual
U7.0- booklet: Data exchanges
Document: U7.01.31



Procedure
PRE_GMSH



1 Goal
To see a file of mesh to format GMSH then to write it with the format Aster.
GMSH is a tool of modelling, mesh and post processing disseminated 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 control
CREA_MAILLAGE (cf [U4.23.02]).
background image
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
Instruction manual
U7.0- booklet: Data exchanges
HT-66/05/004/A
2 Syntax

PRE_GMSH
(
UNITE_GMSH
=
/
19,
[DEFECT]
/
unilec,
[I]
UNITE_MAILLAGE
=
/
20,
[DEFECT]
/
uniecr,
[I]
)
background image
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
Instruction manual
U7.0- booklet: Data exchanges
HT-66/05/004/A
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 mesh 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 mesh 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 mesh GMSH are of type
.geo
(i.e. files of
geometry) while the files of mesh 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 mesh .mgib. To find them, one can thus make a search on the site of Code_Aster
with words PRE_GMSH or GMSH.

background image
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
Instruction manual
U7.0- booklet: Data exchanges
HT-66/05/004/A























Intentionally white left page.