| 1 |
# {PreW = 0.25} |
| 2 |
# {PreT = 0.02} |
| 3 |
# {BrpT = 0.01} |
| 4 |
# {CndW=0.2} |
| 5 |
# {CndT=0.05} |
| 6 |
# {PolT=0.01} |
| 7 |
# {ShdT = 0.02} |
| 8 |
|
| 9 |
reset |
| 10 |
create brick x {PreW + 2 * ShdT} y {PreT + 2 * BrpT + 2 * CndT + 2 * PolT + 2 * ShdT} z {CndW} |
| 11 |
webcut vol 1 with plane yplane offset {-PreT / 2} |
| 12 |
webcut vol 2 with plane yplane offset {PreT / 2} |
| 13 |
webcut vol 1 with plane yplane offset {-PreT / 2 - BrpT} |
| 14 |
webcut vol 3 with plane yplane offset {PreT / 2 + BrpT} |
| 15 |
webcut vol 1 with plane yplane offset {-PreT / 2 - BrpT - CndT} |
| 16 |
webcut vol 5 with plane yplane offset {PreT / 2 + BrpT + CndT} |
| 17 |
webcut vol 1 with plane yplane offset {-PreT / 2 - BrpT - CndT - PolT} |
| 18 |
webcut vol 7 with plane yplane offset {PreT / 2 + BrpT + CndT + PolT} |
| 19 |
webcut vol all with plane xplane offset {-CndW/2} |
| 20 |
webcut vol all with plane xplane offset {CndW/2} |
| 21 |
webcut vol all with plane xplane offset {-PreW/2} |
| 22 |
webcut vol all with plane xplane offset {PreW/2} |
| 23 |
create surf from surf with z_coord > 0 |
| 24 |
delete vol 1 to 45 |
| 25 |
imprint all |
| 26 |
merge all |
| 27 |
compress all |
| 28 |
|
| 29 |
#surf all size 0.01 |
| 30 |
surf all scheme TriMesh Minimum Size .01 |
| 31 |
mesh surf all |
| 32 |
|
| 33 |
block 1 add surf 5 |
| 34 |
block 1 name "upper_a" |
| 35 |
block 2 add surf 6 |
| 36 |
block 2 name "lower_a" |
| 37 |
block 3 add surf 2 31 12 |
| 38 |
block 3 name "center" |
| 39 |
block 4 add surf 37 33 3 14 18 |
| 40 |
block 4 name "upper_b" |
| 41 |
block 5 add surf 20 16 4 35 39 |
| 42 |
block 5 name "lower_b" |
| 43 |
block 6 add surf 41 7 22 |
| 44 |
block 6 name "upper_c" |
| 45 |
block 7 add surf 24 8 43 |
| 46 |
block 7 name "lower_c" |
| 47 |
block 8 add surf 11 10 1 29 28 42 38 34 30 32 36 40 44 45 9 26 27 23 19 15 13 17 21 25 |
| 48 |
block 8 name "other" |
| 49 |
|
| 50 |
sideset 1 add curve 16 wrt surf 7 |
| 51 |
sideset 1 add curve 10 wrt surf 3 |
| 52 |
sideset 1 add curve 15 wrt surf 37 |
| 53 |
sideset 1 add curve 17 wrt surf 18 |
| 54 |
sideset 1 name "upper_a_sideset" |
| 55 |
sideset 2 add curve 20 wrt surf 8 |
| 56 |
sideset 2 add curve 14 wrt surf 4 |
| 57 |
sideset 2 add curve 18 wrt surf 39 |
| 58 |
sideset 2 add curve 19 wrt surf 20 |
| 59 |
sideset 2 name "lower_a_sideset" |
| 60 |
sideset 3 add curve 58 wrt surf 22 |
| 61 |
sideset 3 add curve 22 wrt surf 7 |
| 62 |
sideset 3 add curve 98 wrt surf 41 |
| 63 |
sideset 3 add curve 95 wrt surf 41 |
| 64 |
sideset 3 add curve 87 wrt surf 37 |
| 65 |
sideset 3 add curve 79 wrt surf 33 |
| 66 |
sideset 3 add curve 73 wrt surf 31 |
| 67 |
sideset 3 add curve 83 wrt surf 35 |
| 68 |
sideset 3 add curve 91 wrt surf 39 |
| 69 |
sideset 3 add curve 99 wrt surf 43 |
| 70 |
sideset 3 add curve 71 wrt surf 43 |
| 71 |
sideset 3 add curve 2 wrt surf 8 |
| 72 |
sideset 3 add curve 31 wrt surf 24 |
| 73 |
sideset 3 add curve 61 wrt surf 24 |
| 74 |
sideset 3 add curve 53 wrt surf 20 |
| 75 |
sideset 3 add curve 45 wrt surf 16 |
| 76 |
sideset 3 add curve 35 wrt surf 12 |
| 77 |
sideset 3 add curve 41 wrt surf 14 |
| 78 |
sideset 3 add curve 49 wrt surf 18 |
| 79 |
sideset 3 add curve 57 wrt surf 22 |
| 80 |
sideset 3 name "inner_box" |
| 81 |
sideset 4 add curve 65 64 27 104 103 102 96 88 80 75 85 93 100 69 68 72 4 30 34 33 62 55 47 39 44 52 60 66 |
| 82 |
sideset 4 name "outer_box" |
| 83 |
|
| 84 |
block all element type tri6 |
| 85 |
set large exodus file on |
| 86 |
export genesis 'tri6.gen' dimension 2 block all overwrite |