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
Organization (S): EDF-R & D/AMA, CS IF
Handbook of Utilization
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 a cham_no of function produces 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 grid 3D.
Handbook of Utilization
U4.4- booklet: Modeling
HT-62/06/004/A
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
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]
MODELE
=
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,
[DEFAUT]
|
CRITERE
=/“RELATIF”,
[DEFAUT]
/“ABSOLU”,
),
/TYPE_RESU
= “FOURIER_ELAS”,
NOM_CHAM = “DEPL”,
AFFE = _F (CHAM_GD = chno,
[cham_no_DEPL_R]
MODELE
=
Mo,
[model]
CHAM_MATER =
chmat,
[cham_mater]
CARA_ELEM
=
carac,
[cara_elem]
NUME_MODE
=
num, [I]
TYPE_MODE
=
/“SYME”,
[DEFAUT]
/“ANTI”,
/“TOUS”,
),
/TYPE_RESU
= “EVOL_THER”,
NOM_CHAM =
/“TEMP”,
/
“HYDR_ELGA”,
AFFE = _F (CHAM_GD = chno,
[cham_no_TEMP_R]
MODELE
=
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]
Handbook of Utilization
U4.4- booklet: Modeling
HT-62/06/004/A
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
|
PRECISION =
/prec,
[R]
/1.0D-3,
[DEFAUT]
|
CRITERE
=
/“RELATIF”,
[DEFAUT]
/“ABSOLU”,
)
/TYPE_RESU
= “EVOL_VARC”,
NOM_CHAM =
“IRRA”,
AFFE = _F (CHAM_GD = chno,
[cham_no_IRRA_R]
MODELE
=
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,
[DEFAUT]
| CRITERE
=/“RELATIF”,
[DEFAUT]
/“ABSOLU”,
),
/# 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]
MODELE
=
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,
[DEFAUT]
|
CRITERE
=
/“RELATIF”,
[DEFAUT]
/“ABSOLU”,
)
/# Construction of a result on a grid 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,
[DEFAUT]
CRITERE =
/“ABSOLU”,
Handbook of Utilization
U4.4- booklet: Modeling
HT-62/06/004/A
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
/
“RELATIF”
,
MAILLAGE_INIT = ma_1, [grid]
RESU_FINAL = resu, [evol_noli]
MAILLAGE_FINAL = mo_2, [grid]
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,
[DEFAUT]
),
)
/# Projection of a transient 1D on an axisymmetric grid
# (OPERATION = “PROL_RTZ”)
TYPE_RESU
=
“EVOL_THER”
PROL_RTZ=_F (
MAILLAGE_FINAL = ma_3D,
[grid]
TABLE
=
post_1D,
[table]
/INST = inst,
[R]
/
LIST_INST
=
linst,
[l_R]
PRECISION
=/prec,
/
1.0E-6,
[DEFAUT]
CRITERE
=
/
“ABSOLU”,
/
“RELATIF”,
[DEFAUT]
PROL_DROITE
=/“EXCLU”,
[DEFAUT]
/
“LINEAIRE”,
/
“CONSTANT”,
PROL_GAUCHE
=/“EXCLU”,
[DEFAUT]
/
“LINEAIRE”,
/
“CONSTANT”,
REPERE
= “CYLINDRIQUE”,
ORIGINE = (ori1, ori2, ori3), [l_R]
AXE_Z
= (axe1, axe2, axe3),
[l_R]
),
)
If TYPE_RESU:
“MULT_ELAS”
then resu of the mult_elas type
If TYPE_RESU:
“FOURIER_ELAS”
then resu of the fourier_elas type
If TYPE_RESU:
“EVOL_THER”
then resu of the evol_ther type
If TYPE_RESU:
“EVOL_VARC”
then resu of the evol_varc type
If TYPE_RESU:
“EVOL_ELAS”
then resu of the evol_elas type
If TYPE_RESU:
“EVOL_NOLI”
then resu of the evol_noli type
If TYPE_RESU:
“EVOL_CHAR”
then resu of the evol_char type
Handbook of Utilization
U4.4- booklet: Modeling
HT-62/06/004/A
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
3 Operands
3.1 Operand
OPERATION
OPERATION = defines the type of operation to be carried 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 grid 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 key words PRECISION and CRITERE. 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 a cham_no of function created by command 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 a cham_no realities,
or chno is a cham_no realities created by the command 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 command CREA_RESU is called by
MACRO_ELAS_MULT to then use the commands of postprocessing which will seek this
information in the SD.
MODELE = 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.
Handbook of Utilization
U4.4- booklet: Modeling
HT-62/06/004/A
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
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 the 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 the cham_no of function will be evaluated, or
well the cham_no of 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
[DEFAUT]
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. CRITERE).
By defect prec = 1.0D-3.
I CRITERION
=
/
“RELATIF”
[DEFAUT]
/
“ABSOLU”
“RELATIF”: the interval of search is: [inst (1 - prec), inst (1 + prec)]
“ABSOLU”: 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”
/
“TOUS”
The type of the mode of stored Fourier defines.
“SYME”: symmetrical harmonic
“ANTI”: antisymmetric harmonic
“TOUS”: 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.
Handbook of Utilization
U4.4- booklet: Modeling
HT-62/06/004/A
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
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 the SD evol_noli containing the fields to be transferred on the new grid.
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 grid. 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.
CRITERE
=
/
“RELATIF”
[DEFAUT]
/
“ABSOLU”
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 grid on which the SD evol_noli indicated under RESU_INIT was defined.
5.4 Operands
RESU_FINAL
RESU_FINAL = resu
Name of the SD evol_noli definite on the new grid on which they will be transferred
fields. It is also in this case the name of the outgoing concept of command CREA_RESU.
structure of data resu must exist (it will have been created for example by the command
STAT_NON_LINE) and should contain one sequence number.
5.5 Operands
MAILLAGE_FINAL
MAILLAGE_FINAL =
Name of the structure of data grid created on the new grid on which will be
to transfer the fields.
Handbook of Utilization
U4.4- booklet: Modeling
HT-62/06/004/A
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
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 grid 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 grid
axisymmetric
6.1 Word
key
PROL_RTZ
Construction of a thermal transient on an axisymmetric grid (3D) starting from the data of one
thermal transient calculated on a grid 1D. the transient 1D is given in the form of one
structure of data TABLE resulting from command POST_RELEVE_T having the parameters
following:
·
the definition of the moments (“INST”),
·
co-ordinates of the nodes of the grid 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 grid on which one carries out projection, the operator checks that the grid is
three-dimensional.
6.1.2 Operands
TABLE
TABLE =
Name of a structure of data TABLE resulting from command POST_RELEVE_T containing it
thermal transient 1D. Les parameters of this table is obligatorily: “INST”,
“COOR_X” and “TEMP”.
Handbook of Utilization
U4.4- booklet: Modeling
HT-62/06/004/A
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
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 the TABLE post_1D.
CRITERE =
Criterion used to seek the moment specified in the TABLE 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 grid 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,
·
“LINEAIRE” for a prolongation along the first definite segment
(PROL_GAUCHE) or of the last definite segment (PROL_DROITE),
·
“EXCLU”
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
LOCATE/ORIGIN/AXE_Z
LOCATE = “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.
ORIGINE = (ori1, ori2, ori3)
Corresponds to the position of the origin of the grid 1D compared to the origin of the grid 3D.
AXE_Z = (axe1, axe2, axe3)
Definition of the axis of the cylindrical reference mark.
Handbook of Utilization
U4.4- booklet: Modeling
HT-62/06/004/A
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
7 Example
of use
Construction of a thermal transient starting from a function:
One defined below the principal commands used to build a concept result of
evol_ther type.
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 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 assigns the same function fct1 to the whole of
nodes of the grid.
CH = AFFE_CHAM_NO
(MAILLAGE = my, GRANDEUR = “TEMP_F”,
AFFE
=
(_F (
TOUT
=
“OUI”,
NOM_CMP=' TEMP',
FONCTION=fct1,
),)
)
…
Creation of the concept result TEMPE, built starting from the field with the nodes of CH function. One
limit with the sequence number 20 correspondent 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
,
),
)
)
…
FIN ()
Handbook of Utilization
U4.4- booklet: Modeling
HT-62/06/004/A
Outline document