*HEADING
 HERTZ CONTACT PROBLEM 3D:
 ELEM: C3D20R, C3D20, R3D4    INTERFACE: SMALL SLIDING
Requires substructure generation file hertzcontact_3d_gen1.inp
*RESTART,WRITE,OVERLAY,FREQUENCY=10
*NODE
*NODE,SYSTEM=C
*NGEN,LINE=C
*NSET,NSET=NCONT, GENERATE
*NSET,NSET=ZSYM, GENERATE
*NSET,NSET=NX
*NODE,NSET=RIGNODE
*ELEMENT,TYPE=Z1001,ELSET=SUPER, FILE=hertzcontact_3d_gen1
*SUBSTRUCTURE PROPERTY,ELSET=SUPER
*ELEMENT,TYPE=R3D4,ELSET=ERIGID
*RIGID BODY,ELSET=ERIGID,REF NODE=10000
**
** Contact definition
**
*surface,NAME=RIGID
ERIGID,SPOS
*surface,type=node,NAME=SLAVES
NCONT,
*CONTACT PAIR, INTERACTION=HERTZ,SMALL SLIDING
SLAVES,RIGID
*SURFACE INTERACTION,NAME=HERTZ
*STEP,INC=10
*STATIC,DIRECT
.1,1.
*BOUNDARY
 10000,1,6,0
 1,2,,-0.4
 ZSYM,3,3
 NX,1,1
*PRINT,CONTACT=YES,SOLVE=YES
*CONTACT PRINT,MASTER=RIGID,FREQUENCY=2
*CONTACT FILE,MASTER=RIGID,FREQUENCY=10
*NODE FILE,FREQUENCY=10
U,
RF,
*OUTPUT,FIELD,VAR=PRESELECT
*SUBSTRUCTURE PATH,ENTER ELEMENT=999
*OUTPUT,VAR=PRESELECT,FIELD
*EL PRINT,FREQUENCY=0
*NODE PRINT,FREQUENCY=10
*SUBSTRUCTURE PATH,LEAVE
*END STEP