-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathweld.proc
2097 lines (1973 loc) · 52.6 KB
/
weld.proc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
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
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
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
*full_reset *new_model yes
*prog_analysis_class thermal/structural
@pop(1)
@main(geometry_mesh)
@popup(coord_system_pm,0)
*grid_u_domain
-125 125
*grid_u_spacing
5
*grid_v_domain
-125 125
5
*grid_v_spacing
5
*set_grid on
@popdown(coord_system_pm,0)
*fill_view
|
| CREATE CURVES FOR SOLID COMPONENT BOUNDARY
|
@pop(1)
@popup(meshgen_pm,0)
*set_curve_type arc_craa
@pop(1)
*add_curves
0 0 0
100
90 130
0 0 0
100
130 140
0 0 0
100
140 220
0 0 0
100
220 230
0 0 0
100
230 270
|
| CREATE CURVES FOR SHELL WALL
|
0 0 0
125
90 130
0 0 0
125
130 140
0 0 0
125
140 220
0 0 0
125
220 230
0 0 0
125
230 270
|
| CREATE INTERNAL CURVES IN SOLID GEOMETRY
|
*add_curves
0 -25 0
50
90 270
0 70 0
15.0
90 270
*set_curve_type circle_cr
@pop(1)
*add_curves
-7.000000000000e+01 0.000000000000e+00 0.000000000000e+00
15.0
-4.500000000000e+01 4.500000000000e+01 0.000000000000e+00
15.0
*set_curve_type line
@pop(1)
*set_grid off
*add_curves
15
35
31
40
36
1
*add_curves
27
12
24
9
21
6
18
3
@popdown(meshgen_pm,0)
|
| CREATE MESH FOR FLANGES
|
@popup(curve_divisions_pm,0)
*prog_param geometry_and_mesh:mesh_cv_div_ndiv
8
*apply_curve_divisions
2
7
4
9
# | End of List
*prog_param geometry_and_mesh:mesh_cv_div_ndiv
10
*apply_curve_divisions
20
21
19
18
# | End of List
@pop(1)
@pop(1)
@popdown(curve_divisions_pm,0)
@popup(automesh_planar_pm,0)
*af_planar_quadmesh
7
21
2
20
# | End of List
19
4
18
9
# | End of List
@popdown(automesh_planar_pm,0)
@pop(1)
@pop(1)
@popup(sweep_pm,0)
*sweep_all
*remove_unused_nodes
*remove_unused_points
@popdown(sweep_pm,0)
@pop(1)
@popup(set_control_pm,0)
*store_elements
flange1
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55
56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80
# | End of List
@popdown(set_control_pm,0)
@popup(set_control_pm,0)
*store_elements
flange2
81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104
105 106 107 108 109 110 111 112 113 114 115 116 117 118 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
# | End of List
@popdown(set_control_pm,0)
@pop(1)
@popup(curve_divisions_pm,0)
*prog_option geometry_and_mesh:mesh_cv_div_type:curvature_dep
*prog_param geometry_and_mesh:mesh_cv_div_minl
6
*prog_param geometry_and_mesh:mesh_cv_div_maxl
8
*prog_option geometry_and_mesh:mesh_cv_div_restrict:even
*apply_curve_divisions
6
8
10
# | End of List
@popdown(curve_divisions_pm,0)
|
| CREATE MESH FOR SHELL WALL
|
@pop(1)
@popup(automesh_curves_pm,0)
*mesh_curves
6
7
8
9
10
# | End of List
@popdown(automesh_curves_pm,0)
@pop(1)
@popup(selection_control_pm,0)
@popup(select_elements_by_pm,0)
@popup(sel_elem_class_pm,0)
*select_elements_class line2
@popdown(sel_elem_class_pm,0)
@popdown(select_elements_by_pm,0)
@popup(set_control_pm,0)
*store_elements
shell_wall
all_selected
@popdown(set_control_pm,0)
*select_clear
@popdown(selection_control_pm,0)
@pop(1)
@popup(sweep_pm,0)
*sweep_all
*remove_unused_nodes
*remove_unused_points
@popdown(sweep_pm,0)
@pop(1)
@popup(renumber_pm,0)
*renumber_all
@popdown(renumber_pm,0)
|
| MOVE SHELL ELEMENTS DOWN BY 10 MM
|
@pop(1)
@popup(attach_pm,0)
*detach_elements
all_existing
@popdown(attach_pm,0)
@pop(1)
@popup(move_pm,0)
*prog_param move:trans_z -10
*move_elements
all_existing
@popdown(move_pm,0)
|
| CREATE MESH FOR SOLID CYLINDER
|
@pop(1)
@popup(curve_divisions_pm,0)
*prog_param geometry_and_mesh:mesh_cv_div_minl
6
*prog_param geometry_and_mesh:mesh_cv_div_maxl
8
*apply_curve_divisions
1
3
5
11
15
13
14
12
17
16
# | End of List
@popdown(curve_divisions_pm,0)
@pop(1)
@popup(automesh_planar_pm,0)
*af_planar_quadmesh
1
2
3
4
5
15
11
16
12
17
14
13
# | End of List
@popdown(automesh_planar_pm,0)
@pop(1)
@popup(sweep_pm,0)
*sweep_all
*remove_unused_nodes
*remove_unused_points
@popdown(sweep_pm,0)
@pop(1)
@popup(selection_control_pm,0)
@popup(select_set_entries_pm,0)
*select_sets flange1
*select_sets flange2
*select_sets shell_wall
*invisible_selected
@popdown(select_set_entries_pm,0)
@popdown(selection_control_pm,0)
@pop(1)
@popup(expand_pm,0)
*prog_param expand:trans_z -5
*expand_shift
*expand_elements
all_visible
*prog_param expand:trans_z -2.5
*prog_param expand:repetitions 4
*expand_elements
all_visible
*prog_param expand:trans_z -5
*prog_param expand:repetitions 1
*expand_elements
all_visible
*prog_param expand:trans_z -10
*prog_param expand:repetitions 2
*expand_remove
*expand_elements
all_visible
popdown(expand_pm,0)
@pop(1)
@popup(sweep_pm,0)
*sweep_nodes
all_visible
@popdown(sweep_pm,0)
@pop(1)
@popup(renumber_pm,0)
*renumber_all
@popdown(renumber_pm,0)
@pop(1)
@popup(set_control_pm,0)
*store_elements
solid
all_visible
@popdown(set_control_pm,0)
@popup(selection_control_pm,0)
@popup(select_set_entries_pm,0)
*select_sets shell_wall
@popdown(select_set_entries_pm,0)
*visible_selected
@popdown(selection_control_pm,0)
@pop(1)
popup(expand_pm,0)
*prog_param expand:repetitions 3
*expand_elements
all_visible
@popdown(expand_pm,0)
@pop(1)
@popup(sweep_pm,0)
*sweep_nodes
all_visible
@popdown(sweep_pm,0)
@popup(selection_control_pm,0)
@popup(select_set_entries_pm,0)
*select_sets flange1
*select_sets flange2
*select_sets shell_wall
@popdown(select_set_entries_pm,0)
*visible_selected
@popdown(selection_control_pm,0)
@pop(1)
@popup(sweep_pm,0)
*sweep_nodes
all_visible
@popdown(sweep_pm,0)
@pop(1)
@popup(selection_control_pm,0)
*invisible_selected
@popdown(selection_control_pm,0)
*elements_solid
*regenerate
|
| CREATE FILLER ELEMENT SET filler2
|
@popup(viewing_popmenu,0)
@popup(graphics_window_control_popmenu,0)
*show_graphics_window model:3
*maximize_graphics_window model:3
@popdown(graphics_window_control_popmenu,0)
@popdown(viewing_popmenu,0)
*rot_model_increment 75
*rot_model_cspace_y_for
*rot_model_increment 30
*rot_model_cspace_x_for
*rot_model_increment 10
*zoom_box
*zoom_box(3,0.400227,0.515267,0.512472,0.641221)
@pop(1)
@popup(duplicate_pm,0)
*prog_param duplicate:trans_y 2.5
*prog_param duplicate:trans_y 0
*prog_param duplicate:trans_z 2.5
*duplicate_nodes
*dynamic_model_off
128
# | End of List
@popdown(duplicate_pm,0)
@pop(1)
@popup(meshgen_pm,0)
*add_surfaces
point( -6.749269901709e+01, -8.043466652749e+01, -1.000000000000e+01)
point( -6.588572999287e+01, -7.851955541970e+01, -1.000000000000e+01)
point( -6.588572999287e+01, -7.851955541970e+01, -7.500000000000e+00)
49
50
point( -6.427876096865e+01, -7.660444431190e+01, -1.000000000000e+01)
point( -6.427876096865e+01, -7.660444431190e+01, -7.500000000000e+00)
51
51
53
point( -6.427876096865e+01, -7.660444431190e+01, -5.000000000000e+00)
51
@popdown(meshgen_pm,0)
@popup(plot_popmenu,0)
*set_nodes off
*set_elements off
*regenerate
@popdown(plot_popmenu,0)
@pop(1)
@popup(meshgen_pm,0)
*add_elements
node( -6.749269901709e+01, -8.043466652749e+01, -1.000000000000e+01)
node( -6.588572999287e+01, -7.851955541970e+01, -1.000000000000e+01)
node( -6.588572999287e+01, -7.851955541970e+01, -7.500000000000e+00)
node( -6.749269901709e+01, -8.043466652749e+01, -1.000000000000e+01)
node( -6.588572999287e+01, -7.851955541970e+01, -1.000000000000e+01)
node( -6.427876096865e+01, -7.660444431190e+01, -1.000000000000e+01)
node( -6.427876096865e+01, -7.660444431190e+01, -7.500000000000e+00)
node( -6.588572999287e+01, -7.851955541970e+01, -7.500000000000e+00)
node( -6.588572999287e+01, -7.851955541970e+01, -7.500000000000e+00)
node( -6.427876096865e+01, -7.660444431190e+01, -7.500000000000e+00)
node( -6.427876096865e+01, -7.660444431190e+01, -5.000000000000e+00)
node( -6.588572999287e+01, -7.851955541970e+01, -7.500000000000e+00)
@popdown(meshgen_pm,0)
@popup(plot_popmenu,0)
*set_elements on
*regenerate
@popdown(plot_popmenu,0)
@popup(set_control_pm,0)
*store_elements filler2
2473
2474
2475
# | End of List
@popdown(set_control_pm,0)
@pop(1)
@popup(expand_pm,0)
*prog_param expand:trans_z 0
*set_expand_point
0 0 -10
*prog_param expand:rot_y 0
*prog_param expand:rot_z -1
*prog_param expand:repetitions 10
*expand_elements
2473
2474
2475
# | End of List
@popdown(expand_pm,0)
@popup(plot_popmenu,0)
*set_nodes on
*regenerate
@popdown(plot_popmenu,0)
@popup(selection_control_pm,0)
@popup(select_set_entries_pm,0)
*select_sets filler2
@popdown(select_set_entries_pm,0)
*visible_selected
@popdown(selection_control_pm,0)
@pop(1)
@popup(sweep_pm,0)
*sweep_nodes
all_visible
@popdown(sweep_pm,0)
@popup(selection_control_pm,0)
*invisible_selected
@popdown(selection_control_pm,0)
*reset_view
*fill_view
|
| CREATE FILLER ELEMENT SET filler1
|
*rot_model_increment -75
*rot_model_cspace_y_for
*rot_model_increment 30
*rot_model_cspace_x_for
*rot_model_increment 10
*zoom_box
*zoom_box(3,0.482702,0.549242,0.591433,0.647727)
@pop(1)
@popup(meshgen_pm,0)
*set_element_class line2
*add_elements
28
574
*add_node_between
-8.043466652749e+01 6.749269901709e+01 -1.000000000000e+01
-7.660444431190e+01 6.427876096865e+01 -5.000000000000e+00
*add_elements
30
3757
29
3757
3757
940
@popdown(meshgen_pm,0)
@pop(1)
@popup(subdivide_pm,0)
*subdivide_elements
2506
# | End of List
@popdown(subdivide_pm,0)
@popup(set_control_pm,0)
*store_elements filler1
2510
2511
2508
2507
2509
# | End of List
@popdown(set_control_pm,0)
@popup(selection_control_pm,0)
@popup(select_set_entries_pm,0)
*select_sets filler1
@popdown(select_set_entries_pm,0)
*visible_selected
@popdown(selection_control_pm,0)
@pop(1)
@popup(sweep_pm,0)
*sweep_nodes
all_visible
@popdown(sweep_pm,0)
@popup(selection_control_pm,0)
*invisible_selected
@popdown(selection_control_pm,0)
@pop(1)
@popup(expand_pm,0)
*prog_param expand:rot_z -1.25
*prog_param expand:repetitions 8
*expand_elements
2510
2511
2508
2507
2509
# | End of List
@popdown(expand_pm,0)
@popup(plot_popmenu,0)
@popup(plot_nodes_popmenu,0)
*set_nodes on
*set_node_labels on
@popdown(plot_nodes_popmenu,0)
@popdown(plot_popmenu,0)
@pop(1)
*elements_wireframe
*regenerate
@popup(selection_control_pm,0)
@popup(select_set_entries_pm,0)
*select_sets flange1
*select_sets filler1
@popdown(select_set_entries_pm,0)
*visible_selected
@popdown(selection_control_pm,0)
@pop(1)
@popup(sweep_pm,0)
*sweep_nodes
all_visible
@popdown(sweep_pm,0)
@pop(1)
@popup(sweep_pm,0)
*prog_param sweep:tolerance
1
*sweep_nodes
3831
52
# | End of List
3833
65
# | End of List
66 3835
# | End of List
67 3837
# | End of List
68 3839
# | End of List
69 3841
# | End of List
53 3843
# | End of List
@popdown(sweep_pm,0)
@popup(selection_control_pm,0)
*invisible_selected
@popdown(selection_control_pm,0)
@pop(1)
@popup(sweep_pm,0)
*prog_param sweep:tolerance
.0001
*sweep_nodes
1 2 3 4 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 49 50 51 52 53
61 65 66 67 68 69 77 78 83 89 90 91 96 97 254 255 256 257 258 259 260 261 262
263 368 369 370 371 372 373 374 511 512 513 514 565 566 567 568 569 570 571 572
573 574 575 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914
915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934
935 936 937 938 939 940 941 942 943 944 945 2122 2123 2124 2125 2126 2127 2128
2129 2130 2131 2431 2433 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2446
2657 2659 2661 2663 2665 2667 2669 2823 2939 2941 2947 2949 2951 3049 3757 3760
3763 3765 3767 3769 3771 3773 3775 3795 3797
3799 3801 3803 3805 3807 3809 3811 3814 3816 3818 3820 3822 3824 3826 3828 3848
3850 3852 3854 3856 3858 3860 3862
# | End of List
@popdown(sweep_pm,0)
*zoom_box
*zoom_box(3,0.283447,0.413486,0.451247,0.623410)
@popup(plot_popmenu,0)
@popup(plot_elements_popmenu,0)
*elements_solid
*regenerate
@popdown(plot_elements_popmenu,0)
@popdown(plot_popmenu,0)
*zoom_increment 3
*zoom_out
*zoom_increment 1.1
*zoom_box
*zoom_box(3,0.433107,0.296438,0.760771,0.651399)
@popup(plot_popmenu,0)
@popup(plot_elements_popmenu,0)
*elements_wireframe
*regenerate
@popdown(plot_elements_popmenu,0)
@popdown(plot_popmenu,0)
*rot_model_cspace_z_rev
*rot_model_cspace_z_rev
*rot_model_cspace_z_rev
*zoom_box
*zoom_box(3,0.356129,0.326531,0.515484,0.511565)
@pop(1)
@popup(sweep_pm,0)
*prog_param sweep:tolerance
.01
*sweep_nodes
34 572 573 574 924 928 932 2665
# | End of List
*sweep_nodes
1 2 3 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 50 51 52 53 65 66 67 68
69 78 90 91 257 258 259 260 261 262 370 371 372 373 566 567 568 569 570 571 572
573 574 903 905 906 907 908 910 911 912 914 915 916 918 919 920 922 923 924 926
927 928 930 931 932 934 936 938 940 2123 2124 2125 2126 2127 2128 2435 2437
2438 2439 2440 2441 2442 2444 2659 2661 2663 2665 2667 3757 3763 3765 3767 3769
3771 3773 3775 3814 3816 3818 3820
3822 3824 3826 3828
# | End of List
@popdown(sweep_pm,0)
@popup(plot_popmenu,0)
@popup(plot_elements_popmenu,0)
*elements_solid
*edges_surface
*regenerate
@popdown(plot_elements_popmenu,0)
*set_nodes off
*regenerate
*set_nodes on
*set_node_labels off
*regenerate
@popdown(plot_popmenu,0)
*fill_view
@pop(1)
@popup(viewing_popmenu,0)
@popup(graphics_window_control_popmenu,0)
*maximize_graphics_window model:1
@popdown(graphics_window_control_popmenu,0)
@popdown(viewing_popmenu,0)
|
| ADD GEOMETRIC PROPERTIES FOR SHELL WALL
|
@main(geometric_properties)
*new_geometry *geometry_type mech_three_shell
@popup(geom_properties_pm,0)
*geometry_name shell_wall
*geometry_param thick 1
*add_geometry_elements
shell_wall
@popdown(geom_properties_pm,0)
@popup(identify_popmenu,0)
*identify_geometries
*regenerate
@popdown(identify_popmenu,0)
*show_view 3
*reset_view
*fill_view
*rot_model_cspace_x_rev
*rot_model_cspace_y_rev
*rot_model_cspace_y_rev
*rot_model_cspace_y_rev
*rot_model_cspace_y_rev
*rot_model_cspace_y_rev
*rot_model_cspace_y_rev
*rot_model_cspace_y_rev
*rot_model_cspace_y_rev
*rot_model_cspace_y_rev
*rot_model_cspace_y_rev
*rot_model_cspace_y_rev
*rot_model_cspace_y_rev
*rot_model_cspace_y_rev
*rot_model_cspace_y_rev
*rot_model_cspace_y_rev
*rot_model_cspace_z_rev
*rot_model_cspace_x_rev
*rot_model_cspace_x_for
*rot_model_cspace_x_for
*rot_model_cspace_x_for
*rot_model_cspace_x_for
*draw_automatic
*fill_view
|
| ADD GEOMETRIC PROPERTIES FOR FLANGES
|
*new_geometry *geometry_type mech_three_shell
@popup(geom_properties_pm,0)
*geometry_name flanges
*geometry_param thick 2
*add_geometry_elements
flange1 flange2
@popdown(geom_properties_pm,0)
|
| ADD GEOMETRIC PROPERTIES FOR SOLID CYLINDER
|
*new_geometry *geometry_type mech_three_solid
@popup(geom_properties_pm,0)
*geometry_name solid
*geometry_option ctemperature:on
*add_geometry_elements
solid
@popdown(geom_properties_pm,0)
|
| ADD GEOMETRIC PROPERTIES FOR WELD FILLER 1
|
*new_geometry *geometry_type mech_three_shell
@popup(geom_properties_pm,0)
*geometry_name filler1
*geometry_param thick .5*5*5/(2.5*sqrt(2)*3+2.5*2)
*add_geometry_elements
filler1
@popdown(geom_properties_pm,0)
|
| ADD GEOMETRIC PROPERTIES FOR WELD FILLER 2
|
*new_geometry *geometry_type mech_three_solid
@popup(geom_properties_pm,0)
*geometry_name filler2
*geometry_option ctemperature:on
*add_geometry_elements
filler2
@popdown(geom_properties_pm,0)
*elements_solid *regenerate
@popup(plot_popmenu,0)
*set_nodes off
*set_points off
*set_curves off
*set_surfaces off
*set_solids off
*regenerate
@popdown(plot_popmenu,0)
@popup(identify_popmenu,0)
*identify_sets
*identify_node_sets off
*identify_point_sets off
*identify_solid_sets off
*identify_surface_sets off
*identify_curve_sets off
*regenerate
*identify_none
*regenerate
@popdown(identify_popmenu,0)
@pop(1)
@popup(plot_popmenu,0)
@popup(plot_elements_popmenu,0)
@popup(shell_plot_pm,0)
*draw_shells_expanded on
*regenerate
*draw_shells_expanded off
*regenerate
@popdown(shell_plot_pm,0)
@popdown(plot_elements_popmenu,0)
@popdown(plot_popmenu,0)
@popup(plot_popmenu,0)
*set_nodes on
*regenerate
@popdown(plot_popmenu,0)
@pop(1)
@pop(1)
|
| ADD MATERIAL PROPERTIES FOR BASE METAL
|
@main(material_properties)
@popup(read_material_popmenu,0)
@popdown(read_material_popmenu,0)
*mater_read 100Cr6.mfd
*edit_mater 100Cr6
@popup(mat_pm,0)
*add_mater_elements
solid flange1 flange2 shell_wall
@popdown(mat_pm,0)
|
| ADD MATERIAL PROPERTIES FOR WELD FILLERS
|
@popup(read_material_popmenu,0)
@popdown(read_material_popmenu,0)
*mater_read 41Cr4.mfd
*edit_mater 41Cr4
@popup(mat_pm,0)
*add_mater_elements
filler1 filler2
@popdown(mat_pm,0)
@popup(identify_popmenu,0)
*identify_materials
*regenerate
popdown(identify_popmenu,0)
@popup(identify_popmenu,0)
*identify_sets
*regenerate
@popdown(identify_popmenu,0)
@pop(1)
|
| PREPARE TO ADD WELD PATHS - CREATE ORIENTATION NODE AND POLYLINE CURVES
|
@main(geometry_mesh)
@popup(meshgen_pm,0)
*add_nodes
0 0 -10
@popdown(meshgen_pm,0)
@popup(selection_control_pm,0)
@popup(select_set_entries_pm,0)
*select_sets filler1
@popdown(select_set_entries_pm,0)
*visible_selected
@popdown(selection_control_pm,0)
*fill_view
*rot_model_cspace_x_rev
*rot_model_cspace_x_rev
*rot_model_cspace_x_rev
*rot_model_cspace_x_rev
*rot_model_cspace_x_rev
*rot_model_cspace_x_rev
*rot_model_cspace_x_rev
*rot_model_cspace_x_rev
*rot_model_cspace_x_rev
*rot_model_cspace_x_rev
*rot_model_cspace_x_rev
*rot_model_cspace_x_rev
*rot_model_cspace_x_rev
*elements_wireframe *regenerate
@pop(1)
@pop(1)
@popup(plot_popmenu,0)
@popup(plot_elements_popmenu,0)
@popup(shell_plot_pm,0)
*draw_shells_expanded off
*regenerate
@popdown(shell_plot_pm,0)
@popdown(plot_elements_popmenu,0)
@popdown(plot_popmenu,0)
@pop(1)
@main(geometry_mesh)
@popup(meshgen_pm,0)
*set_curves on
*set_curve_direction on
*set_curve_labels on
*set_points off
*set_point_labels on
*regenerate
*set_curve_type polyline
*add_curves
*dynamic_model_off
point( -7.660444431190e+01, 6.427876096865e+01, -1.000000000000e+01)
point( -7.518217838071e+01, 6.593663665922e+01, -1.000000000000e+01)
point( -7.372593789564e+01, 6.756098046512e+01, -1.000000000000e+01)
point( -7.223461028858e+01, 6.915317112365e+01, -1.000000000000e+01)
point( -7.070890539520e+01, 7.071245079767e+01, -1.000000000000e+01)
point( -6.914954933119e+01, 7.223807740585e+01, -1.000000000000e+01)
point( -6.755728413707e+01, 7.372932496655e+01, -1.000000000000e+01)
point( -6.593321510135e+01, 7.518517903416e+01, -1.000000000000e+01)
point( -6.427876096865e+01, 7.660444431190e+01, -1.000000000000e+01)
# | End of List
point( -7.851955541969e+01, 6.588572999287e+01, -7.500000000000e+00)
point( -7.706358026659e+01, 6.758294604776e+01, -7.500000000000e+00)
point( -7.557092702304e+01, 6.924799628060e+01, -7.500000000000e+00)
point( -7.404230611112e+01, 7.088008821768e+01, -7.500000000000e+00)
point( -7.247844507162e+01, 7.247844507162e+01, -7.500000000000e+00)
point( -7.088008821768e+01, 7.404230611112e+01, -7.500000000000e+00)
point( -6.924799628060e+01, 7.557092702304e+01, -7.500000000000e+00)
point( -6.758294604776e+01, 7.706358026659e+01, -7.500000000000e+00)
point( -6.588572999287e+01, 7.851955541969e+01, -7.500000000000e+00)
# | End of List
*rot_model_cspace_x_for
*rot_model_cspace_x_for
*select_curves
22
23
#
*select_clear_curves
*set_curves off
*set_points off
*regenerate
@popdown(meshgen_pm,0)
@pop(1)
|
| ADD WELD PATH 1
|
@main(toolbox)
*new_weldpath
@popup(weldpaths_pm,0)
*weldpath_option method:curves
*add_weldpath_curves
22
# | End of List
*add_weldpath_orient_curves
23
# | End of List
*weldpath_param angle
180
@popdown(weldpaths_pm,0)
@popup(plot_weldpaths_popmenu,0)
*set_weldpaths off
*regenerate
*set_weldpaths on
*regenerate
@popdown(plot_weldpaths_popmenu,0)
*elements_solid *regenerate
@pop(1)
|
| ADD WELD PATH 2
|
*new_weldpath
@popup(weldpaths_pm,0)
@popup(selection_control_pm,0)
@popup(select_set_entries_pm,0)
*select_sets filler2
@popdown(select_set_entries_pm,0)
*visible_selected
@popdown(selection_control_pm,0)
*fill_view
*elements_wireframe *regenerate
*zoom_box
*zoom_box(3,0.678710,0.564626,0.745806,0.738776)
*rot_model_cspace_x_rev
*rot_model_cspace_z_rev
*rot_model_cspace_z_rev
*rot_model_cspace_z_rev
*rot_model_cspace_z_rev
*rot_model_cspace_z_rev
*rot_model_cspace_z_rev
*rot_model_cspace_z_rev