background image
Code_Aster
®
Version
7.4
Titrate:
Operator
LIRE_MAILLAGE
Date:
08/02/05
Author (S):
J. PELLET
Key
:
U4.21.01-H
Page
:
1/4
Instruction manual
U4.2- booklet: Mesh
HT-66/05/004/A
Organization (S):
EDF-R & D/AMA














Instruction manual
U4.2- booklet: Mesh
Document: U4.21.01



Operator
LIRE_MAILLAGE








1 Goal
To create a mesh by reading on a file. The file with reading must be with the format “ASTER” or the format
“MED”. For other formats (IDEAS and GIBI), it is necessary to use the controls as a preliminary
PRE_IDEAS or PRE_GIBI.
Product a structure of data of the mesh type.
Important remark:
One can check the quality of the mesh read while using (following LIRE_MAILLAGE),
order MACR_INFO_MAIL [U7.03.02].
background image
Code_Aster
®
Version
7.4
Titrate:
Operator
LIRE_MAILLAGE
Date:
08/02/05
Author (S):
J. PELLET
Key
:
U4.21.01-H
Page
:
2/4
Instruction manual
U4.2- booklet: Mesh
HT-66/05/004/A
2 Syntax

my [mesh] = LIRE_MAILLAGE
(
FORMAT
=
/
“ASTER”
,
[DEFECT]
/
“MED”
,
UNIT
=
/
20
,
[DEFECT]
/I,
[I]

NOM_MED =
nomed
,
[KN]

VERI_MAIL
= _F
(
FLAT TINT
=/1.D-3,
[DEFECT]
/
ap
,
[R]
VERIF =
/
“YES”
,
[DEFECT]
/
“NOT”,
),
ABSC_CURV = _F
(ALL =
/
“NOT”, [DEFECT]
/
“YES”,
),

INFORMATION
=
/
1
,
[DEFECT]
/2,
)
background image
Code_Aster
®
Version
7.4
Titrate:
Operator
LIRE_MAILLAGE
Date:
08/02/05
Author (S):
J. PELLET
Key
:
U4.21.01-H
Page
:
3/4
Instruction manual
U4.2- booklet: Mesh
HT-66/05/004/A
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”.
The format “ASTER” is described in [U3.01.00]
Format “MED” is described in [U7.01.21.]
3.2 Operand
UNIT
UNIT =
I
Logical number of unit of the file mesh. 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 mesh under which the mesh 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 mesh:
·
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 FLAT TINT = ap makes it possible to emit alarms when the mesh 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 the file “MESSAGE”.
Other quality standards for the mesh are available via control 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 the meshs
SEG2
mesh. 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.
background image
Code_Aster
®
Version
7.4
Titrate:
Operator
LIRE_MAILLAGE
Date:
08/02/05
Author (S):
J. PELLET
Key
:
U4.21.01-H
Page
:
4/4
Instruction manual
U4.2- booklet: Mesh
HT-66/05/004/A
Total reference mark
N1
N3
N5
N7
N2
N4
N6
N8
N10
N11
N9
L
y
X
R
All the meshs of the mesh must be of the type
“SEG2”
.
The mesh origin is the first mesh met, during the reading of the file mesh, 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:
for
K
meshs:
S
K
I
I
I
K
=
-
-
=
X
X
1
2

3.6 Operand
INFORMATION
INFORMATION
=
/1, [DEFECT]
/
2
,
Level of impression.
If: INFORMATION = 1
·
titrate mesh,
·
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: INFORMATION = 2 one prints in addition to information of INFORMATION = 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.