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.
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
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
thanks