background image
Code_Aster
®
Version
6.0
Titrate:
Data-processing description of
LIRE_RESU
Date:
31/08/01
Author (S):
J. PELLET, F. LEBOUVIER
Key
:
D9.07.02-A
Page
:
1/6
Data-processing manual of Description
D9.07 booklet:
HI-75/01/005/A
Organization (S):
EDF/MTI/MN, DeltaCAD














Data-processing manual of Description
D9.07 booklet:
D9.07.02 document



Data-processing description of
LIRE_RESU








1 Goal


This document is a data-processing description of the control
LIRE_RESU
, whose role is of reading fields
with the nodes or fields by elements on a file with the format
“IDEAS”
,
“ENSIGHT”
.

One finds:
·
the list of the main routines used by the control, as well as a short summary of theirs
functionalities.
·
routines to modify to allow the addition of a new format of reading,
·
routines to be modified for the addition of new types of results as well as new fields
within the framework of the format
IDEAS
.
background image
Code_Aster
®
Version
6.0
Titrate:
Data-processing description of
LIRE_RESU
Date:
31/08/01
Author (S):
J. PELLET, F. LEBOUVIER
Key
:
D9.07.02-A
Page
:
2/6
Data-processing manual of Description
D9.07 booklet:
HI-75/01/005/A
Count
matters

1 Goal .......................................................................................................................................................... 1
2 Shaft of call of the main routines of
LIRE_RESU
......................................................................... 3
3 Description of the routines observers in the shaft of call ......................................................................... 3
4 Flow chart of lridea ......................................................................................................................... 4
5 Evolutions ............................................................................................................................................... 5
5.1 New format results ................................................................................................................. 5
5.2 Format IDEAS .................................................................................................................................. 5
5.2.1 New type of results ...................................................................................................... 5
5.2.2 New field ...................................................................................................................... 5
background image
Code_Aster
®
Version
6.0
Titrate:
Data-processing description of
LIRE_RESU
Date:
31/08/01
Author (S):
J. PELLET, F. LEBOUVIER
Key
:
D9.07.02-A
Page
:
3/6
Data-processing manual of Description
D9.07 booklet:
HI-75/01/005/A
2
Shaft of call of the main routines of
LIRE_RESU
MED
IDEAS
ENSIGHT
LRIDEA.f
OP0150.f
DECOD1.f
DECOD2.f
STOCK.f
TRFMOT.f
NUMEOK.f
RSUTC3.f
RSUTC2.f
CRSDFI.f
Appear 2-a:
OP0150.f

3
Description of the routines observers in the shaft of call

OP0150.f
Main program of the control
LIRE_RESU
. This routine treats in-house the format
ENSIGHT
. The format
MED
is not available.
LRIDEA.f
Main program of reading of the files of results to the universal format “unv”
RSUTC2.f
This routine makes it possible starting from the name of the field to determine the name of the size
(
“DEPL_R”
) associated and the type of the SD results (
“NOEU”
,
“ELNO”
,
“ELGA”
)
RSUTC3.f
This routine makes it possible to determine the access mode
“FREQ”
or
“INST”
according to
type of results
CRSDFI.f
Creation and initialization of the SD
FORMAT_IDEAS
, it allows identified in the file
universal “unv” the dataset which will be read. This SD is described in detail in the document
[D4.02.xx].
NUMEOK.f
This routine checks if the sequence number, the moment or the frequency read in the dataset
corresponds to that or that required.
DECOD1.f
From the information contained in the SD
FORMAT_IDEAS
, this routine checks if
the heading of the dataset read, corresponds to that required.
DECOD2.f
From the information contained in the SD
FORMAT_IDEAS
, this routine extracts it
sequence number, the moment or the frequency
STOCK.f
This routine stores the results contained in the simple field (
cham_no
,
cham_elem
)
in the SD results.
background image
Code_Aster
®
Version
6.0
Titrate:
Data-processing description of
LIRE_RESU
Date:
31/08/01
Author (S):
J. PELLET, F. LEBOUVIER
Key
:
D9.07.02-A
Page
:
4/6
Data-processing manual of Description
D9.07 booklet:
HI-75/01/005/A
4
Flow chart of lridea
DECOD1.f
Values
waited
not
yes
Loop on
recordings
Loop on
names
of field
Presence:
frequency
moment
command
DECOD2.f
not
yes
Nume_Ordre,
moment,
fréqence
yes
NUMEOK.f
STOCK.f
One stores the values in
the simple field
One stores the values in
the SD results
not
Reading of the heading of the dataset
One passes to
next dataset
B
C
With
Creation of the SD
&&LIRE_RESU_IDEA
CRSDFI.f
End of
file unv
yes
END
not
BEGINNING
Appear 4-a: Flow chart of
lridea.f
Note:
·
A: one checks if the values read in the heading of the dataset correspond to those awaited.
·
B: one checks if there exists at the place indicated by the SD
FORMAT_IDEAS
information of the types
whole or real to identify the sequence number, or the moment or the frequency.
·
C: it is checked if the sequence number, or the moment or the frequency corresponds has that or that
waited.
background image
Code_Aster
®
Version
6.0
Titrate:
Data-processing description of
LIRE_RESU
Date:
31/08/01
Author (S):
J. PELLET, F. LEBOUVIER
Key
:
D9.07.02-A
Page
:
5/6
Data-processing manual of Description
D9.07 booklet:
HI-75/01/005/A
5 Evolutions
In this paragraph one presents work to be undertaken for the addition of new functionalities.
One specifies for each evolution the files with modified and the nature of the amendments.

5.1
New format results
The addition of a new format results (ex:
“MED”
) the amendment of the following files implies:
·
op0150.f
:
a structure “IF THEN ELSE” allows the introduction of new
format,
·
lire_resu.cata
:
addition of the new type of format.

5.2 Format
IDEAS
5.2.1 New type of results
The addition of a new type of results (
“DYNA_TRANS”
,
“EVOL_THME”
) the amendment implies of
following files:
·
lire_resu.cata
:
addition of the new type of results,
·
rsutc3.f
:
definition of the access mode (
“INST”
,
“FREQ”
) associated new
type of results.
5.2.2 New
field
The addition of a new type of results (
“DYNA_TRANS”
,
“EVOL_THME”
) the amendment implies of
following files:
·
lire_resu.cata
:
addition of the new field,
·
crsdfi.f
:
definition of the characteristics of the new field, the SD
FORMAT_IDEAS
created and initialized in this routine is defined
in the document [D4.02.06],
·
rsutc2.f
:
definition of the name of the size (
“DEPL_R”
,
“TEMP_R”
) and of the type
SD (
“NOEU”
,
“ELNO”
,
“ELGA”
) associated the new field.
background image
Code_Aster
®
Version
6.0
Titrate:
Data-processing description of
LIRE_RESU
Date:
31/08/01
Author (S):
J. PELLET, F. LEBOUVIER
Key
:
D9.07.02-A
Page
:
6/6
Data-processing manual of Description
D9.07 booklet:
HI-75/01/005/A



























Intentionally white left page.