*HEADING
 :  GENERALIZED PLANE STRAIN ELEMENTS
            RELATIVE MOTION OF BOUNDING PLANES
*NODE
*NODE,NSET=EXT
*NGEN, NSET=BOT
*NGEN,NSET=TOP
*NFILL, NSET=ALL1
BOT,TOP,4,10
*NCOPY, SHIFT, OLDSET=ALL1, CHANGE=100, NEWSET=ALL2
*NSET, NSET=ORIG
*NSET, NSET=CONS
***********************************************
** regular generalized plane strain elements **
***********************************************
*ELEMENT, TYPE=CPEG3
*ELGEN,ELSET=EL1
**********************************************
** hybrid generalized plane strain elements **
**********************************************
*ELEMENT, TYPE=CPEG3H
*ELGEN,ELSET=EL2
***************************************
** material and property definitions **
***************************************
*SOLID SECTION, ELSET=EL1, MATERIAL=MAT, REFNODE=998
*SOLID SECTION, ELSET=EL2, MATERIAL=MAT, REFNODE=998
*MATERIAL, NAME=MAT
*ELASTIC
 30.0E6, 0.3
************************
** history definition **
************************
*STEP,PERTURBATION
 AXIAL TENSION
*STATIC
*NODE PRINT, F=0
*EL PRINT, F=0, POSITION=NODES
*OUTPUT,FIELD
*NODE OUTPUT
 U,RF
*ELEMENT OUTPUT
 S,E
*LOAD CASE,NAME="AXIAL TENSION"
*BOUNDARY,OP=NEW
 998,3,3,0.01
 998,4,5
 ORIG,1,2
 CONS,2
*END LOAD CASE
*LOAD CASE,NAME="RELATIVE ROTATION"
*BOUNDARY,OP=NEW
 998,3,4
 998,5,5,0.01
 ORIG,1,2
 CONS,2
*END LOAD CASE
*END STEP