A base of 25 test cases ensures the proper functioning of « Bloc Fissure ». 12 cases are dedicated to cracked bended pipes and the others 13 are for other generic geometries. They are shown here in order to illustrate cases on which « Bloc Fissure » works.
All 13 cases are shown Table 2. Two views show the whole cracked structure and a zoom onto the crack with its tore.
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.
View of the external crack of test_coude_0 | |
Bended pipe test case coude_0 with an external crack | View of the internal crack of test_coude_3 |
« Bloc Fissure » is very efficient for the case of bended pipes. The generation of the geometry and the crack insertion takes only around 15s.
In SALOME interface:
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:
from blocFissure.materielCasTests import genereMateriel
Then the user can either launch all test cases, several at once or just one :
To execute all test cases:
from blocFissure.CasTests import execution_Cas
To execute only selected test cases:
modify execution_Cas.py file and change:
runall = False. #old : True
And change from 0 to 1 of the number of the test you want to launch:
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,]
then launch the test cases:
from blocFissure.CasTests import execution_Cas
To execute only one test case:
from blocFissure.CasTests.[TEST_CASE_NAME] import [TEST_CASE_NAME]
[TEST_CASE_NAME](0).executeProbleme()
[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.
faceGauche | cylindre_2 | disquePerce | fissureCoude_3 | fissureCoude_6 |
faceGauche_2 | eprouvetteCourbe | vis_1 | fissureCoude_4 | fissureCoude_7 |
ellipse_1 | eprouvetteDroite | fissureCoude | fissure_Coude_4 | fissureCoude_8 |
ellipse_2 | cubeAngle | fissureCoude_1 | fissureCoude_5 | fissureCoude_9 |
cylindre | cubeAngle2 | fissureCoude_2 | fissureCoude_5 | fissureCoude_10 |