Response Spectra Code

Forum for OpenSees users to post questions, comments, etc. on the use of the OpenSees interpreter, OpenSees.exe

Moderators: silvia, selimgunay, Moderators

Post Reply
sugandha
Posts: 8
Joined: Tue Sep 22, 2015 11:07 am
Location: North Carolina State University

Response Spectra Code

Post by sugandha » Sun Oct 14, 2018 8:27 pm

Hi,

I have written a code to obtain response spectra for a 9DoF system. However, I am having a problem with the recorder command. I can't extract the information from the recorder file to another file at every loop because the recorder file does not get updated until the analysis is finished and we close the OpenSees interface. I have tried various things in order to extract absolute maximum displacement from recorder file at every loop but nothing worked. Here is a list of commands I have already tried:
1. Include -closeOnWrite tag in the recorder command.
2. Used logFile command to append the recorder file.

Can someone please help me with this?

Thanks,
Sugandha

kesavapraba
Posts: 46
Joined: Mon Jan 22, 2018 1:38 am

Re: Response Spectra Code

Post by kesavapraba » Mon Oct 15, 2018 4:45 am

Dear Friend
Did you try using real time output commands, like nodeDisp, eleResponse etc.?

http://opensees.berkeley.edu/wiki/index ... t_Commands

sugandha
Posts: 8
Joined: Tue Sep 22, 2015 11:07 am
Location: North Carolina State University

Re: Response Spectra Code

Post by sugandha » Mon Oct 15, 2018 6:50 am

Thank you very much. That worked out with a loop for analysis.

Post Reply