Recorder command returns a file without any data

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

Moderators: silvia, selimgunay, Moderators

Behrad
Posts: 1
Joined: Sun Sep 09, 2012 5:36 am

Recorder command returns a file without any data

Post by Behrad »

Hi everybody
I am analyzing seismic response of a steel braced frame subjected to earhquake in OpenSees and I want to obtain the hysteretic force-deformation graph of a bracing member.
I used the following recorder command to obtain the bracing member's deformation but it only returns an output file without any data:

recorder Element- file Def.out -time -ele 1 section 1 deformation

I do not have any idea why it does not work.
Does anyone know what can be done in this case?
semon
Posts: 39
Joined: Fri Jul 27, 2012 2:53 pm

Re: Recorder command returns a file without any data

Post by semon »

Hi,

I dont know what is wrong with your recorder command but I had the same problem. In order to obtain the output you have to close the black opensees window first.
Emad_Norouzzadeh
Posts: 12
Joined: Mon Apr 25, 2011 12:19 pm
Location: University of Tehran

Re: Recorder command returns a file without any data

Post by Emad_Norouzzadeh »

Hi to All
I modeled my shear walls with fiber section.
I put a Element Recorder to record moment and curvature of a fiber section.
after pushover analyze finished successfully , Recorder command returns a file without any data ( 0 KB).
Can anyone Help me?
vesna
Posts: 3033
Joined: Tue May 23, 2006 11:23 am
Location: UC Berkeley

Re: Recorder command returns a file without any data

Post by vesna »

add "wipe" command at the end of your file.
Emad_Norouzzadeh
Posts: 12
Joined: Mon Apr 25, 2011 12:19 pm
Location: University of Tehran

Re: Recorder command returns a file without any data

Post by Emad_Norouzzadeh »

Dear Vesna
at the end of my file "Wipe all" command exist but my recorder returns a empty file for moment and curvature of a fiber section.
another Recorders (for example: Spring Moment- rotation or Forces) work properly.
Can you help me please?
vesna
Posts: 3033
Joined: Tue May 23, 2006 11:23 am
Location: UC Berkeley

Re: Recorder command returns a file without any data

Post by vesna »

show me your recorders
Emad_Norouzzadeh
Posts: 12
Joined: Mon Apr 25, 2011 12:19 pm
Location: University of Tehran

Re: Recorder command returns a file without any data

Post by Emad_Norouzzadeh »

### this part records element 151- this element is a shear wall with Fiber Section and modeled with nonlinearBeamColumn (numIntgrPts: 7)####

recorder Element -file $dataDir/ele151sec1Force.out –time -ele 151 section 1 force;
recorder Element -file $dataDir/ele151sec1Defo.out –time -ele 151 section 1 deformation;
recorder Element -file $dataDir/ele151sec2Force.out –time -ele 151 section 2 force;
recorder Element -file $dataDir/ele151sec2Defo.out –time -ele 151 section 2 deformation;
recorder Element -file $dataDir/ele151sec3Force.out –time -ele 151 section 3 force;
recorder Element -file $dataDir/ele151sec3Defo.out –time -ele 151 section 3 deformation;
recorder Element -file $dataDir/ele151sec4Force.out –time -ele 151 section 4 force;
recorder Element -file $dataDir/ele151sec4Defo.out –time -ele 151 section 4 deformation;
recorder Element -file $dataDir/ele151sec5Force.out –time -ele 151 section 5 force;
recorder Element -file $dataDir/ele151sec5Defo.out –time -ele 151 section 5 deformation;
recorder Element -file $dataDir/ele151sec6Force.out –time -ele 151 section 6 force;
recorder Element -file $dataDir/ele151sec6Defo.out –time -ele 151 section 6 deformation;
recorder Element -file $dataDir/ele151sec7Force.out –time -ele 151 section 7 force;
recorder Element -file $dataDir/ele151sec7Defo.out –time -ele 151 section 7 deformation;
vesna
Posts: 3033
Joined: Tue May 23, 2006 11:23 am
Location: UC Berkeley

Re: Recorder command returns a file without any data

Post by vesna »

In case the element number is correct the recorders are defined properly. Do you at least see the time when you open these files?
Emad_Norouzzadeh
Posts: 12
Joined: Mon Apr 25, 2011 12:19 pm
Location: University of Tehran

Re: Recorder command returns a file without any data

Post by Emad_Norouzzadeh »

No. I can't see anything (even time) and file is empty.
Eigenvalue and pushover analysis finished successfully but Can be a error in my fiber section modelling?
I'm so confused dear vesna.
vesna
Posts: 3033
Joined: Tue May 23, 2006 11:23 am
Location: UC Berkeley

Re: Recorder command returns a file without any data

Post by vesna »

Are your recorders defined before the analyze command? They need to be, otherwise the output will not be created.

Try also to add "remove recorders" command at the end of your file.

If your model is not too big (less than 5 elements) post it and I will try to run it and figure out the problem.
Emad_Norouzzadeh
Posts: 12
Joined: Mon Apr 25, 2011 12:19 pm
Location: University of Tehran

Re: Recorder command returns a file without any data

Post by Emad_Norouzzadeh »

my recorders defined after gravity analysis and before pushover analysis (is it OK? )
Unfortunately my model is too big (22 story). I appreciate you for your kindly answers.
I'll try "remove recorders" command. I hope this command solve my problem!
Emad_Norouzzadeh
Posts: 12
Joined: Mon Apr 25, 2011 12:19 pm
Location: University of Tehran

Re: Recorder command returns a file without any data

Post by Emad_Norouzzadeh »

Dear Vesna

I copied recorder command from one of Opensees examples (http://opensees.berkeley.edu/wiki/index ... troduction) to my code and replaced my element number with example element number (without another changes to my file) and It works properly now!!

I don't know what's difference between my command and example command but it worked good now! :D
vesna
Posts: 3033
Joined: Tue May 23, 2006 11:23 am
Location: UC Berkeley

Re: Recorder command returns a file without any data

Post by vesna »

I am glad to hear that you managed to make it work:)
Emad_Norouzzadeh
Posts: 12
Joined: Mon Apr 25, 2011 12:19 pm
Location: University of Tehran

Re: Recorder command returns a file without any data

Post by Emad_Norouzzadeh »

Thank you for your kindly answers dear vesna.

I wish bests for you!
mmasoudi
Posts: 12
Joined: Wed Feb 11, 2009 2:45 pm
Location: ROSE School, Pavia, Italy

Re: Recorder command returns a file without any data

Post by mmasoudi »

I have exactly the same problem. When I run my model in the NEEShub Opensees lab the model works perfect. However, on my laptop I saw a lot of empty output files and some of the expected output files even do not exist in the result folder. I used "wipe" and "remove recorders" at the end of my file, nothing changed. I changed the place of recorders several times. In some cases it creates error that the ground motion cannot be read! I put recorders in separate files again nothing changed.
I do appreciate if someone has any solution.
Post Reply