background image
Code_Aster
®
Version
8.2
Titrate:
Procedure
IMPR_GENE
Date:
22/02/06
Author (S):
E. BOYERE, J. PIGAT
Key
:
U4.91.02-F1
Page:
1/6
Instruction manual
U4.9- booklet: Impression/Test HT-62/06/004/A
Organization (S):
EDF-R & D/AMA, EDF-Division Combustible














Instruction manual
U4.9- booklet: Impression/Test
Document: U4.91.02



Procedure
IMPR_GENE








1 Goal
To write the result of a dynamic calculation in variables generalized on a file, with the format
“RESULT”
.
Currently this procedure makes it possible to write results in generalized variables resulting from
following concepts:
·
tran_gene
,
·
vect_asse_gene
,
·
harm_gene
,
·
mode_gene
.
background image
Code_Aster
®
Version
8.2
Titrate:
Procedure
IMPR_GENE
Date:
22/02/06
Author (S):
E. BOYERE, J. PIGAT
Key
:
U4.91.02-F1
Page:
2/6
Instruction manual
U4.9- booklet: Impression/Test HT-62/06/004/A
2 Syntax
IMPR_GENE
(
FORMAT
=
/
“RESULT”,
[DEFECT]
FILE
=
/
links,
[I]
/8, [DEFECT]
GENE = _F
(
/
RESU_GENE
=
tg,
/
[vect_asse_gene]
/
TOUT_CMP_GENE
=
/
“YES”,
[DEFECT]
/
“NOT”,
/
NUME_CMP_GENE
=
lordre
,
[l_I]
/
RESU_GENE
= tg,
/
[harm_gene]
/
[mode_gene]
/
TOUT_CHAM
=/“NOT”,
/
“YES”,
[DEFECT]
/
NOM_CHAM
=
l_cham, [l_Kn]
/
TOUT_PARA
=/“YES”,
[DEFECT]
/“NOT”,
/
NOM_PARA
=
lnomsymb,
[l_Kn]
/
TOUT_CMP_GENE
=
/
“YES”,
[DEFECT]
/“NOT”,
/
NUME_CMP_GENE = lordre,
[l_I]
/
/
TOUT_ORDRE =
“YES”,
[DEFECT]
/
NUME_ORDRE =
lordre,
[l_I]
/
LIST_ORDRE =
slow,
[listis]
/
/
TOUT_MODE
=
“YES”,
[DEFECT]
/
NUME_MODE
=
lmode,
[l_I]
/
/
FREQ =
lfreq,
[l_R]
/
LIST_FREQ
=
lreel,
[listr8]
CRITERION
=/“ABSOLUTE”,
/
“RELATIVE”, [DEFECT]
PRECISION
=
/
prec,
[R]
/
1.E-03, [DEFECT]
/
RESU_GENE
= tg,
/
[tran_gene]
/
TOUT_CHAM
=
“YES”,
[DEFECT]
/
NOM_CHAM
=
l_cham, [l_Kn]
/
TOUT_CMP_GENE
=
“YES”,
[DEFECT]
/
NUME_CMP_GENE = lordre,
[l_I]
/
/
TOUT_ORDRE =
“YES”,
[DEFECT]
/
NUME_ORDRE =
lordre,
[l_I]
/
LIST_ORDRE =
slow,
[listis]
/
/
INST =
linst,
[l_R]
/
LIST_INST
=
lreel,
[listr8]
/
TOUT_INST
=
“YES”,
[DEFECT]
CRITERION
=/“ABSOLUTE”,
/
“RELATIVE”, [DEFECT]
PRECISION
=
/
prec,
[R]
/
“1.E-03”,
[DEFECT]
INFO_CMP_GENE
=
/
“YES”,
[DEFECT]
/
“NOT”,
SOUS_TITER
=
lst, [l_Kn]
INFO_GENE
= “YES”,
“NOT”,
[DEFECT]
),
)
background image
Code_Aster
®
Version
8.2
Titrate:
Procedure
IMPR_GENE
Date:
22/02/06
Author (S):
E. BOYERE, J. PIGAT
Key
:
U4.91.02-F1
Page:
3/6
Instruction manual
U4.9- booklet: Impression/Test HT-62/06/004/A
3 Word
key
GENE
This key word factor makes it possible to specify the results to print. At least a block factor of the key word
is necessary for each result which one wishes to print.

4 Operand
RESU_GENE
This key word makes it possible to specify the name user of the concept of the type
tran_gene
,
vect_asse_gene
,
harm_gene
or
mode_gene
to print.

5
Variables of access if concept of the type
vect_asse_gene
5.1 Operands
TOUT_CMP_GENE
/
NUME_CMP_GENE
The key word
TOUT_CMP_GENE
indicate that one wants or not to print the fields for all the numbers
generalized components (except those which correspond to ddl of Lagrange).
The key word
NUME_CMP_GENE
indicate that one wants to print the fields which correspond to a list
numbers of generalized components.

6 Variables of access if concept of the type
mode_gene
or
harm_gene
6.1 Extraction of a field of result: operands
TOUT_CHAM
/
NOM_CHAM
The key word
TOUT_CHAM
indicate that one wants to print all the actually calculated fields.
The key word
NOM_CHAM
allows to choose a list of reference symbols of fields among the unit
the possible ones.
6.2
Extraction of a parameter: operands
TOUT_PARA
/
NOM_PARA
The key word
TOUT_PARA
indicate that one wants or not to print all the values of the parameters
attaches with the concept considered.
The key word
NOM_PARA
allows to choose a list of reference symbols of parameters among
the whole of the possible ones.
These key words are available only for the concept of the type
mode_gene
.
6.3 Operands
TOUT_CMP_GENE
/
NUME_CMP_GENE
The key word
TOUT_CMP_GENE
indicate that one wants to print the fields for all the numbers of
generalized components (except those which correspond to ddl of Lagrange).
The key word
NUME_CMP_GENE
indicate that one wants to print the fields which correspond to a list
numbers of generalized components.
background image
Code_Aster
®
Version
8.2
Titrate:
Procedure
IMPR_GENE
Date:
22/02/06
Author (S):
E. BOYERE, J. PIGAT
Key
:
U4.91.02-F1
Page:
4/6
Instruction manual
U4.9- booklet: Impression/Test HT-62/06/004/A
6.4 Operands
TOUT_ORDRE
/
NUME_ORDRE
/
LIST_ORDRE
The key word
TOUT_ORDRE
indicate that one wants to print the fields for all the sequence numbers.
Key words
NUME_ORDRE
and LIST_ORDRE make it possible to print only the fields corresponding
with a list of sequence numbers
lordre
or slow defined by DEFI_LIST_ENTI [U4.34.02] (slow is
thus a concept of the listis type).
6.5 Operands
TOUT_MODE
/
NUME_MODE
The key word
TOUT_MODE
indicate that one wants to print the fields for all the numbers of mode.
The key word
NUME_MODE
indicate that one wants to print the fields corresponding to a list of
numbers of mode
lmode
. These numbers are those affected by the calculation algorithm.
This key word is usable only for one concept of the type
mode_gene
.
6.6 Operands
FREQ
/
LIST_FREQ
The key word
FREQ
indicate that one wants to print the fields corresponding to a list of frequency
lfreq
.
The key word
LIST_FREQ
indicate that one wants to print the fields corresponding to a list of
frequencies
lreel,
defined by the operator
DEFI_LIST_REEL
[U4.34.01]
(lreel
is thus one
concept of the type
listr8)
.
This key word is usable for a concept of the type
harm_gene
, and possibly
mode_gene
.
6.7 Operands
CRITERION
/
PRECISION
The key word
PRECISION
indicate with which precision one must carry out the search of the frequency of
calculation.
The key word
CRITERION
indicate with which type of interval of precision the search of the frequency
of interpolation must be carried out:
“ABSOLUTE”:
interval of search
[Fr-prec, fr+prec]
“RELATIVE”:
interval of search
[(1-prec) Fr, (1+prec) Fr]
background image
Code_Aster
®
Version
8.2
Titrate:
Procedure
IMPR_GENE
Date:
22/02/06
Author (S):
E. BOYERE, J. PIGAT
Key
:
U4.91.02-F1
Page:
5/6
Instruction manual
U4.9- booklet: Impression/Test HT-62/06/004/A
7
Variables of access if concept of the type
tran_gene
7.1
Extraction of a field of result
·
Operands
TOUT_CHAM
/
NOM_CHAM
See [§6.1].
·
Operands
TOUT_CMP_GENE
/
NUME_CMP_GENE
See [§6.3]
·
Operands
TOUT_ORDRE
/
NUME_ORDRE
/
LIST_ORDRE
See [§6.4].
7.2 Operands
INST
/
LIST_INST
/
CRITERION
/
PRECISION
The key word
INST
indicate that one wants to print the fields corresponding to a list of moments
linst
.
The key word
LIST_INST
indicate that one wants to print the fields corresponding to a list of moments
lreel
, defined by the operator
DEFI_LIST_REEL
[U4.34.01]
(lreel
is thus a concept of the type
listr8)
.
For
CRITERION
/
PRECISION
to see [§6.7] (by replacing frequency per moment).

8
Parameters of impression of the results
8.1 Operand
SOUS_TITER
This argument makes it possible to print a title of comments.
8.2 Operand
FORMAT
Format of impression of the results in the output file.
For the moment only the format
RESULT
is available.
8.3 Operand
FILE
The results are written, by defect, on the file
RESULT
. But the user can define another
output file of which it stipulates the name under the operand
FILE
and a logical number of unit by
order
DEFUFI
[U4.12.01].
8.4 Operand
INFO_GENE
During the impression of a generalized concept, one can have forgotten the exact contents of the structure of
data. The operand
INFO_GENE
allows to print these contents (a number of sequence numbers, lists
reference symbols of the actually calculated fields, list of the reference symbols of
actually calculated parameters,…).
8.5 Extraction of a genealogy of the generalized model: operand
INFO_CMP_GENE
This key word indicates that one wants or not to print for each generalized component the name of
concept
base_modale
or
mode_meca
from which the mode corresponding to this component results, sound
type (clean or constrained), its frequency and the node of application of this mode if it is constrained.
background image
Code_Aster
®
Version
8.2
Titrate:
Procedure
IMPR_GENE
Date:
22/02/06
Author (S):
E. BOYERE, J. PIGAT
Key
:
U4.91.02-F1
Page:
6/6
Instruction manual
U4.9- booklet: Impression/Test HT-62/06/004/A
8.6 Phase
of execution
For the concepts
tran_gene
and
harm_gene
, it is checked that the moments (frequencies) of extraction
asked by the operands
NUME_ORDRE
,
LIST_ORDRE
,
INST
,
LIST_INST
, (
FREQ
,
LIST_FREQ
)
are in the field of definition of the concept. It is also checked that the fields stipulated by
key words
TOUT_CHAM
,
NOM_CHAM
, were indeed calculated.
For the concept
mode_gene,
it is checked that the names of the parameters specified by the key word
NOM_PARA
are quite acceptable. If the number of the mode is selected by the operand
NUME_MODE
,
it is checked that this number is lower than the total number of modes which define it
mode_gene
.


9 Examples
9.1 Impression
of one
vect_asse_gene
IMPR_GENE
(GENE =
_F (RESU_GENE
= fgen,
NUME_CMP_GENE
= “YES”
),
_F (
RESU_GENE
= fgen,
INFO_CMP_GENE
= “NOT”,
NUME_CMP_GENE
= 1
)
)
The following impression is obtained:
CONCEPT FGEN OF
TYPE
VECT_ASSE_GENE
NUME_CMP
VALUE
BASE_MODALE
TYPE_MODE
FREQUENCY
APPLICATION
1
1.00000E+00
BAM01_CL
CLEAN
2.25079E-01
2
5.00000E-01
BAM01_CL
CONSTRAINED
0.00000E+00
N03
DX
3
0.00000E+00
BAM02_CL
CLEAN
2.25079E-01
4
0.00000E+00
BAM02_CL
CONSTRAINED
0.00000E+00
N01
DX
CONCEPT FGEN OF
TYPE
VECT_ASSE_GENE
NUME_CMP VALUE
1
1.00000E+00

9.2 Impression
of one
mode_gene
IMPR_GENE
(GENE = _F (RESU_GENE
= resgen,
INFO_GENE
=
“YES”,
NUME_ORDRE =
1,
NOM_PARA
=
(“FREQ”, “MASS_GENE”, “RIGI_GENE”),
INFO_CMP_GENE
= “NOT”
),
_F (
RESU_GENE
= resgen,
NUME_CMP_GENE
= (1, 3),
NUME_ORDRE
=
1,
NOM_PARA
=
(“FREQ”, “MASS_GENE”, “RIGI_GENE”),
INFO_CMP_GENE
= “YES”
)
)