Code_Aster ®
Version
7.4
Titrate:
Operator INTE_MAIL_2D


Date:
18/01/05
Author (S):
X. DESROCHES Key
:
U4.81.11-G Page
: 1/12

Organization (S): EDF-R & D/AMA

Handbook of Utilization
U4.8- booklet: Postprocessing and dedicated analyzes
Document: U4.81.11

Operator INTE_MAIL_2D

1 Goal

To define a curve in a grid 2D. At the points of intersection of the curve thus defined with
grid could be carried out, using operator POST_RELEVE_T, of the statements of values, of
calculations (averages, invariants,…) and the storage of the result of these operations in a concept of
type counts.

The produced concept is of curved type.

Handbook of Utilization
U4.8- booklet: Postprocessing and dedicated analyzes
HT-66/05/004/A

Code_Aster ®
Version
7.4
Titrate:
Operator INTE_MAIL_2D


Date:
18/01/05
Author (S):
X. DESROCHES Key
:
U4.81.11-G Page
: 2/12

2 Syntax

crb [curve] = INTE_MAIL_2D

(
MAILLAGE
=
my,
[grid]

/ALL = “YES”,
/
GROUP_MA
=
lgrma,
[l_gr_maille]

/
MAILLE
=
lmail,
[l_maille]


/
I
DEFI_SEGMENT=_F (/ORIGINE = (teststemxą, teststemyą),
[l_R]
/
NOEUD_ORIG


=
node,
[node]
/
GROUP_NO_ORIG=
grno, [group_no]









/EXTREMITE = (xb, yb),
[l_R]
/
NOEUD_EXTR


=
node,
[node]
/
GROUP_NO_EXTR=
grno, [group_no]








),



I
DEFI_ARC = _F
(/CENTER = (teststemxē, teststemyē),
[l_R]
/
NOEUD_CENTER


=
node,
[node]
/
GROUP_NO_CENTER=
grno,
[group_no]









/RAYON = R,


[R]











SECTEUR = (inf, sup), [l_R]










//ORIGINE
= (teststemxą, teststemyą), [l_R]
/
NOEUD_ORIG
=
node,
[node]
/
GROUP_NO_ORIG=grno,
[group_no]











/EXTREMITE=
(xb, yb),
[l_R]
/
NOEUD_EXTR=
node,
[node]
/
GROUP_NO_EXTR=grno,
[group_no]









PRECISION
=/,


[R]
/
10-3,
[DEFAUT]









CRITERE
=
/“RELATIVE”, [DEFECT]
/
“ABSOLU”
,








),


/DEFI_CHEMIN=_F (
/
MAILLE = mall, [l_maille]
/
GROUP_MA
=
grma,
[l_gr_maille]








),



/NOEUD_ORIG



=
node,
[node]
/
GROUP_NO_ORIG
=
grno,
[group_no]


PRECISION
=/,








[R]
/
10-3,
[DEFAUT]



INFO
=
/
1,
[DEFAUT]








/2,

)

Handbook of Utilization
U4.8- booklet: Postprocessing and dedicated analyzes
HT-66/05/004/A

Code_Aster ®
Version
7.4
Titrate:
Operator INTE_MAIL_2D


Date:
18/01/05
Author (S):
X. DESROCHES Key
:
U4.81.11-G Page
: 3/12

3 Operands

3.1 Operand
MAILLAGE

MAILLAGE
=

my: name of the concept of the grid type on which the curve is located.

3.2 Operands
ALL/GROUP_MA/MESH

Apply only for DEFI_SEGMENT and DEFI_ARC.

/ALL = “YES”,

The location is carried out on all the grid.

/GROUP_MA = lgrma,

The location is carried out only on the groups of meshs of the list lgrma.

/
MAILLE
=
lmail,

The location is carried out only on the meshs of the list lmail.

3.3
Path: Key words DEFI_SEGMENT/DEFI_ARC/DEFI_CHEMIN

3.3.1 Word
key
DEFI_SEGMENT

/I
DEFI_SEGMENT = _F

Key word factor whose each occurrence defines a segment of straight line by the data of its
points origin and end (in the form of co-ordinates or of names of nodes or
group_no). The segment is directed origin towards the end.

3.3.2 Word
key
DEFI_ARC


I DEFI_ARC = _F

Key word factor whose each occurrence defines an arc of circle by the data of its center
and, either of a radius and an angular sector, or of 2 points origin and end of the arc.

The center of the circle is introduced by one of the 3 key words:

CENTER = (teststemxē, teststemyē), coordinated center of the circle,
NOEUD_CENTER = node,
name of the node centers circle,
GROUP_NO_CENTER = grno,
name of the group_no containing the only node centers,

The radius of the circle is introduced by the key word:

RAYON = R
with R > 0

The angular sector by the key word:

SECTEUR = (inf, sup)
with (inf, sup) angles in degrees checking
­ 180. < inf sup 180

Handbook of Utilization
U4.8- booklet: Postprocessing and dedicated analyzes
HT-66/05/004/A

Code_Aster ®
Version
7.4
Titrate:
Operator INTE_MAIL_2D


Date:
18/01/05
Author (S):
X. DESROCHES Key
:
U4.81.11-G Page
: 4/12

The point origin of the arc by one of the 3 key words:

ORIGINE = (teststemxą, teststemyą), coordinated node origin,
NOEUD_ORIG = node,
name of the node origin,
GROUP_NO_ORIG = grno,
name of the group_no containing the only node origin.

The point end of the arc by one of the 3 key words:

EXTREMITE = (xb, yb),
co-ordinates of the node end,
NOEUD_EXTR = node,
name of the node end,
GROUP_NO_EXTR= grno,
name of the group_no containing the only node end.

PRECISION =

Precision valid for an occurrence of the key word factor DEFI_ARC. Allows to overload
precision valid for all the command [§3.3].

CRITERE
=
/
“RELATIVE”, [DEFECT]
/
“ABSOLU”
,

If Q is the quantity sought with a precision, then the interval of search is:

[Q (1­), Q (1+)] in “RELATIF”
[Q, q+] in “ABSOLU”

3.3.3 Word
key
DEFI_CHEMIN

/DEFI_CHEMIN = _F

Key word factor whose each occurrence admits for argument a list of names of meshs (word
key MAILLE) or a list of names of groups of meshs (key word GROUP_MA). These meshs being
type SEG2 or SEG3.

The path (or possibly paths) is made up starting from the meeting of different
meshs. INTE_MAIL_2D analyzes this unit to determine topology. It detects:

·
the existence or not of several independent paths:

3 paths


·
for each path, one distinguishes the open cycles and arcs:

cycle
arc open

Handbook of Utilization
U4.8- booklet: Postprocessing and dedicated analyzes
HT-66/05/004/A

Code_Aster ®
Version
7.4
Titrate:
Operator INTE_MAIL_2D


Date:
18/01/05
Author (S):
X. DESROCHES Key
:
U4.81.11-G Page
: 5/12

The paths are directed starting from the mesh of smaller number for the cycles and from
the mesh end of smaller number for the open arcs. This number corresponds to the command
of appearance in the file of grid.

The user can nevertheless impose the node origin of the path by key word NOEUD_ORIG
(name of the node origin) or GROUP_NO_ORIG (name of the formed group_no of the only node origin).

3.4 Operand
PRECISION

PRECISION
=
,

Optional key word allowing the user to define the threshold in lower part of which 2 points are
regarded as confused.

3.5 Operand
INFO

Allows to obtain impressions on file “MESSAGE”.

INFO = 1, not of impressions
INFO = 2, impression of the meshs crossed by the path

4
Phases of checking

·
Phase 1: syntactic checking

The key word factor DEFI_CHEMIN is of a set of priorities higher than that of
DEFI_SEGMENT and DEFI_ARC. Thus, one seeks initially an occurrence of
DEFI_CHEMIN; if such an occurrence is then found DEFI_SEGMENT and DEFI_ARC
do not have to appear, if not the occurrences of DEFI_ARC and DEFI_SEGMENT are
sought. If no occurrence is found an error message is emitted.

·
Phase 2: semantic checking

The dimension of all the lists of realities is controlled, it must be worth 2 exactly. For
the argument of key word RAYON one checks that R > 0 as well as the constraint

­ 180. < inf sup 180. for the list of arguments of key word SECTEUR.

·
Phase 3: checking with the execution

One checks, initially, the existence of the objects indicated in the arguments of
key words NOEUD_, GROUP_NO_, MAILLE and GROUP_MA, then in the second time that them
meshs are of type SEG2 or SEG3. In the event of failure, a fatal error message is transmitted.

In the case of a path, if a node origin is given and if the path is an opened arc, one
check that this node is one of the ends of the arc. In the contrary case, one emits one
fatal error message.
Handbook of Utilization
U4.8- booklet: Postprocessing and dedicated analyzes
HT-66/05/004/A

Code_Aster ®
Version
7.4
Titrate:
Operator INTE_MAIL_2D


Date:
18/01/05
Author (S):
X. DESROCHES Key
:
U4.81.11-G Page
: 6/12

5 Phases
of execution

·
Case of a curve obtained like meeting of segments of straight line and/or arcs of circle:

the 1st time:

Location of each segment and/or arc in the meshs 2D of the field.

the 2nd time:

Calculation of connexity for each segment and/or arc. This for the taking into account of holes
possible in the field.

·
Case of a curve obtained like meeting of meshs 1D of the field:

the 1st time:

Reduction of the lists of meshs and the lists of groups of meshs to a list of meshs where
each mesh appears only once.

the 2nd time:

Calculation of connexity on the lists of meshs obtained at the end of the 1st time. This calculation
tiny room in the search of simple paths and cycles (within the meaning of the graph theory)
in the list of meshs.

the 3rd time:

Location of each path in the meshs 2D of the field.

·
In all the cases:

If an occurrence of DEFI_SEGMENT, DEFI_ARC or DEFI_CHEMIN defines a curve which
do not cut the grid, a fatal error message is emitted.

refused
accepted


Handbook of Utilization
U4.8- booklet: Postprocessing and dedicated analyzes
HT-66/05/004/A

Code_Aster ®
Version
7.4
Titrate:
Operator INTE_MAIL_2D


Date:
18/01/05
Author (S):
X. DESROCHES Key
:
U4.81.11-G Page
: 7/12

6
Possibilities and operational limits

6.1 Curves obtained like meeting of segments of straight line and/or
arcs of circle

Example 1

Let us suppose that the border of the field is reduced locally to 2 segments of straight line and an arc
of circle and that the user is interested in the behavior of the structure in the vicinity of this
border. It will be able to then define curves such as A11, B11, A12, B12 or A21, B21, A22, B22.

(border of the field)
R
B 11
1
R
A11
2
R
With
B
21
21
C
With
With
12
22
B
B
22
12
Related component 2
Related component 1



Corner
=
INTE_MAIL_2D

(
MAILLAGE
=
name

grid,

DEFI_SEGMENT
=
(





_F (ORIGIN = (xA11, yA11), END = (xB11, yB11),),





_F (ORIGIN = (xA21, yA21), END = (xB21, yB21),),





_F (ORIGIN = (xA12, yA12), END = (xB12, yB12),),





_F (ORIGIN = (xA22, yA22), END = (xB22, yB22),),),

DEFI_ARC
=
(
_F
(
CENTER
= (xc1
,
yc1),
RAYON

=
r1
,
SECTEUR
=
(
0.,
90.),),
_F
(
CENTER
= (xc2
,
yc2),
RAYON

=
r2
,
SECTEUR
=
(
0.,
90.),),),




)

Handbook of Utilization
U4.8- booklet: Postprocessing and dedicated analyzes
HT-66/05/004/A

Code_Aster ®
Version
7.4
Titrate:
Operator INTE_MAIL_2D


Date:
18/01/05
Author (S):
X. DESROCHES Key
:
U4.81.11-G Page
: 8/12

Example 2: Study in the vicinity of an interior hole in a field
With
B
(border of the field)
D
C
.


Curve ABCD is defined like meeting of 4 segments of straight line.

turn
=
INTE_MAIL_2D

(
MAILLAGE
=
carré_percé,

DEFI_SEGMENT
=
(




_F (ORIGINE = (teststemxą, teststemyą), EXTREMITE = (xB, yB)
),




_F (ORIGINE = (xD, yD), EXTREMITE = (teststemxē, teststemyē)
),




_F (ORIGINE = (teststemxą, teststemyą), EXTREMITE = (xD, yD)
),




_F (ORIGINE = (xB, yB), EXTREMITE = (teststemxē, teststemyē)
),),



)

Example 3: an operational limit

It relates to the possibility of intersection of the segments and/or the arcs in points which are not
not one of their end.

With
D
C
B

This case is not the subject of any particular processing. The 2 segments of straight line are taken as
two pieces perfectly independent of the same concept. Their intersection is ignored.
management of such cases is the responsibility of the user.

6.2
Curves obtained like meeting of meshs 1D of the field

Example 1

M2
M5
M4
M1
M3
Grp1: M4, M5, M6
M6
M8
Grp2: M7, M8
M7


The curve is reduced to the simple path made up of the M1 meshs, m2, m3 and with the corresponding cycle
with the groups of meshs Grp1 and Grp2. The simple path and the cycle constitute both
related components of the curve.
Handbook of Utilization
U4.8- booklet: Postprocessing and dedicated analyzes
HT-66/05/004/A

Code_Aster ®
Version
7.4
Titrate:
Operator INTE_MAIL_2D


Date:
18/01/05
Author (S):
X. DESROCHES Key
:
U4.81.11-G Page
: 9/12

The command in which the meshs of a path are traversed depends on classification on
meshs.

In the case of a path simple (open arc) it is the classification of the meshs “end” which
determine the command of course.

For example:

M10
M17
M18
nsde parcoursdu path


Course
=
INTE_MAIL_2D

(
MAILLAGE
=
Maya,

DEFI_CHEMIN
=
_F
(
MAILLE
=
(“M1”, “m2”, “m3”),
GROUP_MA
=
(“Grp1”,
“Grp2”),
)



)

M33
In the case of a cycle, the path is
M13
feel
traversed on the basis of the mall E moreover
course
small number and in the direction of
path
M18
connectivity of this mall E
M14
M21
Example 2: an important restriction
The operator supposes that the cycles and
This case is not detected but must be
the simple paths are disjoined, thus
avoided.
the following case is illicit.

Handbook of Utilization
U4.8- booklet: Postprocessing and dedicated analyzes
HT-66/05/004/A

Code_Aster ®
Version
7.4
Titrate:
Operator INTE_MAIL_2D


Date:
18/01/05
Author (S):
X. DESROCHES Key
:
U4.81.11-G Page
: 10/12

Example 3: an operational limit for the curved edge

For a field of which part of the border is an arc of circle, it is trying to define an arc
of circle, by means of the key word DEFI_ARC, which would cut the grid in the vicinity of the border.
Unfortunately, the edge of the grid is not an arc of circle but a polygon and the path
defined can leave the grid.

For example:


C 1
With
With
3
2
A4
With
C
1
2
A5
To 6


C: ring external
1
C: ring interior
2
: broken line

·
The arc of circle C, which coincides with part of, cuts the grid of only in
1
nodes: INTE_MAIL_2D will give an empty intersection.
·
The arc of circle C is strictly included in but in the grid of
2
INTE_MAIL_2D will locate 2 holes.
Handbook of Utilization
U4.8- booklet: Postprocessing and dedicated analyzes
HT-66/05/004/A

Code_Aster ®
Version
7.4
Titrate:
Operator INTE_MAIL_2D


Date:
18/01/05
Author (S):
X. DESROCHES Key
:
U4.81.11-G Page
: 11/12

Example 4: study on the border of a plate

B_charge
M1
M4
M2
M5
M3
M6
B_encast


Edge
=
INTE_MAIL_2D

(
MAILLAGE
=
plate,

DEFI_CHEMIN
=
_F
(MAILLE = (“M1”, “m2”, “m3”, “M4”, “M5”, “M6”,),
GROUP_MA
=
(“B_charge”,
“B_encast”),)



)

To study the behavior of the structure on its embedded edge, it is advised to define one
other curves as follows:

Bord_Enc
=
INTE_MAIL_2D

(
MAILLAGE
=
plate,




DEFI_CHEMIN = _F (GROUP_MA = (“B_encast”),),



)

Handbook of Utilization
U4.8- booklet: Postprocessing and dedicated analyzes
HT-66/05/004/A

Code_Aster ®
Version
7.4
Titrate:
Operator INTE_MAIL_2D


Date:
18/01/05
Author (S):
X. DESROCHES Key
:
U4.81.11-G Page
: 12/12

Intentionally white left page.
Handbook of Utilization
U4.8- booklet: Postprocessing and dedicated analyzes
HT-66/05/004/A

Outline document