del_12
Student
- May 3, 2023
- 1
Hello. I'm currently investigating the behavior of a heritage structure during an earthquake in APDL. Is it right to simulate the effect of earthquake load by accelerating the base using ground motion data (acceleration vs time)? How about the effect of gravity as well as the boundary conditions at the ground level? Right now, I already developed a command based on other forums that I read but I'm not really sure about this. Thank you.
/SOLU
FILE = ‘accelvalidate1’
DT = 0.01
SKIP = 0
/INQUIRE,NUMLINES,LINES,FILE,TXT
READ = NUMLINES - SKIP
*DEL,ACCEL,,NOPR
*DIM, ACCEL,TABLE, READ - 1, 3
*TREAD,ACCEL,FILE,TXT,,SKIP
ANTYPE, TRANS
TRNOPT,FULL
TIMINT,ON,STRUC
ACEL,0,9.806,0
KBC,0
OUTRES,ALL,1
OUTPR,BASIC,ALL
NT = READ
NSUBST,1,,,1
*do,i,1,NT
TIME,i*DT
CMSEL,ALL
NSEL,S,LOC,Y,0
DDELE,ALL,ACCX
DDELE,ALL,ACCY
DDELE,ALL,ACCZ
D,ALL,ACCX,ACCEL(i,1)
D,ALL,ACCY,ACCEL(i,2)
D,ALL,ACCZ,ACCEL(i,3)
ALLSEL
SOLVE
*enddo
/SOLU
FILE = ‘accelvalidate1’
DT = 0.01
SKIP = 0
/INQUIRE,NUMLINES,LINES,FILE,TXT
READ = NUMLINES - SKIP
*DEL,ACCEL,,NOPR
*DIM, ACCEL,TABLE, READ - 1, 3
*TREAD,ACCEL,FILE,TXT,,SKIP
ANTYPE, TRANS
TRNOPT,FULL
TIMINT,ON,STRUC
ACEL,0,9.806,0
KBC,0
OUTRES,ALL,1
OUTPR,BASIC,ALL
NT = READ
NSUBST,1,,,1
*do,i,1,NT
TIME,i*DT
CMSEL,ALL
NSEL,S,LOC,Y,0
DDELE,ALL,ACCX
DDELE,ALL,ACCY
DDELE,ALL,ACCZ
D,ALL,ACCX,ACCEL(i,1)
D,ALL,ACCY,ACCEL(i,2)
D,ALL,ACCZ,ACCEL(i,3)
ALLSEL
SOLVE
*enddo