background image
Code_Aster
®
Version
7.4
Titrate:
Interface file of mesh GIBI with Aster
Date:
26/05/05
Author (S):
COURTEOUS Mr., A.M. DONORE
Key
:
U3.04.01-F
Page
:
1/8
Instruction manual
U3.0- booklet: Mesh HT-66/05/004/A
Organization (S):
EDF-R & D/AMA















Instruction manual
U3.0- booklet: Mesh
Document: U3.04.01



Interface file of mesh GIBI with Aster




Summary:

The use of GIBI (maillor of CASTEM 2000) can be done on workstation Unix/Linux according to
versions available.

One describes here the principle of the interface which makes it possible to use in Aster a file resulting from CASTEM 2000.

This interface is implemented in Aster by the control
PRE_GIBI
[U7.01.11].
background image
Code_Aster
®
Version
7.4
Titrate:
Interface file of mesh GIBI with Aster
Date:
26/05/05
Author (S):
COURTEOUS Mr., A.M. DONORE
Key
:
U3.04.01-F
Page
:
2/8
Instruction manual
U3.0- booklet: Mesh HT-66/05/004/A
1
Use of GIBI
CASTEM 2000 is a code of analysis of the structures by finite elements, which has a unit of
functionalities dedicated to the mesh in 2D and 3D. The whole of these functions of mesh is known
under name GIBI.
In the continuation of this document, one will name GIBI, the whole of the functions of mesh like
the whole of the controls for the visualization and the analysis of the results.
GIBI is available on a certain number of platforms Unix/Linux. It is a version disseminated by
the group “Codes of Mechanics” of EDF R & D/AMA within the framework of a contract with the ECA, it is
available in downloading on the http://www.code-aster.org site.
The memory allocated by GIBI is of 20 megawords per defect. For certain applications it is
necessary to increase this size memory. With this intention, the variable should be defined
ESOPE_PARAM
of
following manner:
setenv ESOPE_PARAM “ESOPE=x000000, NTRK=1024, LTRK=1048576”
or according to Shell used:
export ESOPE_PARAM=' ESOPE=x000000, NTRK=1024, LTRK=1048576'
where X is the number of million words which one wishes.
The ECA produces a new version of GIBI each year. Before being brought into service on
centralized server and to be disseminated, this version is tested by the team codes on the whole of the tests
Aster. Thus the “standard” version is currently GIBI version 2000, launched in interactive by
order
gibi2000.x
.

2
Documentation on the use of GIBI
The documentation of GIBI can be obtained by carrying out GIBI with the data file according to:
NOTE;
END;
One recovers then in the listing of work, the list of the chapters corresponding to all the operators
GIBI.
GIBI has a documentation in line which makes it possible to have the syntax of each operator by
order:
INFORMATION
name of the control;
but also the possibility of knowing the whole of the operators dedicated to the mesh, gathered
by functionalities (operators of creation of points, linear entities, surface entities and
voluminal entities…) by the control:
INFORMATION DEBU;
This information is also available since a navigator Internet (the site depends on
the local installation).
background image
Code_Aster
®
Version
7.4
Titrate:
Interface file of mesh GIBI with Aster
Date:
26/05/05
Author (S):
COURTEOUS Mr., A.M. DONORE
Key
:
U3.04.01-F
Page
:
3/8
Instruction manual
U3.0- booklet: Mesh HT-66/05/004/A
3
The Council of use of GIBI for Aster
·
Not to forget that each control ends in one “;”,
·
Code_Aster can read again the files created by GIBI having level 3, 4, 5, 6, 8, 9, 10, 11 or 13.
This level is related to the change of format,
·
to think that it is not possible to impose the passage of the mesh by a point or a line
not being reproduced on external contour. To envisage the geometry division consequently,
·
to think that GIBI directs with its own conventions the various meshs. Elements
can “be thus turned over” (from where negative jacobiens and pressures to back!).
In GIBI, the user has the operators
OPPOSITE
and
TO DIRECT
for amendment
orientation of elements. One will refer advantageously to the control
MODI_MAILLAGE
([U4.23.04], key words
ORIE_PEAU_2D/3D
) to intervene on the orientation of the meshs in
Aster,
·
the operator
PRE_GIBI
suppose that GIBI was carried out without error, i.e.
second line of the file
.mgib
is “
LEVEL LEVEL ERROR 0 DIMENSION
… “
In the contrary case, one carries out, nevertheless the interface, by emitting an alarm,
·
the file containing mesh GIBI must be produced by the control “
TO SAVE
FORMAT
mesh
“; it is the only format read again by the interface
PRE_GIBI
.

4
Interface with Aster
The interface with Aster is activated by the control
PRE_GIBI
[U7.01.11].

5
Entities of mesh GIBI and Aster
Maillor GIBI handles typified and named objects (cf Doc. of use of GIBI).
The types used are:
·
constants whole, real, text,…,
·
POINTS,
·
MESH (together of meshs).
The control
PRE_GIBI
causes:
·
to write points (GIBI) in the form of nodes (Aster): the names of the Aster nodes are
form:
Ni
where
I
is number GIBI of the corresponding point,
·
to write the meshs (Aster) contained in mesh (GIBI): names of the meshs Aster
are form:
Mj
where
J
is the sequence number of mesh GIBI in the file of result
GIBI
,
·
to write
GROUP_MA
(Aster) corresponding to the mesh (
GIBI
) and of same names,
Note:
The groups of meshs contain only the meshs defining it indeed
mesh GIBI. They do not contain the meshs of the objects referred in this mesh
(edges for example).
·
to write
GROUP_NO
(Aster) reduced to only one nodes and whose names are the names of
points of
GIBI
.
background image
Code_Aster
®
Version
7.4
Titrate:
Interface file of mesh GIBI with Aster
Date:
26/05/05
Author (S):
COURTEOUS Mr., A.M. DONORE
Key
:
U3.04.01-F
Page
:
4/8
Instruction manual
U3.0- booklet: Mesh HT-66/05/004/A
It is noticed that
PRE_GIBI
do not generate
GROUP_NO
containing several nodes. What would be
sometimes very useful to impose boundary conditions on all the nodes of an edge. With this intention,
the user has in Aster the control
DEFI_GROUP
who allows to create groups of
nodes starting from groups of meshs.
The key word
CREA_GROUP_NO
of the operator
DEFI_GROUP
[U4.22.01] allows to circumvent this
obstacle.

6 Examples
X
y
3
1
2
B
6
With
5
AB = C1
C3
4
C4
C2
·
for GIBI:
With
and
B
are named points.
One thus finds in the Aster mesh of
GROUP_NO
names
With
and
B
·
for GIBI:
AB, SQUARES, C1,…, C4
are named mesh.
One thus finds in the Aster mesh of
GROUP_MA
names:
AB, SQUARES, C1,…, C4
Note:
The interface writes only only once possibly identical meshs (what arrives
sometimes with the operator “
AND
“of GIBI). This has as a consequence that the names of the meshs
Mj
can have a “classification with holes”. One should not worry some.
·
The orientation of the meshs is that given by GIBI. This can have importance for some
changes: pressure,…
It is necessary to be conscious owing to the fact that the operators of mesh of GIBI direct the elements (with
rules specified in documentation). Certain elements can “be turned over” by
report/ratio with others. Another command set GIBI could, for example to generate it
mesh:
background image
Code_Aster
®
Version
7.4
Titrate:
Interface file of mesh GIBI with Aster
Date:
26/05/05
Author (S):
COURTEOUS Mr., A.M. DONORE
Key
:
U3.04.01-F
Page
:
5/8
Instruction manual
U3.0- booklet: Mesh HT-66/05/004/A
6.1
Notice concerning control POIN of GIBI
This control can produce results of the different type:
·
if this control makes it possible to recover only one point,
for example:
AP
=
louse
POIN PROC A
;
or
AP
=
louse
INITIAL POIN;
then
AP
is a named point GIBI.
As an Aster, there will have one
GROUP_NO
of name
AP
who contains only one node.
·
if this control makes it possible to recover several points:
for example:
AP
=
louse
RIGHT POIN
With
B
1.0D-2
;
then
AP
is a named mesh GIBI:
This mesh consists of meshs
POI1
.
As an Aster, there will have one
GROUP_MA
of name
AP
who contains several
POI1
. To use this
object as
GROUP_NO
, the key word factor will have to be used
CREA_GROUP_NO
order
DEFI_GROUP
.
6.2
Command file GIBI
OPTI DIME 2 ELEM TRI3;
*
* POINTS NAME:
*
To = 0.0.0.0;
B = 1.0.0.0;
*
* MESH:
*
AB = DROI 2 A B;
SQUARE = AB TRAN 1 (0. 1.);
C1 C2 C3 C4 = DIMENSION SQUARES;
*
TO SAVE FORMAT SQUARES;
END;
*
-------------------------------------------------------------------
background image
Code_Aster
®
Version
7.4
Titrate:
Interface file of mesh GIBI with Aster
Date:
26/05/05
Author (S):
COURTEOUS Mr., A.M. DONORE
Key
:
U3.04.01-F
Page
:
6/8
Instruction manual
U3.0- booklet: Mesh HT-66/05/004/A
6.3
File of result GIBI: (as an indication)
RECORDING OF THE TYPE 4
LEVEL 11 LEVEL ERROR 0 DIMENSION 2
DENSITY 0.00000E+00
RECORDING OF THE TYPE 7
INFORMATION CASTEM2000 8 NUMBERS
IFOUR - 1 NIFOUR 0 IFOMOD - 1 IECHO 1 IIMPI 0 IOSPI 0 ISOTYP 1
NSDPGE 0
RECORDING OF THE TYPE 2
CRUSH NUMBER 1NBRE OBJECTS NAME 6NBRE OBJECTS 5
AB SQUARES C1 C2 C3 C4
2 1 2 3 4 5
4 0 4 3 4
2 3 4 5
0 0 0 0
1 2 3 1 3 4 2 5 3 5
6 3
2 0 0 2 2
0 0
1 2 2 5
2 0 0 2 1
0
5 6
2 0 0 2 2
0 0
6 3 3 4
2 0 0 2 1
0
4 1
RECORDING OF THE TYPE 2
CRUSH NUMBER 32NBRE OBJECTS NAME 2NBRE OBJECTS 6
WITH B
1 5
6
1 3 6 5 2 7
RECORDING OF THE TYPE 2
CRUSH NUMBER 33NBRE OBJECTS NAME 0NBRE OBJECTS 1
21
0.00000000000000E+00 0.00000000000000E+00 0.00000000000000E+00
1.00000000000000E+00 0.00000000000000E+00 0.00000000000000E+00
5.00000000000000E-01 0.00000000000000E+00 5.00000000000000E-01
0.00000000000000E+00 1.00000000000000E+00 0.00000000000000E+00
0.00000000000000E+00 1.00000000000000E+00 0.00000000000000E+00
5.00000000000000E-01 1.00000000000000E+00 5.00000000000000E-01
1.00000000000000E+00 1.00000000000000E+00 0.00000000000000E+00
RECORDING OF THE TYPE 5
AUTOMATIC LABEL: 1
background image
Code_Aster
®
Version
7.4
Titrate:
Interface file of mesh GIBI with Aster
Date:
26/05/05
Author (S):
COURTEOUS Mr., A.M. DONORE
Key
:
U3.04.01-F
Page
:
7/8
Instruction manual
U3.0- booklet: Mesh HT-66/05/004/A
6.4
File of mesh Aster produced by the operator
PRE_GIBI

TITRATE
%
GIBI
FECIT GROUP_NO
FINSF
B
N2
%
FINSF
COOR_2D
%
N1
0.00000000000000E+00 0.00000000000000E+00 GROUP_NO
N2
1.00000000000000E+00
0.00000000000000E+00
With
N1
N3
5.00000000000000E-01 0.00000000000000E+00 FINSF
N4
0.00000000000000E+00 1.00000000000000E+ 00%
N5
0.00000000000000E+00 1.00000000000000E+00 GROUP_MA
N6
5.00000000000000E-01 1.00000000000000E+00
C4
N7
1.00000000000000E+00 1.00000000000000E+00 M10
FINSF
FINSF
%
%
TRIA3
GROUP_MA
M1
N1
N3 N6
C3
M2
N1
N6 N5
M8
M9
M3
N3
N2 N6
FINSF
M4
N2
N7 N6
%
FINSF
GROUP_MA
%
C2
SEG2
M7
M5
N1
N3
FINSF
M6
N3
N2
%
FINSF
GROUP_MA
%
C1
SEG2
M7
N2
N7
M5
M6
FINSF
FINSF
%
%
SEG2
GROUP_MA
M8
N7 N6
SQUARE
M9
N6 N5
M1
M2 M3 M4
FINSF
FINSF
%
%
SEG2
GROUP_MA
M10
N5 N1
AB
FINSF
M5
M6
%
FINSF
%
END
background image
Code_Aster
®
Version
7.4
Titrate:
Interface file of mesh GIBI with Aster
Date:
26/05/05
Author (S):
COURTEOUS Mr., A.M. DONORE
Key
:
U3.04.01-F
Page
:
8/8
Instruction manual
U3.0- booklet: Mesh HT-66/05/004/A

























Intentionally white left page.