Code_Aster ®
Version
7.4
Titrate:
Operator LIRE_MAILLAGE
Date:
08/02/05
Author (S):
J. Key PELLET
:
U4.21.01-H Page
: 1/4
Organization (S): EDF-R & D/AMA
Handbook of Utilization
U4.2- booklet: Grid
Document: U4.21.01
Operator LIRE_MAILLAGE
1 Goal
To create a grid by reading on a file. The file with reading must be with format “ASTER” or the format
“MED”. For other formats (IDEAS and GIBI), it is necessary to use the commands as a preliminary
PRE_IDEAS or PRE_GIBI.
Product a structure of data of the grid type.
Important remark:
One can check the quality of the grid read while using (following LIRE_MAILLAGE),
order MACR_INFO_MAIL [U7.03.02].
Handbook of Utilization
U4.2- booklet: Grid
HT-66/05/004/A
Code_Aster ®
Version
7.4
Titrate:
Operator LIRE_MAILLAGE
Date:
08/02/05
Author (S):
J. Key PELLET
:
U4.21.01-H Page
: 2/4
2 Syntax
my [grid] = LIRE_MAILLAGE
(
FORMAT
=
/
“ASTER”
,
[DEFAUT]
/
“MED”
,
UNITE
=
/
20
,
[DEFAUT]
/I,
[I]
NOM_MED =
nomed
,
[KN]
VERI_MAIL
= _F
(
APLAT
=/1.D-3, [DEFAUT]
/
ap
,
[R]
VERIF =
/“YES”, [DEFECT]
/“NON”,
),
ABSC_CURV = _F
(ALL =/“NOT”, [DEFECT]
/“OUI”,
),
INFO
=
/
1
,
[DEFAUT]
/2,
)
Handbook of Utilization
U4.2- booklet: Grid
HT-66/05/004/A
Code_Aster ®
Version
7.4
Titrate:
Operator LIRE_MAILLAGE
Date:
08/02/05
Author (S):
J. Key PELLET
:
U4.21.01-H Page
: 3/4
3 Operands
3.1 Operand
FORMAT
This key word is used to specify the format of the file to reading. Today 2 formats are available: “ASTER”
and “MED”.
Format “ASTER” is described in [U3.01.00]
Format “MED” is described in [U7.01.21.]
3.2 Operand
UNITE
UNITE =
I
Logical number of unit of the file grid. Unit 20 per defect.
3.3 Operand
NOM_MED
NOM_MED = nomed
For a file with format “MED”, one can give the name of the grid under which the grid has there
recorded summer. By defect, one will seek it under the name of concept to create (my)
3.4 Operand
VERI_MAIL
Key word VERI_MAIL starts 3 checks on the grid:
·
absence of orphan nodes,
·
absence of meshs “in double”,
·
absence of too flattened meshs.
If these checks are not satisfied, the code emits an alarm.
By defect (i.e. in the absence of key word VERI_MAIL), the checks are made. If
the user wants to avoid these checks, it will write:
VERI_MAIL = _F (VERIF = “NOT”,),
A node is declared orphan if it does not belong to the connectivity of any mesh.
A mesh is declared “in double”, if 2 meshs (or more) have connectivities formed consequently
list nodes.
The key word APLAT = ap makes it possible to emit alarms when the grid contains meshs too much
flattened.
The flatness of a mesh is defined like the ratio Amin/Amax where Amin and Amax are them
lengths of stop shortest and longest of the mesh. The name of the meshs of which
flatness is lower than ap will be printed on file “MESSAGE”.
Other quality standards for the grid are available via command MACR_INFO_MAIL
[U7.03.02].
3.5 Operand
ABS_CURV
ABS_CURV = _F (ALL = “YES”),
Calculate a curvilinear X-coordinate for the whole of meshs SEG2 of the grid. One associates
each mesh the curvilinear X-coordinate of the first and the second node in the direction of course.
This option is necessary, for example, to carry out a modal calculation for a tube with fluid
external and intern, when the density of the external fluid is defined according to
the curvilinear X-coordinate.
Handbook of Utilization
U4.2- booklet: Grid
HT-66/05/004/A
Code_Aster ®
Version
7.4
Titrate:
Operator LIRE_MAILLAGE
Date:
08/02/05
Author (S):
J. Key PELLET
:
U4.21.01-H Page
: 4/4
y
N2
N4
N6
N8
N10
N11
X Total Repère
R
N9
N1
N3
N5
N7
L
All the meshs of the grid must be of type “SEG2”.
The mesh origin is the first mesh met, during the reading of the file grid, not having
that a consecutive mesh (mesh N1 N3).
The final mesh is the last mesh met in the direction of course having only one
consecutive mesh (mesh N4 N2).
If there is more than one path between the first and the last mesh, calculation is impossible.
The curvilinear X-coordinate is defined as the sum of the straight lines connecting the nodes:
K
for K meshs: S
K =
xi - xi-1
i=2
3.6 Operand
INFO
INFO
=
/1, [DEFAUT]
/
2
,
Level of impression.
If: INFO = 1
·
titrate grid,
·
a number of nodes,
·
a number of meshs,
·
a number of groups of nodes and for each one of them its name and the number of nodes of
group
·
a number of groups of meshs and for each one of them its name and the number of meshs of
group.
If: INFO = 2 one prints in addition to information of INFO = 1:
list nodes
number, name, coordinated,
list meshs
number, name, type, name of the nodes,
list groups of nodes
number, name, a number of nodes, names of the nodes,
list groups of meshs
number, name, a number of meshs, names of the meshs.
Handbook of Utilization
U4.2- booklet: Grid
HT-66/05/004/A
Outline document