better example

This commit is contained in:
Martin Diehl 2021-04-10 23:52:59 +02:00
parent 1133090b6c
commit cfbb2d416f
6 changed files with 442 additions and 431 deletions

3
examples/.gitignore vendored
View File

@ -3,3 +3,6 @@
*.xdmf *.xdmf
*.sta *.sta
*.vt* *.vt*
*.out
*.sts
*.t16

View File

@ -1,429 +0,0 @@
#-------------------#
<homogenization>
#-------------------#
{../ConfigFiles/Homogenization_None_Dummy.config}
#-------------------#
<microstructure>
#-------------------#
[Grain001]
(constituent) phase 1 texture 1 fraction 1.0
[Grain002]
(constituent) phase 1 texture 2 fraction 1.0
[Grain003]
(constituent) phase 1 texture 3 fraction 1.0
[Grain004]
(constituent) phase 1 texture 4 fraction 1.0
[Grain005]
(constituent) phase 1 texture 5 fraction 1.0
[Grain006]
(constituent) phase 1 texture 6 fraction 1.0
[Grain007]
(constituent) phase 1 texture 7 fraction 1.0
[Grain008]
(constituent) phase 1 texture 8 fraction 1.0
[Grain009]
(constituent) phase 1 texture 9 fraction 1.0
[Grain010]
(constituent) phase 1 texture 10 fraction 1.0
[Grain011]
(constituent) phase 1 texture 11 fraction 1.0
[Grain012]
(constituent) phase 1 texture 12 fraction 1.0
[Grain013]
(constituent) phase 1 texture 13 fraction 1.0
[Grain014]
(constituent) phase 1 texture 14 fraction 1.0
[Grain015]
(constituent) phase 1 texture 15 fraction 1.0
[Grain016]
(constituent) phase 1 texture 16 fraction 1.0
[Grain017]
(constituent) phase 1 texture 17 fraction 1.0
[Grain018]
(constituent) phase 1 texture 18 fraction 1.0
[Grain019]
(constituent) phase 1 texture 19 fraction 1.0
[Grain020]
(constituent) phase 1 texture 20 fraction 1.0
[Grain021]
(constituent) phase 1 texture 21 fraction 1.0
[Grain022]
(constituent) phase 1 texture 22 fraction 1.0
[Grain023]
(constituent) phase 1 texture 23 fraction 1.0
[Grain024]
(constituent) phase 1 texture 24 fraction 1.0
[Grain025]
(constituent) phase 1 texture 25 fraction 1.0
[Grain026]
(constituent) phase 1 texture 26 fraction 1.0
[Grain027]
(constituent) phase 1 texture 27 fraction 1.0
[Grain028]
(constituent) phase 1 texture 28 fraction 1.0
[Grain029]
(constituent) phase 1 texture 29 fraction 1.0
[Grain030]
(constituent) phase 1 texture 30 fraction 1.0
[Grain031]
(constituent) phase 1 texture 31 fraction 1.0
[Grain032]
(constituent) phase 1 texture 32 fraction 1.0
[Grain033]
(constituent) phase 1 texture 33 fraction 1.0
[Grain034]
(constituent) phase 1 texture 34 fraction 1.0
[Grain035]
(constituent) phase 1 texture 35 fraction 1.0
[Grain036]
(constituent) phase 1 texture 36 fraction 1.0
[Grain037]
(constituent) phase 1 texture 37 fraction 1.0
[Grain038]
(constituent) phase 1 texture 38 fraction 1.0
[Grain039]
(constituent) phase 1 texture 39 fraction 1.0
[Grain040]
(constituent) phase 1 texture 40 fraction 1.0
[Grain041]
(constituent) phase 1 texture 41 fraction 1.0
[Grain042]
(constituent) phase 1 texture 42 fraction 1.0
[Grain043]
(constituent) phase 1 texture 43 fraction 1.0
[Grain044]
(constituent) phase 1 texture 44 fraction 1.0
[Grain045]
(constituent) phase 1 texture 45 fraction 1.0
[Grain046]
(constituent) phase 1 texture 46 fraction 1.0
[Grain047]
(constituent) phase 1 texture 47 fraction 1.0
[Grain048]
(constituent) phase 1 texture 48 fraction 1.0
[Grain049]
(constituent) phase 1 texture 49 fraction 1.0
[Grain050]
(constituent) phase 1 texture 50 fraction 1.0
[Grain051]
(constituent) phase 1 texture 51 fraction 1.0
[Grain052]
(constituent) phase 1 texture 52 fraction 1.0
[Grain053]
(constituent) phase 1 texture 53 fraction 1.0
[Grain054]
(constituent) phase 1 texture 54 fraction 1.0
[Grain055]
(constituent) phase 1 texture 55 fraction 1.0
[Grain056]
(constituent) phase 1 texture 56 fraction 1.0
[Grain057]
(constituent) phase 1 texture 57 fraction 1.0
[Grain058]
(constituent) phase 1 texture 58 fraction 1.0
[Grain059]
(constituent) phase 1 texture 59 fraction 1.0
[Grain060]
(constituent) phase 1 texture 60 fraction 1.0
[Grain061]
(constituent) phase 1 texture 61 fraction 1.0
[Grain062]
(constituent) phase 1 texture 62 fraction 1.0
[Grain063]
(constituent) phase 1 texture 63 fraction 1.0
[Grain064]
(constituent) phase 1 texture 64 fraction 1.0
[Grain065]
(constituent) phase 1 texture 65 fraction 1.0
[Grain066]
(constituent) phase 1 texture 66 fraction 1.0
[Grain067]
(constituent) phase 1 texture 67 fraction 1.0
[Grain068]
(constituent) phase 1 texture 68 fraction 1.0
[Grain069]
(constituent) phase 1 texture 69 fraction 1.0
[Grain070]
(constituent) phase 1 texture 70 fraction 1.0
[Grain071]
(constituent) phase 1 texture 71 fraction 1.0
[Grain072]
(constituent) phase 1 texture 72 fraction 1.0
[Grain073]
(constituent) phase 1 texture 73 fraction 1.0
[Grain074]
(constituent) phase 1 texture 74 fraction 1.0
[Grain075]
(constituent) phase 1 texture 75 fraction 1.0
[Grain076]
(constituent) phase 1 texture 76 fraction 1.0
[Grain077]
(constituent) phase 1 texture 77 fraction 1.0
[Grain078]
(constituent) phase 1 texture 78 fraction 1.0
[Grain079]
(constituent) phase 1 texture 79 fraction 1.0
[Grain080]
(constituent) phase 1 texture 80 fraction 1.0
[Grain081]
(constituent) phase 1 texture 81 fraction 1.0
[Grain082]
(constituent) phase 1 texture 82 fraction 1.0
[Grain083]
(constituent) phase 1 texture 83 fraction 1.0
[Grain084]
(constituent) phase 1 texture 84 fraction 1.0
[Grain085]
(constituent) phase 1 texture 85 fraction 1.0
[Grain086]
(constituent) phase 1 texture 86 fraction 1.0
[Grain087]
(constituent) phase 1 texture 87 fraction 1.0
[Grain088]
(constituent) phase 1 texture 88 fraction 1.0
[Grain089]
(constituent) phase 1 texture 89 fraction 1.0
[Grain090]
(constituent) phase 1 texture 90 fraction 1.0
[Grain091]
(constituent) phase 1 texture 91 fraction 1.0
[Grain092]
(constituent) phase 1 texture 92 fraction 1.0
[Grain093]
(constituent) phase 1 texture 93 fraction 1.0
[Grain094]
(constituent) phase 1 texture 94 fraction 1.0
[Grain095]
(constituent) phase 1 texture 95 fraction 1.0
[Grain096]
(constituent) phase 1 texture 96 fraction 1.0
[Grain097]
(constituent) phase 1 texture 97 fraction 1.0
[Grain098]
(constituent) phase 1 texture 98 fraction 1.0
[Grain099]
(constituent) phase 1 texture 99 fraction 1.0
[Grain100]
(constituent) phase 1 texture 100 fraction 1.0
[cubeGrain]
(constituent) phase 1 texture 101 fraction 1.0
#-------------------#
<texture>
#-------------------#
[Grain001]
(gauss) phi1 359.121452 Phi 82.319471 Phi2 347.729535
[Grain002]
(gauss) phi1 269.253967 Phi 105.379919 Phi2 173.029284
[Grain003]
(gauss) phi1 26.551535 Phi 171.606752 Phi2 124.949264
[Grain004]
(gauss) phi1 123.207774 Phi 124.339577 Phi2 47.937748
[Grain005]
(gauss) phi1 324.188825 Phi 103.089216 Phi2 160.373624
[Grain006]
(gauss) phi1 238.295585 Phi 165.416882 Phi2 234.307741
[Grain007]
(gauss) phi1 232.707177 Phi 110.733726 Phi2 308.049265
[Grain008]
(gauss) phi1 144.463291 Phi 125.891441 Phi2 348.674207
[Grain009]
(gauss) phi1 215.423832 Phi 69.759502 Phi2 164.477632
[Grain010]
(gauss) phi1 118.805444 Phi 143.057031 Phi2 271.963190
[Grain011]
(gauss) phi1 218.049576 Phi 64.017550 Phi2 323.040457
[Grain012]
(gauss) phi1 236.962483 Phi 134.312093 Phi2 220.433366
[Grain013]
(gauss) phi1 352.317686 Phi 3.356527 Phi2 92.447275
[Grain014]
(gauss) phi1 198.311545 Phi 71.452240 Phi2 199.441849
[Grain015]
(gauss) phi1 351.993635 Phi 36.500987 Phi2 236.852886
[Grain016]
(gauss) phi1 262.389063 Phi 101.249950 Phi2 334.305959
[Grain017]
(gauss) phi1 53.220668 Phi 69.570254 Phi2 277.061151
[Grain018]
(gauss) phi1 122.156119 Phi 140.207051 Phi2 221.172906
[Grain019]
(gauss) phi1 295.422170 Phi 26.595511 Phi2 263.206315
[Grain020]
(gauss) phi1 179.137406 Phi 104.500977 Phi2 151.742108
[Grain021]
(gauss) phi1 199.045094 Phi 5.228899 Phi2 356.542109
[Grain022]
(gauss) phi1 268.671476 Phi 24.835403 Phi2 33.578889
[Grain023]
(gauss) phi1 264.248527 Phi 59.766630 Phi2 340.865462
[Grain024]
(gauss) phi1 254.223491 Phi 51.125301 Phi2 201.094027
[Grain025]
(gauss) phi1 22.214008 Phi 92.248774 Phi2 215.168318
[Grain026]
(gauss) phi1 49.511491 Phi 79.933539 Phi2 187.188575
[Grain027]
(gauss) phi1 318.916204 Phi 113.102650 Phi2 241.076629
[Grain028]
(gauss) phi1 239.378433 Phi 89.578655 Phi2 94.167043
[Grain029]
(gauss) phi1 27.561421 Phi 142.892093 Phi2 197.735666
[Grain030]
(gauss) phi1 135.210581 Phi 165.859834 Phi2 285.449561
[Grain031]
(gauss) phi1 223.515916 Phi 56.824378 Phi2 343.289074
[Grain032]
(gauss) phi1 41.127974 Phi 111.289145 Phi2 214.855145
[Grain033]
(gauss) phi1 17.335045 Phi 140.496745 Phi2 77.747371
[Grain034]
(gauss) phi1 36.206421 Phi 148.574232 Phi2 88.870226
[Grain035]
(gauss) phi1 159.618336 Phi 125.680504 Phi2 204.119403
[Grain036]
(gauss) phi1 8.752464 Phi 99.173166 Phi2 143.227089
[Grain037]
(gauss) phi1 351.570753 Phi 67.343218 Phi2 1.779612
[Grain038]
(gauss) phi1 46.771572 Phi 155.018674 Phi2 302.319987
[Grain039]
(gauss) phi1 244.255976 Phi 80.566566 Phi2 264.069331
[Grain040]
(gauss) phi1 41.775388 Phi 47.109507 Phi2 300.598550
[Grain041]
(gauss) phi1 268.753103 Phi 46.654050 Phi2 190.382041
[Grain042]
(gauss) phi1 239.574480 Phi 62.517793 Phi2 147.817535
[Grain043]
(gauss) phi1 128.059775 Phi 61.916743 Phi2 169.674359
[Grain044]
(gauss) phi1 166.545156 Phi 58.709099 Phi2 252.885391
[Grain045]
(gauss) phi1 92.867691 Phi 28.906456 Phi2 164.197290
[Grain046]
(gauss) phi1 291.056147 Phi 35.145174 Phi2 250.155599
[Grain047]
(gauss) phi1 79.015862 Phi 44.772479 Phi2 267.982808
[Grain048]
(gauss) phi1 108.400702 Phi 69.883075 Phi2 222.737053
[Grain049]
(gauss) phi1 348.326500 Phi 11.339714 Phi2 121.682346
[Grain050]
(gauss) phi1 331.476209 Phi 108.775043 Phi2 335.139671
[Grain051]
(gauss) phi1 196.750278 Phi 93.955106 Phi2 63.689075
[Grain052]
(gauss) phi1 136.077875 Phi 130.508342 Phi2 128.468976
[Grain053]
(gauss) phi1 239.643513 Phi 76.284643 Phi2 168.821008
[Grain054]
(gauss) phi1 113.850670 Phi 117.531757 Phi2 71.971648
[Grain055]
(gauss) phi1 149.554071 Phi 16.543098 Phi2 195.556172
[Grain056]
(gauss) phi1 46.626579 Phi 52.447846 Phi2 304.495569
[Grain057]
(gauss) phi1 255.251821 Phi 86.678048 Phi2 238.982712
[Grain058]
(gauss) phi1 324.266133 Phi 28.075458 Phi2 41.191295
[Grain059]
(gauss) phi1 312.000332 Phi 74.648725 Phi2 87.403581
[Grain060]
(gauss) phi1 57.742481 Phi 163.241519 Phi2 68.491438
[Grain061]
(gauss) phi1 112.442447 Phi 51.735320 Phi2 206.538656
[Grain062]
(gauss) phi1 297.453842 Phi 115.283041 Phi2 57.785319
[Grain063]
(gauss) phi1 119.132681 Phi 117.923565 Phi2 196.121206
[Grain064]
(gauss) phi1 199.267314 Phi 163.091476 Phi2 53.549301
[Grain065]
(gauss) phi1 37.765215 Phi 76.795488 Phi2 146.264753
[Grain066]
(gauss) phi1 324.550183 Phi 27.665150 Phi2 56.383148
[Grain067]
(gauss) phi1 337.305377 Phi 136.807151 Phi2 133.661586
[Grain068]
(gauss) phi1 115.744041 Phi 64.536978 Phi2 262.694800
[Grain069]
(gauss) phi1 136.293403 Phi 48.862462 Phi2 343.319175
[Grain070]
(gauss) phi1 111.030931 Phi 80.823213 Phi2 84.041594
[Grain071]
(gauss) phi1 303.985249 Phi 118.929631 Phi2 302.307709
[Grain072]
(gauss) phi1 193.556259 Phi 75.928015 Phi2 176.696899
[Grain073]
(gauss) phi1 102.543259 Phi 121.929923 Phi2 234.496773
[Grain074]
(gauss) phi1 218.581323 Phi 101.753894 Phi2 305.566089
[Grain075]
(gauss) phi1 229.542114 Phi 118.839215 Phi2 129.179156
[Grain076]
(gauss) phi1 202.258840 Phi 139.205956 Phi2 352.248979
[Grain077]
(gauss) phi1 137.954289 Phi 63.806918 Phi2 128.975049
[Grain078]
(gauss) phi1 327.557366 Phi 84.987420 Phi2 345.483143
[Grain079]
(gauss) phi1 334.610243 Phi 74.535474 Phi2 106.419231
[Grain080]
(gauss) phi1 62.906243 Phi 46.752029 Phi2 222.692276
[Grain081]
(gauss) phi1 254.121439 Phi 121.005485 Phi2 287.265977
[Grain082]
(gauss) phi1 140.765045 Phi 141.268031 Phi2 271.327656
[Grain083]
(gauss) phi1 10.726984 Phi 66.339177 Phi2 189.073212
[Grain084]
(gauss) phi1 270.921536 Phi 72.821127 Phi2 313.590515
[Grain085]
(gauss) phi1 299.059668 Phi 23.884874 Phi2 80.016277
[Grain086]
(gauss) phi1 208.617406 Phi 11.031834 Phi2 302.388247
[Grain087]
(gauss) phi1 62.929967 Phi 65.223261 Phi2 108.558265
[Grain088]
(gauss) phi1 9.014959 Phi 33.542169 Phi2 247.970366
[Grain089]
(gauss) phi1 272.432808 Phi 30.065174 Phi2 19.803570
[Grain090]
(gauss) phi1 179.621980 Phi 151.763475 Phi2 61.871794
[Grain091]
(gauss) phi1 247.810321 Phi 112.752980 Phi2 264.668469
[Grain092]
(gauss) phi1 270.780630 Phi 102.037858 Phi2 31.602610
[Grain093]
(gauss) phi1 17.626672 Phi 56.032415 Phi2 245.079600
[Grain094]
(gauss) phi1 112.165186 Phi 87.390459 Phi2 182.086729
[Grain095]
(gauss) phi1 157.869381 Phi 79.905131 Phi2 107.037081
[Grain096]
(gauss) phi1 106.163846 Phi 148.477084 Phi2 350.980466
[Grain097]
(gauss) phi1 262.138550 Phi 58.923588 Phi2 111.303439
[Grain098]
(gauss) phi1 88.739397 Phi 119.092789 Phi2 222.502594
[Grain099]
(gauss) phi1 337.603765 Phi 10.145102 Phi2 80.934916
[Grain100]
(gauss) phi1 341.022242 Phi 45.927285 Phi2 252.045476
[cube]
(gauss) phi1 0 Phi 0 phi2 0
#-------------------#
<phase>
#-------------------#
{../ConfigFiles/Phase_Phenopowerlaw_Aluminum.config}
{../ConfigFiles/Phase_Isotropic_AluminumIsotropic.config}

View File

@ -0,0 +1,31 @@
---
homogenization:
SX:
N_constituents: 1
mechanical: {type: pass}
phase:
Aluminum:
lattice: cF
mechanical:
output: [F, P, F_e, F_p, L_p, O]
elastic: {type: Hooke, C_11: 106.75e9, C_12: 60.41e9, C_44: 28.34e9}
plastic:
type: phenopowerlaw
N_sl: [12]
a_sl: 2.25
atol_xi: 1.0
dot_gamma_0_sl: 0.001
h_0_sl_sl: 75e6
h_sl_sl: [1, 1, 1.4, 1.4, 1.4, 1.4]
n_sl: 20
output: [xi_sl]
xi_0_sl: [31e6]
xi_inf_sl: [63e6]
material:
- homogenization: SX
constituents:
- phase: Aluminum
v: 1.0
O: [0.9330127018922194, 0.25, 0.06698729810778066, 0.25]

Binary file not shown.

View File

@ -0,0 +1,406 @@
title r-value
$....MARC input file produced by Marc Mentat 2019 (64bit)
$...................................
$....input file using extended precision
extended
$...................................
sizing 0 80 165 0
alloc 25
elements 7
version 14 1 0 1
table 0 0 2 1 1 0 0 1
processor 1 1 1 0
$no list
large stra 2 1 0 0 0 0 0
all points
no echo 1 2 3 4
state vars 3
end
$...................
solver
8 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0
optimize 11
connectivity
0 0 1 0 1 1 0 0 0
1 7 2 5 20 17 1 4 19 16
2 7 3 6 21 18 2 5 20 17
3 7 5 8 23 20 4 7 22 19
4 7 6 9 24 21 5 8 23 20
5 7 8 11 26 23 7 10 25 22
6 7 9 12 27 24 8 11 26 23
7 7 11 14 29 26 10 13 28 25
8 7 12 15 30 27 11 14 29 26
9 7 17 20 35 32 16 19 34 31
10 7 18 21 36 33 17 20 35 32
11 7 20 23 38 35 19 22 37 34
12 7 21 24 39 36 20 23 38 35
13 7 23 26 41 38 22 25 40 37
14 7 24 27 42 39 23 26 41 38
15 7 26 29 44 41 25 28 43 40
16 7 27 30 45 42 26 29 44 41
17 7 32 35 50 47 31 34 49 46
18 7 33 36 51 48 32 35 50 47
19 7 35 38 53 50 34 37 52 49
20 7 36 39 54 51 35 38 53 50
21 7 38 41 56 53 37 40 55 52
22 7 39 42 57 54 38 41 56 53
23 7 41 44 59 56 40 43 58 55
24 7 42 45 60 57 41 44 59 56
25 7 47 50 65 62 46 49 64 61
26 7 48 51 66 63 47 50 65 62
27 7 50 53 68 65 49 52 67 64
28 7 51 54 69 66 50 53 68 65
29 7 53 56 71 68 52 55 70 67
30 7 54 57 72 69 53 56 71 68
31 7 56 59 74 71 55 58 73 70
32 7 57 60 75 72 56 59 74 71
33 7 62 65 80 77 61 64 79 76
34 7 63 66 81 78 62 65 80 77
35 7 65 68 83 80 64 67 82 79
36 7 66 69 84 81 65 68 83 80
37 7 68 71 86 83 67 70 85 82
38 7 69 72 87 84 68 71 86 83
39 7 71 74 89 86 70 73 88 85
40 7 72 75 90 87 71 74 89 86
41 7 77 80 95 92 76 79 94 91
42 7 78 81 96 93 77 80 95 92
43 7 80 83 98 95 79 82 97 94
44 7 81 84 99 96 80 83 98 95
45 7 83 86 101 98 82 85 100 97
46 7 84 87 102 99 83 86 101 98
47 7 86 89 104 101 85 88 103 100
48 7 87 90 105 102 86 89 104 101
49 7 92 95 110 107 91 94 109 106
50 7 93 96 111 108 92 95 110 107
51 7 95 98 113 110 94 97 112 109
52 7 96 99 114 111 95 98 113 110
53 7 98 101 116 113 97 100 115 112
54 7 99 102 117 114 98 101 116 113
55 7 101 104 119 116 100 103 118 115
56 7 102 105 120 117 101 104 119 116
57 7 107 110 125 122 106 109 124 121
58 7 108 111 126 123 107 110 125 122
59 7 110 113 128 125 109 112 127 124
60 7 111 114 129 126 110 113 128 125
61 7 113 116 131 128 112 115 130 127
62 7 114 117 132 129 113 116 131 128
63 7 116 119 134 131 115 118 133 130
64 7 117 120 135 132 116 119 134 131
65 7 122 125 140 137 121 124 139 136
66 7 123 126 141 138 122 125 140 137
67 7 125 128 143 140 124 127 142 139
68 7 126 129 144 141 125 128 143 140
69 7 128 131 146 143 127 130 145 142
70 7 129 132 147 144 128 131 146 143
71 7 131 134 149 146 130 133 148 145
72 7 132 135 150 147 131 134 149 146
73 7 137 140 155 152 136 139 154 151
74 7 138 141 156 153 137 140 155 152
75 7 140 143 158 155 139 142 157 154
76 7 141 144 159 156 140 143 158 155
77 7 143 146 161 158 142 145 160 157
78 7 144 147 162 159 143 146 161 158
79 7 146 149 164 161 145 148 163 160
80 7 147 150 165 162 146 149 164 161
coordinates
3 165 0 1
1-4.000000000000000+1-1.000000000000000+1-5.000000000000000-1
2-4.000000000000000+1-1.000000000000000+1 0.000000000000000+0
3-4.000000000000000+1-1.000000000000000+1 5.000000000000000-1
4-4.000000000000000+1-5.000000000000000+0-5.000000000000000-1
5-4.000000000000000+1-5.000000000000000+0 0.000000000000000+0
6-4.000000000000000+1-5.000000000000000+0 5.000000000000000-1
7-4.000000000000000+1 0.000000000000000+0-5.000000000000000-1
8-4.000000000000000+1 0.000000000000000+0 0.000000000000000+0
9-4.000000000000000+1 0.000000000000000+0 5.000000000000000-1
10-4.000000000000000+1 5.000000000000000+0-5.000000000000000-1
11-4.000000000000000+1 5.000000000000000+0 0.000000000000000+0
12-4.000000000000000+1 5.000000000000000+0 5.000000000000000-1
13-4.000000000000000+1 9.999999999999996+0-5.000000000000000-1
14-4.000000000000000+1 9.999999999999996+0 0.000000000000000+0
15-4.000000000000000+1 9.999999999999996+0 5.000000000000000-1
16-3.200000000000000+1-1.000000000000000+1-5.000000000000000-1
17-3.200000000000000+1-1.000000000000000+1 0.000000000000000+0
18-3.200000000000000+1-1.000000000000000+1 5.000000000000000-1
19-3.200000000000000+1-5.000000000000000+0-5.000000000000000-1
20-3.200000000000000+1-5.000000000000000+0 0.000000000000000+0
21-3.200000000000000+1-5.000000000000000+0 5.000000000000000-1
22-3.200000000000000+1 0.000000000000000+0-5.000000000000000-1
23-3.200000000000000+1 0.000000000000000+0 0.000000000000000+0
24-3.200000000000000+1 0.000000000000000+0 5.000000000000000-1
25-3.200000000000000+1 5.000000000000000+0-5.000000000000000-1
26-3.200000000000000+1 5.000000000000000+0 0.000000000000000+0
27-3.200000000000000+1 5.000000000000000+0 5.000000000000000-1
28-3.200000000000000+1 1.000000000000000+1-5.000000000000000-1
29-3.200000000000000+1 1.000000000000000+1 0.000000000000000+0
30-3.200000000000000+1 1.000000000000000+1 5.000000000000000-1
31-2.400000000000001+1-1.000000000000000+1-5.000000000000000-1
32-2.400000000000001+1-1.000000000000000+1 0.000000000000000+0
33-2.400000000000001+1-1.000000000000000+1 5.000000000000000-1
34-2.400000000000000+1-5.000000000000000+0-5.000000000000000-1
35-2.400000000000000+1-5.000000000000000+0 0.000000000000000+0
36-2.400000000000000+1-5.000000000000000+0 5.000000000000000-1
37-2.400000000000001+1 0.000000000000000+0-5.000000000000000-1
38-2.400000000000001+1 0.000000000000000+0 0.000000000000000+0
39-2.400000000000001+1 0.000000000000000+0 5.000000000000000-1
40-2.400000000000001+1 5.000000000000002+0-5.000000000000000-1
41-2.400000000000001+1 5.000000000000002+0 0.000000000000000+0
42-2.400000000000001+1 5.000000000000002+0 5.000000000000000-1
43-2.400000000000001+1 9.999999999999996+0-5.000000000000000-1
44-2.400000000000001+1 9.999999999999996+0 0.000000000000000+0
45-2.400000000000001+1 9.999999999999996+0 5.000000000000000-1
46-1.600000000000000+1-1.000000000000000+1-5.000000000000000-1
47-1.600000000000000+1-1.000000000000000+1 0.000000000000000+0
48-1.600000000000000+1-1.000000000000000+1 5.000000000000000-1
49-1.600000000000000+1-5.000000000000000+0-5.000000000000000-1
50-1.600000000000000+1-5.000000000000000+0 0.000000000000000+0
51-1.600000000000000+1-5.000000000000000+0 5.000000000000000-1
52-1.600000000000000+1 0.000000000000000+0-5.000000000000000-1
53-1.600000000000000+1 0.000000000000000+0 0.000000000000000+0
54-1.600000000000000+1 0.000000000000000+0 5.000000000000000-1
55-1.600000000000000+1 4.999999999999998+0-5.000000000000000-1
56-1.600000000000000+1 4.999999999999998+0 0.000000000000000+0
57-1.600000000000000+1 4.999999999999998+0 5.000000000000000-1
58-1.600000000000000+1 9.999999999999996+0-5.000000000000000-1
59-1.600000000000000+1 9.999999999999996+0 0.000000000000000+0
60-1.600000000000000+1 9.999999999999996+0 5.000000000000000-1
61-8.000000000000000+0-1.000000000000000+1-5.000000000000000-1
62-8.000000000000000+0-1.000000000000000+1 0.000000000000000+0
63-8.000000000000000+0-1.000000000000000+1 5.000000000000000-1
64-7.999999999999994+0-5.000000000000000+0-5.000000000000000-1
65-7.999999999999994+0-5.000000000000000+0 0.000000000000000+0
66-7.999999999999994+0-5.000000000000000+0 5.000000000000000-1
67-8.000000000000000+0 0.000000000000000+0-5.000000000000000-1
68-8.000000000000000+0 0.000000000000000+0 0.000000000000000+0
69-8.000000000000000+0 0.000000000000000+0 5.000000000000000-1
70-8.000000000000000+0 5.000000000000000+0-5.000000000000000-1
71-8.000000000000000+0 5.000000000000000+0 0.000000000000000+0
72-8.000000000000000+0 5.000000000000000+0 5.000000000000000-1
73-8.000000000000000+0 9.999999999999996+0-5.000000000000000-1
74-8.000000000000000+0 9.999999999999996+0 0.000000000000000+0
75-8.000000000000000+0 9.999999999999996+0 5.000000000000000-1
76 0.000000000000000+0-1.000000000000000+1-5.000000000000000-1
77 0.000000000000000+0-1.000000000000000+1 0.000000000000000+0
78 0.000000000000000+0-1.000000000000000+1 5.000000000000000-1
79 0.000000000000000+0-5.000000000000000+0-5.000000000000000-1
80 0.000000000000000+0-5.000000000000000+0 0.000000000000000+0
81 0.000000000000000+0-5.000000000000000+0 5.000000000000000-1
82 0.000000000000000+0 0.000000000000000+0-5.000000000000000-1
83 0.000000000000000+0 0.000000000000000+0 0.000000000000000+0
84 0.000000000000000+0 0.000000000000000+0 5.000000000000000-1
85 0.000000000000000+0 5.000000000000000+0-5.000000000000000-1
86 0.000000000000000+0 5.000000000000000+0 0.000000000000000+0
87 0.000000000000000+0 5.000000000000000+0 5.000000000000000-1
88 0.000000000000000+0 9.999999999999996+0-5.000000000000000-1
89 0.000000000000000+0 9.999999999999996+0 0.000000000000000+0
90 0.000000000000000+0 9.999999999999996+0 5.000000000000000-1
91 8.000000000000000+0-1.000000000000000+1-5.000000000000000-1
92 8.000000000000000+0-1.000000000000000+1 0.000000000000000+0
93 8.000000000000000+0-1.000000000000000+1 5.000000000000000-1
94 8.000000000000000+0-5.000000000000000+0-5.000000000000000-1
95 8.000000000000000+0-5.000000000000000+0 0.000000000000000+0
96 8.000000000000000+0-5.000000000000000+0 5.000000000000000-1
97 8.000000000000000+0 0.000000000000000+0-5.000000000000000-1
98 8.000000000000000+0 0.000000000000000+0 0.000000000000000+0
99 8.000000000000000+0 0.000000000000000+0 5.000000000000000-1
100 8.000000000000000+0 5.000000000000000+0-5.000000000000000-1
101 8.000000000000000+0 5.000000000000000+0 0.000000000000000+0
102 8.000000000000000+0 5.000000000000000+0 5.000000000000000-1
103 7.999999999999994+0 9.999999999999996+0-5.000000000000000-1
104 7.999999999999994+0 9.999999999999996+0 0.000000000000000+0
105 7.999999999999994+0 9.999999999999996+0 5.000000000000000-1
106 1.600000000000000+1-1.000000000000000+1-5.000000000000000-1
107 1.600000000000000+1-1.000000000000000+1 0.000000000000000+0
108 1.600000000000000+1-1.000000000000000+1 5.000000000000000-1
109 1.600000000000000+1-5.000000000000000+0-5.000000000000000-1
110 1.600000000000000+1-5.000000000000000+0 0.000000000000000+0
111 1.600000000000000+1-5.000000000000000+0 5.000000000000000-1
112 1.600000000000000+1 0.000000000000000+0-5.000000000000000-1
113 1.600000000000000+1 0.000000000000000+0 0.000000000000000+0
114 1.600000000000000+1 0.000000000000000+0 5.000000000000000-1
115 1.600000000000000+1 5.000000000000000+0-5.000000000000000-1
116 1.600000000000000+1 5.000000000000000+0 0.000000000000000+0
117 1.600000000000000+1 5.000000000000000+0 5.000000000000000-1
118 1.600000000000000+1 9.999999999999996+0-5.000000000000000-1
119 1.600000000000000+1 9.999999999999996+0 0.000000000000000+0
120 1.600000000000000+1 9.999999999999996+0 5.000000000000000-1
121 2.400000000000000+1-1.000000000000000+1-5.000000000000000-1
122 2.400000000000000+1-1.000000000000000+1 0.000000000000000+0
123 2.400000000000000+1-1.000000000000000+1 5.000000000000000-1
124 2.400000000000001+1-5.000000000000000+0-5.000000000000000-1
125 2.400000000000001+1-5.000000000000000+0 0.000000000000000+0
126 2.400000000000001+1-5.000000000000000+0 5.000000000000000-1
127 2.400000000000000+1 0.000000000000000+0-5.000000000000000-1
128 2.400000000000000+1 0.000000000000000+0 0.000000000000000+0
129 2.400000000000000+1 0.000000000000000+0 5.000000000000000-1
130 2.400000000000001+1 5.000000000000000+0-5.000000000000000-1
131 2.400000000000001+1 5.000000000000000+0 0.000000000000000+0
132 2.400000000000001+1 5.000000000000000+0 5.000000000000000-1
133 2.400000000000000+1 9.999999999999996+0-5.000000000000000-1
134 2.400000000000000+1 9.999999999999996+0 0.000000000000000+0
135 2.400000000000000+1 9.999999999999996+0 5.000000000000000-1
136 3.200000000000000+1-1.000000000000000+1-5.000000000000000-1
137 3.200000000000000+1-1.000000000000000+1 0.000000000000000+0
138 3.200000000000000+1-1.000000000000000+1 5.000000000000000-1
139 3.199999999999999+1-5.000000000000000+0-5.000000000000000-1
140 3.199999999999999+1-5.000000000000000+0 0.000000000000000+0
141 3.199999999999999+1-5.000000000000000+0 5.000000000000000-1
142 3.200000000000000+1 0.000000000000000+0-5.000000000000000-1
143 3.200000000000000+1 0.000000000000000+0 0.000000000000000+0
144 3.200000000000000+1 0.000000000000000+0 5.000000000000000-1
145 3.200000000000000+1 5.000000000000000+0-5.000000000000000-1
146 3.200000000000000+1 5.000000000000000+0 0.000000000000000+0
147 3.200000000000000+1 5.000000000000000+0 5.000000000000000-1
148 3.199999999999999+1 9.999999999999996+0-5.000000000000000-1
149 3.199999999999999+1 9.999999999999996+0 0.000000000000000+0
150 3.199999999999999+1 9.999999999999996+0 5.000000000000000-1
151 3.999999999999999+1-1.000000000000000+1-5.000000000000000-1
152 3.999999999999999+1-1.000000000000000+1 0.000000000000000+0
153 3.999999999999999+1-1.000000000000000+1 5.000000000000000-1
154 3.999999999999999+1-5.000000000000000+0-5.000000000000000-1
155 3.999999999999999+1-5.000000000000000+0 0.000000000000000+0
156 3.999999999999999+1-5.000000000000000+0 5.000000000000000-1
157 3.999999999999999+1 0.000000000000000+0-5.000000000000000-1
158 3.999999999999999+1 0.000000000000000+0 0.000000000000000+0
159 3.999999999999999+1 0.000000000000000+0 5.000000000000000-1
160 3.999999999999999+1 5.000000000000000+0-5.000000000000000-1
161 3.999999999999999+1 5.000000000000000+0 0.000000000000000+0
162 3.999999999999999+1 5.000000000000000+0 5.000000000000000-1
163 3.999999999999999+1 9.999999999999996+0-5.000000000000000-1
164 3.999999999999999+1 9.999999999999996+0 0.000000000000000+0
165 3.999999999999999+1 9.999999999999996+0 5.000000000000000-1
define element set Material_Nummer_elements
1 to 80
define node set unten_y_nodes
2 5 8 11 14
define node set oben_y_nodes
152 155 158 161 164
define node set unten_fest_nodes
1 to 15
define node set oben_ziehen_nodes
151 to 165
define node set unten_z_nodes
7 to 9
define node set oben_z_nodes
157 to 159
define element set texture_elements
1 to 80
hypoelastic
1 0 1 0 1TKS 0
1.000000000000000+0 0.000000000000000+0 0.000000000000000+0 0.000000000000000+0 0.000000000000000+0 0.000000000000000+0 0.000000000000000+0
0 0 0 0 0 0 0
mat color
1 1 230 0 0
table weg_x
1 1 0 0 2
1 2 2 0 0 2 0 0 2 0 0 2
0.000000000000000+0 0.000000000000000+0
2.000000000000000+2 1.600000000000000+1
geometry
0 0 2
1 9 1 230 0 0
r-value-sample
0.000000000000000+0 0.000000000000000+0 0.000000000000000+0 0.000000000000000+0 0.000000000000000+0 0.000000000000000+0 0.000000000000000+0
usdata 1
fixed disp
1 0 0 0 1 0unten_z
0.000000000000000+0 0.000000000000000+0
0 0
1 2
2
unten_z_nodes
1 0 0 0 1 0unten_y
0.000000000000000+0 0.000000000000000+0
0 0
1 3
2
unten_y_nodes
1 0 0 0 1 0oben_z
1.000000000000000+0 0.000000000000000+0
1 0
1 2
2
oben_z_nodes
1 0 0 0 1 0oben_y
1.000000000000000+0 0.000000000000000+0
1 0
1 3
2
oben_y_nodes
1 0 0 0 1 0unten_fest
0.000000000000000+0
0
1
2
unten_fest_nodes
1 0 0 0 1 0oben_ziehen
1.000000000000000+0
1
1
2
oben_ziehen_nodes
initial state
2 6 1 0 0 0Material_Nummer
1.000000000000000+0
0
1
Material_Nummer_elements
initial state
3 6 1 0 0 0texture
1.000000000000000+0
0
1
texture_elements
loadcase r-value
5
Material_Nummer
texture
unten_z
unten_y
unten_fest
no print
post
6 16 17 0 0 19 20 0 1 0 0 0 0 0 0 0
parameters
1.000000000000000+0 1.000000000000000+9 1.000000000000000+2 1.000000000000000+6 2.500000000000000-1 5.000000000000000-1 1.500000000000000+0-5.000000000000000-1
8.625000000000000+0 2.000000000000000+1 1.000000000000000-4 1.000000000000000-6 1.000000000000000+0 1.000000000000000-4
8.314000000000000+0 2.731500000000000+2 5.000000000000000-1 0.000000000000000+0 5.670510000000000-8 1.438769000000000-2 2.997900000000000+8 1.00000000000000+30
0.000000000000000+0 0.000000000000000+0 1.000000000000000+2 0.000000000000000+0 1.000000000000000+0-2.000000000000000+0 1.000000000000000+6 3.000000000000000+0
0.000000000000000+0 0.000000000000000+0 1.256637061000000-6 8.85418781700000-12 1.200000000000000+2 1.000000000000000-3 1.600000000000000+2 0.000000000000000+0
3.000000000000000+0 4.000000000000000-1
end option
$...................
$....start of loadcase Tensile
title Tensile
loadcase Tensile
6
unten_z
unten_y
oben_z
oben_y
unten_fest
oben_ziehen
control
99999 10 0 0 0 1 0 0 1 0 0 0 0 0 0
1.000000000000000-1 0.000000000000000+0 0.000000000000000+0 0.000000000000000+0 0.000000000000000+0 0.000000000000000+0-1.000000000000000+0 0.000000000000000+0
parameters
1.000000000000000+0 1.000000000000000+9 1.000000000000000+2 1.000000000000000+6 2.500000000000000-1 5.000000000000000-1 1.500000000000000+0-5.000000000000000-1
8.625000000000000+0 2.000000000000000+1 1.000000000000000-4 1.000000000000000-6 1.000000000000000+0 1.000000000000000-4
8.314000000000000+0 2.731500000000000+2 5.000000000000000-1 0.000000000000000+0 5.670510000000000-8 1.438769000000000-2 2.997900000000000+8 1.00000000000000+30
0.000000000000000+0 0.000000000000000+0 1.000000000000000+2 0.000000000000000+0 1.000000000000000+0-1.000000000000000+0 1.000000000000000+6 3.000000000000000+0
0.000000000000000+0 0.000000000000000+0 1.256637061000000-6 8.85418781700000-12 1.200000000000000+2 1.000000000000000-3 1.600000000000000+2 0.000000000000000+0
3.000000000000000+0 4.000000000000000-1
auto load
100 0 10 0 0
time step
2.000000000000000+0
continue
$....end of loadcase Tensile
$...................

View File

@ -1,7 +1,6 @@
import subprocess import subprocess
import shlex import shlex
import re import re
import io
import os import os
from pathlib import Path from pathlib import Path
@ -63,7 +62,8 @@ class Marc:
ret = subprocess.run(shlex.split(cmd),capture_output=True) ret = subprocess.run(shlex.split(cmd),capture_output=True)
try: try:
if 3004 != int(re.search('Exit number ([0-9]+)',ret.stderr.decode()).group(1)): v = int(re.search('Exit number ([0-9]+)',ret.stderr.decode()).group(1))
if 3004 != v:
print(ret.stderr.decode()) print(ret.stderr.decode())
print(ret.stdout.decode()) print(ret.stdout.decode())
raise RuntimeError(f'Marc simulation failed ({v})') raise RuntimeError(f'Marc simulation failed ({v})')