envelope record command doesn't work in opensees 1.6.2

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

Moderators: silvia, selimgunay, Moderators

Post Reply
chjjj
Posts: 10
Joined: Thu Oct 21, 2004 7:23 pm

envelope record command doesn't work in opensees 1.6.2

Post by chjjj »

When I use the EnvelopeElement command in the opensees1.6.2, the output file is empty.

But when I change to use the opensees1.6.0, it did work.

If there are some problem with the command, or the syntax has been changed?

Thanks
silvia
Posts: 3909
Joined: Tue Jan 11, 2005 7:44 am
Location: Degenkolb Engineers
Contact:

Post by silvia »

i believe the syntax has changed.
what is your command?
Silvia Mazzoni, PhD
Structural Consultant
Degenkolb Engineers
235 Montgomery Street, Suite 500
San Francisco, CA. 94104
chjjj
Posts: 10
Joined: Thu Oct 21, 2004 7:23 pm

Post by chjjj »

my command is:
recorder EnvelopeElement -file $dir/section/ele$i/sec${nP}Force+Defor.out -time -ele $i section $nP forceAndDeformation

thanks
silvia
Posts: 3909
Joined: Tue Jan 11, 2005 7:44 am
Location: Degenkolb Engineers
Contact:

Post by silvia »

have you tried something other than forceAndDeformation??

it is an old undocumented feature of the old version, now you should ask for force and deformations separately.
Silvia Mazzoni, PhD
Structural Consultant
Degenkolb Engineers
235 Montgomery Street, Suite 500
San Francisco, CA. 94104
chjjj
Posts: 10
Joined: Thu Oct 21, 2004 7:23 pm

Post by chjjj »

I have try it, but the problem are still the same.
:cry:
silvia
Posts: 3909
Joined: Tue Jan 11, 2005 7:44 am
Location: Degenkolb Engineers
Contact:

Post by silvia »

please post your files. (my girls are up now, so I won't be able to get to it too soon, though)
Silvia Mazzoni, PhD
Structural Consultant
Degenkolb Engineers
235 Montgomery Street, Suite 500
San Francisco, CA. 94104
chjjj
Posts: 10
Joined: Thu Oct 21, 2004 7:23 pm

Post by chjjj »

this is a part of my record file.
#column section recorder
for {set i 1} {$i <= 72} {incr i} {
file mkdir $dir/section/ele$i
foreach nP [list 1 $colnP] {
recorder EnvelopeElement -file $dir/section/ele$i/sec${nP}Force+Defor.out -time -ele $i section $nP forceAndDeformation
}
}

#beam section recorder
for {set i 73} {$i <= 174} {incr i} {
file mkdir $dir/section/ele$i
foreach nP [list 1 $beamnP] {
recorder EnvelopeElement -file $dir/section/ele$i/sec${nP}Force+Defor.out -time -ele $i section $nP forceAndDeformation
}
}

#beam reinforcement stress-strain recorder
for {set i 73} {$i <= 126} {incr i} {
file mkdir $dir/Cstress-strain/ele$i
foreach nP [list 1 $beamnP] {
recorder EnvelopeElement -file $dir/Cstress-strain/ele$i/sec${nP}CstressStrain01.out -time -ele $i section $nP fiber [expr -$y3] 0.0 stressStrain
recorder EnvelopeElement -file $dir/Cstress-strain/ele$i/sec${nP}CstressStrain02.out -time -ele $i section $nP fiber $y3 0.0 stressStrain
}
}
silvia
Posts: 3909
Joined: Tue Jan 11, 2005 7:44 am
Location: Degenkolb Engineers
Contact:

Post by silvia »

and none of the three works??
have you tried removing the -time argument??

also, i woulnd't use the + in a filename string.

since I cant' really run this short segment, I have a question:
what's up with the following piece of filename:
sec${nP}For
in $dir/section/ele$i/sec${nP}Force+Defor.out

shouldn't the $ be insied the {}????
Silvia Mazzoni, PhD
Structural Consultant
Degenkolb Engineers
235 Montgomery Street, Suite 500
San Francisco, CA. 94104
chjjj
Posts: 10
Joined: Thu Oct 21, 2004 7:23 pm

Post by chjjj »

Take the Example5.1 for example: (OpenSees Examples Manual)
I add a recorder to the source file, like:
recorder EnvelopeNode -file Envelopenode51.out -time -node 9 14 19 -dof 1 2 disp

The file(Envelopenode51.out ) is empty.
silvia
Posts: 3909
Joined: Tue Jan 11, 2005 7:44 am
Location: Degenkolb Engineers
Contact:

Post by silvia »

i was able to replicate the problem. i'm looking into it!
Silvia Mazzoni, PhD
Structural Consultant
Degenkolb Engineers
235 Montgomery Street, Suite 500
San Francisco, CA. 94104
rmchndrn
Posts: 3
Joined: Thu Apr 28, 2005 3:25 pm

Post by rmchndrn »

Hi,

I was having this problem as well. Frank suggested adding a wipe at the end of the input file and I am able to get output. There is another thread regarding this issue, way back on this message board.

Jayram
silvia
Posts: 3909
Joined: Tue Jan 11, 2005 7:44 am
Location: Degenkolb Engineers
Contact:

Post by silvia »

so i guess opensees is not closing the file.
the wipe at the end should solve the problem, please let me know if it does not.
thank you Jayram!!!
good reminder to do searches on this forum.
Silvia Mazzoni, PhD
Structural Consultant
Degenkolb Engineers
235 Montgomery Street, Suite 500
San Francisco, CA. 94104
Post Reply