Skip to content

Commit

Permalink
#180 added test for splines (and missing meshes)
Browse files Browse the repository at this point in the history
  • Loading branch information
pou036 committed Sep 11, 2019
1 parent 8c5e057 commit c24ebdd
Show file tree
Hide file tree
Showing 11 changed files with 1,468 additions and 0 deletions.
115 changes: 115 additions & 0 deletions tests/BreakMeshBySidesetGenerator/fractureX.msh
Original file line number Diff line number Diff line change
@@ -0,0 +1,115 @@
$MeshFormat
2.2 0 8
$EndMeshFormat
$PhysicalNames
10
1 5 "ss2"
1 6 "ss3"
1 7 "bottom"
1 8 "top"
1 9 "right"
1 10 "left"
2 1 "blockA"
2 2 "blockB"
2 3 "blockC"
2 4 "blockD"
$EndPhysicalNames
$Nodes
29
1 0 0 0
2 1 0 0
3 1 1 0
4 0 1 0
5 0.5 0.5 0
6 0.3 0 0
7 0.7 1 0
8 0.75 0 0
9 0.25 1 0
10 0 0.7500000000003477 0
11 0 0.5000000000020616 0
12 0 0.2500000000010419 0
13 0.5249999999995445 0 0
14 0.3999999999997372 0.2499999999993431 0
15 0.5999999999999758 0.7499999999999395 0
16 0.375 0.75 0
17 0.6249999999995882 0.2500000000008235 0
18 1 0.2499999999994109 0
19 1 0.4999999999986918 0
20 1 0.7499999999993401 0
21 0.47500000000064 1 0
22 0.2499999999998144 0.4549999999996932 0
23 0.1999999999995926 0.184999999999782 0
24 0.1573932185564783 0.6586067814439295 0
25 0.1564786437112957 0.8317213562888555 0
26 0.7500000000001177 0.544999999999918 0
27 0.8000000000000851 0.8149999999999306 0
28 0.8426067814434417 0.341393218556227 0
29 0.8435213562886059 0.1682786437112923 0
$EndNodes
$Elements
64
1 1 2 10 1 4 10
2 1 2 10 1 10 11
3 1 2 10 1 11 12
4 1 2 10 1 12 1
5 1 2 7 2 1 6
6 1 2 7 3 6 13
7 1 2 7 3 13 8
8 1 2 7 4 8 2
9 1 2 5 5 6 14
10 1 2 5 5 14 5
11 1 2 5 6 5 15
12 1 2 5 6 15 7
13 1 2 6 7 9 16
14 1 2 6 7 16 5
15 1 2 6 8 5 17
16 1 2 6 8 17 8
17 1 2 9 9 2 18
18 1 2 9 9 18 19
19 1 2 9 9 19 20
20 1 2 9 9 20 3
21 1 2 8 10 3 7
22 1 2 8 11 7 21
23 1 2 8 11 21 9
24 1 2 8 12 9 4
25 2 2 1 1 11 12 22
26 2 2 1 1 22 12 23
27 2 2 1 1 5 16 22
28 2 2 1 1 22 16 24
29 2 2 1 1 1 6 23
30 2 2 1 1 12 1 23
31 2 2 1 1 14 5 22
32 2 2 1 1 14 22 23
33 2 2 1 1 16 9 25
34 2 2 1 1 10 11 24
35 2 2 1 1 11 22 24
36 2 2 1 1 4 10 25
37 2 2 1 1 9 4 25
38 2 2 1 1 6 14 23
39 2 2 1 1 24 16 25
40 2 2 1 1 10 24 25
41 2 2 2 2 13 8 17
42 2 2 2 2 13 17 14
43 2 2 2 2 6 13 14
44 2 2 2 2 17 5 14
45 2 2 3 3 19 20 26
46 2 2 3 3 26 20 27
47 2 2 3 3 5 17 26
48 2 2 3 3 26 17 28
49 2 2 3 3 3 7 27
50 2 2 3 3 20 3 27
51 2 2 3 3 15 5 26
52 2 2 3 3 15 26 27
53 2 2 3 3 17 8 29
54 2 2 3 3 18 19 28
55 2 2 3 3 19 26 28
56 2 2 3 3 8 2 29
57 2 2 3 3 2 18 29
58 2 2 3 3 7 15 27
59 2 2 3 3 28 17 29
60 2 2 3 3 18 28 29
61 2 2 4 4 15 7 21
62 2 2 4 4 15 21 16
63 2 2 4 4 16 21 9
64 2 2 4 4 5 15 16
$EndElements
125 changes: 125 additions & 0 deletions tests/BreakMeshBySidesetGenerator/fractureX2.msh
Original file line number Diff line number Diff line change
@@ -0,0 +1,125 @@
$MeshFormat
2.2 0 8
$EndMeshFormat
$PhysicalNames
15
0 11 "X_top_left"
0 12 "X_top_right"
0 13 "X_bottom_left"
0 14 "X_bottom_right"
0 15 "X_centre"
1 5 "ss2"
1 6 "ss3"
1 7 "bottom"
1 8 "top"
1 9 "right"
1 10 "left"
2 1 "blockA"
2 2 "blockB"
2 3 "blockC"
2 4 "blockD"
$EndPhysicalNames
$Nodes
29
1 0 0 0
2 1 0 0
3 1 1 0
4 0 1 0
5 0.5 0.5 0
6 0.3 0 0
7 0.7 1 0
8 0.75 0 0
9 0.25 1 0
10 0 0.7500000000003477 0
11 0 0.5000000000020616 0
12 0 0.2500000000010419 0
13 0.5249999999995445 0 0
14 0.3999999999997372 0.2499999999993431 0
15 0.5999999999999758 0.7499999999999395 0
16 0.375 0.75 0
17 0.6249999999995882 0.2500000000008235 0
18 1 0.2499999999994109 0
19 1 0.4999999999986918 0
20 1 0.7499999999993401 0
21 0.47500000000064 1 0
22 0.2499999999998144 0.4549999999996932 0
23 0.1999999999995926 0.184999999999782 0
24 0.1573932185564783 0.6586067814439295 0
25 0.1564786437112957 0.8317213562888555 0
26 0.7500000000001177 0.544999999999918 0
27 0.8000000000000851 0.8149999999999306 0
28 0.8426067814434417 0.341393218556227 0
29 0.8435213562886059 0.1682786437112923 0
$EndNodes
$Elements
69
1 15 2 15 5 5
2 15 2 13 6 6
3 15 2 12 7 7
4 15 2 14 8 8
5 15 2 11 9 9
6 1 2 10 1 4 10
7 1 2 10 1 10 11
8 1 2 10 1 11 12
9 1 2 10 1 12 1
10 1 2 7 2 1 6
11 1 2 7 3 6 13
12 1 2 7 3 13 8
13 1 2 7 4 8 2
14 1 2 5 5 6 14
15 1 2 5 5 14 5
16 1 2 5 6 5 15
17 1 2 5 6 15 7
18 1 2 6 7 9 16
19 1 2 6 7 16 5
20 1 2 6 8 5 17
21 1 2 6 8 17 8
22 1 2 9 9 2 18
23 1 2 9 9 18 19
24 1 2 9 9 19 20
25 1 2 9 9 20 3
26 1 2 8 10 3 7
27 1 2 8 11 7 21
28 1 2 8 11 21 9
29 1 2 8 12 9 4
30 2 2 1 1 11 12 22
31 2 2 1 1 22 12 23
32 2 2 1 1 5 16 22
33 2 2 1 1 22 16 24
34 2 2 1 1 1 6 23
35 2 2 1 1 12 1 23
36 2 2 1 1 14 5 22
37 2 2 1 1 14 22 23
38 2 2 1 1 16 9 25
39 2 2 1 1 10 11 24
40 2 2 1 1 11 22 24
41 2 2 1 1 4 10 25
42 2 2 1 1 9 4 25
43 2 2 1 1 6 14 23
44 2 2 1 1 24 16 25
45 2 2 1 1 10 24 25
46 2 2 2 2 8 17 13
47 2 2 2 2 13 17 14
48 2 2 2 2 13 14 6
49 2 2 2 2 14 17 5
50 2 2 3 3 19 20 26
51 2 2 3 3 26 20 27
52 2 2 3 3 5 17 26
53 2 2 3 3 26 17 28
54 2 2 3 3 3 7 27
55 2 2 3 3 20 3 27
56 2 2 3 3 15 5 26
57 2 2 3 3 15 26 27
58 2 2 3 3 17 8 29
59 2 2 3 3 18 19 28
60 2 2 3 3 19 26 28
61 2 2 3 3 8 2 29
62 2 2 3 3 2 18 29
63 2 2 3 3 7 15 27
64 2 2 3 3 28 17 29
65 2 2 3 3 18 28 29
66 2 2 4 4 15 7 21
67 2 2 4 4 16 15 21
68 2 2 4 4 16 21 9
69 2 2 4 4 5 15 16
$EndElements
Loading

0 comments on commit c24ebdd

Please sign in to comment.