×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

integration in ansys

integration in ansys

integration in ansys

(OP)
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.

RE: integration in ansys

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

RE: integration in ansys

(OP)
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

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources