2.0.0 version and 2.3.1
Moderators: silvia, selimgunay, Moderators
2.0.0 version and 2.3.1
hello vesna
I have a model which run with OpenSees2.0.0 and not work with 2.3.1
can i send this to your personal email?
I have a model which run with OpenSees2.0.0 and not work with 2.3.1
can i send this to your personal email?
Re: 2.0.0 version and 2.3.1
Can you test it with the latest OpenSees version, which is 2.3.2.
Do you know exactly which command is not working?
Do you know exactly which command is not working?
Re: 2.0.0 version and 2.3.1
hello vesna
I think "gets command" not working with 2.3.1 or ActiveTcl 8.5.9.1.294121 has problem.
2.3.2 version has the same result
I think "gets command" not working with 2.3.1 or ActiveTcl 8.5.9.1.294121 has problem.
2.3.2 version has the same result
Re: 2.0.0 version and 2.3.1
I just tested "gets" command on OpenSees2.3.2 using Mac and PC and it worked on both.
Re: 2.0.0 version and 2.3.1
hello vesna
It seems that opensees 2.3.2 workes with ActiveTcl 8.5.11 and opensees 2.0.0 workes with ActiveTcl 8.4.0
i test "gets" command on OpenSees2.3.2 in my laptop computer with win7 operating system.
this command work with 2.0.0 version and not work with 2.3.2
Also "seek" and "read" commands are same as "gets" in this manner.
i think this problem is related to "format" command
if this is right, pleas help me for using the "format" command with example.
the part of my script is here:
for {set k 1} {$k<7 } {incr k 1} {
recorder Node -file "def_modo$k.out" -node 12 22 32 42 52 62 -dof 1 "eigen $k"
set file_ID [format "def_modo%i.out" $k]
#set file [open [format "%s" $file_ID] "r"]
set InFileID [open $file_ID "r"]
gets $InFileID line
puts "line= $line "
puts "kk= $InFileID "
}
-------------------------------------------
which in opensees give me:
"line=
kk= file1d3a348"
i am confused!
pleas help me vesna.
Best Regards in advance
It seems that opensees 2.3.2 workes with ActiveTcl 8.5.11 and opensees 2.0.0 workes with ActiveTcl 8.4.0
i test "gets" command on OpenSees2.3.2 in my laptop computer with win7 operating system.
this command work with 2.0.0 version and not work with 2.3.2
Also "seek" and "read" commands are same as "gets" in this manner.
i think this problem is related to "format" command
if this is right, pleas help me for using the "format" command with example.
the part of my script is here:
for {set k 1} {$k<7 } {incr k 1} {
recorder Node -file "def_modo$k.out" -node 12 22 32 42 52 62 -dof 1 "eigen $k"
set file_ID [format "def_modo%i.out" $k]
#set file [open [format "%s" $file_ID] "r"]
set InFileID [open $file_ID "r"]
gets $InFileID line
puts "line= $line "
puts "kk= $InFileID "
}
-------------------------------------------
which in opensees give me:
"line=
kk= file1d3a348"
i am confused!
pleas help me vesna.
Best Regards in advance
Re: 2.0.0 version and 2.3.1
Would you explain me what are you trying to code.
Re: 2.0.0 version and 2.3.1
hello vesna
I found the problem
I found the problem
Last edited by alirezaii on Fri May 25, 2012 11:27 pm, edited 1 time in total.
Re: 2.0.0 version and 2.3.1
The reason for this not working is that the recorder command was changed. The output files are written after you finish analysis and exit OpenSees. To get the eigenvectors you can use nodeEigenvector command: http://opensees.berkeley.edu/wiki/index ... or_Command
Re: 2.0.0 version and 2.3.1
Thanks a lot vesna
Best regards
Best regards
Re: 2.0.0 version and 2.3.1
hello vesna
I need to give shear forces of columns at each step of analysis. What do I do it?
Best Regards in advance
I need to give shear forces of columns at each step of analysis. What do I do it?
Best Regards in advance
Re: 2.0.0 version and 2.3.1
Can you explain your problem better? I am not sure if recorder command is what you need or you need something else.
Re: 2.0.0 version and 2.3.1
hi vesna
I have a adaptive pushover analysis in which shear forces of columns in each story at each step of analysis are in a loop.
I couldn't record these shears during the analysis.
thanks
I have a adaptive pushover analysis in which shear forces of columns in each story at each step of analysis are in a loop.
I couldn't record these shears during the analysis.
thanks
Re: 2.0.0 version and 2.3.1
hello vesna
Are you read my reply?
Whether there is ambiguity with my reply?
pleas help me
Thanks
Are you read my reply?
Whether there is ambiguity with my reply?
pleas help me
Thanks
Re: 2.0.0 version and 2.3.1
You can use eleResponse command to achieve that: http://opensees.berkeley.edu/wiki/index ... se_Command
Here is an example:
set force [eleResponse 1 forces]; # returns global forces of element 1 and and assigns it to "force"
set shear [lindex $force 0]; # returns the 1st item from the "force" list and assigns it to "shear"
For your case make sure to use the proper index to extract the shear force from the force vector of the element.
Here is an example:
set force [eleResponse 1 forces]; # returns global forces of element 1 and and assigns it to "force"
set shear [lindex $force 0]; # returns the 1st item from the "force" list and assigns it to "shear"
For your case make sure to use the proper index to extract the shear force from the force vector of the element.
Re: 2.0.0 version and 2.3.1
Thanks vesna
You did a great help to me.
Tanks a lot vesna.
You did a great help to me.
Tanks a lot vesna.