*HEADING
 ELBOW ELEMENTS: MODEL CHANGE VERIFICATION
*PREPRINT,MODEL=YES,HISTORY=NO
**
** TEST 1: ELBOW31
**
*NODE,NSET=NALL
*NSET,NSET=LEFT
*NSET,NSET=MID
*NSET,NSET=RIGHT
*NSET,NSET=TIP
*ELEMENT,TYPE=ELBOW31,ELSET=TEST1
*ELSET,ELSET=REFER
*ELSET,ELSET=TEST
*ELSET,ELSET=EOUT
**
** TEST 2: ELBOW32
**
*NODE,NSET=NALL
*NSET,NSET=LEFT
*NSET,NSET=MID
*NSET,NSET=RIGHT
*NSET,NSET=TIP
*ELEMENT,TYPE=ELBOW32,ELSET=TEST1
*ELSET,ELSET=REFER
*ELSET,ELSET=TEST
*ELSET,ELSET=EOUT
**
** TEST 3: ELBOW31B
**
*NODE,NSET=NALL
*NSET,NSET=LEFT
*NSET,NSET=MID
*NSET,NSET=RIGHT
*NSET,NSET=TIP
*ELEMENT,TYPE=ELBOW31B,ELSET=TEST1
*ELSET,ELSET=REFER
*ELSET,ELSET=TEST
*ELSET,ELSET=EOUT
**
** TEST 4: ELBOW31C
**
*NODE,NSET=NALL
*NSET,NSET=LEFT
*NSET,NSET=MID
*NSET,NSET=RIGHT
*NSET,NSET=TIP
*ELEMENT,TYPE=ELBOW31C,ELSET=TEST1
*ELSET,ELSET=REFER
*ELSET,ELSET=TEST
*ELSET,ELSET=EOUT
**
**
**  REMAINDER OF INPUT DECK SAME FOR ALL TESTS
**
*ELSET,ELSET=EALL
TEST,REFER
*BEAM SECTION,SECTION=ELBOW,TEMPERATURE=GRADIENTS,MATERIAL=ELAS,ELSET=TEST1
1.,.1,10.
0.,10.,0.
3,6,1
*MATERIAL,NAME=ELAS
*ELASTIC
1000., .25
*EXPANSION
1.E-3,
*DENSITY
1.E-3,
*INITIAL CONDITIONS,TYPE=TEMPERATURE
NALL,70.,0.
*AMPLITUDE,NAME=RAMP
0.,0.,  1.,1.
*NORMAL
TEST,LEFT,0.,1.,0.
TEST,MID,.086,.9963,0.
TEST,RIGHT,.11723,.9931,0.
**
**
*STEP,NLGEOM
 STEP #1: DISPLACE TEST SPECIMEN SO FINAL SHAPE IS
          IDENTICAL TO INITIAL SHAPE OF REFERENCE ELEMENT
*STATIC
0.25,1.
*PRINT,MODEL CHANGE=YES
*BOUNDARY,OP=NEW
LEFT,1,7
RIGHT,1,1,-1.0
RIGHT,2,2, 0.3
RIGHT,3,3,-0.2
RIGHT,4,5, 0.0
RIGHT,6,6,.11750075
MID,1,1,-0.5
MID,2,2, 0.1
MID,3,3,-0.1
MID,4,5, 0.0
MID,6,6,.086105945
*NODE PRINT,FREQ=999
U,
RF,
*EL PRINT,ELSET=EOUT,FREQ=999
S,E
*OUTPUT,FIELD,FREQ=999
*NODE OUTPUT
RF,
*ELEMENT OUTPUT,POSITION=CENTROID
E,
S,
*OUTPUT,HISTORY,FREQ=999
*NODE OUTPUT, NSET=NALL
RF,
*END STEP
**
**
*STEP,NLGEOM
 STEP #2: REMOVE TEST ELEMENTS
*STATIC
1.,1.
*MODEL CHANGE,REMOVE,TYPE=ELEMENT
TEST,
*END STEP
**
**
*STEP,NLGEOM
 STEP #3: ADD TEST ELEMENTS BACK IN STRAIN-FREE
*STATIC
1.,1.
*MODEL CHANGE,ADD=STRAINFREE,TYPE=ELEMENT
TEST,
*BOUNDARY,OP=NEW
LEFT,1,7
*NODE PRINT,FREQ=999
RF,
*END STEP
**
**
*STEP,NLGEOM
 STEP #4: APPLY LOAD TO BOTH ELEMENTS
*STATIC
0.25,1.
*DLOAD
TEST, GRAV,50.,0.,1.,0.
REFER,GRAV,50.,0.,1.,0.
*END STEP
**
**
*STEP,NLGEOM
 STEP #5: REMOVE TEST ELEMENT
*STATIC
.25,1.0
*MODEL CHANGE,REMOVE,TYPE=ELEMENT
TEST,
*END STEP
**
**
*STEP,NLGEOM
 STEP #6: ADD TEST ELEMENTS BACK IN WITH-STRAIN
*STATIC
.25,1.0
*MODEL CHANGE,ADD=WITHSTRAIN,TYPE=ELEMENT
TEST,
*END STEP
**
**
*STEP,NLGEOM
 STEP #7: APPLY THERMAL LOAD
*STATIC
.25,1.0
*BOUNDARY,OP=NEW,FIXED
TIP,1,2
LEFT,1,7
*TEMPERATURE
NALL,80.,10.,0.
*EL PRINT,ELSET=EOUT,FREQ=999
THE,E,
S,TEMP
*OUTPUT,FIELD,FREQ=999
*ELEMENT OUTPUT,ELSET=EOUT
S,THE,E,TEMP
*END STEP
**
**
*STEP,NLGEOM
 STEP #8: FREQUENCY EXTRACTION
*FREQUENCY, eigensolver=lanczos
66, , ,
*BOUNDARY,OP=NEW
LEFT,1,7
*EL PRINT,FREQ=0
*NODE PRINT,FREQ=0
*OUTPUT,FIELD,FREQ=0
*END STEP
**
**
*STEP,PERTURBATION
 STEP #9: MODAL DYNAMIC
*MODAL DYNAMIC
.002,.01
*CLOAD
TIP,2,1.5E2
*NODE PRINT,FREQ=999
RF,
*EL PRINT,ELSET=EOUT,FREQ=999
S,E
*OUTPUT,FIELD,FREQ=999
*NODE OUTPUT
RF,
*OUTPUT,HISTORY,FREQ=999
*NODE OUTPUT, NSET=NALL
RF,
*OUTPUT,FIELD,FREQ=999
*ELEMENT OUTPUT,POSITION=CENTROID
E,
S,
*END STEP
**
**
*STEP,PERTURBATION
 STEP #10: STEADY-STATE DYNAMICS, MODAL BASED
*STEADY STATE DYNAMICS,INTERVAL=RANGE
10., 20., 5
*CLOAD
TIP,2,15.
*NODE PRINT,FREQ=999
RF,
*EL PRINT,ELSET=EOUT,FREQ=999
S,E
*OUTPUT,FIELD,FREQ=999
*NODE OUTPUT
RF,
*OUTPUT,HISTORY,FREQ=999
*NODE OUTPUT, NSET=NALL
RF,
*OUTPUT,FIELD,FREQ=0
*ELEMENT OUTPUT,POSITION=CENTROID
*END STEP
**
**
*STEP,PERTURBATION
 STEP #11: STEADY-STATE DYNAMICS, DIRECT
*STEADY STATE DYNAMICS,DIRECT
10., 20., 5
*BOUNDARY,OP=NEW
LEFT,1,7
*CLOAD
TIP,2,15.
*NODE PRINT,FREQ=999
RF,
*EL PRINT,ELSET=EOUT,FREQ=999
S,E
*OUTPUT,FIELD,FREQ=999
*NODE OUTPUT
RF,
*OUTPUT,HISTORY,FREQ=999
*NODE OUTPUT,NSET=NALL
RF,
*OUTPUT,FIELD, FREQ=0
*ELEMENT OUTPUT,POSITION=CENTROID
*END STEP
**
**
*STEP,PERTURBATION
 STEP #11: STEADY-STATE DYNAMICS, SUBSPACE PROJECTION
*STEADY STATE DYNAMICS,SUBSPACE PROJECTION,INTERVAL=RANGE
10., 20., 5
*CLOAD
TIP,2,15.
*NODE PRINT,FREQ=999
RF,
*EL PRINT,ELSET=EOUT,FREQ=999
S,E
*OUTPUT,FIELD,FREQ=999
*NODE OUTPUT
RF,
*OUTPUT,HISTORY,FREQ=999
*NODE OUTPUT,NSET=NALL
RF,
*OUTPUT,FIELD, FREQ=0
*ELEMENT OUTPUT,POSITION=CENTROID
*END STEP
**
**
*STEP,NLGEOM
 STEP #12: DYNAMICS
*DYNAMIC
.002, .01
*BOUNDARY,OP=NEW
LEFT,1,7
*EL PRINT,ELSET=EOUT,FREQ=999
S,E
*NODE PRINT,FREQ=999
RF,
*CLOAD,AMP=RAMP
TIP,2,15.
*END STEP