; fname: cmat3.dat (2D) ; ; Illustrate advanced usage of the CMAT ; (Default and Optional slots filled with different data) ;========================================================================= model new model large-strain on model random 10001 model domain extent -1.5e-2 1.5e-2 condition destroy wall generate box -1.0e-2 1.0e-2 ;one-wall ball generate number 100 radius 0.4e-3 0.6e-3 box -1.0e-2 1.0e-2 group 'glass' ball generate number 100 radius 0.4e-3 0.6e-3 box -1.0e-2 1.0e-2 group 'steel' ball attribute density 2500.0 range group 'glass' ball attribute density 7500.0 range group 'steel' ; excerpt-oohc-start contact cmat add 1 model hertz ... property hz_shear 30e9 hz_poiss 0.3 ... fric 0.25 ... dp_nratio 0.2 ... range group 'glass' matches 2 contact cmat add 2 model hertz ... property hz_shear 70e9 hz_poiss 0.3 ... fric 0.05 ... dp_nratio 0.2 ... range group 'steel' matches 2 contact cmat default type ball-ball ... model hertz ... property hz_shear 50e9 hz_poiss 0.3 ... fric 0.05 ... dp_nratio 0.2 ; This block was addded to define different properties for the bottom wall contact cmat add model linear ... property kn 1.5e6 dp_nratio 0.2 ... range name 'boxWallBottom1' ;matches 2 contact cmat default type ball-facet ... model linear ... property kn 1e6 dp_nratio 0.2 ; excerpt-oohc-end model gravity 9.81 model solve model save 'cmat3' program return ;========================================================================= ; eof: cmat3.dat (2D)