3 #######################
\r
5 #######################
\r
7 A base of 25 test cases ensures the proper functioning of « Bloc Fissure ». 12 cases are dedicated to :ref:`cracked bended pipes <pipeTC>` and the others 13 are for other :ref:`generic geometries <genericTC>`. They are shown here in order to illustrate cases on which « Bloc Fissure » works.
\r
12 ===============================
\r
14 All 13 cases are shown Table 2. Two views show the whole cracked structure and a zoom onto the crack with its tore.
\r
16 +-------------------------------------------+----------------------------------------------+
\r
18 +-------------------------------------------+----------------------------------------------+
\r
19 |.. image:: images/01_CubeAngle.png | .. image:: images/01_CubeAngle_2.png |
\r
20 | :height: 300 | :height: 300 |
\r
21 | :align: center | :align: center |
\r
22 +-------------------------------------------+----------------------------------------------+
\r
24 +-------------------------------------------+----------------------------------------------+
\r
25 |.. image:: images/02_CubeAngle2.png | .. image:: images/02_CubeAngle2_2.png |
\r
26 | :height: 300 | :height: 300 |
\r
27 | :align: center | :align: center |
\r
28 +-------------------------------------------+----------------------------------------------+
\r
30 +-------------------------------------------+----------------------------------------------+
\r
31 |.. image:: images/03_cylindre.png | .. image:: images/03_cylindre_2.png |
\r
32 | :height: 300 | :height: 300 |
\r
33 | :align: center | :align: center |
\r
34 +-------------------------------------------+----------------------------------------------+
\r
36 +-------------------------------------------+----------------------------------------------+
\r
37 |.. image:: images/04_cylindre2.png | .. image:: images/04_cylindre2_2.png |
\r
38 | :height: 300 | :height: 300 |
\r
39 | :align: center | :align: center |
\r
40 +-------------------------------------------+----------------------------------------------+
\r
42 +-------------------------------------------+----------------------------------------------+
\r
43 |.. image:: images/05_disque.png | .. image:: images/05_disque_2.png |
\r
44 | :height: 300 | :height: 300 |
\r
45 | :align: center | :align: center |
\r
46 +-------------------------------------------+----------------------------------------------+
\r
48 +-------------------------------------------+----------------------------------------------+
\r
49 |.. image:: images/06_ellipse1.png | .. image:: images/06_ellipse1_2.png |
\r
50 | :height: 300 | :height: 300 |
\r
51 | :align: center | :align: center |
\r
52 +-------------------------------------------+----------------------------------------------+
\r
53 | ellipse2 (tilted crack) |
\r
54 +-------------------------------------------+----------------------------------------------+
\r
55 |.. image:: images/07_ellipse2.png | .. image:: images/07_ellipse2_2.png |
\r
56 | :height: 300 | :height: 300 |
\r
57 | :align: center | :align: center |
\r
58 +-------------------------------------------+----------------------------------------------+
\r
59 | eprouvetteCourbe |
\r
60 +-------------------------------------------+----------------------------------------------+
\r
61 |.. image:: images/08_eprouvetteCourbe.png | .. image:: images/08_eprouvetteCourbe_2.png |
\r
62 | :height: 300 | :height: 300 |
\r
63 | :align: center | :align: center |
\r
64 +-------------------------------------------+----------------------------------------------+
\r
65 | eprouvetteDroite |
\r
66 +-------------------------------------------+----------------------------------------------+
\r
67 |.. image:: images/09_eprouvetteDroite.png | .. image:: images/09_eprouvetteDroite_2.png |
\r
68 | :height: 300 | :height: 300 |
\r
69 | :align: center | :align: center |
\r
70 +-------------------------------------------+----------------------------------------------+
\r
71 | eprouvetteDroite2 |
\r
72 +-------------------------------------------+----------------------------------------------+
\r
73 |.. image:: images/10_eprouvetteDroite2.png | .. image:: images/10_eprouvetteDroite2_2.png |
\r
74 | :height: 300 | :height: 300 |
\r
75 | :align: center | :align: center |
\r
76 +-------------------------------------------+----------------------------------------------+
\r
78 +-------------------------------------------+----------------------------------------------+
\r
79 |.. image:: images/11_faceGauche.png | .. image:: images/11_faceGauche_2.png |
\r
80 | :height: 300 | :height: 300 |
\r
81 | :align: center | :align: center |
\r
82 +-------------------------------------------+----------------------------------------------+
\r
84 +-------------------------------------------+----------------------------------------------+
\r
85 |.. image:: images/12_faceGauche2.png | .. image:: images/12_faceGauche2_2.png |
\r
86 | :height: 300 | :height: 300 |
\r
87 | :align: center | :align: center |
\r
88 +-------------------------------------------+----------------------------------------------+
\r
89 | vis (Crack is in the radius filet between the screw head and the screw shank) |
\r
90 +-------------------------------------------+----------------------------------------------+
\r
91 |.. image:: images/13_vis_1.png | .. image:: images/13_vis_1_2.png |
\r
92 | :width: 400 | :width: 400 |
\r
93 | :align: center | :align: center |
\r
94 +-------------------------------------------+----------------------------------------------+
\r
98 Cracked bended pipes
\r
99 =====================================
\r
101 All 12 bended pipe test cases are not shown here because they are relatively similars with each others. Only test case cas coude_0 et coude_3 are presented, those two tests being based on the same geometry and having a crack on the internal and on the external surface.
\r
103 +--------------------------------+----------------------------------------------+
\r
104 | .. image:: images/coude_0.png | .. image:: images/coude_0_2.png |
\r
105 | :height: 500 | :width: 500 |
\r
106 | :align: center | :align: center |
\r
107 | +----------------------------------------------+
\r
108 | | View of the external crack of test_coude_0 |
\r
109 | +----------------------------------------------+
\r
110 | | .. image:: images/coude_3.png |
\r
112 | | :align: center |
\r
113 +--------------------------------+----------------------------------------------+
\r
114 | Bended pipe test case coude_0 | View of the internal crack of test_coude_3 |
\r
115 | with an external crack | |
\r
116 +--------------------------------+----------------------------------------------+
\r
118 « Bloc Fissure » is very efficient for the case of bended pipes. The generation of the geometry and the crack insertion takes only around 15s.
\r
121 =====================================
\r
123 In SALOME interface:
\r
125 0) **Generate med and breps files.** Once the files are generated, they are saved in SALOME source files. There is no need to generate them again::
\r
127 from blocFissure.materielCasTests import genereMateriel
\r
129 Then the user can either launch all test cases, several at once or just one :
\r
131 1) **To execute all test cases**::
\r
133 from blocFissure.CasTests import execution_Cas
\r
135 2) **To execute only selected test cases**:
\r
137 modify execution_Cas.py file and change::
\r
139 runall = False. #old : True
\r
141 And change from 0 to 1 of the number of the test you want to launch::
\r
143 torun = [ 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,]
\r
145 then launch the test cases::
\r
147 from blocFissure.CasTests import execution_Cas
\r
149 3) **To execute only one test case**::
\r
151 from blocFissure.CasTests.[TEST_CASE_NAME] import [TEST_CASE_NAME]
\r
153 [TEST_CASE_NAME](0).executeProbleme()
\r
155 [TEST_CASE_NAME] is the name of the test case in the following list. Note that the test cases fissureCoude_4 and fissure_Coude_4 are very similar.
\r
157 +--------------------+--------------------+--------------------+-----------------+-----------------+
\r
158 | faceGauche | cylindre_2 | disquePerce | fissureCoude_3 | fissureCoude_6 |
\r
159 +--------------------+--------------------+--------------------+-----------------+-----------------+
\r
160 | faceGauche_2 | eprouvetteCourbe | vis_1 | fissureCoude_4 | fissureCoude_7 |
\r
161 +--------------------+--------------------+--------------------+-----------------+-----------------+
\r
162 | ellipse_1 | eprouvetteDroite | fissureCoude | fissure_Coude_4 | fissureCoude_8 |
\r
163 +--------------------+--------------------+--------------------+-----------------+-----------------+
\r
164 | ellipse_2 | cubeAngle | fissureCoude_1 | fissureCoude_5 | fissureCoude_9 |
\r
165 +--------------------+--------------------+--------------------+-----------------+-----------------+
\r
166 | cylindre | cubeAngle2 | fissureCoude_2 | fissureCoude_5 | fissureCoude_10 |
\r
167 +--------------------+--------------------+--------------------+-----------------+-----------------+
\r