*HEADING
 EARTHQUAKE ANALYSIS WITH BASE LINE CORRECTION
*NODE
*NSET,NSET=ENDS
*NGEN
*ELSET,ELSET=PR
*ELEMENT,TYPE=B23
*ELGEN,ELSET=EALL
*MATERIAL,NAME=A1
*ELASTIC
30.E6,
*DENSITY
 .000728,
*BEAM SECTION,SECTION=RECT,MATERIAL=A1,ELSET=EALL
1. , 2.
*BOUNDARY
11, 1, 6
** AMPLITUDE CURVE DATA FROM CANTILEVER_QUAKEDATA
** THIS INPUT ASSUMES THAT CANTILEVER_QUAKEDATA.INP
** HAS BEEN COPIED TO QUAKE.AMP
*AMPLITUDE,VALUE=RELATIVE,INPUT=QUAKE.AMP,NAME=EQ
*BASELINE CORRECTION
*RESTART,WRITE,FREQUENCY=100
**
*STEP
*FREQUENCY,EIGENSOLVER=LANCZOS, SIM=NO
10,
*EL PRINT,FREQUENCY=0
*NODE PRINT
U,
*MODAL FILE
*OUTPUT,FIELD,OP=NEW
*NODE OUTPUT
U,
*END STEP
*STEP
 EARTHQUAKE INPUT
*MODAL DYNAMIC
 .01 , 10.
*SELECT EIGENMODES,GENERATE
*MODAL DAMPING
*BASE MOTION,DOF=1,AMPLITUDE=EQ,SCALE=386.09
*PRINT,FREQUENCY=50
*EL PRINT,ELSET=PR,FREQUENCY=500
S,E
*NODE PRINT,FREQUENCY=100
U,TU
V,A
*NODE FILE,NSET=ENDS
U,V,A,TU
*MODAL FILE
GU,GV,GA
BM,
*OUTPUT,FIELD, FREQUENCY=100,OP=NEW
*NODE OUTPUT,NSET=ENDS
U,V,A,TU
*OUTPUT,HISTORY, FREQUENCY=1,OP=NEW
*NODE OUTPUT,NSET=ENDS
U,V,A,TU
*MODAL OUTPUT
GU,GV,GA
BM,
*END STEP