background image
Code_Aster
®
Version
8.2
Titrate:
Operator
MACR_LIGN_COUPE
Date:
31/01/06
Author (S):
C. DURAND
Key
:
U4.81.13-C2
Page:
1/4
Instruction manual
U4.8- booklet: Postprocessing and dedicated analyzes
HT-62/06/004/A
Organization (S):
EDF-R & D/AMA














Instruction manual
U4.8- booklet: Postprocessing and dedicated analyzes
Document: U4.81.13



Operator
MACR_LIGN_COUPE


1 Goal
Extraction in a table of the values of a result on lines of cut defined by two points and
an interval or groups of nodes.
The result can be mechanical (evol_elas, evol_noli…) or thermics (evol_ther).
Principle:
This macro-control creates a mesh linear, right and regular of segments to two nodes, definite
by the data of its ends and a number of intervals the component. Fields of the result
provided (by defect displacement or temperature) are projected on this mesh thanks to the control
PROJ_CHAMP. Then the nodal values on the line of cut of the field post-to be treated are recovered
in a table by POST_RELEVE_T. It is this table which is produced by the macro-control.
background image
Code_Aster
®
Version
8.2
Titrate:
Operator
MACR_LIGN_COUPE
Date:
31/01/06
Author (S):
C. DURAND
Key
:
U4.81.13-C2
Page:
2/4
Instruction manual
U4.8- booklet: Postprocessing and dedicated analyzes
HT-62/06/004/A
2 Syntax
[Table] = MACR_LIGN_COUPE (
RESULT
=
resu,
[evol_elas,
evol_noli,
evol_ther]
NOM_CHAM
=
/
“SIGM_NOEU_DEPL”, [DEFECT
if
mechanics]
/
“TEMP”, [DEFECT
if
thermics]
/
field,
[K16]
MODEL
=
model, [model]
UNITE_MAILLAGE = 25,
[DEFECT]
LIGN_COUPE
=
_F (
ENTITLE
=
txt, [kN]
/
GROUP_NO
=
gno, [grno]
/
NB_POINTS
=
Nb,
[I]
COOR_ORIG
= (x1, y1, (z1)),
[l_R]
COOR_EXTR
= (x2, y2, (z2)),
[l_R]
),
)


background image
Code_Aster
®
Version
8.2
Titrate:
Operator
MACR_LIGN_COUPE
Date:
31/01/06
Author (S):
C. DURAND
Key
:
U4.81.13-C2
Page:
3/4
Instruction manual
U4.8- booklet: Postprocessing and dedicated analyzes
HT-62/06/004/A
3 Operands
3.1 Operand
RESULT
RESULT = resu,
[evol_elas, evol_noli, evol_ther]
Name of the concept result of the evol type containing the field post-to be treated.
3.2 Operand
NOM_CHAM
NOM_CHAM
=
/
“SIGM_NOEU_DEPL”, [DEFECT
if
mechanics]
/
“TEMP”, [DEFECT
if
thermics]
/
field,
[K16]
Name of the field of the resu result which one wishes to record the values on a line of cut. If
this key word is not indicated, one projète by defect the field of displacement for a result
of mechanical type and the temperature for result of a thermal type.
Note:
The macro-control treats all types of fields: NODE, ELEM, ELNO.
3.3 Operand
MODEL
MODEL
=
model, [model]
Name of the model associated with the concept result
evol_xxx
. The model is necessary at the time of
projection of the field by PROJ_CHAMP.
3.4 Operand
UNITE_MAILLAGE
UNITE_MAILLAGE = 25,
[DEFECT]
Specify the logical number of unit in which the linear mesh of the line of cut is created.
This unit is by defect 25; one makes it possible to the user to modify it if unit 25
would be already assigned to another use in its study.
3.5 Word
key
LIGN_COUPE
LIGN_COUPE
=
Key word répétable allowing to define one or more lines of cut. A line of cut is
a right segment, defined by its two ends and a number of regular intervals cutting out it.
One can also define the line of cut by the data of groups of nodes in the mesh
supporting the fields: the line of cut is then the path defined by the succession of the nodes
of these groups.
3.5.1 Operand
ENTITLE
ENTITLE
=
txt, [kN]
Label of heading in the table allowing to distinguish the various lines from cut. If it
key word is not indicated, the label of heading is worth “l.coupe (N)” where (N) is the number
of occurrence of the line of cut.
3.5.2 Operand
NB_POINTS
NB_POINTS
=
Nb,
[I]
A number of points of the line of cut.
background image
Code_Aster
®
Version
8.2
Titrate:
Operator
MACR_LIGN_COUPE
Date:
31/01/06
Author (S):
C. DURAND
Key
:
U4.81.13-C2
Page:
4/4
Instruction manual
U4.8- booklet: Postprocessing and dedicated analyzes
HT-62/06/004/A
3.5.3 Operands
COOR_ORIG/COOR_EXTR
COOR_ORIG
=
(x1, y1, (z1)),
[l_R]
COOR_EXTR
=
(x2, y2, (z2)),
[l_R]
Co-ordinates of each end of the line of cut: 2 realities in the plan, 3 in
space.
3.5.4 Operand
GROUP_NO
GROUP_NO
=
gno, [grno]
This key, alternative word with the definition of a line of cut by co-ordinates of ends,
allows to extract the values on a group from nodes given. In the case of processing of
fields with the nodes, it is perfectly similar to POST_RELEVE_T.


4 Example
resu = STAT_NON_LINE
(…)
TAB1 = MACR_LIGN_COUPE (RESULT
= resu
LIGN_COUPE = (
_F (
NB_POINTS
= 17
COOR_ORIG
=
(0., 0., 0.),
COOR_EXTR
=
(10., 0., 0.),
ENTITLE
=
“ligne1”,
),
_F (
NB_POINTS
= 25
COOR_ORIG
=
(- 10., 0., 0.),
COOR_EXTR
=
(0., 20., 0.),
),
),
)
IMPR_TABLE (TABLE = TAB1)

In this example, one records the values of the displacement obtained in the resu result with all them
moments of calculation on two lines of cut.
The table tab1 contains the sequence numbers, the curvilinear X-coordinates, the co-ordinates of the points then
finally values of the nodal size (on the nodes of the line) of the treated field, here by defect
displacement.