How can I read the completed results in OpenSees?

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

Moderators: silvia, selimgunay, Moderators

Post Reply
kengawk
Posts: 103
Joined: Wed Oct 31, 2007 11:55 pm
Location: Beijing JIaotong University
Contact:

How can I read the completed results in OpenSees?

Post by kengawk »

Dears,

A problem I found is that the results from openSees always come up after I exit OpenSees.

For an example, I write an fundamental period of a structre with puts command or recorder.

How can I read the completed results in OpenSees right after the operations above?

Thanks!!
Kai Zhang
------------------------------
PH.D. candidate
School of Civil Engineering&Architecture
Beijing Jiaotong University
fmk
Site Admin
Posts: 5884
Joined: Fri Jun 11, 2004 2:33 pm
Location: UC Berkeley
Contact:

Re: How can I read the completed results in OpenSees?

Post by fmk »

the file has to be closed before you can look at what is in it .. if wanting to read from a file during a running simulation you have to close it if using puts or specify the -closeOnWrite option if using a recorder .. just remember if reading from a file during the simulation that you must also close it after you finished reading from it.
kengawk
Posts: 103
Joined: Wed Oct 31, 2007 11:55 pm
Location: Beijing JIaotong University
Contact:

Re: How can I read the completed results in OpenSees?

Post by kengawk »

Thanks a lot, Frank!

It's a great help that may solve the problem ,which have troubled me for a quite long time!!
Yesterday I review the recorder commands and I saw that option but neglected it ...
This month I began to close the file and unset the variable immediately after the I/O operation .
Sometime I still met it for undefined reasons.

Your answer is of great help for me! I am sure!
Kai Zhang
------------------------------
PH.D. candidate
School of Civil Engineering&Architecture
Beijing Jiaotong University
Post Reply