*HEADING
 EXAMPLE: SLIDER MECHANISM WITH SLIP RATE DEPENDENT FRICTION
 3-D DEF-DEF MODEL, STATIC & DYNAMIC ANALYSIS, COULOMB FRICTION
*RESTART,WRITE,FREQ=0
**
** NODE GENERATION FOR THE ROD
**
*NODE,NSET=NCYL
*NGEN, LINE=C, NSET=NCYLBOT
*NGEN, LINE=C, NSET=NCYLTOP
*NFILL,NSET=NCYL
 NCYLBOT, NCYLTOP, 9, 100
*NSET, NSET=NSYMM, GEN
*NSET, NSET=NCYLZ, GEN
*NSET, NSET=NCYLX, GEN
*ELEMENT,TYPE=C3D8, ELSET=ROD
*ELGEN, ELSET=ROD
*ELSET, ELSET=SURFA, GEN
**
** NODE GENERATION FOR THE SLIDER
**
*NODE,NSET=NSLIDER
*NGEN, LINE=C, NSET=NSLIDERBOT
*NGEN, LINE=C, NSET=NSLIDERTOP
*NFILL, NSET=NSLIDER
 NSLIDERBOT, NSLIDERTOP, 5, 100
*NSET,NSET=NSLIDERTOPSURFACE, GEN
*NSET, NSET=NSYMM, GEN
*NSET, NSET=NSLZ, GEN
*NSET, NSET=NSLX, GEN
*ELEMENT,TYPE=C3D8, ELSET=SLIDER
*ELGEN, ELSET=SLIDER
*ELSET, ELSET=SURFB, GEN
**
** NODE GENERATION FOR COMPOUND
**
*NODE,NSET=NCOMPOUND
*NGEN, LINE=C, NSET=NCOMPBOT
*NGEN, LINE=C, NSET=NCOMPTOP
*NSET,NSET=NCOMPMIDSURFACE, GEN
*NFILL, NSET=NCOMPOUND
 NCOMPBOT, NCOMPTOP, 9, 100
*NSET, NSET=NSYMM, GEN
*NSET, NSET=NCZI, GEN
*NSET, NSET=NCZO, GEN
*NSET, NSET=NCXI, GEN
*NSET, NSET=NCXO, GEN
*ELEMENT,TYPE=C3D8, ELSET=COMPOUND
*ELGEN, ELSET=COMPOUND
*ELSET, ELSET=SURFC, GEN
*ELSET, ELSET=SURFD, GEN
*surface, NAME=ROD
 SURFA,S4
*NORMAL, TYPE=CONTACT SURFACE
 ROD, NCYLZ, 0.0, 0.0, 1.0
 ROD, NCYLX, 1.0, 0.0, 0.0
*surface, NAME=SLIDER
 SURFB,S6
*NORMAL, TYPE=CONTACT SURFACE
 SLIDER, NSLZ, 0.0, 0.0, -1.0
 SLIDER, NSLX, -1.0, 0.0, 0.0
*surface, NAME=COMPIN
 SURFC,
*NORMAL, TYPE=CONTACT SURFACE
 COMPIN, NCZI, 0.0, 0.0, -1.0
 COMPIN, NCXI, -1.0, 0.0, 0.0
*surface, NAME=COMPOUT
 SURFD,
*NORMAL, TYPE=CONTACT SURFACE
 COMPOUT, NCZO, 0.0, 0.0, 1.0
 COMPOUT, NCXO, 1.0, 0.0, 0.0
*CONTACT PAIR, INTERACTION=I1
 COMPIN, ROD
*CONTACT PAIR, INTERACTION=I2, SMALL SLIDING
 COMPOUT, SLIDER
**
** SURFACE INTERACTION DEFINITION
**
*SURFACE INTERACTION,NAME=I1
*SURFACE INTERACTION,NAME=I2
*SURFACE BEHAVIOR, NO SEPARATION
**
** SOLID SECTION AND MATERIAL PROPERTY DEFINITIONS
**
*ELSET, ELSET=STEEL
 ROD, SLIDER,
*SOLID SECTION,ELSET=STEEL,MATERIAL=STEEL
*MATERIAL,NAME=STEEL
*ELASTIC
 30.E6,0.3
*DENSITY
 0.73e-3,
*SOLID SECTION, ELSET=COMPOUND, MATERIAL=COMPOUND
*MATERIAL, NAME=COMPOUND
*ELASTIC
 1.E6,0.2
*DENSITY
 0.1e-3,
**
** AMPLITUDE DEFINITIONS
**
*AMPLITUDE, NAME=AMPDISP, DEFINITION=PERIODIC
 1, 0.6283, 0.0, -4.0
 4.0, 0.0
**
** NODAL TRANSFORMS AND BC'S
**
*NSET, NSET=NALL
 NCYL, NSLIDER, NCOMPOUND,
*TRANSFORM, NSET=NALL, TYPE=C
**
** CONTACT INTERFERENCE STEP
**
*STEP, NLGEOM, UNSYMM=YES
 CONTACT INTERFERENCE
*STATIC
 0.25,1.0
*CONTACT INTERFERENCE, TYPE=CONTACT PAIR
 COMPOUT, SLIDER, 0.004
*BOUNDARY
 NSYMM,             2, 2, 0.0
 NCYLTOP,           1, 3, 0.0
 NCYLBOT,           1, 3, 0.0
 NCOMPMIDSURFACE,   1, 3, 0.0
 NSLIDERTOPSURFACE, 1, 3, 0.0
*PRINT,CONTACT=YES
*EL PRINT,FREQ=0
*NODE PRINT,FREQ=0
** *NODE FILE, FREQ=0
*CONTACT PRINT,SLAVE=COMPIN
*CONTACT PRINT,SLAVE=COMPOUT
** *CONTACT FILE,SLAVE=COMPIN,F=0
*OUTPUT,FIELD,FREQ=0
*OUTPUT, HISTORY
*CONTACT OUTPUT, MASTER=ROD, SLAVE=COMPIN
 CFN1, CFN2, CFN3, CFNM
 CFS,
*END STEP
**
** CHANGE FRICTION MODEL AND REMOVE CONTACT INTERFERENCE
**
*STEP, NLGEOM, UNSYMM=YES
 ADD FRICTION TO MODEL
*STATIC
 0.25, 1.0
*CONTACT INTERFERENCE, OP=NEW
*CHANGE FRICTION, INTERACTION=I1
*FRICTION, SLIP TOLERANCE=0.01
 0.2500     , 0.00000
 0.24087    , 0.05000
 0.23222    , 0.10000
 0.22407    , 0.15000
 0.21639    , 0.20000
 0.20917    , 0.25000
 0.20236    , 0.30000
 0.19595    , 0.35000
*CHANGE FRICTION, INTERACTION=I2
*FRICTION, LAGRANGE
 100.0,
*BOUNDARY, OP=NEW
 NSYMM,             2, 2, 0.0
 NCYLTOP,           1, 3, 0.0
 NCYLBOT,           1, 3, 0.0
 NSLIDERTOPSURFACE, 1, 3, 0.0
*PRINT,CONTACT=YES
*END STEP
**
** DYNAMIC SLIDING STEP
**
*STEP, NLGEOM, INC=200, UNSYMM=YES
 DYNAMIC SLIDING STEP
*DYNAMIC, HAFTOL=5.0e6, INITIAL=NO
 0.05,10.0,1.0e-2,0.2
*BOUNDARY, OP=MOD, AMPLITUDE=AMPDISP
 NSLIDERTOPSURFACE, 3, 3, 1.0
*NODE PRINT, NSET=NSLIDERTOPSURFACE, FREQ=0
** *NODE FILE,  NSET=NSLIDERTOPSURFACE, FREQ=0
**  U,
**  RF,
*CONTACT PRINT, FREQ=0, MASTER=ROD, SLAVE=COMPIN
 CFN1, CFN2, CFN3, CFNM
 CFS,
** *CONTACT FILE,  FREQ=0, MASTER=ROD, SLAVE=COMPIN
**  CFN,
**  CFS,
*OUTPUT, FIELD, FREQ=0
*OUTPUT, HISTORY
*CONTACT OUTPUT, MASTER=ROD, SLAVE=COMPIN
 CFN1, CFN2, CFN3, CFNM
 CFS,
*END STEP
**
** STATIC SLIDING STEP
**
*STEP, NLGEOM, INC=100, UNSYMM=YES
 STATIC SLIDING STEP
*STATIC
 0.1,10.0,,0.2
*BOUNDARY, OP=MOD, AMPLITUDE=AMPDISP
 NSLIDERTOPSURFACE, 3, 3, 1.0
*NODE PRINT, NSET=NSLIDERTOPSURFACE, FREQ=0
** *NODE FILE,  NSET=NSLIDERTOPSURFACE, FREQ=0
**  U,
**  RF,
*CONTACT PRINT, FREQ=0, MASTER=ROD, SLAVE=COMPIN
 CFN1, CFN2, CFN3, CFNM
 CFS,
** *CONTACT FILE,  FREQ=0, MASTER=ROD, SLAVE=COMPIN
**  CFN,
**  CFS,
*OUTPUT, FIELD, FREQ=0
*NODE OUTPUT
 U,
*OUTPUT, HISTORY
*CONTACT OUTPUT, MASTER=ROD, SLAVE=COMPIN
 CFN1, CFN2, CFN3, CFNM
 CFS,
*END STEP