1. Mesh file#

1.1. Example used#

The description of the mesh file produced by GIBI is based on the following example:

opti dime 2 elem qua4;

pa = 0 0; lb = 1 0; liab = 3 lb;

su = liab trans (20 1);

ens= liab and su;

opt except for 'mon.fic' format;

except format: liab ens;

fine;

In the result file, comments are inserted to explain what the lines in the file just after contain.

1.2. Description of each line#

Start of the “mon.fic” file

First packet whose number of lines does not vary. There are general guidelines.

ENREGISTREMENT OF TYPE 4

NIVEAU 11 NIVEAU ERREUR 0 DIMENSION 2

DENSITE .00000E+00

ENREGISTREMENT OF TYPE 7

NOMBRE INFO CASTEM2000 8

IFOUR -1 NIFOUR 0 IFOMOD 0 -1 IECHO 1 IIMPI 0 IOSPI 0 ISOTYP 1

NSDPGE 0

Second package that defines all the stacks (one stack per object type and some more stacks).

A type 2 record warns of the writing of a new stack, a type 5 record warns of the end.

ENREGISTREMENT OF TYPE 2

PILE NUMERO 1 NBRE OBJETS NOMMES 3 NBRE OBJETS 6

Stack number 1 is that of mesh-type objects. The next line gives the names of the saved mesh objects.

LIAB SU ENS

The next line gives the order numbers, in the stack, of the named objects mentioned above. In our case LIAB is the first, SU is the third, and ENS is the second.

(valid for all rows that follow until the next pile)

1 3 2

Go to the description of the objects one after the other.

Description of the first object:

The first record for each object is composed of 5 numbers representing:

ITYPEL: element type 1=point, 2=segment with two nodes?

NBSOUS: number of subparts in this object, one subpart per type of element composing it.

NBREF: number of sub-references. A reference is for example the outline

NBNOEL: number of nodes per element

NBEL: number of elements

If ITYPEL =0 then NBSOUS is not equal to zero. In this case we will read the list of positions, in the object stack, of the subparts that make it up.

If NBSOUS =0, NBNOEL and NBEL are different from zero, we find, if necessary, the list of references, the color numbers and then the connectivities.

Here 3 elements with 2 nodes, segment with 2 nodes

2 0 0 2 3

Like NBREF =0 we go to the record giving the color number of the elements.

0 0 0

Connectivity chart. Description of the first element then of the second…

ATTENTION this is not the true numbering, it must be passed through the filter in the last table of the number 32 stack. So element 1 is composed of nodes 1 and 3, element 2 is composed of 3 and 4 and element 3 is formed of nodes 4 and 2.

1 2 2 3 3 4

Description of the second mesh object

ITYPEL =0 so complex mesh composed of 2 sub-parts

0 2 0 0 0

These subparts are represented by mesh objects 1 and 3 in this stack.

1 3

Description of the third object in the pile

ITYPEL =8 NBSOUS =0 so a mesh of 6 elements with 4 nodes. There are 4 references (here the sides of the SU rectangle).

8 0 4 4 6

The following is the list of mesh objects representing the references.

1 4 5 6

Next is the list of color numbers

0 0 0 0 0 0

Next is the list of connectivities (node numbers per element) do not forget to pass it to the filter in the last list in stack 32.

1 2 5 6 6 2 2 3 7 5 3 4

8 7 6 5 5 5 6 5 6 5 6 5 5 9

7 8 12 11

Description of the fourth object: It is the second reference of the third object in the stack

2 0 0 2 2

0 0

4 8 8 12

Fifth object

2 0 0 2 3

0 0 0

12 11 11 9 9 10

Sixth object

2 0 0 2 2

0 0

10 6 6 1

End of pile number 1 and start of pile 32 (the pile of points)

ENREGISTREMENT OF TYPE 2

PILE NUMERO 32 NBRE OBJETS NOMMES 2 NBRE OBJETS 12

List of point names

PA PB

This is the list of the numbers of the points named PA = 1 PB = 4

1 4

Follow the number of nodes

12

The following table gives the filter to get the true number of the nodes belonging to the elements described. For example, if an element, described in stack 1, refers to a node number equal to 5, it should be set equal to 12.

1 3 4 2 2 12 12 10 13 11 7 6

8 9

End of stack 32, start of stack 33 (that of the configurations (coordinates))

ENREGISTREMENT OF TYPE 2

PILE NUMERO 33 NBRE OBJETS NOMMES 0 NBRE OBJETS 1

Follows the number of points whose coordinates are given

39

Coordinates are given by nodes. First the first then the second…

For each node, we give the 2 or 3 coordinates plus the current density at the time of its creation so here 3 values per node.

0.00000000000000E+00 0.00000000000000E+00 0.00000000000000E+00

1.00000000000000E+00 0.00000000000000E+00 0.00000000000000E+00

3.33333333333333E-01 0.00000000000000E+00 3.333333333333333333E-01

6.66666666666667E-01 0.00000000000000E+00 3.333333333333333333E-01

0.00000000000000E+00 1.00000000000000E+00 0.00000000000000E+00

0.00000000000000E+00 1.00000000000000E+00 0.00000000000000E+00

3.3333333333333333E-01 1.00000000000000E+00 3.333333333333333333E-01

6.66666666666667E-01 1.00000000000000E+00 3.33333333333333333333E-01

1.00000000000000E+00 1.00000000000000E+00 0.00000000000000E+00

0.00000000000000E+00 5.00000000000000E-01 5.00000000000000E-01

1.00000000000000E+00 5.00000000000000E-01 5.00000000000000E-01

3.3333333333333333E-01 5.00000000000000E-01 5.00000000000000E-01

6.66666666666667E-01 5.00000000000000E-01 5.00000000000000E-01

ENREGISTREMENT OF TYPE 5

LABEL AUTOMATIQUE: 1

End of file.