Professional Documents
Culture Documents
Time History Analysis
Time History Analysis
&( 0) = u &i , so A = u &i , But u & ( ti ) = u &i +1 , so u &i +1 = (u &&i + u &&i +1 ) ti / 2 + u &i and u &i +1 = u &i + ( u &&i + u &&i +1 ) ti / 2 or u
Integrating: (2)
(3)
u(t)
ground displacement, spring, stiffness
ug(t)
k
mass, damper, coeff.
(4)
Consider a single degree of freedom system as shown above, with governing equation
(1)
(5)
Assume that the displacement and velocity at time &0 are known. As a result of the ground zero, u0 , u motion the mass develops accelerations which may be as shown below. In particular we assume that in the time interval ti , the acceleration can be approximated by the mean of the end values in the interval.
&&(t ) u
Since governing equation (1) is satisfied at both ti and ti+1, substitute in (1) for ti and ti+1 and subtract to get
(6)
mean
(7)
Where
ti +1
C1 =
ti
t
4 4 + + 2 , and 2 t i ti
Let denote time as measured from the start of the interval. Hence
d:\document\asm\asm2001\notes\timehist.doc
1 C2 = 4 + ti
jwb 24/04/01
Typing help th at the Matlab prompt will write some helpful information to the screen. Copying and running the Matlab program 1. The necessary files can be downloaded from the Applied Structural Mechanics section under student info on the Civil Engineering web page at http://www.care.auckland.ac.nz. 2. Copy the files th.m, thdemo.m and elcen.dat to a convenient subdirectory on your network H: drive or elsewhere. 3. Start Matlab in the usual way. 4. At the Matlab prompt, type cd H:\matlab (or whatever name you gave to your new directory). thdemo (to run the example) 5. Modify the demo file or create a new one to solve the specified problems (you can always re-copy the initial files if things go wrong.). File contents th.m is a Matlab script file containing the timehistory solution function. thdemo.m is a Matlab script file showing how to use the time-history function to solve a simple problem of response to a linear acceleration pulse. elcen.dat is a numerical data file containing the first 20 seconds of the El-Centro 1940 N-S acceleration record. Data is in mm/sec2 units at 0.02sec intervals. The data is arranged as a single column so that it can be readily imported into a spreadsheet if desired. To enter the El-Centro data into Matlab include the following in your program (or type it at the prompt): load elcen.dat; elcen=elcen; This will create a row vector elcen containing the acceleration data. Demonstration example A structure has a period T=0.4sec and a damping ratio =0.0. An underground explosion causes a ground acceleration consisting of a symmetric triangular pulse of 1 second duration during which the acceleration rises linearly to a peak of 2000mm/sec2 in 0.5sec and then falls linearly to zero at 1second. It is required to calculate the displacement timehistory for the 1.5 seconds following the arrival of the pulse.
&&i 5. Solve (4) for u ui +1 = ui + ui &i +1 = u &i + u &i u &&i +1 = u &&i + u &&i u 7. Repeat steps 3 to 6.
6. Update
Spreadsheet
There is a spreadsheet time-hist.xls that can be freely downloaded or run from the web site, http://www.care.auckland.ac.nz/~.jbut030.users/C ourses/655.412/time-hist.xls.
4000 sin ( t ) d
0.5
1.0
1.5
4000 ( t sin t ) 3
The problem is solved using step by step integration and then by means of Duhamels integral. Step by step integration solution The file thdemo.m whose listing is given below contains the necessary instructions to solve the problem. The acceleration data is created directly as a matrix constant with values specified at 0.01sec intervals. The other parameters are defined and the time-history function invoked to generate the solution. Duhamel integral solution The simple form of the acceleration data makes Duhamel reasonably easy to apply (although nonzero damping would complicate matters a little). Because the acceleration is not a continuous function of time it must be considered in discrete ranges within which it is continuous:
4.0
0.5 - 1.0sec
0.5
u (t ) =
1.0 - 1.5sec:
0.5
u (t ) = =
The expressions above can be conveniently evaluated and plotted using a spreadsheet. The figure below shows the results from both Duhamel and the step by step procedure.
2.0
0.0
-2.0
-4.0
-6.0
-8.0
-10.0
0.0
0.2
0.4
0.6
1.0
1.2
1.4
[U,Umax,Vmax,Amax]=th(w,xi,accel,dt,p,nout); % set up time axis for plotting (every 2nd point used) timebase=[0:nout*dt:size(accel,2)*dt-dt]; figure(1); plot(accel); xlabel('time'); ylabel('ground acceleration (mm/s/s)'); figure(2); plot(timebase,U,'-',timebase,U,'o'); xlabel('time (sec)'); ylabel('displcement (mm)'); disp('Maximum displacement'); Umax