Code_Aster
®
Version
8.2
Titrate:
Operator
CREA_RESU
Date:
31/01/06
Author (S):
J.P. LEFEBVRE, L. VIVAN
Key
:
U4.44.12-G1
Page:
1/10
Instruction manual
U4.4- booklet: Modeling
HT-62/06/004/A
Organization (S):
EDF-R & D/AMA, CS IF
Instruction manual
U4.4- booklet: Modeling
Document: U4.44.12
Operator
CREA_RESU
1 Goal
To create or enrich a structure of data result starting from fields with the nodes. Assignment
possible of the fields to the nodes for various sequence numbers.
The assignment via one
cham_no
of
function
product by
AFFE_CHAM_NO
[U4.44.11]
be carried out by evaluating each function using the parameter representing the time provided under
key words
LIST_INST
or
INST
.
The concept produced by this operator is, for the moment, of type
evol_elas
,
evol_noli
,
evol_ther
,
mult_elas
or
fourier_elas
.
Moreover, three particular functionalities are accessible in this operator:
·
the creation of a concept of the type EVOL_CHAR by assignment of field or a formula
analytical
·
the creation of a concept result simulating the reorganization of the assemblies
fuels,
·
the projection of a thermal transient 1D on an axisymmetric mesh 3D.
Code_Aster
®
Version
8.2
Titrate:
Operator
CREA_RESU
Date:
31/01/06
Author (S):
J.P. LEFEBVRE, L. VIVAN
Key
:
U4.44.12-G1
Page:
2/10
Instruction manual
U4.4- booklet: Modeling
HT-62/06/004/A
2 Syntax
resu [result] = CREA_RESU
(
reuse = resu,
OPERATION =/“AFFE”,
/“ECLA_PG”,
/
“PERM_CHAM”
,
/
“PROL_RTZ”
,
/# Construction of a result by assignments or evaluations successive
# of cham_no: (OPERATION: “AFFE”)
/TYPE_RESU
= “MULT_ELAS”
,
NOM_CHAM = “DEPL”,
AFFE = _F (
CHAM_GD =
chno,
[cham_no_DEPL_R]
NOM_CAS =
nomc,
[KN]
),
/TYPE_RESU
=/
“EVOL_ELAS”
,
/“EVOL_NOLI”,
NOM_CHAM = “DEPL”,
AFFE = _F (
CHAM_GD =
chno,
[cham_no_DEPL_R]
MODEL
=
Mo,
[model]
CHAM_MATER =
chmat,
[cham_mater]
CARA_ELEM
=
carac,
[cara_elem]
/
INST =
linst,
[l_R8]
/
LIST_INST = litps,
[listr8]
NUME_INIT = numi,
[I]
NUME_FIN = numf, [I]
|
PRECISION =
/prec,
[R]
/1.0D-3,
[DEFECT]
|
CRITERION
=/“RELATIVE”,
[DEFECT]
/“ABSOLUTE”,
),
/TYPE_RESU
= “FOURIER_ELAS”,
NOM_CHAM = “DEPL”,
AFFE = _F (
CHAM_GD =
chno,
[cham_no_DEPL_R]
MODEL
=
Mo,
[model]
CHAM_MATER =
chmat,
[cham_mater]
CARA_ELEM
=
carac,
[cara_elem]
NUME_MODE
=
num, [I]
TYPE_MODE
=
/“SYME”,
[DEFECT]
/“ANTI”,
/“ALL”,
),
/TYPE_RESU
= “EVOL_THER”,
NOM_CHAM =
/“TEMP”,
/
“HYDR_ELGA”,
AFFE = _F (
CHAM_GD =
chno,
[cham_no_TEMP_R]
MODEL
=
Mo,
[model]
CHAM_MATER =
chmat,
[cham_mater]
CARA_ELEM
=
carac,
[cara_elem]
/
INST =
linst,
[l_R8]
/
LIST_INST = litps,
[listr8]
NUME_INIT = numi,
[I]
NUME_FIN = numf, [I]
Code_Aster
®
Version
8.2
Titrate:
Operator
CREA_RESU
Date:
31/01/06
Author (S):
J.P. LEFEBVRE, L. VIVAN
Key
:
U4.44.12-G1
Page:
3/10
Instruction manual
U4.4- booklet: Modeling
HT-62/06/004/A
|
PRECISION =
/prec,
[R]
/1.0D-3,
[DEFECT]
|
CRITERION
=
/“RELATIVE”,
[DEFECT]
/“ABSOLUTE”,
)
/TYPE_RESU
= “EVOL_VARC”,
NOM_CHAM =
“IRRA”,
AFFE = _F (
CHAM_GD =
chno,
[cham_no_IRRA_R]
MODEL
=
Mo,
[model]
CHAM_MATER =
chmat,
[cham_mater]
CARA_ELEM
=
carac,
[cara_elem]
/
INST =
linst,
[l_R8]
/
LIST_INST = litps,
[listr8]
NUME_INIT = numi,
[I]
NUME_FIN = numf, [I]
|
PRECISION
=/prec,
[R]
/1.0D-3,
[DEFECT]
|
CRITERION
=/“RELATIVE”,
[DEFECT]
/“ABSOLUTE”,
),
/# Construction of a concept of the type EVOL_CHAR by assignment or
evaluation of a cham_no
/TYPE_RESU
= “EVOL_CHAR”
,
NOM_CHAM = “CLOSE”,
AFFE = _F (
CHAM_GD =
chno,
[cham_no_PRES_R]
MODEL
=
Mo,
[model]
CHAM_MATER =
chmat,
[cham_mater]
/
INST =
linst,
[l_R8]
/
LIST_INST = litps,
[listr8]
NUME_INIT = numi,
[I]
NUME_FIN = numf, [I]
|
PRECISION =
/prec,
[R]
/1.0D-3,
[DEFECT]
|
CRITERION
=
/“RELATIVE”,
[DEFECT]
/“ABSOLUTE”,
)
/# Construction of a result on a mesh burst for visualization or
# postprocessing (OPERATION: “ECLA_PG”)
TYPE_RESU
=
/
“EVOL_ELAS”
,
/“EVOL_NOLI”
,
/“EVOL_THER”
,
ECLA_PG = _F (…
to see [U4.44.14]
),
/# Construction of a result dedicated to the fuel assemblies
# (OPERATION: “PERM_CHAM”)
TYPE_RESU
=
“EVOL_NOLI”,
NOM_CHAM = | “DEPL”,
|
“SIEF_ELGA”
,
|
“VARI_ELGA”
,
RESU_INIT
=
resu_2, [evol_noli]
INST_INIT
= tf,
[R]
PRECISION =/prec,
/
1.0E-3,
[DEFECT]
CRITERION =
/“ABSOLUTE”,
Code_Aster
®
Version
8.2
Titrate:
Operator
CREA_RESU
Date:
31/01/06
Author (S):
J.P. LEFEBVRE, L. VIVAN
Key
:
U4.44.12-G1
Page:
4/10
Instruction manual
U4.4- booklet: Modeling
HT-62/06/004/A
/
“RELATIVE”
,
MAILLAGE_INIT
=
ma_1,
[mesh]
RESU_FINAL =
resu,
[evol_noli]
MAILLAGE_FINAL
=
mo_2,
[mesh]
PERM_CHAM =_F (
GROUP_MA_FINAL =
gma_2, [gr_ma]
GROUP_MA_INIT
=
gma_1,
[gr_ma]
TRAN =
(tx, ty, tz),
[l_R]
PRECISION =/prec,
/
1.0E-3,
[DEFECT]
),
)
/# Projection of a transient 1D on an axisymmetric mesh
# (OPERATION = “PROL_RTZ”)
TYPE_RESU
=
“EVOL_THER”
PROL_RTZ=_F (
MAILLAGE_FINAL
=
ma_3D,
[mesh]
COUNT
=
post_1D,
[table]
/
INST =
inst,
[R]
/
LIST_INST
=
linst,
[l_R]
PRECISION
=/prec,
/
1.0E-6,
[DEFECT]
CRITERION
=
/
“ABSOLUTE”,
/
“RELATIVE”,
[DEFECT]
PROL_DROITE
=/“EXCLUDED”,
[DEFECT]
/
“LINEAR”,
/
“CONSTANT”,
PROL_GAUCHE
=/“EXCLUDED”,
[DEFECT]
/
“LINEAR”,
/
“CONSTANT”,
IDENTIFY
= “CYLINDRICAL”,
ORIGIN
= (ori1, ori2, ori3), [l_R]
AXE_Z
= (axe1, axe2, axe3),
[l_R]
),
)
If
TYPE_RESU:
“MULT_ELAS”
then
resu
of type
mult_elas
If
TYPE_RESU:
“FOURIER_ELAS”
then
resu
of type
fourier_elas
If
TYPE_RESU:
“EVOL_THER”
then
resu
of type
evol_ther
If
TYPE_RESU:
“EVOL_VARC”
then
resu
of type
evol_varc
If
TYPE_RESU:
“EVOL_ELAS”
then
resu
of type
evol_elas
If
TYPE_RESU:
“EVOL_NOLI”
then
resu
of type
evol_noli
If
TYPE_RESU:
“EVOL_CHAR”
then
resu
of type
evol_char
Code_Aster
®
Version
8.2
Titrate:
Operator
CREA_RESU
Date:
31/01/06
Author (S):
J.P. LEFEBVRE, L. VIVAN
Key
:
U4.44.12-G1
Page:
5/10
Instruction manual
U4.4- booklet: Modeling
HT-62/06/004/A
3 Operands
3.1 Operand
OPERATION
OPERATION =
defines the type of operation to carry out with this operator:
“AFFE”
: creation of a structure of data result starting from fields,
“ECLA_PG”: creation of a structure of data on a mesh burst for visualization,
“PERM_CHAM”: reorganization of the fuel assemblies,
“PROL_RTZ”: prolongation of a field 1D on an axisymmetric structure.
This key word makes it possible to guide the user during the construction of the command file using
the tool eficas.
The structure of data result is réentrante and for OPERATION = AFFE the fields
existing can be replaced according to the values of the variable of access INST by using them
values indicated behind the key words PRECISION and CRITERION. When there is replacement
of an existing field, the code transmits a message of alarm, if not the fields are stored at the end
structure of data.
3.2 Operand
TYPE_RESU
TYPE_RESU:
Type of the structure of data
result
created.
3.3 Operand
NOM_CHAM
NOM_CHAM:
Reference symbol of the affected size.
3.4 Word
key
CHAM_GD
3.4.1 Operand
CHAM_NO
CHAM_NO = chno
chno
is is one
cham_no
of
function
created by the control
AFFE_CHAM_NO
[U4.44.11] and
in this case one evaluates for each node the function and each moment defined behind
LIST_INST or INST one creates one
cham_no
realities,
or chno is a cham_no realities created by the control AFFE_CHAM_NO or RECU_CHAMP and it
field is as many duplicated once as the list of moments defined behind LIST_INST or INST it
require.
3.4.2 Operands
MODEL, CHAM_MATER, CARA_ELEM
These operands optional are used to allow the filling of the structures of data
result. This filling is essential if control CREA_RESU is called by
MACRO_ELAS_MULT to then use the controls of postprocessing which will seek this
information in the SD.
MODEL = Mo,
Name of the model whose elements are the subject of calculation.
CHAM_MATER = chmat,
Name of the material field.
CARA_ELEM = carac,
Name of the characteristics of the structural elements (beam, hull, discrete,…) if they are used
in the model.
Code_Aster
®
Version
8.2
Titrate:
Operator
CREA_RESU
Date:
31/01/06
Author (S):
J.P. LEFEBVRE, L. VIVAN
Key
:
U4.44.12-G1
Page:
6/10
Instruction manual
U4.4- booklet: Modeling
HT-62/06/004/A
3.4.3 Operands
LIST_INST
/
NUME_INIT
/
NUME_FIN
/
LIST_INST = litps
List realities produced by
DEFI_LIST_REEL
[U4.34.01].
NUME_INIT = nuini
NUME_FIN =
nufin
The moments of calculation are those defined in the concept
litps
taken between
nuini
and it
nufin
number of moment. In the absence of key word
NUME_FIN
, it is the size of the list of realities
who is taken into account.
3.4.4 Operands
INST
/
INST = linst
List realities: list moments for which
cham_no
of
function
will be evaluated, or
well it
cham_no
realities will be affected.
Note:
The sequence number created in the concept
result
is is recovered starting from the value
variable of access INST when it is present, is affected with the maximum value
immediately above.
3.4.5 Operands
PRECISION
/
CRITERION
These operands make it possible to refine the access by real variables of access of time.
I
PRECISION
=
/
prec
[R]
/
1.0D-3
or
1.0D-6
[DEFECT]
This key word makes it possible to indicate that one seeks all the fields of which the moment (respectively
frequency) is in the interval “
inst
±
prec
“(Cf.
CRITERION
).
By defect
prec
=
1.0D-3
.
I
CRITERION
=
/
“RELATIVE”
[DEFECT]
/
“ABSOLUTE”
“RELATIVE”
: the interval of search is:
[inst (1 - prec), inst (1 + prec)]
“ABSOLUTE”
: the interval of search is:
[inst - prec, inst + prec]
.
3.4.6 Operands
NUME_MODE
/
TYPE_MODE
NUME_MODE = num
Entirety indicating the number of the harmonic of Fourier of the field stored in a concept of the type
fourier_elas
.
TYPE_MODE =/“SYME”
/
“ANTI”
/
“ALL”
The type of the mode of stored Fourier defines.
“SYME”:
symmetrical harmonic
“ANTI”:
antisymmetric harmonic
“ALL”:
symmetrical and antisymmetric harmonic
3.4.7 Operand
NOM_CAS
NOM_CAS = nomc
Character string defining the variable of access of the field stored in a concept of the type
mult_elas
.
Code_Aster
®
Version
8.2
Titrate:
Operator
CREA_RESU
Date:
31/01/06
Author (S):
J.P. LEFEBVRE, L. VIVAN
Key
:
U4.44.12-G1
Page:
7/10
Instruction manual
U4.4- booklet: Modeling
HT-62/06/004/A
4
Operands associated with the fields at the points with integration
4.1 Word
key
ECLA_PG
See [U4.44.14].
5
Operands associated with the fuel assemblies
5.1 Operands
RESU_INIT
RESU_INIT =
Name of
SD
evol_noli
containing the fields to be transferred on the new mesh.
5.2 Operands
INST_INIT
/PRECISION/CRITERION
INST_INIT =
Moment characterizing in the SD evol_noli indicated under RESU_INIT, the fields to be transferred
on the other mesh. By defect, the last filed moment is selected
PRECISION =
Precision used to seek the moment specified by
INST_INIT
in the SD evol_noli
associated
RESU_INIT
.
CRITERION
=
/
“RELATIVE”
[DEFECT]
/
“ABSOLUTE”
Criterion used to seek the moment specified by
INST_INIT
in the associated SD evol_noli
with
RESU_INIT
.
5.3 Operands
MAILLAGE_INIT
MAILLAGE_INIT =
Name of the mesh on which was defined
SD
evol_noli indicated under
RESU_INIT
.
5.4 Operands
RESU_FINAL
RESU_FINAL =
resu
Name of the SD evol_noli definite on the new mesh on which they will be transferred
fields. It is also in this case the name of the outgoing concept of control CREA_RESU.
structure of data resu must exist (it will have been created for example by the control
STAT_NON_LINE) and should contain one sequence number.
5.5 Operands
MAILLAGE_FINAL
MAILLAGE_FINAL =
Name of the structure of data mesh created on the new mesh on which will be
to transfer the fields.
Code_Aster
®
Version
8.2
Titrate:
Operator
CREA_RESU
Date:
31/01/06
Author (S):
J.P. LEFEBVRE, L. VIVAN
Key
:
U4.44.12-G1
Page:
8/10
Instruction manual
U4.4- booklet: Modeling
HT-62/06/004/A
5.6 Word
key
PERM_CHAM
5.6.1 Operands
GROUP_MA_FINAL
GROUP_MA_FINAL = gma_2
Name of the group of meshs of the MAILLAGE_FINAL, place where the fields are transferred in
RESU_FINAL.
5.6.2 Operands
GROUP_MA_INIT
GROUP_MA_INIT = gma_1
Name of the mesh on which the SD evol_noli indicated under RESU_INIT was defined.
5.6.3 Operand
TRAN
TRAN = (tx, ty, tz)
Vector translation allowing to obtain GROUP_MA_FINAL geometrically from
GROUP_MA_INIT.
5.6.4 Operand
PRECISION
PRECISION = prec
Absolute precision making it possible to check the good adequacy enters the initial meshs and them
final meshs, by defect the value is fixed at 10
- 3
.
6 Operands associated with projection on a mesh
axisymmetric
6.1 Word
key
PROL_RTZ
Construction of a thermal transient on an axisymmetric mesh (3D) starting from the data of one
thermal transient calculated on a mesh 1D. the transient 1D is given in the form of one
structure of data COUNTS resulting from control POST_RELEVE_T having the parameters
following:
·
the definition of the moments (“INST”),
·
co-ordinates of the nodes of the mesh 1D (“COOR_X”)
·
the value of the temperatures to the nodes (“TEMP”).
The co-ordinates of the table must necessarily have for origin the node of co-ordinate 0.
The values of the temperatures can possibly be prolonged regularly or
interpolated linearly according to co-ordinate “COOR_X”.
6.1.1 Operands
MAILLAGE_FINAL
MAILLAGE_FINAL =
Name of the mesh on which one carries out projection, the operator checks that the mesh is
three-dimensional.
6.1.2 Operands
COUNT
COUNT =
Name of a structure of data COUNTS resulting from control POST_RELEVE_T containing it
thermal transient 1D. the parameters of this table is obligatorily: “INST”,
“COOR_X” and “TEMP”.
Code_Aster
®
Version
8.2
Titrate:
Operator
CREA_RESU
Date:
31/01/06
Author (S):
J.P. LEFEBVRE, L. VIVAN
Key
:
U4.44.12-G1
Page:
9/10
Instruction manual
U4.4- booklet: Modeling
HT-62/06/004/A
6.1.3 Operands
INST
/
LIST_INST
/
PRECISION
/
CRITERION
/
INST = litps
List actual values.
/
LIST_INST = litps
List realities produced by
DEFI_LIST_REEL
[U4.34.01].
PRECISION =
Precision used to seek the moment specified in
COUNT
post_1D
.
CRITERION =
Criterion used to seek the moment specified in
COUNT
post_1D
.
6.1.4 Operands
PROL_DROITE and PROL_GAUCHE
The projection of the transient is carried out according to co-ordinate COOR_X considered as
co-ordinate R in the cylindrical reference mark of the mesh 3D. One can define using these two
operands the way of prolonging the field beyond the terminals defined by the range of variation of
parameter “COOR_X” in the table.
PROL_DROITE
and
PROL_GAUCHE =
Define the type of prolongation on the right (on the left) of the field of definition of the variable:
·
“CONSTANT” for a prolongation with the last (or first) value of
function,
·
“LINEAR” for a prolongation along the first definite segment
(
PROL_GAUCHE)
or of the last definite segment (
PROL_DROITE
),
·
“EXCLUDED”
if the extrapolation of the values apart from the field of definition of
parameter is prohibited (in this case if a calculation requires a value
function out of the field of definition, the code will stop in
fatal error).
6.1.5 Operand
IDENTIFY/ORIGIN/AXE_Z
IDENTIFY = “CYLINDRICAL”
The reference mark of work to project the transient is supposed to be cylindrical, the transient 1D being
regarded as the radial variation of the field of temperature. The two operands following
allow to carry out a change of reference mark.
ORIGIN = (ori1, ori2, ori3)
Corresponds to the position of the origin of the mesh 1D compared to the origin of the mesh 3D.
AXE_Z = (axe1, axe2, axe3)
Definition of the axis of the cylindrical reference mark.
Code_Aster
®
Version
8.2
Titrate:
Operator
CREA_RESU
Date:
31/01/06
Author (S):
J.P. LEFEBVRE, L. VIVAN
Key
:
U4.44.12-G1
Page:
10/10
Instruction manual
U4.4- booklet: Modeling
HT-62/06/004/A
7 Example
of use
Construction of a thermal transient starting from a function:
One defined below the main controls used to build a concept
result
of
type
evol_ther
.
Definition of a list of moments.
lr8
= DEFI_LIST_REEL (BEGINNING
=
0.E0,
INTERVALLE= (_F (JUSQU_A=5.e-3, NOMBRE=10
),
_F (JUSQU_A=5.e-2, NOMBRE= 9),
_F (JUSQU_A=4.e-0, NOMBRE=79),
_F (JUSQU_A=6.e-0, NOMBRE=20),)
)
Definition of a function of the parameter
“INST”
.
fct1 = DEFI_FONCTION
(NOM_PARA = “INST”
VALE=
(
0.0,
20.0,
0.5,
25.0,
2.0,
54.0,
10.0,
134.0,)
PROL_DROIT
= ' LINEAIRE',
PROL_GAUCHE
= ' LINEAIRE',
)
Construction of a field to the nodes of function, one affects the same function
fct1
with the whole of
nodes of the mesh.
CH = AFFE_CHAM_NO
(MESH = my, SIZE = “TEMP_F”,
AFFE
=
(_F (
ALL
=
“YES”,
NOM_CMP=' TEMP',
FONCTION=fct1,
),)
)
…
Creation of the concept result
TEMPLE
, built starting from the field with the nodes of function
CH
. One
limit with the sequence number 20 agent to value 0.1. The structure of data will comprise 20
sequence numbers from 1 to 20.
TEMPLE = CREA_RESU
(OPERATION = “AFFE”,
TYPE_RESU = “EVOL_THER”, NOM_CHAM = “TEMP”,
CHAM_GD = (_F (CHAM_NO = CH,
LIST_INST
=
lr8,
NUME_FIN
=
20
,
),
)
)
…
END ()