## 5.3.2 Construction of a three-dimensional mesh

The data file of MA23XX is given below showing the geometry definition part which is the same as for the different sections seen previously.

```     10                                  \$ IMPRE
rocket2d.nopo\$ NOMF2D
rocket3d.nopo\$ NOMF3D
\$ ===  DEFINITION OF THE FUNCTION  ===
BASE      0.0000000E+00                          \$ THE BASIS
TRAN
2                                            \$ TOP SECTION
0.0000000E+00  0.0000000E+00  0.2500000E+01     \$ TRANSLATION VECTOR
INTERPOLE
4                                            \$ TOP SECTION
1                                            \$ VIA FUNCTION PARSER
X02(N,X,Y)=
X/2.;
Y02(N,X,Y)=
Y/2.;
Z02(N,X,Y)=
10.;
FIN
DILA
5                                            \$ TOP SECTION
0.2000000E+01  0.2000000E+01  0.200000E+01      \$ DILATATION COEF
0.0000000E+00  0.0000000E+00  0.6000000E+01     \$ THE FIXED POINT
TRAN
9                                            \$ TOP SECTION
0.0000000E+00  0.0000000E+00  0.4000000E+01     \$ TRANSLATION VECTOR
COMBINE
ROTA
0.5000000E+01                                   \$ ANGLE OF ROTATION
0.0000000E+00  0.0000000E+00  0.0000000E+00     \$ A POINT ON THE AXIS
0.0000000E+00  0.0000000E+00  0.1000000E+01     \$ ROTATIONAL AXIS
TABLEAU  23
MANU  10 12   \$ MANUAL ADDRESSING IN ARRAY ZINT
31.00000
33.00000
34.00000
MINTERPOLE
12                                            \$ TOP SECTION
1                                            \$ VIA FUNCTION PARSER
X05(N,X,Y)=
X/3.;
Y05(N,X,Y)=
Y/3.;
Z05(N,X,Y)=
34.;
FIN
XYZ23
16                                            \$ TOP SECTION
1                                            \$ VIA FUNCTION PARSER
X06(N,X,Y)=
X/3.;
Y06(N,X,Y)=
Y/3.;
Z06(N,X,Y)=
N+22.;
FIN
DILA
17                                            \$ TOP SECTION
0.1500000E+01  0.1500000E+01  0.1300000E+01     \$ DILATATION COEF
0.0000000E+00  0.0000000E+00  0.3100000E+02     \$ THE FIXED POINT
XYZ33
20                                            \$ TOP SECTION
1                                            \$ VIA FUNCTION PARSER
X08(X,Y,Z)=
X;
Y08(X,Y,Z)=
Y;
Z08(X,Y,Z)=
Z+1.5;
FIN
DILA
22                                            \$ TOP SECTION
0.5000000E+00  0.5000000E+00 0.09000E+01        \$ DILATATION COEF
0.0000000E+00  0.0000000E+00  0.6000000E+02     \$ THE FIXED POINT
FIN
\$ END OF THE FUNCTION DEFINITION
\$ ===========  THE OPTIONS  =========
.....
.....
GO
```

The data file (continued) of MA23XX is given below showing the definition of the attributes part:

``` .....
.....
\$ ===========  THE OPTIONS  =========
\$ ===  DESCRIPTION OF THE REFERENCES ===
REF
SDSD     0    22     1     1           \$ TYPE : FROM .. TO .. , .. 2D GIVES .. 3D
ARFA     0     5     2     1           \$ TYPE : FROM .. TO .. , .. 2D GIVES .. 3D
ARFA     5    22     2     2           \$ TYPE : FROM .. TO .. , .. 2D GIVES .. 3D
ARFA     0    22     1     5           \$ TYPE : FROM .. TO .. , .. 2D GIVES .. 3D
FAIN     3                             \$ TYPE : NUMBER ASSIGNED
FASU     4                             \$ TYPE : NUMBER ASSIGNED
F
\$ END OF THE REFERENCE DESCRIPTION
\$ =======  CALLING THE MESH GENERATOR  =======
GO
```

Thanks to this data the following assignments have been made:

• the sub-domain is set to 1 throughout;
• for sections 0 to 5, the reference of the 2D edges with number 2 becomes the reference of the 3D faces with number 1;
• for sections 5 to 22, the reference of the 2D edges with number 2 becomes the reference of the 3D faces with number 2;
• for sections 0 to 22, the reference of the 2D edges with number 1 becomes the reference of the 3D faces with number 5;
• the face at the top is set to 4;
• the face at the bottom is set to 3;

Figure 5.6 shows the final mesh, figure 5.7 indicates the reference numbers attributed to the items of this mesh (we clearly see numbers 1, 2 and 3, number 4 is assigned to the top of the object, number 5 to the items of the interior hole).

fusee3d.psfig:fusee3The final 3D mesh, geometryfusee4d.psfig:fusee4The final 3D mesh, attributes

Lastly, to complete this example, the listing obtained during execution is given below:

``` &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
CALLING THE 3D MESH GENERATOR BY STACKING 2D LAYERS
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&

-- CREATE THE DATA  =-=  EXECUTE MODULE (DATA EXISTING)  =-=  END  =-=  ?
-                     -                                    -

E
NAME OF COMMAND FILE TO EXECUTE ?
rocket3d.data
++ OPEN(11,FILE='rocket2d.nopo',SPEC='OLD,UNFORMATTED',RECL=0)
++ OPEN(12,FILE='rocket3d.nopo',SPEC='UNFORMATTED',RECL=0)
2D I.D.S NOPO     : rocket2d.nopo
3D O.D.S. NOPO    : rocket3d.nopo
NUMBER OF LAYERS  :     22
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
MODULE MA2D3E :
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&

HEIGHT OF THE BOTTOM BASIS :   0.0000000E+00

NUMBER OF GEOMETRIC TRANSFORMATIONS :      9
LIST OF TRANSFORMATIONS :
SECTION      0 TO      2 TYPE OF TRANSFORMATION     -1
SECTION      3 TO      4 TYPE OF TRANSFORMATION      5
SECTION      5 TO      5 TYPE OF TRANSFORMATION     -1
SECTION      6 TO      9 TYPE OF TRANSFORMATION     -1
SECTION     10 TO     12 TYPE OF TRANSFORMATION      6
SECTION     13 TO     16 TYPE OF TRANSFORMATION      2
SECTION     17 TO     17 TYPE OF TRANSFORMATION     -1
SECTION     18 TO     20 TYPE OF TRANSFORMATION      3
SECTION     21 TO     22 TYPE OF TRANSFORMATION     -1

NUMBER OF NUMBER TRANSFERS           :      6
LIST OF TRANSFERS      :
SECTION      0 TO     22 TYPE OF TRANSFER           1 :      1 GIVES      1
SECTION      0 TO      5 TYPE OF TRANSFER           3 :      2 GIVES      1
SECTION      5 TO     22 TYPE OF TRANSFER           3 :      2 GIVES      2
SECTION      0 TO     22 TYPE OF TRANSFER           3 :      1 GIVES      5
SECTION      0 TO      0 TYPE OF TRANSFER           0 :     -1 GIVES      3
SECTION     22 TO     22 TYPE OF TRANSFER           0 :     -1 GIVES      4
>> CONSTRUCTION OF SECTION      1 VIA A MATRIX
>> CONSTRUCTION OF SECTION      2 VIA A MATRIX
>> CONSTRUCTION OF SECTION      3 VIA AUTO INTERPOLATION AND XYZ23 BY FUNCTION PARSER
>> CONSTRUCTION OF SECTION      4 VIA AUTO INTERPOLATION AND XYZ23 BY FUNCTION PARSER
>> CONSTRUCTION OF SECTION      5 VIA A MATRIX
>> CONSTRUCTION OF SECTION      6 VIA A MATRIX
>> CONSTRUCTION OF SECTION      7 VIA A MATRIX
>> CONSTRUCTION OF SECTION      8 VIA A MATRIX
>> CONSTRUCTION OF SECTION      9 VIA A MATRIX
>> CONSTRUCTION OF SECTION     10 VIA MANUAL INTERPOLATION AND XYZ23 BY FUNCTION PARSER
>> CONSTRUCTION OF SECTION     11 VIA MANUAL INTERPOLATION AND XYZ23 BY FUNCTION PARSER
>> CONSTRUCTION OF SECTION     12 VIA MANUAL INTERPOLATION AND XYZ23 BY FUNCTION PARSER
>> CONSTRUCTION OF SECTION     13 VIA XYZ23 BY FUNCTION PARSER
>> CONSTRUCTION OF SECTION     14 VIA XYZ23 BY FUNCTION PARSER
>> CONSTRUCTION OF SECTION     15 VIA XYZ23 BY FUNCTION PARSER
>> CONSTRUCTION OF SECTION     16 VIA XYZ23 BY FUNCTION PARSER
>> CONSTRUCTION OF SECTION     17 VIA A MATRIX
>> CONSTRUCTION OF SECTION     18 VIA XYZ33 BY FUNCTION PARSER
>> CONSTRUCTION OF SECTION     19 VIA XYZ33 BY FUNCTION PARSER
>> CONSTRUCTION OF SECTION     20 VIA XYZ33 BY FUNCTION PARSER
>> CONSTRUCTION OF SECTION     21 VIA A MATRIX
>> CONSTRUCTION OF SECTION     22 VIA A MATRIX

MESH OBTAINED : SAVE THE D.S.

TABLE  N O P 2
--------------
MESH CHARACTERISTICS :

SPACE DIMENSION                        (NDIM ) :      3
MAXIMUM NUMBER OF REFERENCES           (NDSR ) :      5
MAXIMUM NUMBER OF SUB-DOMAINS          (NDSD ) :      1
NODES AND POINTS COINCIDE             (NCOPNP) :      1
NUMBER OF ELEMENTS IN THE MESH         (NE   ) :    792
NUMBER OF HEXAHEDRA                    (NHEX ) :    792
NUMBER OF BOUNDARY ELEMENTS            (NEF  ) :     28
NUMBER OF NODES                        (NOE  ) :   1104
NUMBER OF NODES PER SEGMENT (NO EXTREMITIES)   :      0
TYPE OF COORDINATE VALUES             (NTYCOO) : REEL1MOT
MAX DIFFERENCE +1 BETWEEN 2 NODES OF AN ELEMENT :    78
NUMBER OF COARSEIN ARRAY              (NBEGM ) :      0
NUMBER OF WORDS FOR TABLE NOP5        (LNOP5 ) :  24408
REFERENCE AXIS    X,Y,Z               (NTACOO) :      1

&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
END OF MODULE MA2D3E
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&

-- CREATE THE DATA  =-=  EXECUTE MODULE (DATA EXISTING)  =-=  END  =-=  ?
-                     -                                    -

END
```

Next: References Up: 5.3 A three-dimensional example Prev: 5.3.1 Top-down analysis and mesh of Index Contents