Code_Aster ®
Version
7.4
Titrate:
Operator LIRE_TABLE
Date:
07/01/05
Author (S):
C. Key DURAND
:
U7.02.03-B Page
: 1/4
Organization (S): EDF-R & D/AMA
Handbook of Utilization
U7.0- booklet: Data exchanges
Document:U7.02.03
Operator LIRE_TABLE
1 Goal
To see a file containing a table.
This command only makes it possible to read a table written in a file under format ASTER.
This file can come from a IMPR_TABLE to format ASTER or perhaps a modified unspecified file
so as to give him the characteristics obligatory of format ASTER.
Product a concept of the type counts.
Handbook of Utilization
U7.0- booklet: Data exchanges
HT-66/05/004/A
Code_Aster ®
Version
7.4
Titrate:
Operator LIRE_TABLE
Date:
07/01/05
Author (S):
C. Key DURAND
:
U7.02.03-B Page
: 2/4
2 Syntax
Tb [table] = LIRE_TABLE (
UNITE = ific, [I]
FORMAT = “ASTER”, [DEFECT]
NUME_TABLE
=/1,
[DEFAUT]
/
nume
,
[I]
TYPE_TABLE =/“TABLE”, [DEFECT]
/“TABL_POST_RELE”
,
[K]
/“TABL_POST_ALEA”
,
/“TABL_POST_USUR”
,
/“TABL_CARA_GEOM”
,
SEPARATEUR = sep,
[K]
TITER
=
titrate,
[l_K]
)
Handbook of Utilization
U7.0- booklet: Data exchanges
HT-66/05/004/A
Code_Aster ®
Version
7.4
Titrate:
Operator LIRE_TABLE
Date:
07/01/05
Author (S):
C. Key DURAND
:
U7.02.03-B Page
: 3/4
3 Operands
3.1 Operand
UNITE
Logical number of unit of the file containing the tables with reading.
3.2 Operand
FORMAT
Name of the format under which the table of the file was written. Only format ASTER is authorized. These
characteristics are illustrated by the following table:
# DEBUT_TABLE
# TITER aster 6.03.01 concept S1_G of the type
# TITRATES TABL_POST_RELE
ENTITLE PATH SEGMENT
RESU NOM_CHAM
INST
SIXX
K8
K16 I
K8 K16
R
R
GLOBAL
CHEM1
1 SIG SIGM_ELNO_DEPL 0.00000E+00 1.48981E+07
GLOBAL
CHEM1
- SIG
-
1.00000E+00 2.48981E+07
GLOBAL
CHEM1
2 SIG SIGM_ELNO_DEPL 1.00000E+00 3.48981E+07
…
# FIN_TABLE
Any table with format ASTER begin with key word # DEBUT_TABLE and ends in # FIN_TABLE.
In fact the limitations make it possible to know where the reading starts and where it stops.
# DEBUT_TABLE is then followed by lines of titles which are obligatorily preceded by the word
key # TITER.
Follow then a line containing all the names of the parameters, then a line containing all them
types of these parameters. These types belong obligatorily to the following list: K8, K16, K24,
K32, K80, I, R.
The following lines give the value of all the parameters.
Among the values one can find (-), who means that there is no value for this parameter.
3.3 Operand
NUME_TABLE
It is possible to read a table among several in a file. The number of the ième table is indicated
with reading. By defect, the first table with format ASTER will be read.
3.4 Operand
TYPE_TABLE
This key word makes it possible to typify the table, for the commands using this information.
The default value is “TABLE”.
3.5 Operand
SEPARATEUR
Several consecutive separators count only for one. One needs a separator before the first
column and after the last.
3.6 Operand
TITER
Titrate attached to the concept produced by this operand [U4.03.01].
This title is added to the title already present in the table read.
Handbook of Utilization
U7.0- booklet: Data exchanges
HT-66/05/004/A
Code_Aster ®
Version
7.4
Titrate:
Operator LIRE_TABLE
Date:
07/01/05
Author (S):
C. Key DURAND
:
U7.02.03-B Page
: 4/4
4 Examples
The commands which follow are extracted from case-test ZZZZ128B.
4.1
Creation of a table to format “ASTER” with IMPR_TABLE
In this example, one writes several tables with format “ASTER” in a file.
TT=POST_RELEVE_T (ACTION=_F (ENTITLES = “RESU_U2”,
NODE = (“B”, “It, “Of, “E”, “F”,),
RESULTAT = U2,
NOM_CHAM = “DEPL”,
TOUT_ORDRE = “YES”,
TOUT_CMP = “YES”,
OPERATION = “EXTRACTION”))
IMPR_TABLE (UNITE=37,
TABLE=TT,
FORMAT=' ASTER')
IMPR_TABLE (UNITE=37,
TABLE=TT,
FORMAT=' ASTER',
NOM_PARA= (“NODE”, “INST”, “ABSC_CURV”,
“DX”, “DY”, “DZ”, “DRX”,)
)
4.2
Reading of tables to format “ASTER” with LIRE_TABLE
TT2=LIRE_TABLE (UNITE=37,
FORMAT=' ASTER',
NUME_TABLE=1,
SEPARATEUR=' ',
TYPE_TABLE=' TABL_POST_USUR',
TITER=' VALIDATION OF LIRE_TABLE',)
TT_RED=LIRE_TABLE (UNITE=37,
FORMAT=' ASTER',
NUME_TABLE=2,
SEPARATEUR=' ',
TYPE_TABLE=' TABL_POST_RELE',
TITER=' VALIDATION OF LIRE_TABLE',
)
Handbook of Utilization
U7.0- booklet: Data exchanges
HT-66/05/004/A
Outline document