eleResponse

For posts concerning the documentation, errors, ommissions, general comments, etc.

Moderators: silvia, selimgunay, Moderators

Post Reply
Makeal
Posts: 2
Joined: Sat Jun 08, 2013 4:34 am
Location: Hunan University

eleResponse

Post by Makeal » Sat Sep 14, 2013 2:38 am

Deal All
I wan to distinguish between eleResponse of a column ,such as ,make a defference between axialfoce an shear ,in the en ,I want to output axial force and shear force and feedback respectively

fmk
Site Admin
Posts: 5883
Joined: Fri Jun 11, 2004 2:33 pm
Location: UC Berkeley
Contact:

Re: eleResponse

Post by fmk » Mon Sep 16, 2013 10:50 am

the eleResponse command returns a list .. you can use the lindex command to get the particular components out.

Makeal
Posts: 2
Joined: Sat Jun 08, 2013 4:34 am
Location: Hunan University

Re: eleResponse

Post by Makeal » Wed Sep 18, 2013 4:59 am

Thank you very much

nparsaeifard
Posts: 22
Joined: Sun Jul 10, 2011 2:08 am

Re: eleResponse

Post by nparsaeifard » Tue Sep 24, 2013 9:44 am

Dear fmk
would you please write the command?
Thank you

fmk
Site Admin
Posts: 5883
Joined: Fri Jun 11, 2004 2:33 pm
Location: UC Berkeley
Contact:

Re: eleResponse

Post by fmk » Wed Sep 25, 2013 11:06 am

here is something i had in an example script, what the force is depends on the element and the orientation, here it was either a truss or a zerolength ele:

set strains [eleResponse 3 basicDeformation]
set forces [eleResponse 3 forces]
puts "eleType: $eleType matType $matType axialForce [lindex $forces 0] axialDeformation: [lindex $strains 0]"

nparsaeifard
Posts: 22
Joined: Sun Jul 10, 2011 2:08 am

Re: eleResponse

Post by nparsaeifard » Sat Sep 28, 2013 8:16 am

Thank you very much for your guidance
I appreciate your quick response

Post Reply