*HEADING
**
** Contact between aligned blocks in 2D.
**
*NODE,NSET=NB1
*ELEMENT,ELSET=EB1,TYPE=CPS4R
*ELGEN,ELSET=EB1
*NSET,NSET=FIX_N
*BOUNDARY
FIX_N,2,2
1,1,2
**
*NODE,NSET=NB2
*ELEMENT,ELSET=EB2,TYPE=CPS4R
*ELGEN,ELSET=EB2
*NSET,NSET=LOAD_N
**
*ELSET,ELSET=EALL
EB1,EB2
**
*SOLID SECTION,ELSET=EALL,MATERIAL=MAT1
*MATERIAL,NAME=MAT1
*ELASTIC
1.E6,0.2
*DENSITY
1.,
*SURFACE,TYPE=ELEMENT,NAME=SB1
EB1,
*SURFACE,TYPE=ELEMENT,NAME=SB2
EB2,
**
*AMPLITUDE,NAME=SMOOTH1,DEFINITION=SMOOTH STEP
0.,0.,1.e-3,0.,5.e-3,1.
*AMPLITUDE,NAME=SMOOTH2,DEFINITION=SMOOTH STEP
0.,0.,1.e-3,1.,5.e-3,1.
**
*NSET, NSET=QA_TEST_ALLNODES
NB1, NB2
**
*STEP
*DYNAMIC,EXPLICIT,DIRECT
2.5e-4,5.e-3
**
*BOUNDARY,AMPLITUDE=SMOOTH1
LOAD_N,1,1,0.001
*BOUNDARY,AMPLITUDE=SMOOTH2
LOAD_N,2,2,-0.0001
**
*CONTACT PAIR,INTERACTION=LINEAR, MECHANICAL CONSTRAINT=PENALTY,WEIGHT=1.0
SB1,SB2
*SURFACE INTERACTION,NAME=LINEAR,PADTHICKNESS=0.1
*CONTACT DAMPING,DEFINITION=CRITICAL DAMPING FRACTION
*SURFACE BEHAVIOR,NO SEPARATION,PRESSURE-OVERCLOSURE=LINEAR
1.E6,
**Pressure-overclosure slope = E_interface / t_interface
*FRICTION,ROUGH,SHEAR TRACTION SLOPE=416666.7
**Shear traction slope = G_interface / t_interface
**                     = E_int / t_interface / (2*(1+nu_interface))
**
*FILE OUTPUT,NUM=1
*NODE FILE
U,
**
*OUTPUT, FIELD, NUMBER INTERVAL=1
*NODE OUTPUT, NSET=QA_TEST_ALLNODES
U,
*OUTPUT,FIELD,VARIABLE=PRESELECT
*OUTPUT,HISTORY,VARIABLE=PRESELECT,TIMEINT=0.005
*END STEP