*HEADING
 SUBSTRUCTURE ANALYSIS
 ROTATED BY 45 DEGREES. TRANSFORM AT USAGE LEVEL.
 Requires substructure generation file
 hertzcontact_substr45_gen1.inp
*NODE
*NODE,SYSTEM=C
*NGEN,LINE=C
*NODE
*ELEMENT,TYPE=Z1001,ELSET=SUPER,FILE=hertzcontact_substr45_gen1
*SUBSTRUCTURE PROPERTY,ELSET=SUPER
*SYSTEM
*NODE
*NODE,NSET=FIX
*SYSTEM
*NSET,NSET=LEFT
*TRANSFORM,NSET=LEFT
*ELEMENT,TYPE=R2D2
*ELGEN,ELSET=RIGID
*NORMAL
RIGID,FIX,-.7071,.7071
*BOUNDARY
 300,1,6
*nset,nset=NBOTSUR,GENERATE
*RIGID BODY,ELSET=RIGID,REF NODE=300
*surface,type=node,NAME=BOTSUR
NBOTSUR,1.0
*surface,NAME=RIGSUR
RIGID,SPOS
*CONTACT PAIR,INTERACTION=NO_FRI,SMALL SLIDING
BOTSUR,RIGSUR
*SURFACE INTERACTION,NAME=NO_FRI
1.0,
*RESTART,WRITE
*STEP
*STATIC,DIRECT
 1.,
*BOUNDARY
1,1,1,0.0
1,2,2,-.4
201,1,1,0.0
*CONTACT PRINT ,SLAVE=BOTSUR,MASTER=RIGSUR
*CONTACT FILE ,SLAVE=BOTSUR,MASTER=RIGSUR
*PRINT,CONTACT=YES,SOLVE=YES
*NODE PRINT
COORD,
U,
*OUTPUT,VAR=PRESELECT,FIELD
*SUBSTRUCTURE PATH,ENTER ELEMENT=99
*OUTPUT,VAR=PRESELECT,FIELD
*EL PRINT
 S ,
*NODE PRINT
COORD,
 U,
*SUBSTRUCTURE PATH,LEAVE
*SUBSTRUCTURE PATH,ENTER ELEMENT=99
*EL PRINT,ELSET=TOP
E,
*EL FILE,ELSET=BOT
S,E
*NODE PRINT,NSET=CYLSURF
RF,
*SUBSTRUCTURE PATH,LEAVE
*END STEP