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
Organization (S): EDF-R & D/AMA, EDF-Division Combustible
Handbook of Utilization
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
“RESULTAT”.
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.
Handbook of Utilization
U4.9- booklet: Impression/Test HT-62/06/004/A
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
2 Syntax
IMPR_GENE (
FORMAT
=
/
“RESULTAT”,
[DEFAUT]
FICHIER
=
/
links,
[I]
/8, [DEFAUT]
GENE = _F (
/
RESU_GENE
=
tg,
/
[vect_asse_gene]
/TOUT_CMP_GENE
=
/
“OUI”,
[DEFAUT]
/
“NON”,
/
NUME_CMP_GENE
=
lordre
,
[l_I]
/
RESU_GENE
= tg,
/
[harm_gene]
/
[mode_gene]
/
TOUT_CHAM
=/“NON”,
/
“OUI”,
[DEFAUT]
/
NOM_CHAM
=
l_cham, [l_Kn]
/
TOUT_PARA
=/“OUI”,
[DEFAUT]
/“NON”,
/
NOM_PARA
=
lnomsymb,
[l_Kn]
/
TOUT_CMP_GENE
=
/
“OUI”,
[DEFAUT]
/“NON”,
/
NUME_CMP_GENE = lordre,
[l_I]
/
/
TOUT_ORDRE =
“OUI”,
[DEFAUT]
/
NUME_ORDRE =
lordre,
[l_I]
/
LIST_ORDRE =
slow,
[listis]
/
/TOUT_MODE
=
“OUI”,
[DEFAUT]
/
NUME_MODE
=
lmode,
[l_I]
/
/FREQ = lfreq,
[l_R]
/
LIST_FREQ
=
lreel,
[listr8]
CRITERE
=/“ABSOLU”,
/
“RELATIVE”, [DEFECT]
PRECISION
=
/
prec,
[R]
/
1.E-03, [DEFAUT]
/
RESU_GENE
= tg,
/[tran_gene]
/
TOUT_CHAM
=
“OUI”,
[DEFAUT]
/
NOM_CHAM
=
l_cham, [l_Kn]
/
TOUT_CMP_GENE
=
“OUI”,
[DEFAUT]
/
NUME_CMP_GENE = lordre,
[l_I]
/
/TOUT_ORDRE = “YES”,
[DEFAUT]
/
NUME_ORDRE =
lordre,
[l_I]
/
LIST_ORDRE =
slow,
[listis]
/
/INST = linst,
[l_R]
/
LIST_INST
=
lreel,
[listr8]
/
TOUT_INST
=
“OUI”,
[DEFAUT]
CRITERE
=/“ABSOLU”,
/
“RELATIVE”, [DEFECT]
PRECISION
=
/
prec,
[R]
/
“1.E-03”,
[DEFAUT]
INFO_CMP_GENE
=
/
“OUI”,
[DEFAUT]
/
“NON”,
SOUS_TITER
=
lst, [l_Kn]
INFO_GENE
= “OUI”,
“NON”,
[DEFAUT]
),
)
Handbook of Utilization
U4.9- booklet: Impression/Test HT-62/06/004/A
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
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 tran_gene type, vect_asse_gene,
harm_gene or mode_gene to be printed.
5
Variables of access if concept of the vect_asse_gene type
5.1 Operands
TOUT_CMP_GENE/NUME_CMP_GENE
Key word TOUT_CMP_GENE indicates that one wants or not to print the fields for all the numbers
generalized components (except those which correspond to ddl of Lagrange).
Key word NUME_CMP_GENE indicates that one wants to print the fields which correspond to a list
numbers of generalized components.
6 Variables of access if concept of the mode_gene type or
harm_gene
6.1 Extraction of a field of result: operands TOUT_CHAM/
NOM_CHAM
Key word TOUT_CHAM indicates that one wants to print all the actually calculated fields.
Key word NOM_CHAM makes it possible 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
Key word TOUT_PARA indicates that one wants or not to print all the values of the parameters
attaches with the concept considered.
Key word NOM_PARA makes it possible 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 mode_gene type.
6.3 Operands
TOUT_CMP_GENE/NUME_CMP_GENE
Key word TOUT_CMP_GENE indicates that one wants to print the fields for all the numbers of
generalized components (except those which correspond to ddl of Lagrange).
Key word NUME_CMP_GENE indicates that one wants to print the fields which correspond to a list
numbers of generalized components.
Handbook of Utilization
U4.9- booklet: Impression/Test HT-62/06/004/A
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
6.4 Operands
TOUT_ORDRE/NUME_ORDRE/LIST_ORDRE
Key word TOUT_ORDRE indicates 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
Key word TOUT_MODE indicates that one wants to print the fields for all the numbers of mode.
Key word NUME_MODE indicates that one wants to print the fields corresponding to a list of
numbers of lmode mode. These numbers are those affected by the calculation algorithm.
This key word is usable only for one concept of the mode_gene type.
6.6 Operands
FREQ/LIST_FREQ
Key word FREQ indicates that one wants to print the fields corresponding to a list of frequency
lfreq.
Key word LIST_FREQ indicates that one wants to print the fields corresponding to a list of
frequencies lreel, defined by operator DEFI_LIST_REEL [U4.34.01] (lreel is thus one
concept of the listr8 type).
This key word is usable for a concept of the harm_gene type, and possibly mode_gene.
6.7 Operands
CRITERION/PRECISION
Key word PRECISION indicates with which precision one must carry out the search of the frequency of
calculation.
Key word CRITERE indicates with which type of interval of precision the search of the frequency
of interpolation must be carried out:
“ABSOLU”:
interval of search [Fr-prec, fr+prec]
“RELATIF”:
interval of search [(1-prec) Fr, (1+prec) Fr]
Handbook of Utilization
U4.9- booklet: Impression/Test HT-62/06/004/A
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
7
Variables of access if concept of the tran_gene type
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
Key word INST indicates that one wants to print the fields corresponding to a list of moments
linst.
Key word LIST_INST indicates that one wants to print the fields corresponding to a list of moments
lreel, defined by operator DEFI_LIST_REEL [U4.34.01] (lreel is thus a concept of the type
listr8).
For CRITERE/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 format RESULTAT is available.
8.3 Operand
FICHIER
The results are written, by defect, on file RESULTAT. But the user can define another
output file of which it stipulates the name under operand FICHIER 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. Operand INFO_GENE makes it possible 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.
Handbook of Utilization
U4.9- booklet: Impression/Test HT-62/06/004/A
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
8.6 Phase
of execution
For the concepts tran_gene and harm_gene, one checks that the moments (frequencies) of extraction
asked by 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, one checks 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 operand NUME_MODE,
it is checked that this number is lower than the total number of modes which define the mode_gene.
9 Examples
9.1 Impression
of one
vect_asse_gene
IMPR_GENE
(GENE =
_F (RESU_GENE
= fgen,
NUME_CMP_GENE
= “OUI”
),
_F (
RESU_GENE
= fgen,
INFO_CMP_GENE
= “NON”,
NUME_CMP_GENE
= 1
)
)
The following impression is obtained:
CONCEPT FGEN OF
TYPE
VECT_ASSE_GENE
NUME_CMP
VALEUR
BASE_MODALE
TYPE_MODE
FREQUENCE
APPLICATION
1
1.00000E+00
BAM01_CL
PROPRE
2.25079E-01
2
5.00000E-01
BAM01_CL
CONTRAINT
0.00000E+00
N03
DX
3
0.00000E+00
BAM02_CL
PROPRE
2.25079E-01
4
0.00000E+00
BAM02_CL
CONTRAINT
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
=
“OUI”,
NUME_ORDRE =
1,
NOM_PARA
=
(“FREQ”, “MASS_GENE”, “RIGI_GENE”),
INFO_CMP_GENE
= “NON”
),
_F (
RESU_GENE
= resgen,
NUME_CMP_GENE
= (1, 3),
NUME_ORDRE
=
1,
NOM_PARA
=
(“FREQ”, “MASS_GENE”, “RIGI_GENE”),
INFO_CMP_GENE
= “OUI”
)
)
Handbook of Utilization
U4.9- booklet: Impression/Test HT-62/06/004/A
Outline document