reset
set geometry engine acis
set duplicate block elements on
#
#{height=0.5}
#{width=0.01}
#
brick x 1 y 0.5 z 0.03
brick x 0.03 y 0.03 z 0.03
move volume 2 location surface 5 include_merged
chop volume 2 with volume 1 keep
imprint volume 1 with curve 37 39
delete volume 2 3 4
brick x 0.03 y 0.03 z 0.03
move volume 5 location surface 27 include_merged
chop volume 5 with volume 1 keep
imprint volume 1 with curve 71 81
delete volume 5 6 7
brick x 0.03 y 0.03 z 0.03
move volume 8 location surface 25 include_merged
chop volume 8 with volume 1 keep
imprint volume 1 with curve 127 125
delete volume 8 9 10
#MESH ALL
volume all size auto factor 6
#volume all size auto factor 5
volume all scheme tetmesh
mesh volume all
volume all scale 2
#DEFINE BOUNDARY CONDITIONS
#{area1=SurfaceArea(46)}
#{area2=SurfaceArea(26)}
#{area3=SurfaceArea(69)}
#{area6=TriArea(2478)+TriArea(2448)}
#{area4=TriArea(2350)+TriArea(2383)}
#{area5=TriArea(2511)+TriArea(2514)}
#{length=Length(11)}
#{load=1.5}
block 4 surface 46
block 4 name "FORCE_01"
block 4 attribute count 3
block 4 attribute index 1 0
block 4 attribute index 2 {-load/area1}
block 4 attribute index 3 0
block 5 surface 69
block 5 name "FORCE_02"
block 5 attribute count 3
block 5 attribute index 1 0
block 5 attribute index 2 {-load/area2}
block 5 attribute index 3 0
block 6 surface 26
block 6 name "FORCE_03"
block 6 attribute count 3 0
block 6 attribute index 2 {-load/area3}
block 6 attribute index 3 0
#DEFINE BOUNDARY CONDITIONS
block 2 curve 10
block 2 name "DISPLACEMENT"
block 2 attribute count 6
block 2 attribute index 1 0
block 2 attribute index 2 0
block 2 attribute index 3 0
block 2 attribute index 4 1
block 2 attribute index 5 1
block 2 attribute index 6 1
block 3 curve 9
block 3 name "DISPLACEMENT_2"
block 3 attribute count 6
block 3 attribute index 1 0
block 3 attribute index 2 0
block 3 attribute index 3 0
block 3 attribute index 4 1
block 3 attribute index 5 1
block 3 attribute index 6 1
block 9 surface 1 2
block 9 name "DISPLACEMENT_3"
block 9 attribute count 6
block 9 attribute index 1 0
block 9 attribute index 2 0
block 9 attribute index 3 0
block 9 attribute index 4 0
block 9 attribute index 5 0
block 9 attribute index 6 1
block 8 volume all
block 8 name "MAT_ELASTIC"
block 8 attribute count 6
block 8 attribute index 1 1000
block 8 attribute index 2 0.2
save as "/Users/karollewandowski/moFEM/users_modules/bone_remodelling/frame_bike.cub" overwrite