*HEADING
 SUBSTRUCTURE ANALYSIS - MPC ONLY IN SUBSTRUCTURE          1-2-3-E
Requires superelment generation file
hertzcontact_2d_xnodes_gen1.inp
*NODE
*NGEN
*NODE
*NODE,SYSTEM=C
*NGEN,LINE=C
*NODE,NSET=FIX
*NSET,NSET=NY
*ELEMENT,TYPE=R2D2
*ELGEN,ELSET=RIGID
*nset,nset=NBOTSUR,GEN
*RIGID BODY,ELSET=RIGID,REFNODE=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,
**
**
*ELEMENT,TYPE=Z1001,ELSET=ZUPER, FILE=hertzcontact_2d_xnodes_gen1
*SUBSTRUCTURE PROPERTY,ELSET=ZUPER,POSITION TO=0.0
*BOUNDARY
NY,1
 300,1,6
*EQUATION
*STEP
*STATIC,DIRECT
 1.,
*BOUNDARY
 1,2,2,-.4
*CONTACT PRINT ,SLAVE=BOTSUR,MASTER=RIGSUR
*CONTACT FILE ,SLAVE=BOTSUR,MASTER=RIGSUR
*PRINT,CONTACT=YES,SOLVE=YES
*NODE PRINT
U,
*OUTPUT,VAR=PRESELECT,FIELD
*SUBSTRUCTURE PATH,ENTER ELEMENT=99
*OUTPUT,VAR=PRESELECT,FIELD
*EL PRINT
 S ,
*NODE PRINT
 U,
*SUBSTRUCTURE PATH,LEAVE
*SUBSTRUCTURE PATH,ENTER ELEMENT=99
*OUTPUT,VAR=PRESELECT,FIELD
*EL PRINT,ELSET=TOP
E,
*EL FILE,ELSET=BOT
S,E
*NODE PRINT,NSET=CYLSURF
RF,
*SUBSTRUCTURE PATH,LEAVE
*END STEP