*HEADING
 POROUS PLASTICITY WITH GURSON'S MODEL
*RESTART,TIMEMARKS=NO,WRITE,NUMBER INTERVAL=20
*NODE,NSET=N01
*NCOPY,OLD SET=N01,CHANGE NUMBER=10,SHIFT,NEW SET=NR1
*NCOPY,OLD SET=N01,CHANGE NUMBER=20,SHIFT,NEW SET=NR1
*NCOPY,OLD SET=N01,CHANGE NUMBER=30,SHIFT,NEW SET=NR1
*NSET,NSET=NR1
 N01,
*NCOPY,OLD SET=NR1,CHANGE NUMBER=40,SHIFT,NEW SET=NR2
*NCOPY,OLD SET=NR2,CHANGE NUMBER=40,SHIFT,NEW SET=NR3
*NCOPY,OLD SET=NR3,CHANGE NUMBER=40,SHIFT,NEW SET=NR4
*NSET,NSET=R1TOP
*NSET,NSET=R2TOP
*NSET,NSET=R3TOP
*NSET,NSET=R1BOT
*NSET,NSET=R2BOT
*NSET,NSET=R3BOT
*NSET,NSET=R4BOT1
*NSET,NSET=R4BOT2
*NSET,NSET=R2LHS,GENERATE
*NSET,NSET=R34LHS,GENERATE
*NSET,NSET=R2RHS,GENERATE
*NSET,NSET=R34RHS,GENERATE
*NSET,NSET=BOTTOM,GENERATE
*NSET,NSET=BACK,GENERATE
*NSET,NSET=FRONT,GENERATE
*ELEMENT,TYPE=C3D8R,ELSET=C3D
*ELEMENT,TYPE=CPE4R,ELSET=CPE
*ELEMENT,TYPE=CPS4R,ELSET=CPS
*ELSET,ELSET=EALL,GEN
*ELSET,ELSET=R123,GEN
*ELSET,ELSET=R4,GEN
***
*ELSET,ELSET=SOLID2D_R123
*ELSET,ELSET=SOLID3D_R123
*ELSET,ELSET=SOLID2D_R4
*ELSET,ELSET=SOLID3D_R4
***
*SOLID SECTION,MATERIAL=GURSON1,ELSET=SOLID2D_R123
*SOLID SECTION,MATERIAL=GURSON1,ELSET=SOLID3D_R123
*SOLID SECTION,MATERIAL=GURSON2,ELSET=SOLID2D_R4
*SOLID SECTION,MATERIAL=GURSON2,ELSET=SOLID3D_R4
***
*MATERIAL,NAME=GURSON1
*DENSITY
 0.001,
*ELASTIC
 300., 0.3
*PLASTIC
 1.0,
*POROUS METAL PLASTICITY, RELATIVE DENSITY=0.95
*MATERIAL,NAME=GURSON2
*DENSITY
 0.001,
*ELASTIC
 300., 0.3
*PLASTIC
 1.00, 0.0
 2.00, 0.5
*POROUS METAL PLASTICITY, RELATIVE DENSITY=0.95
*VOID NUCLEATION
*BOUNDARY
 R1BOT, 2
 R1TOP, 2
 FRONT, 3
 BACK,  3
*AMPLITUDE,NAME=RAMP
 0.0, 0.0, 1.0, 1.0
**
**
*ELSET,ELSET=QA_TEST_ALLELEMS
R123, R4
**
*NSET, NSET=QA_TEST_ALLNODES
NR1, R1TOP, R2TOP, R3TOP
R1BOT, R2BOT, R3BOT, R4BOT1
R4BOT2, R2LHS, R34LHS, R2RHS
R34RHS, BOTTOM, BACK, FRONT
**
*STEP
*DYNAMIC,EXPLICIT
 ,1.0
*BOUNDARY,TYPE=VEL,AMPLITUDE=RAMP
 R1BOT ,1,,-0.05
 R1TOP ,1,, 0.05
 R2BOT ,2,, 0.05
 R2TOP ,2,,-0.05
 R2LHS ,1,, 0.05
 R2RHS ,1,,-0.05
 R3BOT ,2,,-0.05
 R4BOT1,2,, -0.05
 R4BOT2,2,, 0.05
 R3TOP ,2,, 0.05
 R34LHS,1,,-0.05
 R34RHS,1,, 0.05
**
*FILE OUTPUT,NUMBER INTERVAL=3,TIME MARKS=YES
*EL FILE
 MISES,
 PRESS,
 PEEQ,
 PE,
 ELEN,
**
*OUTPUT, FIELD, NUMBER INTERVAL=3, TIMEMARKS=YES
*ELEMENT OUTPUT, ELSET=QA_TEST_ALLELEMS
 MISES,
 PRESS,
 PEEQ,
 PE,
 ELEN,
*OUTPUT,FIELD,VARIABLE=PRESELECT
*OUTPUT,HISTORY,VARIABLE=PRESELECT,TIMEINT=0.333333
***OUTPUT,HISTORY,VARIABLE=PRESELECT
*END STEP