Вы находитесь на странице: 1из 2

C***************************************************************

C****Create Model here (or use GUI)*****************************


C****Change data in red for model specific use******************
C***************************************************************
FINISH
C***************************************************************
C*****Begin Model Solution**************************************
C***************************************************************
/config,nres,2000 ! Set number of results >1000
/SOLU
ANTYP,TRANS ! Transient Dynamic Analysis
!
*DIM,D1,TABLE,1000,1 ! Dimension 3 Tables to recieve the time histories.
*DIM,D2,TABLE,1000,1
*DIM,D3,TABLE,1000,1
!
!
!
C***************************************************************
C*** The next lines read in the time histories to the three arrays
C*** Note that the Vplot command is not necessary - just a visual check of TH's
C***Ensure that you change the text in red to suit your location of the TH file
C***************************************************************
!
!
*VREAD,D1(1,1),f:\Zdispmod,txt ! Read Displacement in X into Table 1
(F20.0)
*VFILL,D1(1,0),RAMP,0.0,0.010
D1(0,1)=1.0
*VPLOT,D1(1,0),D1(1,1)
*VREAD,D2(1,1),f:\Zdispmod,txt ! Read Displacement in Y into Table 2
(F20.0)
*VFILL,D2(1,0),RAMP,0.0,0.010
D2(0,1)=1.0
*VPLOT,D2(1,0),D2(1,1)
*VREAD,D3(1,1),f:\Zdispmod,txt ! Read Displacement in Z into Table 3
(F20.0)
*VFILL,D3(1,0),RAMP,0.0,0.010
D3(0,1)=1.0
*VPLOT,D3(1,0),D3(1,1)
!
!
C***************************************************************
C** Set parameters for TH direct integration Analysis
C***************************************************************
!
!
TIME,1.0e-5 ! Time interval for gravity
DT=0.01 ! User variable - Time Step
T0=0.01 ! User variable - Start Time
T1=10.01 ! User Variable - End Time
OUTRES,ALL,ALL ! Output all results to database
!
!
ALPHAD,1.5708 ! Rayleigh Damping for Direct Intergration TH Analysis
BETAD,0.0008842 !Change to suit your values of damping
!
!DMPRAT,0.05 !constant structure damping (modal superposition only)
!
TIMINT,OFF ! Initial Conditions for Dead Weight
DELTIM,0.5e-5
KBC,1
ACEL,0.0,9.81,0.0
SOLVE
!
!
TIMINT,ON ! Conditions for Dynamic Analysis
KBC,0
DELTIM,0.01
AUTOTS,ON
C*************************************************************
C***** Loop the time history arrays onto the boundary nodes***
C*************************************************************
*DO,T,T0,T1,DT
TIME,T
ACEL,0.0,9.81,0.0
d,1,UX,D1(T), ! Change these displacement to reflect the boundaries
d,15,UX,D1(T), !on your model.
SOLVE
*ENDDO

Вам также может понравиться