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
Instruction manual
U4.8- booklet: Postprocessing and dedicated analyzes
HT-66/05/004/A
Organization (S):
EDF-R & D/AMA
Instruction manual
U4.8- booklet: Postprocessing and dedicated analyzes
Document: U4.81.11
Operator
INTE_MAIL_2D
1 Goal
To define a curve in a mesh 2D. At the points of intersection of the curve thus defined with
mesh could be carried out, using operator POST_RELEVE_T, of the recordings 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.
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
Instruction manual
U4.8- booklet: Postprocessing and dedicated analyzes
HT-66/05/004/A
2 Syntax
crb [curve] = INTE_MAIL_2D
(
MESH
=
my,
[mesh]
/ALL = “YES”,
/
GROUP_MA
=
lgrma,
[l_gr_maille]
/
NET
=
lmail,
[l_maille]
/
I
DEFI_SEGMENT=_F (
/ORIGIN = (teststemxà, teststemyà),
[l_R]
/
NOEUD_ORIG
=
node,
[node]
/
GROUP_NO_ORIG=
grno, [group_no]
/END = (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]
/
RADIUS = R,
[R]
SECTOR = (
inf,
sup), [l_R]
/
/ORIGIN
= (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,
[DEFECT]
CRITERION
=
/“RELATIVE”, [DEFECT]
/
“ABSOLUTE”
,
),
/
DEFI_CHEMIN=_F (
/
NET = mall, [l_maille]
/
GROUP_MA
=
grma,
[l_gr_maille]
),
/
NOEUD_ORIG
=
node,
[node]
/
GROUP_NO_ORIG
=
grno,
[group_no]
PRECISION
=/
,
[R]
/
10-3,
[DEFECT]
INFORMATION
=
/
1,
[DEFECT]
/2,
)
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
Instruction manual
U4.8- booklet: Postprocessing and dedicated analyzes
HT-66/05/004/A
3 Operands
3.1 Operand
MESH
MESH
=
my
: name of the concept of the mesh type on which the curve is identified.
3.2 Operands
ALL/GROUP_MA/MESH
Apply only for DEFI_SEGMENT and DEFI_ARC.
/ALL = “YES”,
The identification is carried out on all the mesh.
/GROUP_MA = lgrma,
The identification is carried out only on the groups of meshs of the list lgrma.
/
NET
=
lmail,
The identification 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ç),
co-ordinates of the center of the circle,
NOEUD_CENTER = node,
name of the node centers circle,
GROUP_NO_CENTER = grno,
name of
group_no
containing the only node centers,
The radius of the circle is introduced by the key word:
RADIUS = R
with
R
> 0
The angular sector by the key word:
SECTOR = (
inf,
sup)
with (
inf,
sup
) angles in degrees checking
180. <
inf
sup
180
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
Instruction manual
U4.8- booklet: Postprocessing and dedicated analyzes
HT-66/05/004/A
The point origin of the arc by one of the 3 key words:
ORIGIN = (teststemxà, teststemyà),
co-ordinates of the node origin,
NOEUD_ORIG = node,
name of the node origin,
GROUP_NO_ORIG = grno,
name of
group_no
containing the only node origin.
The point end of the arc by one of the 3 key words:
END = (xb, yb),
co-ordinates of the node end,
NOEUD_EXTR = node,
name of the node end,
GROUP_NO_EXTR= grno,
name of
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 control [§3.3].
CRITERION
=
/
“RELATIVE”, [DEFECT]
/
“ABSOLUTE”
,
If Q is the quantity sought with a precision
, then the interval of search is:
[Q (1
), Q (1+)] in
“RELATIVE”
[Q
, q+] in
“ABSOLUTE”
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
NET
) 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
analyze 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
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
Instruction manual
U4.8- booklet: Postprocessing and dedicated analyzes
HT-66/05/004/A
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 mesh.
The user can nevertheless impose the node origin of the path by the key word
NOEUD_ORIG
(name of the node origin) or
GROUP_NO_ORIG
(name of
group_no
formed 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
INFORMATION
Allows to obtain impressions on the file
“MESSAGE”
.
INFORMATION = 1,
no impressions
INFORMATION = 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 found then
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 the key word
RADIUS
it is checked that R > 0 as well as the stress
180. <
inf
sup
180. for the list of arguments of the key word
SECTOR
.
·
Phase 3: checking with the execution
One checks, initially, the existence of the objects indicated in the arguments of
key words
NOEUD_
,
GROUP_NO_
,
NET
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.
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
Instruction manual
U4.8- booklet: Postprocessing and dedicated analyzes
HT-66/05/004/A
5 Phases
of execution
·
Case of a curve obtained like meeting of segments of straight line and/or arcs of circle:
the 1st time:
Identification 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:
Identification 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
a curve defines which
do not cut the mesh, a fatal error message is emitted.
refused
accepted
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
Instruction manual
U4.8- booklet: Postprocessing and dedicated analyzes
HT-66/05/004/A
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 A
11
, B
11
, A
12
, B
12
or A
21
, B
21
, A
22
, B
22
.
With
12
B
12
C
R 2
Related component 2
Related component 1
R
r1
(border of the field)
B
22
With
22
B
21
B
11
With
21
With
11
Corner
=
INTE_MAIL_2D
(
MESH
=
name
mesh,
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),
RADIUS
=
r1
,
SECTOR
=
(
0.,
90.),),
_F
(
CENTER
= (xc2
,
yc2),
RADIUS
=
r2
,
SECTOR
=
(
0.,
90.),),),
)
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
Instruction manual
U4.8- booklet: Postprocessing and dedicated analyzes
HT-66/05/004/A
Example 2: Study in the vicinity of an interior hole in a field
.
With
B
D
C
(border of the field)
The curve
ABCD
is defined like meeting of 4 segments of straight line.
turn
=
INTE_MAIL_2D
(
MESH
=
carré_percé,
DEFI_SEGMENT
=
(
_F (ORIGIN = (teststemxà, teststemyà), END = (xB, yB)
),
_F (ORIGIN = (xD, yD), END = (teststemxç, teststemyç)
),
_F (ORIGIN = (teststemxà, teststemyà), END = (xD, yD)
),
_F (ORIGIN = (xB, yB), END = (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
B
C
D
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
M1
M2
M3
M4
M5
M8
M7
M6
Grp1: M4, M5, M6
Grp2: M7, M8
The curve is reduced to the simple path made up of the meshs
M1
,
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.
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
Instruction manual
U4.8- booklet: Postprocessing and dedicated analyzes
HT-66/05/004/A
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:
M18
M10
M17
nsde parcoursdu path
Course
=
INTE_MAIL_2D
(
MESH
=
Maya,
DEFI_CHEMIN
=
_F
(
NET
=
(“M1”, “m2”, “m3”),
GROUP_MA
=
(“Grp1”,
“Grp2”),
)
)
M33
M13
M14
M21
M18
feel
course
path
In the case of a cycle, the path is
traversed on the basis of the mesh moreover
small number and in the direction of
connectivity of this mesh
Example 2: an important restriction
The operator supposes that the cycles and
the simple paths are disjoined, thus
the following case is illicit.
This case is not detected but must be
avoided.
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
Instruction manual
U4.8- booklet: Postprocessing and dedicated analyzes
HT-66/05/004/A
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 mesh in the vicinity of the border.
Unfortunately, the edge of the mesh is not an arc of circle but a polygon and the path
defined can leave the mesh.
For example:
C
2
C
1
With
1
With
2
With
3
With
4
With
5
With
6
C
1
: ring external
C
2
: ring interior
: broken line
·
The arc of circle
C
1
, which coincides with part of
, the mesh crosses of only in
nodes:
INTE_MAIL_2D
will give an empty intersection.
·
The arc of circle
C
2
is strictly included in
but in the mesh of
INTE_MAIL_2D
will identify 2 holes.
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
Instruction manual
U4.8- booklet: Postprocessing and dedicated analyzes
HT-66/05/004/A
Example 4: study on the border of a plate
M1
M2
M3
M4
M5
M6
B_charge
B_encast
Edge
=
INTE_MAIL_2D
(
MESH
=
plate,
DEFI_CHEMIN
=
_F
(MESH = (“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
(
MESH
=
plate,
DEFI_CHEMIN = _F (GROUP_MA = (“B_encast”),),
)
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
Instruction manual
U4.8- booklet: Postprocessing and dedicated analyzes
HT-66/05/004/A
Intentionally white left page.