azolo
Subscriber

I have now found a way but I don't know if there is a easier way.


My steps to get the rotational FRF are:


- Create a remote point on the point of the part where you need rotational displacement
- Add the following APDL command to the remote point


     measure_pilot=_npilot

- Create an APDL command in the solution of the harmonic response (RS).


(Since I need the frequency range from 0 to 4000 Hz and the solution itervalls are 1000 I do this through a script)


set,list
*cfopen,'rot_z_FRF','txt'                 ! create a text file
*do, i, 1, 1000                                ! the solutions intervalls from the analysis settings
set,1,i,,AMPL                                
*get,my_freq,ACTIVE,,SET,FREQ
my_rot_z=ROTZ(measure_pilot)
*vwrite, my_freq, my_rot_z
(F8.0,g16.5)
*enddo
*cfclose


How can I read the value of the solutions intervalls automaticly from the analysis settings?