Structural Dynamics

Structural Dynamics

Is it possible to generate a response spectrum in directly from an array parameter of acceleration vs. time without using a model?

    • FAQFAQ
      Participant

      Yes. You have to create at least one dummy node, but otherwise the input below creates a response spectrum from array parameters. ! creation of a response spectrum from a time history stored in ! array parameters var1 (time) and var2 (data) the array parameter ! freq contains the frequencies to be computed *dim,var1,,20 ! store input in 2 array parameters *dim,var2,,20 *dim,freq,,30 ! time points of time-history (could *VREAD) *vfil,var1(1),ramp,.001,.001 *stat,var1 *vfil,var2(1),ramp,0,0 ! data of time-history (could *VREAD) var2(10)=1 ! create impulse time history – should produce flat unit spectrum *stat,var2 *vfil,freq(1),ramp,5,1 ! frequencies 5, 6, … , 34 *stat,var3 /prep7 ! make a dummy model n,1 fini /post26 store,alloc,30 ! allocate the number of time points vput,var1(1),1 ! vput the array parameters into post26 variables vput,var2(1),3 vput,freq(1),2 prvar,2,3 resp,4,2,3,1,.05,.001 prvar,2,4 ! variable 4 vs 2 is the response spectrum xvar,2 plvar,4