recording stressstrain is empty, why?

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

Moderators: silvia, selimgunay, Moderators

Post Reply
borjiajia
Posts: 91
Joined: Wed Jan 20, 2010 12:08 am
Location: DL, China

recording stressstrain is empty, why?

Post by borjiajia » Wed Mar 02, 2011 5:59 pm

Dear Vesna, I have sent my codes in your email,
I have a problem when I recorder stressstrain, the result is always empty after I run it. Is there anything wrong with my recoder codes?

I have tried three ways to record, however, none worked. Could you help me out of this problem?

recorder Element -file $dataDir/ele1122sec3StressStrain.out -Ctime -ele 122 section 3 fiber 0.1 0.1 stressStrain
recorder Element -file $dataDir/ele121sec3StressStrain.out -Ctime -ele 121 section 3 fiber 0.1 0.1 $IDSteelHRB400 stressStrain
recorder Element -file $dataDir/ele121StressStrain.out -Ctime -ele 121section fiber 0.1 0.1 $IDSteelHRB400 stressStrain;
休息4 pm to 0 pm . 问问题at 1 am~2 pm.

vesna
Posts: 3033
Joined: Tue May 23, 2006 11:23 am
Location: UC Berkeley

Re: recording stressstrain is empty, why?

Post by vesna » Thu Mar 03, 2011 9:34 am

You had a typo in your recorders. Replace them by this:

recorder Element -file $dataDir/ele1122sec3StressStrain.out -time -ele 122 section 3 fiber 0.1 0.1 stressStrain
recorder Element -file $dataDir/ele121sec3StressStrain.out -time -ele 121 section 3 fiber 0.1 0.1 $IDSteelHRB400 stressStrain
recorder Element -file $dataDir/ele121StressStrain.out -time -ele 121 section fiber 0.1 0.1 $IDSteelHRB400 stressStrain;

borjiajia
Posts: 91
Joined: Wed Jan 20, 2010 12:08 am
Location: DL, China

Re: recording stressstrain is empty, why?

Post by borjiajia » Thu Mar 03, 2011 4:31 pm

Oh, I am sorry for my carelessness. Thank you.
休息4 pm to 0 pm . 问问题at 1 am~2 pm.

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

Re: recording stressstrain is empty, why?

Post by kengawk » Mon Aug 08, 2011 7:29 am

I met the same problem with rectangular section, while I can get the stress and strain from circular section.

the file is empty...why?
Kai Zhang
------------------------------
PH.D. candidate
School of Civil Engineering&Architecture
Beijing Jiaotong University

vesna
Posts: 3033
Joined: Tue May 23, 2006 11:23 am
Location: UC Berkeley

Re: recording stressstrain is empty, why?

Post by vesna » Mon Aug 08, 2011 3:00 pm

For the file to be written you have to either exit opensees file or issue wipe command at the end of the file.

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

Re: recording stressstrain is empty, why?

Post by kengawk » Mon Aug 08, 2011 9:06 pm

of course, I used wipe so that it can make same data length.

I don't know why...
Kai Zhang
------------------------------
PH.D. candidate
School of Civil Engineering&Architecture
Beijing Jiaotong University

vesna
Posts: 3033
Joined: Tue May 23, 2006 11:23 am
Location: UC Berkeley

Re: recording stressstrain is empty, why?

Post by vesna » Tue Aug 09, 2011 11:09 am

If that is the case, it seems that your analysis was not completed. You may be having an error somewhere in your script.

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

Re: recording stressstrain is empty, why?

Post by kengawk » Fri Aug 12, 2011 5:05 am

I will change to circular section.
I guess it would show something new.
Kai Zhang
------------------------------
PH.D. candidate
School of Civil Engineering&Architecture
Beijing Jiaotong University

Post Reply