6. Examples#

_images/10000A2200001C870000128083DE1C56A26A33E8.svg
  • for GIBI: \(A\) and \(B\) are named points.

So, in the Aster mesh, we find GROUP_NO with names \(A\) and \(B\)

  • for GIBI: \(\mathit{AB}\), \(\mathit{CARRE}\), \(\mathit{C1}\),…, \(\mathit{C4}\) are named meshes.

We therefore find in the Aster mesh some GROUP_MA of names: \(\mathit{AB}\), \(\mathit{CARRE}\), \(\mathit{C1}\),…, \(\mathit{C4}\)

Note:

The interface only writes possibly identical meshes once (which sometimes happens with the « AND » operator in GIBI). This means that the names of the meshes \({M}_{j}\) may have a « hole numbering ». There is no need to worry about it.

  • The orientation of the meshes is that given by GIBI. This may be important for certain changes: pressure,…

You should be aware of the fact that the mesh operators in GIBI orient the elements (with rules specified in the documentation). Some items may be « returned » compared to others. Another command set GIBI could, for example, have generated the mesh:

_images/100009E800000F9B00000F175E06B4ABDAC750C3.svg

6.1. Note about order POIN from GIBI#

This command may produce results of different types:

  • if this order allows you to recover a single point,

for example:

PA = toto POIN PROC A;

or

PA = toto POIN INITIAL;

so \(\mathit{PA}\) is a GIBI point named.

For*Aster*, we will have a GROUP_NO with the name \(\mathit{PA}\) that contains only one node.

  • if this command allows you to recover several points:

for example:

PA = toto POIN DROIT A B 1.0D-2;

so \(\mathit{PA}\) is a GIBI mesh named:

This mesh consists of POI1 meshes.

For*Aster*, we will have a GROUP_MA with the name \(\mathit{PA}\) that contains several POI1. To use this object as GROUP_NO, you’ll need to use the CREA_GROUP_NO keyword factor from the DEFI_GROUP command.

6.2. Command file GIBI#

OPTI DIME 2 ELEM TRI3;

*

* POINTS NOMMES:

*

A = 0.0 0.0;

B = 1.0 0.0;

*

* MAILLAGES:

*

AB = DROI 2 A B;

CARRE = AB TRAN 1 (0. 1. );

C1 C2 C3 C4 = COTE CARRE;

*

SAUVER FORMAT CARRE;

FIN;

*

--------------------------------------------------------

6.3. Result file GIBI: (for information only)#

ENREGISTREMENT OF TYPE 4

NIVEAU 11 NIVEAU ERREUR 0 DIMENSION 2

DENSITE 0.00000E+00

ENREGISTREMENT OF TYPE 7

NOMBRE INFO CASTEM2000 8

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

NSDPGE 0

ENREGISTREMENT OF TYPE 2

PILE NUMERO 1 NBRE OBJETS NOMMES 6 NBRE OBJETS 5

AB CARRE 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

ENREGISTREMENT OF TYPE 2

PILE NUMERO 32 NBRE OBJETS NOMMES 2 NBRE OBJETS 6

A B

1 5

6

1 3 6 5 2 7

ENREGISTREMENT OF TYPE 2

PILE NUMERO 33 NBRE OBJETS NOMMES 0 NBRE OBJETS 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

ENREGISTREMENT OF TYPE 5

LABEL AUTOMATIQUE: 1

6.4. Aster mesh file produced by operator PRE_GIBI#

_images/100018960000360E00002EB72AEDF64D9728BE94.svg