## 1.4.4 A complete example

This example consists of studying the thermal behavior of an electric motor and, more precisely, its rotor. It contains symmetries, so that only one part needs to be examined.

The remainder of this section contains:

• a flowchart of the different modules (figure 1.6);
• the central section of the rotor and its different zones (figure 1.7);
• half of one of the conductors (same figure);
• the data "cards", i.e., the data file for module APNOPO;
• the final mesh (figure 1.8).

Figure 1.6: Flowchart

Figure 1.7: Central part and conductor

Figure 1.8: Final mesh

### The data file:

The data file corresponding to module APNOPO is shown below. For a detailed description of how such a file is created, consult the MODULEF User Guide - 1, Part II.

```'MESH EXAMPLE FOR A SNCF-RATP MOTOR                                  '
COURBES
1                                 \$ IMPRE
COURBE01(X,Y)=
(X-.2125037)**2+(Y-.0569402)**2-.026*.026;
FIN
'POINT                                                               '
2    55                            \$ IMPRE NPOINT  \$
\$   NOP   NOREF(NOP)     X(NOP).            Y(NOP).  \$
1       0         0.000000E+00     0.000000E+00
2       0         0.155000E+00     0.000000E+00
3       0         0.154410E+00     0.135091E-01
4       0         0.152645E+00     0.269155E-01
5       0         0.149719E+00     0.401170E-01
6       0         0.145000E+00     0.530000E-01
7       0         0.140000E+00     0.660000E-01
8       0         0.133500E+00     0.775000E-01
9       0         0.126000E+00     0.890000E-01
10       0         0.111850E+00     0.992000E-01
11       0         0.109602E+00     0.109602E+00
12       0         0.270000E+00     0.000000E+00
13       0         0.268973E+00     0.235321E-01
14       0         0.265898E+00     0.468850E-01
15       0         0.260800E+00     0.698811E-01
16       0         0.253500E+00     0.935000E-01
17       0         0.244000E+00     0.115000E+00
18       0         0.233500E+00     0.135000E+00
19       0         0.220000E+00     0.156000E+00
20       0         0.206200E+00     0.173700E+00
21       0         0.190919E+00     0.190919E+00
22       1         0.232500E+00     0.405000E-01
23       1         0.223000E+00     0.330000E-01
24       1         0.211000E+00     0.310000E-01
25       1         0.198500E+00     0.350000E-01
26       1         0.187000E+00     0.501065E-01
27       1         0.237500E+00     0.636379E-01
28       3         0.290000E+00     0.000000E+00
29       3         0.205060E+00     0.205060E+00
30       2         0.420000E+00     -.400000E-02
31       2         0.420000E+00     0.000000E+00
32       0         0.415250E+00     0.000000E+00
33       0         0.415250E+00     -.420000E-02
34       0         0.415250E+00     -.680000E-02
35       0         0.414750E+00     0.000000E+00
36       0         0.414750E+00     -.420000E-02
37       0         0.413960E+00     0.000000E+00
38       0         0.413860E+00     -.341000E-02
39       0         0.409000E+00     -.341000E-02
40       0         0.409000E+00     -.420000E-02
41       0         0.406750E+00     0.000000E+00
42       0         0.404540E+00     -.341000E-02
43       0         0.404540E+00     -.420000E-02
44       0         0.399540E+00     0.000000E+00
45       0         0.399540E+00     -.341000E-02
46       0         0.398750E+00     -.420000E-02
47       0         0.398750E+00     0.000000E+00
48       2         0.419234E+00     -.253590E-01
49       3         0.289471E+00     -.175098E-01
50       0         0.398250E+00     -.420000E-02
51       0         0.392500E+00     -.420000E-02
52       0         0.388040E+00     -.420000E-02
53       0         0.382250E+00     -.420000E-02
54       0         0.382250E+00     0.000000E+00
55       0         0.360000E+00     -.217760E-01
'LIGNES                                                              '
2    27                            \$ IMPRE  NDLM   \$
\$   NOLIG NOELIG NEXTR1 NEXTR2 NOREFL NFFRON       RAISON \$
1      6      1      2      0      0     0.800000E+00
2      6      1     11      0      0     0.800000E+00
3     10      2     11      0     -2     0.100000E+01
4     10      3     13      0      0     0.100000E+01
5      2     14     13      0     -2     0.100000E+01
6      4     14     22      0      0     0.100000E+01
7      4     22     25      1     -1     0.100000E+01
23                                  \$ NOEL
24                                  \$ NOEL
8      4      4     25      0      0     0.900000E+00
9      2      3      4      0      0     0.100000E+01
10      2      4      5      0      0     0.100000E+01
11      3      5     26      0      0     0.900000E+00
12      3     26     25      1      1     0.100000E+01
13      3     22     27      1      1     0.100000E+01
14      3     15     27      0      0     0.100000E+01
15      2     14     15      0      0     0.100000E+01
16     10     12     21      0     -2     0.100000E+01
17      2     12     28      0      0     0.100000E+01
18      2     21     29      0      0     0.100000E+01
19     14     28     29      3     -2     0.100000E+01
20      6     49     55      0      0     0.110000E+01
21      4     48     30      2     -2     0.100000E+01
22      9     30     53      0     -1     0.100000E+01
34                                  \$ NOEL
33                                  \$ NOEL
40                                  \$ NOEL
43                                  \$ NOEL
46                                  \$ NOEL
51                                  \$ NOEL
52                                  \$ NOEL
23      7     28     54      0      0     0.900000E+00
24      2     28     49      3      0     0.100000E+01
25      9     48     55      0      0     0.100000E+01
26      4     53     55      0      0     0.100000E+01
27      2     53     54      0      0     0.100000E+01
'TRIH                                                                '
2     0     2     6     1          \$ IMPRE LEVEL NUDSD NBRELI NS1L
\$ LIST OF THE CONTOUR LINES :
4     5     6     7     8     9
1     0     1                      \$ NCOMP NBRINT IOPT \$
6                                  \$ COMPONENT \$
'TRIH                                                                '
1     1     2     4     1          \$ IMPRE LEVEL NUDSD NBRELI NS1L
\$ LIST OF THE CONTOUR LINES :
8    12    11    10
1     0     1                      \$ NCOMP NBRINT IOPT \$
4                                  \$ COMPONENT \$
'TRIH                                                                '
1     2     2     4    -1          \$ IMPRE LEVEL NUDSD NBRELI NS1L
\$ LIST OF THE CONTOUR LINES :
6    15    14    13
1     0     1                      \$ NCOMP NBRINT IOPT \$
-4                                  \$ COMPONENT \$
'RECOL                                                               '
1    0    1    3  0.10000E-02    0  \$ IMP NIV1 NIV2 NIV3 EPS IOPT
0     0                            \$ NBNNF NBNNSD
'RECO                                                                '
1    3    2    4  0.10000E-02    0  \$ IMP NIV1 NIV2 NIV3 EPS IOPT
0     0                            \$ NBNNF NBNNSD
'SYMD                                                                '
1     4     1                      \$ IMPRE LEVEL1 LEVEL2
0     0                            \$ NBNNF NBNNSD
-0.26795E+00  0.10000E+01  0.00000E+00 \$ A. B. C.
'RECO                                                                '
1    4    1    3  0.10000E-02    0  \$ IMP NIV1 NIV2 NIV3 EPS IOPT
0     0                            \$ NBNNF NBNNSD
'ROTA                                                                '
1     3     1                      \$ IMPRE LEVEL1 LEVEL2
0     0                            \$ NBNNF NBNNSD
0.20000E+02  0.00000E+00  0.00000E+00 \$ TETA. X. Y.
'RECO                                                                '
1    3    1    4  0.10000E-02    0  \$ IMP NIV1 NIV2 NIV3 EPS IOPT
0     0                            \$ NBNNF NBNNSD
'SYMD                                                                '
1     0     1                      \$ IMPRE LEVEL1 LEVEL2
0     0                            \$ NBNNF NBNNSD
-0.87488E-01  0.10000E+01  0.00000E+00 \$ A. B. C.
'RECO                                                                '
1    4    1    3  0.10000E-02    0  \$ IMP NIV1 NIV2 NIV3 EPS IOPT
0     0                            \$ NBNNF NBNNSD
'TRIH                                                                '
1     0     1     3     1          \$ IMPRE LEVEL NUDSD NBRELI NS1L
\$ LISTE OF THE CONTOUR LINES :
1     3     2
1     0     1                      \$ NCOMP NBRINT IOPT \$
3                                  \$ COMPONENT \$
'RECO                                                                '
1    0    3    4  0.10000E-02    0  \$ IMP NIV1 NIV2 NIV3 EPS IOPT
0     0                            \$ NBNNF NBNNSD
'TRIH                                                                '
1     0     2     4     1          \$ IMPRE LEVEL NUDSD NBRELI NS1L
\$ LISTE OF THE CONTOUR LINES :
19    18    16    17
1     0     1                      \$ NCOMP NBRINT IOPT \$
4                                  \$ COMPONENT \$
'RECO                                                                '
1    0    4    3  0.10000E-02    0  \$ IMP NIV1 NIV2 NIV3 EPS IOPT
0     0                            \$ NBNNF NBNNSD
'QUAC                                                                '
2     0     2     4     1          \$ IMPRE LEVEL NUDSD NBRELI NS1L
\$ LISTE OF THE CONTOUR LINES :
25    26    22    21
'TRIH                                                                '
1     1     2     5     1          \$ IMPRE LEVEL NUDSD NBRELI NS1L
\$ LISTE OF THE CONTOUR LINES :
20    26    27    23    24
1     0     1                      \$ NCOMP NBRINT IOPT \$
5                                  \$ COMPONENT \$
'RECO                                                                '
1    0    1    4  0.10000E-02    0  \$ IMP NIV1 NIV2 NIV3 EPS IOPT
0     0                            \$ NBNNF NBNNSD
'MANU                                                                '
1     1     3                      \$ IMPRE LEVEL NE
3     3    34    30    33          \$ TYPE NUDSD NS1 NS2 NS3
0     0     0                      \$ NFA1 NFA2 NFA3
3     3    33    30    32          \$ TYPE NUDSD NS1 NS2 NS3
0     0     0                      \$ NFA1 NFA2 NFA3
3     3    30    31    32          \$ TYPE NUDSD NS1 NS2 NS3
2     0     0                      \$ NFA1 NFA2 NFA3
'RECO                                                                '
1    4    1    5  0.10000E-02    0  \$ IMP NIV1 NIV2 NIV3 EPS IOPT
0     0                            \$ NBNNF NBNNSD
'MANU                                                                '
1     2    15                      \$ IMPRE LEVEL NE
3     5    33    32    38          \$ TYPE NUDSD NS1 NS2 NS3
0     0     0                      \$ NFA1 NFA2 NFA3
3     5    38    32    37          \$ TYPE NUDSD NS1 NS2 NS3
0     0     0                      \$ NFA1 NFA2 NFA3
3     5    40    33    38          \$ TYPE NUDSD NS1 NS2 NS3
0     0     0                      \$ NFA1 NFA2 NFA3
3     5    40    38    39          \$ TYPE NUDSD NS1 NS2 NS3
0     0     0                      \$ NFA1 NFA2 NFA3
3     6    39    38    37          \$ TYPE NUDSD NS1 NS2 NS3
0     0     0                      \$ NFA1 NFA2 NFA3
3     5    43    40    39          \$ TYPE NUDSD NS1 NS2 NS3
0     0     0                      \$ NFA1 NFA2 NFA3
3     5    43    39    42          \$ TYPE NUDSD NS1 NS2 NS3
0     0     0                      \$ NFA1 NFA2 NFA3
3     6    39    37    41          \$ TYPE NUDSD NS1 NS2 NS3
0     0     0                      \$ NFA1 NFA2 NFA3
3     6    42    39    41          \$ TYPE NUDSD NS1 NS2 NS3
0     0     0                      \$ NFA1 NFA2 NFA3
3     5    46    43    45          \$ TYPE NUDSD NS1 NS2 NS3
0     0     0                      \$ NFA1 NFA2 NFA3
3     5    45    43    42          \$ TYPE NUDSD NS1 NS2 NS3
0     0     0                      \$ NFA1 NFA2 NFA3
3     6    45    42    44          \$ TYPE NUDSD NS1 NS2 NS3
0     0     0                      \$ NFA1 NFA2 NFA3
3     6    42    41    44          \$ TYPE NUDSD NS1 NS2 NS3
0     0     0                      \$ NFA1 NFA2 NFA3
3     5    46    45    47          \$ TYPE NUDSD NS1 NS2 NS3
0     0     0                      \$ NFA1 NFA2 NFA3
3     5    45    44    47          \$ TYPE NUDSD NS1 NS2 NS3
0     0     0                      \$ NFA1 NFA2 NFA3
'TRAN                                                                '
1     2     0                      \$ IMPRE LEVEL1 LEVEL2
0     0                            \$ NBNNF NBNNSD
-0.16500E-01  0.00000E+00              \$  X. Y.
'RECO                                                                '
1    5    2    4  0.10000E-02    0  \$ IMP NIV1 NIV2 NIV3 EPS IOPT
0     0                            \$ NBNNF NBNNSD
'RECO                                                                '
1    4    0    2  0.10000E-02    0  \$ IMP NIV1 NIV2 NIV3 EPS IOPT
0     0                            \$ NBNNF NBNNSD
'SYMD                                                                '
1     2     0                      \$ IMPRE LEVEL1 LEVEL2
0     0                            \$ NBNNF NBNNSD
0.00000E+00  0.10000E+01  0.00000E+00 \$ A. B. C.
'RECO                                                                '
1    0    2    1  0.10000E-02    0  \$ IMP NIV1 NIV2 NIV3 EPS IOPT
0     0                            \$ NBNNF NBNNSD
'ROTA                                                                '
1     1     2                      \$ IMPRE LEVEL1 LEVEL2
0     0                            \$ NBNNF NBNNSD
0.69230E+01  0.00000E+00  0.00000E+00 \$ TETA. X. Y.
'ROTA                                                                '
1     1     4                      \$ IMPRE LEVEL1 LEVEL2
0     0                            \$ NBNNF NBNNSD
0.13846E+02  0.00000E+00  0.00000E+00 \$ TETA. X. Y.
'RECO                                                                '
1    4    2    5  0.10000E-02    0  \$ IMP NIV1 NIV2 NIV3 EPS IOPT
0     0                            \$ NBNNF NBNNSD
'ROTA                                                                '
1     5     1                      \$ IMPRE LEVEL1 LEVEL2
0     0                            \$ NBNNF NBNNSD
0.13846E+02  0.00000E+00  0.00000E+00 \$ TETA. X. Y.
'RECO                                                                '
1    1    5    4  0.10000E-02    0  \$ IMP NIV1 NIV2 NIV3 EPS IOPT
0     0                            \$ NBNNF NBNNSD
'ROTA                                                                '
1     1     2                      \$ IMPRE LEVEL1 LEVEL2
0     0                            \$ NBNNF NBNNSD
0.13846E+02  0.00000E+00  0.00000E+00 \$ TETA. X. Y.
'RECO                                                                '
1    2    4    5  0.10000E-02    0  \$ IMP NIV1 NIV2 NIV3 EPS IOPT
0     0                            \$ NBNNF NBNNSD
'RECO                                                                '
1    0    5    2  0.10000E-02   0  \$ IMP NIV1 NIV2 NIV3 EPS IOPT
0     0                            \$ NBNNF NBNNSD
'RECO                                                                '
1    3    2    5  0.10000E-02    0  \$ IMP NIV1 NIV2 NIV3 EPS IOPT
0     0                            \$ NBNNF NBNNSD
'TUER                                                                '
1     1                            \$ IMPRE  NBRE DE SD NOPO TO KILL
0                                  \$ LEVEL
'TUER                                                                '
1     1                            \$ IMPRE  NBRE DE SD NOPO TO KILL
1                                  \$ LEVEL
'TUER                                                                '
1     1                            \$ IMPRE  NBRE DE SD NOPO TO KILL
2                                  \$ LEVEL
'TUER                                                                '
0     1                            \$ IMPRE  NBRE DE SD NOPO TO KILL
3                                  \$ LEVEL
'TUER                                                                '
0     1                            \$ IMPRE  NBRE DE SD NOPO TO KILL
4                                  \$ LEVEL
'SAUVER                                                              '
2     5     0                      \$ IMPRE NINOPO NTNOPO
MAILLAGE.INTER                         \$ FILE NAME
'END                                                                 '
```

Next: 1.4.5 Abbreviated list of the keywords Up: 1.4 The module APNOPO Prev: 1.4.3 Implementation Index Contents