Skip to content

Instantly share code, notes, and snippets.

@lindsayad
Last active May 27, 2019 21:44
Show Gist options
  • Save lindsayad/00d060449953db574da250d9d2349619 to your computer and use it in GitHub Desktop.
Save lindsayad/00d060449953db574da250d9d2349619 to your computer and use it in GitHub Desktop.
[Mesh]
file = two-body.msh
[]
[Variables]
[./u]
block = 'left_block'
[../]
[./v]
block = 'right_block'
[../]
[]
[Kernels]
[./diff_u]
type = Diffusion
variable = u
block = left_block
[../]
[./diff_v]
type = Diffusion
variable = v
block = right_block
[../]
[]
[BCs]
[./left]
type = DirichletBC
variable = u
boundary = 'left'
value = 1
[../]
[./right]
type = DirichletBC
variable = v
boundary = 'right'
value = 1
[../]
[u_interface]
type = MatTestNeumannBC
mat_prop = D
boundary = "master_interface"
variable = u
[]
[v_interface]
type = MatTestNeumannBC
mat_prop = D
boundary = "slave_interface"
variable = v
[]
[]
[Materials]
[./block0]
type = GenericConstantMaterial
block = 'left_block'
prop_names = 'D'
prop_values = '4'
[../]
[./block1]
type = GenericConstantMaterial
block = 'right_block'
prop_names = 'D'
prop_values = '3'
[../]
[]
[Executioner]
type = Steady
solve_type = NEWTON
[]
[Outputs]
exodus = true
[]
$MeshFormat
4.1 0 8
$EndMeshFormat
$PhysicalNames
6
1 100 "right"
1 101 "left"
1 102 "master_interface"
1 103 "slave_interface"
2 10 "left_block"
2 11 "right_block"
$EndPhysicalNames
$Entities
6 8 2 0
1 0 0 0 0
2 2 0 0 0
3 2 2 0 0
4 0 2 0 0
5 1 2 0 0
6 1 0 0 0
1 2 0 0 2 2 0 1 100 2 2 -3
2 0 0 0 0 2 0 1 101 2 4 -1
3 0 0 0 1 0 0 0 2 1 -6
4 1 0 0 2 0 0 0 2 6 -2
5 0 2 0 1 2 0 0 2 5 -4
6 1 2 0 2 2 0 0 2 3 -5
7 1 0 0 1 2 0 1 102 2 6 -5
8 1 0 0 1 2 0 1 103 2 5 -6
1 0 0 0 1 2 0 1 10 4 3 7 5 2
2 1 0 0 2 2 0 1 11 4 4 1 6 8
$EndEntities
$Nodes
16 575 1 575
0 1 0 1
1
0 0 0
0 2 0 1
2
2 0 0
0 3 0 1
3
2 2 0
0 4 0 1
4
0 2 0
0 5 0 1
5
1 2 0
0 6 0 1
6
1 0 0
1 1 0 19
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
2 0.0999999999997993 0
2 0.1999999999996293 0
2 0.2999999999994072 0
2 0.3999999999991157 0
2 0.4999999999988242 0
2 0.5999999999985328 0
2 0.6999999999982413 0
2 0.7999999999979498 0
2 0.8999999999976585 0
2 0.9999999999973885 0
2 1.09999999999763 0
2 1.199999999997894 0
2 1.299999999998157 0
2 1.39999999999842 0
2 1.499999999998683 0
2 1.599999999998947 0
2 1.69999999999921 0
2 1.799999999999474 0
2 1.899999999999737 0
1 2 0 19
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
0 1.899999999999584 0
0 1.799999999999167 0
0 1.699999999999306 0
0 1.6 0
0 1.500000000000693 0
0 1.400000000001387 0
0 1.30000000000208 0
0 1.200000000002774 0
0 1.100000000003467 0
0 1.000000000004117 0
0 0.9000000000037447 0
0 0.8000000000033287 0
0 0.7000000000029127 0
0 0.6000000000024965 0
0 0.5000000000020806 0
0 0.4000000000016644 0
0 0.3000000000012482 0
0 0.200000000000832 0
0 0.100000000000416 0
1 3 0 9
45
46
47
48
49
50
51
52
53
0.09999999999981467 0 0
0.1999999999995579 0 0
0.2999999999992664 0 0
0.3999999999989749 0 0
0.4999999999986943 0 0
0.5999999999989468 0 0
0.69999999999921 0 0
0.7999999999994734 0 0
0.8999999999997368 0 0
1 4 0 9
54
55
56
57
58
59
60
61
62
1.1 0 0
1.2 0 0
1.3 0 0
1.4 0 0
1.5 0 0
1.6 0 0
1.7 0 0
1.8 0 0
1.9 0 0
1 5 0 9
63
64
65
66
67
68
69
70
71
0.8999999999995836 2 0
0.7999999999999998 2 0
0.7000000000006934 2 0
0.6000000000013869 2 0
0.5000000000020587 2 0
0.4000000000016644 2 0
0.3000000000012483 2 0
0.2000000000008322 2 0
0.100000000000416 2 0
1 6 0 9
72
73
74
75
76
77
78
79
80
1.9 2 0
1.8 2 0
1.7 2 0
1.6 2 0
1.5 2 0
1.4 2 0
1.3 2 0
1.2 2 0
1.1 2 0
1 7 0 19
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
1 0.0999999999997993 0
1 0.1999999999996293 0
1 0.2999999999994072 0
1 0.3999999999991157 0
1 0.4999999999988242 0
1 0.5999999999985328 0
1 0.6999999999982413 0
1 0.7999999999979498 0
1 0.8999999999976585 0
1 0.9999999999973885 0
1 1.09999999999763 0
1 1.199999999997894 0
1 1.299999999998157 0
1 1.39999999999842 0
1 1.499999999998683 0
1 1.599999999998947 0
1 1.69999999999921 0
1 1.799999999999474 0
1 1.899999999999737 0
1 8 0 19
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
1 1.899999999999584 0
1 1.799999999999167 0
1 1.699999999999306 0
1 1.6 0
1 1.500000000000693 0
1 1.400000000001387 0
1 1.30000000000208 0
1 1.200000000002774 0
1 1.100000000003467 0
1 1.000000000004117 0
1 0.9000000000037447 0
1 0.8000000000033287 0
1 0.7000000000029127 0
1 0.6000000000024965 0
1 0.5000000000020806 0
1 0.4000000000016644 0
1 0.3000000000012482 0
1 0.200000000000832 0
1 0.100000000000416 0
2 1 0 228
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
0.5045407024118347 1.449307335860504 0
0.4908547817345648 0.6504120251695044 0
0.4129540532742648 1.045791851216564 0
0.6611087615607789 0.3443665485125613 0
0.3180084774132792 0.3270654900680001 0
0.6934624272709847 0.9035019765693948 0
0.6858516254673661 1.690966290451035 0
0.3163882455020396 1.687472542292626 0
0.6869486324747125 1.207748103445756 0
0.280399661854696 1.29051048478804 0
0.2751066151784189 0.8086887172598475 0
0.7491430625348002 0.6051664304533375 0
0.7560579470998748 1.451412059828042 0
0.2390208234158457 0.5696153676149776 0
0.2178620635791672 1.503065216038608 0
0.5038931238903599 1.790852699273786 0
0.4919258629758777 0.2116422177035488 0
0.4837174973196461 1.239315770540618 0
0.477484815998234 0.8561761551645042 0
0.1977659120751583 1.050169417206028 0
0.7997065978973351 0.198290434067226 0
0.1837847455538097 0.1891504795616513 0
0.4944622008503092 0.4532090468171185 0
0.8099974742444767 1.054389623810467 0
0.8128466640589761 0.7608449908009371 0
0.5731094439146444 1.064265089111231 0
0.8193483037736158 1.835638045406574 0
0.1694676494406071 1.828538368124659 0
0.8365197381756482 0.4059775685274583 0
0.5298368318371274 1.622435832453489 0
0.1709912700202695 0.396025699787194 0
0.6445364053689436 0.7389719172066936 0
0.834154413429061 1.603390836678112 0
0.8366346663038257 1.290192974407492 0
0.646032604050789 0.1619839450398884 0
0.1529279279279204 1.649999999999653 0
0.6499902317647656 1.845979022008289 0
0.3483781099582746 1.845625498987772 0
0.3756162501455248 1.544960926736108 0
0.6398542963395272 1.354970531197028 0
0.1507223090823708 0.7126059004639373 0
0.3465210887222629 0.14898147801292 0
0.1452863877160161 0.8968476745295987 0
0.1537256467545353 1.198792580285669 0
0.339761070143725 0.6690391827561519 0
0.848756866565881 0.9079796846499179 0
0.1454394016488327 1.365616468017445 0
0.6041611317177135 0.5485954570519505 0
0.3061616928681522 0.94899509804079 0
0.3040912576718098 1.150239566377678 0
0.354310014245816 0.4939696043374422 0
0.3588734902904125 1.402693050498854 0
0.6276994045909505 1.510468902188996 0
0.8782476327944181 0.6429063844055556 0
0.8664473116209512 1.186202398193136 0
0.6851920173358441 0.4603592595358189 0
0.9028221459772046 1.450433842853776 0
0.5321754674032934 0.333403037687972 0
0.8728034456098258 0.2960211619047485 0
0.09394032679767272 0.5513209786680355 0
0.12541915078682 0.2972645862561843 0
0.4056599726246324 1.691053590768279 0
0.8785217378450545 1.708490817305131 0
0.5007684401753526 0.9727888146352416 0
0.8822439668088233 0.5097179809900942 0
0.8829349292974331 0.1170650707026461 0
0.3871569428734052 0.7929126724954472 0
0.1148417482905056 0.1308147035232702 0
0.6913679181798398 1.023658364068157 0
0.4899223365884725 1.122721343905749 0
0.1079769514184038 1.542871894171773 0
0.5483569187236765 1.893824449107367 0
0.5381984126859192 0.1084660989645572 0
0.7221445886624052 1.58346740452395 0
0.3745363503031032 1.23822669430335 0
0.7414540408536408 0.104408448664314 0
0.3850857307714602 0.254236885223646 0
0.5960369772557503 0.8409439986229016 0
0.7677138090161524 0.3116665825028628 0
0.4370494398958267 0.5483134367616476 0
0.2538252945325302 0.09998459608717651 0
0.5845622037248448 1.190672889275292 0
0.5847712967844984 1.716550170861079 0
0.0951094445923798 1.73991406113061 0
0.745659442862037 1.900433832332037 0
0.2543405571395758 1.900433832331478 0
0.1082708918976848 0.8026728816535462 0
0.461714883989408 1.348102554963098 0
0.5239780242889617 0.7560115236990529 0
0.251022513691337 1.605134317381043 0
0.2514607087711248 1.384728805339687 0
0.2236078535977342 0.3039959340053825 0
0.7355018718978796 1.30386887239697 0
0.1181704508162865 1.000750193594033 0
0.4215489068291844 0.3630256477502293 0
0.5980220158003938 0.4305092170029672 0
0.7314365115771677 0.7060940019009063 0
0.8945197396501561 1.894519739650148 0
0.1054802603498638 1.894519739650136 0
0.4078100876762733 0.9304002244893335 0
0.4375781880932134 1.894157537737625 0
0.6002354514078124 0.2507845852032675 0
0.1047163696044306 1.10401375798221 0
0.4356285369131853 0.09687857127065654 0
0.8916014177013899 0.996342212058141 0
0.8988992622774847 0.8372789122675925 0
0.7167865205726358 0.8029759354624548 0
0.2573770821649126 0.4734460693299357 0
0.7293630712722743 1.11607335773877 0
0.6017187689653367 0.9575253660118217 0
0.6646751411519548 0.6372237686840286 0
0.3027735769452354 1.053893146455954 0
0.2470135365591225 0.7117114181987209 0
0.4689533157586308 1.539278370064644 0
0.0896893333580966 1.267900486828904 0
0.266557218915078 1.774205901710631 0
0.7367317214083688 1.781081599891273 0
0.08056024075825205 1.433582680672898 0
0.9121981116293488 1.543653238777515 0
0.9123367190242091 1.34784475252097 0
0.913400999153468 0.2105674445426527 0
0.3946658453504219 1.141698062133318 0
0.7791986101274282 1.686075124659719 0
0.7011826797892167 0.2404189568244223 0
0.08309817697884529 0.649231475038444 0
0.6210101971027825 1.612330537102232 0
0.08926485024777285 0.209723650819668 0
0.08649428221495405 0.4519772871484007 0
0.2851388650985127 0.2205691438264627 0
0.3321260381099492 0.5824725904074955 0
0.9259801644401304 1.246836733840162 0
0.9061200441813483 0.7260945136349204 0
0.7766371709424786 1.205898858458028 0
0.7718745408394553 0.9533120037641314 0
0.411700678794096 1.775588768242059 0
0.5710704811625382 1.282910256712749 0
0.9218377637045518 0.4328553128506563 0
0.901919423620549 1.089288850935162 0
0.1848022766723731 1.732803207100195 0
0.3047112531911056 1.477516392847178 0
0.9087652003660096 1.799456708085795 0
0.777432461883667 0.4997391068286406 0
0.3480747418659285 0.8698589968438577 0
0.1890547685427368 1.28246133581205 0
0.9249748525806929 1.631106978551783 0
0.4293639878907645 0.7107362538101171 0
0.8108662864342505 1.506479510706706 0
0.8117740377478441 1.390711009823705 0
0.5887394559660611 1.438560466623557 0
0.2174720965246102 1.136138439808305 0
0.2174720965225442 0.9638615601997101 0
0.6451370115177011 0.07497169853375195 0
0.6484502602952225 1.123924583546906 0
0.6739863970409552 1.441011777445201 0
0.4163563972467123 1.470914101084456 0
0.1932548284651446 0.7972555323218026 0
0.7423939498737074 0.3942708779467662 0
0.3472876865318751 1.614616324108266 0
0.5762808439234439 0.6606860932606434 0
0.2550817287272256 0.3855624348637267 0
0.1735530543294308 0.6208255018045457 0
0.07037066884443353 1.647540850757236 0
0.6491437990506628 1.92909384935366 0
0.3492927737031105 1.930373652208364 0
0.2475593937693674 0.8809179298659344 0
0.7944632311356132 0.8493740022141193 0
0.5531839639738739 1.374770229071387 0
0.07658094060440868 0.3690535146389383 0
0.3556776708542401 1.320840603477259 0
0.2532132969419152 1.216061516895848 0
0.5840266871460573 1.800244626410491 0
0.3479964171663515 0.06830382157458771 0
0.457683991994954 0.2905769470913491 0
0.06841827559178019 0.7329020514324338 0
0.1702294731571809 0.5105351507255148 0
0.5503896551662367 1.537477871051928 0
0.5266674745444059 0.5588417389739939 0
0.4058310635549661 0.6321946977809834 0
0.06313779515303627 1.353419927104542 0
0.07335780134787594 0.8759437409416264 0
0.6512078156021586 1.279349174456875 0
0.9301841139517708 0.3610061541045362 0
0.6501443659879049 1.762754647780466 0
0.5633863667776843 0.1839397044088364 0
0.07647717399832535 1.178319535202161 0
0.07614815284607086 1.821137449949768 0
0.1788625500506524 1.923851847153553 0
0.8211374499502864 1.923851847154215 0
0.5440022505986684 0.9068585836086173 0
0.4923636442954298 1.704395544029405 0
0.9255218903558922 0.9256623818033546 0
0.8151998209868132 0.07714188788343471 0
0.4147903048456966 0.1779347880526928 0
0.6918384978462832 0.5469425422889085 0
0.4142882815750353 0.4473890484144019 0
0.8301440075987796 0.5820843987928412 0
0.8110220732356967 1.130829471740059 0
0.9237312653734775 0.5831592135142744 0
0.1643025363369518 1.440135209199723 0
0.3234318938189817 0.7478591371645882 0
0.2662949045116147 0.6307328121563782 0
0.489298591933764 1.050917510307576 0
0.1824473641542071 1.575267856897769 0
0.3308875506074078 0.4180514456168104 0
0.7087557768500619 1.503236637905868 0
0.1684021260080891 0.07519190756195381 0
0.8135144914022853 0.6817733088632059 0
0.9429513485788689 0.07097898748313655 0
0.9409071328876787 0.6559019454093644 0
0.5571964491445781 0.4918343747830999 0
0.9404622896917967 1.156780277923327 0
0.05466247987006468 1.045383166202183 0
0.0683395170487503 0.07009094444662162 0
0.3574248526909814 0.9947700800506603 0
0.4367961593367915 1.615106097840147 0
0.05518277907409256 0.9476804377328816 0
0.947512352435034 0.1499999999997143 0
0.052165950590137 0.150000000000624 0
0.7234349100252162 1.388394850138189 0
0.7285798773408116 0.1757327974167319 0
0.4265770946269 1.28491806975891 0
0.2370871496572423 1.680829892883078 0
0.299299953427802 1.549058635422241 0
0.342559865540253 1.755743563637323 0
0.4587399011267074 0.7855685474520139 0
0.9447904057692736 1.944790405769342 0
0.0524670734141713 1.947532926585828 0
0.8225915316321579 1.758407127652302 0
2 2 0 229
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
1.505698320866678 1.349772956879352 0
1.496915171491019 0.5486282154420329 0
1.592928347632599 0.9575870863464553 0
1.3388912384393 1.655633451487476 0
1.686860834109661 1.660340375484712 0
1.31431722689056 1.096365546220734 0
1.688680371389101 0.3125169784928467 0
1.316040787482723 0.3118083702717299 0
1.311823635861453 0.7924190707911012 0
1.724893384821528 0.7086887172599782 0
1.72489338482155 1.191311282740162 0
1.250856937465311 1.394833569546858 0
1.244788518071342 0.5458799128569513 0
1.762221755841049 1.427778467262414 0
1.794436768428283 0.4922616468974094 0
1.49992156741824 0.2168369384384662 0
1.508074137024067 1.788357782296408 0
1.503245243518571 0.761097693545605 0
1.519692221835046 1.143267494530473 0
1.802234087924855 0.9498305827951977 0
1.200293402102683 1.801709565932765 0
1.81621525444617 1.810849520438384 0
1.505537799149909 1.546790953183055 0
1.19000252575577 0.9456103761895005 0
1.187153335941152 1.239155009199211 0
1.409445297361287 0.9428200618378958 0
1.83053235055978 0.171461631875078 0
1.18065169622651 0.1643619545934182 0
1.163480261824393 1.594022431472702 0
1.536197610654984 0.3818693693687938 0
1.838515443724225 1.595598969567307 0
1.357513496816594 1.261939666798429 0
1.172744354919863 0.4000516495277741 0
1.163365333696317 0.7098070255925468 0
1.353967395949111 1.838016054959968 0
1.847072072072293 0.3499999999992615 0
1.64999023176395 0.154020977991719 0
1.348378109956973 0.1543745010120169 0
1.376866756362464 0.4506430084443445 0
1.368247249028016 0.6572996528896208 0
1.84927769091761 1.287394099536397 0
1.653478911277826 1.851018521986863 0
1.854713612284215 1.103152325471257 0
1.84627435324521 0.8012074197151901 0
1.661679022887518 0.5751581991485634 0
1.660238929856097 1.33096081724391 0
1.151243133434181 1.092020315350123 0
1.854560598351162 0.63438353198248 0
1.39583886828232 1.451404542948337 0
1.695908742331428 1.050239566376242 0
1.695908742328872 0.849760433622573 0
1.650144139222737 1.509440974406721 0
1.121752367205605 1.35709361559461 0
1.659674017999477 0.4355313250096487 0
1.133552688379299 0.8137976018068437 0
1.314807982664191 1.539640740464357 0
1.097177854022842 0.5495661571468435 0
1.467824532596812 1.666596962312157 0
1.127196554390136 1.703978838095102 0
1.904952312413934 1.448224480122888 0
1.864497134881947 1.695756088820094 0
1.420888581968562 0.3055783723466036 0
1.121777563155767 0.2916585339290301 0
1.42954277701793 1.061224175553358 0
1.579268457879953 0.7087876192971183 0
1.117756033191282 1.490282019010027 0
1.117065070702649 1.882934929297422 0
1.611318977922926 1.206863587370245 0
1.885158251709548 1.869185296476826 0
1.300827303206762 0.9808561592458204 0
1.520973994205193 0.8808709179179302 0
1.893134318351985 0.4544827536762993 0
1.54820922890334 0.1064615045765295 0
1.461801587313786 1.891533901035301 0
1.258545959146427 1.895591551335492 0
1.61491426922826 1.745763114776465 0
1.46609287756158 1.243195808647447 0
1.232286190983894 1.68833341749712 0
1.567089034885028 1.454081657077729 0
1.746174705467285 1.900015403912757 0
1.41543779627524 0.8093271107244041 0
1.584771296784572 0.2834498291388374 0
1.745659442861339 0.0995661676682122 0
1.904890555407816 0.2600859388685537 0
1.254340557138595 0.09956616766821678 0
1.586850336910769 1.05928712363433 0
1.891729108102515 1.197327118347116 0
1.476246244230519 0.6503227945065974 0
1.288210985366879 0.4065457963568829 0
1.76882501979891 1.713055029421298 0
1.270907896763681 0.6924695874219038 0
1.881829549183759 0.9992498064069238 0
1.395498828507074 1.164969847496174 0
1.753024756881853 0.6034012996605299 0
1.573538652015544 1.635157501556388 0
1.401977984199716 1.569490782997079 0
1.268905138787215 1.294057928766717 0
1.894519739650157 0.1054802603498526 0
1.105480260349818 0.1054802603497948 0
1.436298589656787 0.1103232538703723 0
1.399764548592298 1.749215414796736 0
1.895283630395459 0.8959862420186009 0
1.755440512613681 0.4037083499933486 0
1.596508688428068 0.8144779168586856 0
1.564371463086657 1.903121428728912 0
1.108398582298703 1.003657787941861 0
1.101100737722515 1.162721087732739 0
1.287769431034915 1.202295016997487 0
1.729908536408825 1.564988707607501 0
1.270636928728041 0.8839266422612747 0
1.505459227749648 0.9923482445441361 0
1.335743703958209 1.363217425756886 0
1.699029355291131 0.9499999999993668 0
1.752986463440757 1.288288581801396 0
1.910310666641822 0.7320995131716248 0
1.732510663311281 0.2253183196796066 0
1.261828567728943 0.2199438658535283 0
1.566485366035046 0.4763520481283232 0
1.401295786436624 0.556078506915589 0
1.919624970870156 0.5659764273017367 0
1.469111054457591 0.4672148460275692 0
1.088152441459028 0.4542922127290405 0
1.087663280975961 0.6521552474795144 0
1.086599000846593 1.789432555456964 0
1.220639397412306 0.313877608403244 0
1.298817320210829 1.759581043175519 0
1.916769994355817 1.350714412913423 0
1.905060693878293 1.791125724603373 0
1.913355304840803 1.545914709849235 0
1.710418129650293 1.776164370053781 0
1.66618326775335 1.420938190228823 0
1.074019835560051 0.7531632661603084 0
1.0938799558187 1.273905486365374 0
1.224226501890644 0.7935187472179275 0
1.234032360182249 1.047199312341128 0
1.408786294786677 0.2061644619613603 0
1.078162236295537 1.567144687149287 0
1.650655894536922 1.128164656839891 0
1.098080576379654 0.9107111490652381 0
1.815086689309149 0.2673183628651353 0
1.09123479963396 0.2005432919142478 0
1.222567538116392 1.500260893171565 0
1.81345944404009 0.7202976883549861 0
1.076534871906932 0.3692004792377515 0
1.420920465493273 0.7199402245262421 0
1.567446912372915 1.292209450514489 0
1.172391847641951 0.5062626976721004 0
1.583940949674792 0.5877583359101352 0
1.190553167973965 0.6094071876495026 0
1.782527903475753 0.8638615601930781 0
1.782527903477105 1.036138439801684 0
1.812996639006648 1.49860512291036 0
1.354862988481865 1.925028301466152 0
1.618920649567637 0.3654234077033485 0
1.348847926541546 0.8772761152795051 0
1.663548560696 0.7555332288257766 0
1.806745171535006 1.202744467678584 0
1.257606050126327 1.605729122053339 0
1.827389953855915 1.378531635427804 0
1.422455393602021 1.339855080260183 0
1.929788083980019 0.3520812417915944 0
1.64912270050409 0.07094700117263172 0
1.348879311913505 0.07061803894726358 0
1.367782549389208 0.3728586950571786 0
1.752574118164371 1.118625123151303 0
1.208011286274055 1.148443979933885 0
1.319246782843 0.5175255054773674 0
1.923273576689395 1.627453953646958 0
1.754435398101242 0.7832248413285968 0
1.583726450535516 0.2003366849159538 0
1.705890687131744 0.5064569998421982 0
1.65200358283311 1.931696178425283 0
1.541087897716171 1.708968840235354 0
1.931555358675188 1.267087126158597 0
1.473237161273603 1.441678469260947 0
1.593331293146814 1.369592614388861 0
1.298159000357681 0.6048750304295611 0
1.936899247172628 0.6464918944905231 0
1.92664219865223 1.124056259059245 0
1.069815886048039 1.638993845895316 0
1.651216644355639 0.2396591676688173 0
1.436613633222335 1.81606029559109 0
1.923522826001498 0.8216804647984707 0
1.82113744994988 0.07614815284614956 0
1.923851847154035 0.1788625500498423 0
1.178862550050085 0.0761481528461192 0
1.506138829606363 0.3096869870401756 0
1.074478109643956 1.074337618196686 0
1.184800179013326 1.922858112116469 0
1.510386140878348 1.064031759565574 0
1.585209695154202 1.822065211947162 0
1.661059188806941 0.6565545666836836 0
1.308221337169491 1.453120485488548 0
1.585871110444972 1.550551233572379 0
1.169855992401219 1.417915601207385 0
1.189066056645486 0.8691111002677022 0
1.076268734626544 1.416840786485844 0
1.837586993784221 0.5573232302794715 0
1.361773743763694 1.023881645526889 0
1.676568106180989 1.252140862835466 0
1.730305189716408 1.367424145626825 0
1.721105718127861 1.486982431178279 0
1.352884090321385 0.7306804840404625 0
1.831597873991849 1.924808092438076 0
1.186500330996676 1.318233282603528 0
1.537408981707218 1.217525560718035 0
1.631363629487018 0.8866335020124233 0
1.82252091786656 0.4251131876415797 0
1.057048651421077 1.929021012516623 0
1.059092867112372 1.344098054590833 0
1.442803550855663 1.508165625217026 0
1.059537710308733 0.8432197220767044 0
1.446164230406529 0.3813085463807775 0
1.775599140047001 1.640345920714049 0
1.945337520129803 0.9546168337986549 0
1.931660482951253 1.929909055553493 0
1.944817220926264 1.052319562267934 0
1.641892671077759 1.005088056681291 0
1.052487647565161 1.849999999999375 0
1.648759281332135 1.5821751402269 0
1.947834049409948 1.849999999999605 0
1.765663702726378 0.3169019798337931 0
1.271420122659267 1.824267202583089 0
1.244833509963486 0.4763524992126071 0
1.635534008745715 0.5162513816077737 0
1.34494454506137 0.2415993819708247 0
1.944790405769086 0.05520959423082272 0
1.055209594230614 0.0552095942308003 0
1.175226404831497 0.2380770509386937 0
$EndNodes
$Elements
6 1110 1 1110
1 1 1 20
1 2 7
2 7 8
3 8 9
4 9 10
5 10 11
6 11 12
7 12 13
8 13 14
9 14 15
10 15 16
11 16 17
12 17 18
13 18 19
14 19 20
15 20 21
16 21 22
17 22 23
18 23 24
19 24 25
20 25 3
1 2 1 20
21 4 26
22 26 27
23 27 28
24 28 29
25 29 30
26 30 31
27 31 32
28 32 33
29 33 34
30 34 35
31 35 36
32 36 37
33 37 38
34 38 39
35 39 40
36 40 41
37 41 42
38 42 43
39 43 44
40 44 1
1 7 1 20
41 6 81
42 81 82
43 82 83
44 83 84
45 84 85
46 85 86
47 86 87
48 87 88
49 88 89
50 89 90
51 90 91
52 91 92
53 92 93
54 93 94
55 94 95
56 95 96
57 96 97
58 97 98
59 98 99
60 99 5
1 8 1 20
61 5 100
62 100 101
63 101 102
64 102 103
65 103 104
66 104 105
67 105 106
68 106 107
69 107 108
70 108 109
71 109 110
72 110 111
73 111 112
74 112 113
75 113 114
76 114 115
77 115 116
78 116 117
79 117 118
80 118 6
2 1 2 514
81 149 179 210
82 134 219 253
83 177 147 197
84 166 277 295
85 166 229 277
86 223 142 252
87 209 165 262
88 185 137 261
89 188 144 200
90 164 223 252
91 230 121 240
92 83 177 239
93 128 209 262
94 168 230 240
95 181 97 259
96 179 42 245
97 94 95 175
98 140 199 247
99 137 218 261
100 199 160 247
101 168 193 288
102 134 190 219
103 193 128 288
104 174 166 214
105 39 40 178
106 176 122 214
107 141 176 214
108 99 216 259
109 176 135 220
110 166 174 312
111 98 99 259
112 124 196 225
113 196 150 225
114 139 177 197
115 226 169 248
116 132 226 248
117 147 177 300
118 97 98 259
119 191 135 222
120 222 135 311
121 188 136 240
122 182 121 218
123 152 173 249
124 173 152 251
125 219 156 253
126 136 193 240
127 149 210 278
128 200 144 271
129 122 174 214
130 88 89 224
131 49 50 191
132 150 196 207
133 176 141 213
134 42 43 245
135 123 195 213
136 179 140 210
137 170 206 273
138 206 119 273
139 252 124 284
140 122 176 220
141 82 83 239
142 125 192 241
143 192 151 241
144 29 30 189
145 255 147 300
146 195 123 247
147 224 89 309
148 66 67 190
149 206 136 254
150 191 50 270
151 223 90 256
152 140 186 324
153 90 91 256
154 136 188 200
155 123 210 247
156 177 139 239
157 196 124 228
158 190 67 219
159 49 191 222
160 206 254 285
161 123 213 322
162 51 52 194
163 175 95 237
164 213 313 322
165 199 140 324
166 184 139 310
167 137 182 218
168 135 176 291
169 178 40 246
170 94 175 238
171 177 83 300
172 260 174 275
173 215 143 225
174 150 215 225
175 32 33 233
176 140 179 245
177 144 187 271
178 124 187 228
179 187 144 228
180 151 192 265
181 147 260 275
182 161 205 274
183 174 122 275
184 197 147 275
185 124 225 284
186 29 189 280
187 196 137 207
188 139 194 310
189 218 121 332
190 126 180 342
191 161 274 283
192 203 155 235
193 145 203 235
194 204 146 234
195 156 204 234
196 39 178 243
197 209 128 287
198 170 209 287
199 169 198 248
200 198 141 295
201 179 149 286
202 265 192 323
203 85 183 255
204 295 141 328
205 231 279 319
206 144 182 228
207 137 185 343
208 66 190 281
209 153 191 270
210 42 179 286
211 97 181 263
212 233 33 303
213 130 314 325
214 132 279 293
215 279 178 293
216 231 159 279
217 142 187 252
218 277 120 295
219 27 28 202
220 64 65 203
221 69 70 204
222 46 47 199
223 139 184 239
224 211 152 266
225 121 182 320
226 151 181 241
227 88 224 250
228 48 49 222
229 126 208 276
230 215 130 325
231 212 138 221
232 189 154 280
233 187 142 227
234 53 184 310
235 67 68 219
236 197 122 242
237 133 189 317
238 180 126 276
239 187 227 271
240 221 138 268
241 214 166 328
242 189 30 236
243 184 53 326
244 127 227 251
245 213 195 291
246 171 192 244
247 186 140 245
248 87 88 250
249 148 308 333
250 265 131 266
251 175 265 266
252 183 85 316
253 190 155 281
254 130 215 229
255 308 180 333
256 196 228 307
257 139 197 242
258 182 144 320
259 181 151 263
260 138 230 268
261 230 168 268
262 230 138 269
263 167 230 269
264 150 207 277
265 138 212 269
266 212 161 269
267 201 148 244
268 125 201 244
269 162 221 268
270 235 125 241
271 122 220 242
272 194 52 310
273 211 266 337
274 182 137 307
275 183 147 255
276 276 208 341
277 211 127 251
278 152 211 251
279 220 135 302
280 121 188 240
281 147 183 260
282 187 124 252
283 192 125 244
284 171 244 294
285 206 170 287
286 248 198 296
287 144 188 320
288 174 260 312
289 141 198 313
290 198 169 313
291 134 253 308
292 253 180 308
293 251 227 315
294 165 209 317
295 199 47 290
296 193 168 240
297 129 185 261
298 185 129 318
299 200 127 299
300 155 190 289
301 190 134 289
302 261 167 283
303 215 150 229
304 189 236 317
305 126 234 340
306 180 253 342
307 84 85 255
308 160 199 290
309 234 257 340
310 37 205 298
311 160 195 247
312 154 189 321
313 188 121 320
314 260 130 312
315 202 154 257
316 146 202 257
317 131 265 323
318 45 324 331
319 120 207 264
320 52 53 310
321 210 140 247
322 130 229 312
323 119 267 294
324 95 96 237
325 235 241 346
326 194 153 270
327 51 194 270
328 192 171 323
329 30 31 236
330 264 185 318
331 163 264 318
332 258 170 273
333 93 94 238
334 189 133 321
335 205 37 292
336 193 136 339
337 164 252 284
338 142 223 256
339 244 148 294
340 209 170 258
341 93 238 249
342 216 63 306
343 71 217 305
344 217 26 304
345 142 256 315
346 224 143 250
347 38 39 243
348 178 246 293
349 136 200 254
350 164 224 309
351 34 221 303
352 194 139 338
353 324 186 331
354 85 86 316
355 202 28 280
356 154 202 280
357 203 65 281
358 155 203 281
359 204 156 282
360 69 204 282
361 203 145 306
362 202 146 304
363 146 204 305
364 135 191 302
365 191 153 302
366 127 200 271
367 96 97 263
368 122 197 275
369 220 153 242
370 157 258 273
371 36 37 298
372 92 93 249
373 161 212 334
374 129 261 283
375 119 206 285
376 133 209 258
377 33 34 303
378 70 71 305
379 26 27 304
380 63 64 306
381 209 133 317
382 64 203 306
383 204 70 305
384 27 202 304
385 216 145 259
386 143 224 284
387 224 164 284
388 145 216 306
389 146 217 304
390 217 146 305
391 128 193 287
392 254 200 299
393 238 152 249
394 218 167 261
395 153 194 338
396 195 160 311
397 135 195 311
398 90 223 309
399 195 135 291
400 37 38 292
401 256 173 315
402 206 287 339
403 158 211 337
404 148 201 308
405 137 196 307
406 246 149 293
407 40 41 246
408 267 171 294
409 198 120 296
410 139 242 338
411 207 120 277
412 89 90 309
413 205 159 274
414 229 166 312
415 120 198 295
416 45 46 324
417 149 246 286
418 46 199 324
419 250 143 325
420 279 132 319
421 208 133 341
422 41 42 286
423 134 201 289
424 156 219 282
425 219 68 282
426 314 172 325
427 227 127 271
428 207 137 343
429 210 123 278
430 136 206 339
431 237 96 263
432 232 119 294
433 201 125 301
434 162 233 303
435 201 134 308
436 152 238 266
437 238 175 266
438 159 205 292
439 208 126 340
440 165 233 262
441 92 249 329
442 231 129 274
443 159 231 274
444 237 151 265
445 175 237 265
446 133 208 321
447 205 161 298
448 234 146 257
449 154 208 340
450 226 132 293
451 274 129 283
452 208 154 321
453 48 222 290
454 222 160 290
455 298 161 334
456 211 158 299
457 127 211 299
458 176 213 291
459 172 250 325
460 233 162 262
461 38 243 292
462 121 230 332
463 151 237 263
464 232 148 333
465 236 31 297
466 165 236 297
467 232 157 273
468 119 232 273
469 249 173 329
470 226 149 278
471 153 220 302
472 213 141 313
473 63 216 344
474 216 99 344
475 217 71 345
476 26 217 345
477 50 51 270
478 141 214 328
479 259 145 346
480 181 259 346
481 225 143 284
482 143 215 325
483 221 162 303
484 157 276 341
485 229 150 277
486 167 218 332
487 157 232 333
488 145 235 346
489 163 248 296
490 28 29 280
491 65 66 281
492 68 69 282
493 272 158 337
494 149 226 293
495 221 34 330
496 212 221 330
497 267 119 285
498 243 178 279
499 264 207 343
500 53 6 326
501 6 81 326
502 160 222 311
503 223 164 309
504 228 182 307
505 314 183 316
506 167 269 283
507 47 48 290
508 83 84 300
509 44 1 331
510 1 45 331
511 31 32 297
512 235 155 301
513 313 169 322
514 32 233 297
515 156 234 342
516 148 232 294
517 230 167 332
518 330 35 334
519 172 314 316
520 212 330 334
521 159 243 279
522 243 159 292
523 169 226 322
524 233 165 297
525 227 142 315
526 171 267 272
527 133 258 341
528 173 251 315
529 125 235 301
530 163 231 319
531 91 92 329
532 242 153 338
533 86 87 327
534 268 168 288
535 246 41 286
536 129 231 318
537 231 163 318
538 254 158 285
539 5 63 344
540 99 5 344
541 71 4 345
542 4 26 345
543 35 36 334
544 236 165 317
545 262 162 288
546 34 35 330
547 267 158 272
548 253 156 342
549 81 82 335
550 43 44 336
551 162 268 288
552 276 157 333
553 234 126 342
554 120 264 296
555 257 154 340
556 248 163 319
557 158 254 299
558 158 267 285
559 128 262 288
560 269 161 283
561 84 255 300
562 266 131 337
563 82 239 335
564 239 184 335
565 132 248 319
566 260 183 314
567 264 163 296
568 256 91 329
569 171 272 323
570 87 250 327
571 250 172 327
572 186 245 336
573 245 43 336
574 241 181 346
575 155 289 301
576 185 264 343
577 130 260 314
578 173 256 329
579 272 131 323
580 166 295 328
581 289 201 301
582 258 157 341
583 278 123 322
584 226 278 322
585 287 193 339
586 331 186 336
587 44 331 336
588 326 81 335
589 184 326 335
590 180 276 333
591 131 272 337
592 316 86 327
593 36 298 334
594 172 316 327
2 2 2 516
595 446 362 482
596 405 375 424
597 364 411 450
598 452 370 481
599 411 364 434
600 450 411 502
601 395 506 521
602 400 353 449
603 353 400 500
604 395 458 506
605 417 372 427
606 393 452 481
607 102 405 470
608 409 116 487
609 407 23 474
610 113 114 403
611 368 426 476
612 426 388 476
613 419 362 446
614 402 395 442
615 20 21 406
616 404 350 442
617 369 404 442
618 118 445 487
619 404 363 447
620 395 402 539
621 117 118 487
622 414 365 484
623 367 405 424
624 375 405 526
625 116 117 487
626 420 363 451
627 451 363 537
628 434 386 465
629 348 434 465
630 410 365 439
631 380 401 478
632 401 380 480
633 384 446 482
634 365 432 484
635 411 434 494
636 440 394 489
637 427 372 501
638 356 440 489
639 350 402 442
640 107 108 453
641 377 407 560
642 76 77 420
643 404 369 441
644 23 24 474
645 351 422 441
646 407 368 436
647 494 464 571
648 481 352 512
649 350 404 447
650 101 102 470
651 10 11 418
652 483 375 526
653 422 351 476
654 453 108 534
655 348 464 494
656 58 59 419
657 365 423 439
658 439 378 454
659 420 77 499
660 452 109 485
661 368 415 550
662 109 110 485
663 364 417 427
664 352 439 454
665 351 436 476
666 405 367 470
667 58 419 446
668 76 420 451
669 352 410 439
670 349 417 553
671 464 376 500
672 78 79 421
673 403 114 468
674 426 368 550
675 413 367 535
676 400 464 500
677 363 404 519
678 407 436 560
679 406 21 475
680 113 403 469
681 405 102 526
682 488 402 504
683 443 371 454
684 378 443 454
685 13 14 461
686 368 407 474
687 372 416 501
688 372 417 457
689 417 349 457
690 375 488 504
691 389 433 503
692 402 350 504
693 424 375 504
694 352 454 512
695 417 450 553
696 10 418 507
697 367 421 535
698 408 354 572
699 389 503 511
700 429 373 462
701 383 429 462
702 431 384 463
703 374 431 463
704 20 406 473
705 437 495 523
706 398 425 477
707 425 369 521
708 407 377 514
709 423 378 439
710 104 412 483
711 521 369 557
712 460 505 547
713 410 372 457
714 419 59 508
715 417 364 450
716 381 420 499
717 23 407 514
718 116 409 490
719 461 14 529
720 358 541 551
721 349 432 457
722 460 387 505
723 370 416 481
724 8 9 430
725 60 61 429
726 55 56 431
727 73 74 426
728 367 413 470
729 437 380 495
730 362 408 482
731 410 352 545
732 379 409 471
733 107 453 479
734 75 76 451
735 443 358 551
736 438 366 448
737 418 382 507
738 416 370 456
739 80 413 535
740 57 58 446
741 424 350 472
742 354 408 510
743 435 385 513
744 361 418 544
745 416 456 501
746 448 366 496
747 442 395 557
748 418 11 466
749 408 362 533
750 413 80 555
751 355 456 480
752 441 422 519
753 449 361 517
754 400 449 517
755 415 368 474
756 506 347 521
757 106 107 479
758 435 513 570
759 493 359 495
760 403 493 495
761 412 104 543
762 383 419 508
763 358 443 458
764 348 465 467
765 354 435 471
766 435 379 471
767 367 424 472
768 465 385 467
769 365 410 536
770 372 410 545
771 347 423 492
772 406 498 505
773 409 379 490
774 366 459 496
775 459 397 496
776 459 366 497
777 396 459 497
778 406 475 498
779 498 360 505
780 366 438 497
781 438 389 497
782 390 448 496
783 463 354 471
784 484 396 511
785 350 447 472
786 357 414 484
787 421 79 535
788 465 386 523
789 412 375 483
790 365 414 552
791 437 355 480
792 380 437 480
793 447 363 528
794 513 465 523
795 357 484 511
796 375 412 488
797 416 352 481
798 427 355 549
799 475 377 498
800 382 418 554
801 416 372 545
802 477 425 522
803 391 494 571
804 402 488 539
805 353 462 568
806 369 425 540
807 425 398 540
808 480 456 542
809 462 486 568
810 426 74 518
811 414 357 546
812 419 383 516
813 362 419 516
814 443 378 458
815 418 466 544
816 482 408 572
817 103 104 483
818 388 426 518
819 18 433 525
820 388 422 476
821 352 416 545
822 364 427 491
823 488 358 539
824 379 435 570
825 430 382 486
826 373 430 486
827 72 550 562
828 79 80 535
829 449 353 568
830 495 359 523
831 436 368 476
832 358 458 539
833 114 115 468
834 463 471 575
835 421 381 499
836 78 421 499
837 397 502 515
838 434 364 491
839 11 12 466
840 492 414 546
841 392 492 546
842 112 113 469
843 418 361 554
844 433 18 520
845 393 481 512
846 370 452 485
847 112 469 478
848 62 444 530
849 444 7 531
850 445 54 532
851 434 348 494
852 370 485 542
853 453 371 479
854 411 494 538
855 494 391 538
856 19 20 473
857 393 453 534
858 15 448 529
859 421 367 569
860 550 415 562
861 104 105 543
862 430 9 507
863 429 383 508
864 60 429 508
865 382 430 507
866 431 56 509
867 384 431 509
868 361 440 517
869 440 391 517
870 430 373 531
871 373 429 530
872 431 374 532
873 363 420 528
874 420 381 528
875 432 396 484
876 377 455 498
877 355 427 501
878 115 116 490
879 491 427 549
880 350 424 504
881 447 381 472
882 17 18 525
883 464 348 467
884 111 112 478
885 389 438 563
886 385 435 510
887 435 354 510
888 457 432 536
889 493 379 570
890 14 15 529
891 61 62 530
892 7 8 531
893 54 55 532
894 376 464 467
895 533 376 559
896 429 61 530
897 8 430 531
898 55 431 532
899 445 374 487
900 371 453 512
901 453 393 512
902 378 423 506
903 373 444 531
904 444 373 530
905 374 445 532
906 423 365 552
907 423 347 506
908 469 380 478
909 397 450 502
910 381 421 569
911 363 422 537
912 422 388 537
913 492 423 552
914 376 428 500
915 356 502 538
916 502 411 538
917 109 452 534
918 422 363 519
919 18 19 520
920 485 401 542
921 362 428 533
922 428 353 500
923 386 434 491
924 21 22 475
925 425 347 522
926 367 472 569
927 108 109 534
928 433 387 503
929 436 351 560
930 458 395 539
931 347 425 521
932 72 73 550
933 377 475 514
934 73 426 550
935 479 371 551
936 505 360 547
937 22 23 514
938 428 362 516
939 57 446 509
940 446 384 509
941 432 349 564
942 396 432 564
943 541 399 551
944 440 356 538
945 456 355 501
946 502 356 515
947 468 115 490
948 353 428 527
949 390 461 529
950 408 533 559
951 498 455 548
952 428 376 533
953 380 469 495
954 469 403 495
955 387 433 520
956 394 461 489
957 111 478 558
958 460 357 503
959 387 460 503
960 468 379 493
961 403 468 493
962 432 365 536
963 433 389 525
964 462 373 486
965 394 440 544
966 440 361 544
967 351 441 566
968 503 357 511
969 459 349 553
970 351 455 560
971 391 440 538
972 75 451 518
973 451 388 518
974 525 389 563
975 386 437 523
976 404 441 519
977 399 479 551
978 461 390 489
979 19 473 520
980 437 386 549
981 379 468 490
982 466 12 524
983 394 466 524
984 361 449 554
985 478 401 558
986 355 437 549
987 349 459 564
988 381 447 528
989 376 467 559
990 441 369 540
991 7 444 573
992 444 62 573
993 54 445 574
994 445 118 574
995 77 78 499
996 382 449 568
997 369 442 557
998 487 374 575
999 409 487 575
1000 454 371 512
1001 371 443 551
1002 458 378 506
1003 448 390 529
1004 374 463 575
1005 392 477 522
1006 397 459 553
1007 9 10 507
1008 59 60 508
1009 56 57 509
1010 448 15 561
1011 438 448 561
1012 473 406 505
1013 449 382 554
1014 450 397 553
1015 5 100 555
1016 80 5 555
1017 388 451 537
1018 452 393 534
1019 541 412 543
1020 396 497 511
1021 74 75 518
1022 102 103 526
1023 25 3 562
1024 3 72 562
1025 12 13 524
1026 383 462 527
1027 385 465 513
1028 13 461 524
1029 463 384 572
1030 561 16 563
1031 399 541 543
1032 467 385 559
1033 398 455 566
1034 455 351 566
1035 438 561 563
1036 387 473 505
1037 473 387 520
1038 455 398 548
1039 461 394 524
1040 456 370 542
1041 410 457 536
1042 455 377 560
1043 459 396 564
1044 401 480 542
1045 462 353 527
1046 392 460 547
1047 110 111 558
1048 472 381 569
1049 105 106 556
1050 496 397 515
1051 475 22 514
1052 357 460 546
1053 460 392 546
1054 360 498 548
1055 398 477 548
1056 477 360 548
1057 118 6 574
1058 62 2 573
1059 2 7 573
1060 6 54 574
1061 16 17 563
1062 466 394 544
1063 489 390 515
1064 15 16 561
1065 384 482 572
1066 100 101 565
1067 24 25 567
1068 390 496 515
1069 359 513 523
1070 354 463 572
1071 464 400 571
1072 347 492 522
1073 477 392 547
1074 486 382 568
1075 356 489 515
1076 497 389 511
1077 103 483 526
1078 101 470 565
1079 470 413 565
1080 360 477 547
1081 441 540 566
1082 488 412 541
1083 492 392 522
1084 385 510 559
1085 485 110 558
1086 106 479 556
1087 479 399 556
1088 415 474 567
1089 474 24 567
1090 386 491 549
1091 471 409 575
1092 516 383 527
1093 414 492 552
1094 358 488 541
1095 401 485 558
1096 395 521 557
1097 428 516 527
1098 513 359 570
1099 359 493 570
1100 562 415 567
1101 25 562 567
1102 413 555 565
1103 555 100 565
1104 510 408 559
1105 543 105 556
1106 400 517 571
1107 517 391 571
1108 17 525 563
1109 399 543 556
1110 540 398 566
$EndElements
$Parametrizations
0 0
$EndParametrizations
#include <gmsh.h>
#include <set>
#include <iostream>
namespace factory = gmsh::model::geo;
int
main(int argc, char ** argv)
{
gmsh::initialize();
gmsh::option::setNumber("General.Terminal", 1);
gmsh::model::add("square");
double length = 2;
double lc = .1;
auto bottom_left_point = factory::addPoint(0, 0, 0, lc);
auto bottom_right_point = factory::addPoint(length, 0, 0, lc);
auto top_right_point = factory::addPoint(length, length, 0, lc);
auto top_left_point = factory::addPoint(0, length, 0, lc);
auto top = factory::addPoint(length / 2, length, 0, lc);
auto bottom = factory::addPoint(length / 2, 0, 0, lc);
// Generate the blocks
auto right = factory::addLine(bottom_right_point, top_right_point);
auto left = factory::addLine(top_left_point, bottom_left_point);
auto bottom_left = factory::addLine(bottom_left_point, bottom);
auto bottom_right = factory::addLine(bottom, bottom_right_point);
auto top_left = factory::addLine(top, top_left_point);
auto top_right = factory::addLine(top_right_point, top);
auto left_interface = factory::addLine(bottom, top);
auto right_interface = factory::addLine(top, bottom);
auto left_curve_loop = factory::addCurveLoop({bottom_left, left_interface, top_left, left});
auto left_surface = factory::addPlaneSurface({left_curve_loop});
auto right_curve_loop = factory::addCurveLoop({bottom_right, right, top_right, right_interface});
auto right_surface = factory::addPlaneSurface({right_curve_loop});
// Add all the boundary ids and names
size_t boundary_id_counter = 100;
auto right_boundary_id = boundary_id_counter++;
gmsh::model::addPhysicalGroup(1, {right}, right_boundary_id);
gmsh::model::setPhysicalName(1, right_boundary_id, "right");
auto left_boundary_id = boundary_id_counter++;
gmsh::model::addPhysicalGroup(1, {left}, left_boundary_id);
gmsh::model::setPhysicalName(1, left_boundary_id, "left");
auto left_interface_boundary_id = boundary_id_counter++;
gmsh::model::addPhysicalGroup(1, {left_interface}, left_interface_boundary_id);
gmsh::model::setPhysicalName(1, left_interface_boundary_id, "master_interface");
auto right_interface_boundary_id = boundary_id_counter++;
gmsh::model::addPhysicalGroup(1, {right_interface}, right_interface_boundary_id);
gmsh::model::setPhysicalName(1, right_interface_boundary_id, "slave_interface");
// Add the subdomain ids and names
size_t subdomain_id_counter = 10;
auto left_subdomain_id = subdomain_id_counter++;
gmsh::model::addPhysicalGroup(2, {left_surface}, left_subdomain_id);
gmsh::model::setPhysicalName(2, left_subdomain_id, "left_block");
auto right_subdomain_id = subdomain_id_counter++;
gmsh::model::addPhysicalGroup(2, {right_surface}, right_subdomain_id);
gmsh::model::setPhysicalName(2, right_subdomain_id, "right_block");
factory::synchronize();
gmsh::model::mesh::generate(2);
gmsh::write("two-body.msh");
gmsh::finalize();
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment