box [-sample_width*0.5] [sample_width*0.5] [-sample_hight*0.5] [sample_hight*0.5]cmat default type ball-facet model linear method deform emod 100e6 kratio 1.5 cmat default type ball-ball model linear
model restore "rblock_slip"rblock export to-geometry "allgeo" cmat default type ball-facet model linear method deform emod 100e6 kratio 1.5 property fric 0.5cmat default type ball-ball model linear method
y_center=(y_max+y_min)*0.5 z_center=(z_max+z_min)*0.5 local gs = geom.set.find(id) loop foreach local gn geom.node.list(gs) geom.node.pos.x(gn)=-x_center+geom.node.pos.x(gn)