Code_Aster ®
Version
7.4
Titrate:
Procedure HELPS
Date:
27/01/05
Author (S):
Key J.P. LEFEBVRE
:
U4.02.01-H Page
: 1/6
Organization (S): EDF-R & D/AMA
Handbook of Utilization
U4.0- booklet: Use of the commands
Document: U4.02.01
Procedure HELPS
1 Goal
To print a documentation partial of Code_Aster starting from its programming.
Currently, are available:
·
the interrogation on the names of already defined concepts,
·
the interrogation on the couples (type of elements, option) really available in the version
used.
Handbook of Utilization
U4.0- booklet: Use of the commands
HT-66/05/004/A
Code_Aster ®
Version
7.4
Titrate:
Procedure HELPS
Date:
27/01/05
Author (S):
Key J.P. LEFEBVRE
:
U4.02.01-H Page
: 2/6
2 Syntax
AIDE
(
UNITE
= num, [I]
I CONCEPT
=
_F
(
NOM
=
/
“*”
,
[DEFAUT]
/
lnom
,
[l_K]
OPTION
=/“Créer”,
/
“A_CRÉER”,
/
“TOUT_TYPE”,
[DEFAUT]
),
I TYPE_ELEM = _F (INITEL
=
/
“NON”,
[DEFAUT]
/
“OUI”,
),
)
Handbook of Utilization
U4.0- booklet: Use of the commands
HT-66/05/004/A
Code_Aster ®
Version
7.4
Titrate:
Procedure HELPS
Date:
27/01/05
Author (S):
Key J.P. LEFEBVRE
:
U4.02.01-H Page
: 3/6
3 Operands
3.1 Word
key
UNITE
UNITE = num
Logical number of unit associated a file on which the impressions will be directed. One
will defer to command DEFI_FICHIER [U4.12.03].
3.2 Word
key
CONCEPT
I
CONCEPT =
Interrogation on the names of concepts and their type already created and present in the base of
data “GLOBALE” at a given moment of an execution or concepts which remain to be created
or the unit.
3.2.1 Operand
NOM
NOM = list of the names of concepts requested
·
lnom list of names of concepts, whose one wishes information,
·
star “*” to ask for the list of all the concepts (“*” cannot be used in one
list lnom).
3.2.2 Operand
OPTION
OPTION = option of edition of concept.
“Créer”
:
one obtains the list of the concepts already created,
“A_CRÉER”
:
one obtains the list of the concepts to be created,
“TOUT_TYPE”
: to obtain the two preceding options simultaneously.
3.3 Word
key
TYPE_ELEM
I TYPE_ELEM
=
Impression of the whole of the couples (type_element, option) available in the version
used.
3.3.1 Operand
INITEL
INITEL =
“OUI”
: impression of the names of the objects created at the time of the initialization of all
type_element,
“NON”
: nothing for this impression.
In both cases “OUI”, “NON”, one prints:
·
the number of options,
·
the number of type_element,
a list of the form: phenomenon, modeling, type_element, option, number of
routine YOU (numero_te), it gives all possible elementary calculations. If
numéro_te is worth - 1, calculation is theoretically possible, but is not established.
·
a summary of type_element: for each type_element, one prints the number
calculated options,
·
a summary of the options: for each option, one prints the number of type_element
who calculates it.
Handbook of Utilization
U4.0- booklet: Use of the commands
HT-66/05/004/A
Code_Aster ®
Version
7.4
Titrate:
Procedure HELPS
Date:
27/01/05
Author (S):
Key J.P. LEFEBVRE
:
U4.02.01-H Page
: 4/6
4
Phase of checking/execution
Phase of checking:
It is checked that the character “*” does not appear in a list of names of commands.
Production run:
If the name of a command does not exist in the catalogs charged in the data bases, one
message is produced.
5 Examples
5.1
Use of key word CONCEPT
Example 1
Command file
%
------------------------------------------------------------------
DEBUT (
...........
)
%
------------------------------------------------------------------
MA
=
LIRE_MAILLAGE
(
)
MO
=
AFFE_MODELE
(
.....
)
CARELEM =
AFFE_CARA_ELEM
(
.....
)
CH
=
AFFE_CHAR_MECA
(
.....
)
MELR =
CALC_MATR_ELEM
(
.....
)
MELM =
CALC_MATR_ELEM
(
.....
)
VECT =
CALC_VECT_ELEM
(
.....
)
NUM
=
NUME_DDL
(
.....
)
MATASSR =
ASSE_MATRICE
(
.....
)
MATASSM =
ASSE_MATRICE
(
.....
)
VECTASS =
ASSE_VECTEUR
(
.....
)
%
------------------------------------------------------------------
HELP (CONCEPT = _F (NAME = ' * ',),)
%
------------------------------------------------------------------
FOMULT
=
DEFI_FONCTION
(.....)
LIFREQ
=
DEFI_LIST_REEL
(
.....
)
MATRIGC =
COMB_MATR_ASSE
(
.....
)
DH001
=
DYNA_LINE_HARM
(
.....
)
IMPR_RESU
(
.....
)
MATRIGC =
COMB_MATR_ASSE
(
.....
)
DH01 =
DYNA_LINE_HARM
(
.....
)
IMPR_RESU
(
.....
)
%
------------------------------------------------------------------
HELP (CONCEPT = _F (NAME = “*”,),)
%
------------------------------------------------------------------
FIN (
)
Handbook of Utilization
U4.0- booklet: Use of the commands
HT-66/05/004/A
Code_Aster ®
Version
7.4
Titrate:
Procedure HELPS
Date:
27/01/05
Author (S):
Key J.P. LEFEBVRE
:
U4.02.01-H Page
: 5/6
First procedure AIDE produces following information:
-------------------------------------------------------------------
<AIDE> <INFORMATION ON CONCEPTS EXISTANTS.>
<NO
CMDE> <CONCEPT. > <TYPE OF THE CONCEPT. > < A BE CREATES BY >
< 2> <MA >
<MAILLAGE_SDASTER
>
<LIRE_MAILLAGE
>
< 3> <MO >
<MODELE_SDASTER >
<AFFE_MODELE
>
< 4> <CARELEM > <CARA_ELEM
> <AFFE_CARA_ELEM
>
< 5> <CH >
<CHARGE_MECA
>
<AFFE_CHAR_MECA >
< 6> <MELR
> <MATR_ELEM_DEPL_R > <CALC_MATR_ELEM
>
< 7> <MELM
> <MATR_ELEM_DEPL_R > <CALC_MATR_ELEM
>
< 8> <VECT
> <VECT_ELEM_DEPL_R > <CALC_VECT_ELEM
>
< 9> <NUM
> <NUME_DDL
> <NUME_DDL
>
< 10> <MATASSR > <MATR_ASSE_DEPL_R > <ASSE_MATRICE
>
< 11> <MATASSM > <MATR_ASSE_DEPL_R > <ASSE_MATRICE
>
< 12> <VECTASS > <CHAM_NO_DEPL_R
> <ASSE_VECTEUR
>
<AIDE> INFORMATION ON THE CONCEPTS HAVING TO BE CREATE.
<NO
CMDE> <CONCEPT
> <TYPE OF THE CONCEPT. > <SERA CREATES BY >
< 14> <FOMULT
> <FONCTION_SDASTER > <DEFI_FONCTION
>
< 15> <LIFREQ
> <LISTR8_SDASTER
> <DEFI_LIST_REEL
>
< 16> <MATRIGC > <MATR_ASSE_DEPL_C > <COMB_MATR_ASSE
>
< 17> <DH001
> <DYNA_HARMO
>
<DYNA_LINE_HARM >
< 19> <MATRIGC > <MATR_ASSE_DEPL_C > <COMB_MATR_ASSE
>
< 20> <DH01
> <DYNA_HARMO
>
<DYNA_LINE_HARM >
-------------------------------------------------------------------
Second procedure AIDE produces following information:
-------------------------------------------------------------------
<AIDE> <INFORMATION ON CONCEPTS EXISTANTS.>
<NO
CMDE> <CONCEPT. > <TYPE OF THE CONCEPT. > < A BE CREATES BY >
< 2> <MA >
<MAILLAGE_SDASTER
>
<LIRE_MAILLAGE
>
< 3> <MO >
<MODELE_SDASTER >
<AFFE_MODELE
>
< 4> <CARELEM > <CARA_ELEM
> <AFFE_CARA_ELEM
>
< 5> <CH >
<CHARGE_MECA
>
<AFFE_CHAR_MECA >
< 6> <MELR
> <MATR_ELEM_DEPL_R > <CALC_MATR_ELEM
>
< 7> <MELM
> <MATR_ELEM_DEPL_R > <CALC_MATR_ELEM
>
< 8> <VECT
> <VECT_ELEM_DEPL_R > <CALC_VECT_ELEM
>
< 9> <NUM
> <NUME_DDL
> <NUME_DDL
>
< 10> <MATASSR > <MATR_ASSE_DEPL_R > <ASSE_MATRICE
>
< 11> <MATASSM > <MATR_ASSE_DEPL_R > <ASSE_MATRICE
>
< 12> <VECTASS > <CHAM_NO_DEPL_R
> <ASSE_VECTEUR
>
< 14> <FOMULT
> <FONCTION_SDASTER > <DEFI_FONCTION
>
< 15> <LIFREQ
> <LISTR8_SDASTER
> <DEFI_LIST_REEL
>
< 16> <MATRIGC > <MATR_ASSE_DEPL_C > <COMB_MATR_ASSE
>
< 17> <DH001
> <DYNA_HARMO
>
<DYNA_LINE_HARM >
< 19> <MATRIGC > <MATR_ASSE_DEPL_C > <COMB_MATR_ASSE
>
< 20> <DH01
> <DYNA_HARMO
>
<DYNA_LINE_HARM >
Handbook of Utilization
U4.0- booklet: Use of the commands
HT-66/05/004/A
Code_Aster ®
Version
7.4
Titrate:
Procedure HELPS
Date:
27/01/05
Author (S):
Key J.P. LEFEBVRE
:
U4.02.01-H Page
: 6/6
Intentionally white left page.
Handbook of Utilization
U4.0- booklet: Use of the commands
HT-66/05/004/A
Outline document