Code_Aster ®
Version
6.0
Titrate:
Informatique description of LIRE_RESU


Date:
31/08/01
Author (S):
J. PELLET, F. LEBOUVIER Key
:
D9.07.02-A Page
: 1/6

Organization (S): EDF/MTI/MN, DeltaCAD

Handbook of Descriptif Informatique
D9.07 booklet:
D9.07.02 document

Informatique description of LIRE_RESU

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

One finds:

· the list of the principal routines used by the command, 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 format IDEAS.
Handbook of Descriptif Informatique
D9.07 booklet:
HI-75/01/005/A

Code_Aster ®
Version
6.0
Titrate:
Informatique description of LIRE_RESU


Date:
31/08/01
Author (S):
J. PELLET, F. LEBOUVIER Key
:
D9.07.02-A Page
: 2/6

Count

matters

1 Goal .......................................................................................................................................................... 1
2 Tree of call of the principal routines of LIRE_RESU ......................................................................... 3
3 Description of the routines observers in the tree 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

Handbook of Descriptif Informatique
D9.07 booklet:
HI-75/01/005/A

Code_Aster ®
Version
6.0
Titrate:
Informatique description of LIRE_RESU


Date:
31/08/01
Author (S):
J. PELLET, F. LEBOUVIER Key
:
D9.07.02-A Page
: 3/6

2
Tree of call of the principal routines of LIRE_RESU

OP0150.f
IDEAS
ENSIGHT
MED
LRIDEA.f
CRSDFI.f
RSUTC2.f
DECOD1.f
RSUTC3.f
DECOD2.f
NUMEOK.f
TRFMOT.f
STOCK.f

Appear 2-a: OP0150.f

3
Description of the routines observers in the tree of call

OP0150.f
Main program of command LIRE_RESU. This routine treats in-house the format
ENSIGHT. 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 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.
Handbook of Descriptif Informatique
D9.07 booklet:
HI-75/01/005/A

Code_Aster ®
Version
6.0
Titrate:
Informatique description of LIRE_RESU


Date:
31/08/01
Author (S):
J. PELLET, F. LEBOUVIER Key
:
D9.07.02-A Page
: 4/6

4
Flow chart of lridea

DEBUT
Creation of the SD
CRSDFI.f
&&LIRE_RESU_IDEA
Reading of the heading of the dataset
Loop on
names
With
of field
Values
yes
DECOD1.f
waited
Loop on
recordings
not
B
Presence:
frequency
not
DECOD2.f
moment
command
yes
C
Nume_Ordre,
One passes to
not
moment,
NUMEOK.f
next dataset
fréqence
yes
One stores the values in
the simple field
One stores the values in
STOCK.f
the SD results
not
End of
file unv
yes
FIN

Appear 4-a: Organigramme 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 SD FORMAT_IDEAS of 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.
Handbook of Descriptif Informatique
D9.07 booklet:
HI-75/01/005/A

Code_Aster ®
Version
6.0
Titrate:
Informatique description of LIRE_RESU


Date:
31/08/01
Author (S):
J. PELLET, F. LEBOUVIER Key
:
D9.07.02-A Page
: 5/6

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 modifications.

5.1
New format results

The addition of a new format results (ex: “MED”) implies the modification of the following files:

· 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”) implies the modification 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”) implies the modification 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.
Handbook of Descriptif Informatique
D9.07 booklet:
HI-75/01/005/A

Code_Aster ®
Version
6.0
Titrate:
Informatique description of LIRE_RESU


Date:
31/08/01
Author (S):
J. PELLET, F. LEBOUVIER Key
:
D9.07.02-A Page
: 6/6

Intentionally white left page.
Handbook of Descriptif Informatique
D9.07 booklet:
HI-75/01/005/A

Outline document