Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations GregLocock on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

integration in ansys

Status
Not open for further replies.

alperturan

Civil/Environmental
Oct 24, 2003
32
Hi to all
I wonder if there is a way to integrate a acceleration time history i ansys. I want to integrate my base motion input data.

regards.
 
Replies continue below

Recommended for you

The easiest way to do this (outside of /post26) is with the *VOPER command. Please see attached sample code below.

Code:
fini
/cle

no_of_points=1234

*SET,XTIME
*SET,XFUNC
*SET,XINTE

*DIM,XTIME,,no_of_points
*DIM,XFUNC,,no_of_points
*DIM,XINTE,,no_of_points

*VREAD,XTIME(1),TIME_AXIS,dat,,1
(1f8.6)    ! ##

*VREAD,XFUNC(1),FUNC_AXIS,dat,,1
(1f8.6)    ! ##

C*** integrate

*VOPER,XINTE,XFUNC,INT1,XTIME

*cfopen,output,dat
*VLEN,no_of_points
*vwrite,XINTE(1)
(2f12.7)    ! ###
*cfclos

Some points to note about this code. (1) Two files must be in the working directory TIME_AXIS.dat and FUNC_AXIS.dat, which contain the time base and the acceleration base, respectively. (2) You may need to modify the points marked ## to match the format of your input data (these are fortran format descriptors). (3) ### is the output descriptor. (4) The no_of_points parameter must match the number of rows in your input data. (5) change INT1 to INT2 to integrate your data twice and hence go from acceleration to displacement.


------------
See faq569-1083 for details on how to make best use of Eng-Tips.com
 
Hi drej do you know any way to do this in /Post26. I calculated surface response time history on a soil column. what I need are basically, surface acceleration time history and. Spectral acceleration. in post 26 it talks about function table to generate a spectral acceleration curve. Can you give a bit information on how to create a spectral curve and how to define a function table.

thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor