EleResponse Command: Difference between revisions

From OpenSeesWiki
Jump to navigation Jump to search
(New page: This command is used to obtain the same element quantities as those obtained from the element recorder at a particular time step. {| | style="background:y...)
 
No edit summary
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
This command is used to obtain the same element quantities as those obtained from the [[Element Recorder Command | element recorder]] at a particular time step.
{{CommandManualMenu}}


This command is used to obtain the same element quantities as those obtained from the [[Element Recorder | element recorder]] at a particular time step.


{|  
{|  
Line 11: Line 12:
|  style="width:150px" | '''$eleTag ''' || integer tag identifying element
|  style="width:150px" | '''$eleTag ''' || integer tag identifying element
|-
|-
|  '''$arg1, $arg2''' ||  same arguments as those specified in [[Element Recorder Command | element recorder]]. These arguments are specific to the type of element being used.
|  '''$arg1, $arg2''' ||  same arguments as those specified in [[Element Recorder | element recorder]]. These arguments are specific to the type of element being used.
|}
|}


Line 20: Line 21:
For a simple truss example if these are the recorder commands used:
For a simple truss example if these are the recorder commands used:


<source lang="tcl">
recorder Element -time -ele 1 2 3 -file a.out axialForce
recorder Element -time -ele 1 2 3 -file a.out axialForce
recorder Element -time -ele 1 2 3 -file b.out material stress
recorder Element -time -ele 1 2 3 -file b.out material stress
</source>


then these are the corresponding eleResponse commands
then these are the corresponding eleResponse commands


<source lang="tcl">
set a [eleResponse 1 forces]
set a [eleResponse 1 forces]
set b [eleResponse 1 material stress]
set b [eleResponse 1 material stress]
</source>


----
----


Code Developed by: <span style="color:blue"> fmk </span>
Code Developed by: <span style="color:blue"> fmk </span>

Latest revision as of 18:22, 12 August 2010




This command is used to obtain the same element quantities as those obtained from the element recorder at a particular time step.

eleResponse $eleTag $arg1 $arg2

$eleTag integer tag identifying element
$arg1, $arg2 same arguments as those specified in element recorder. These arguments are specific to the type of element being used.


EXAMPLE:

For a simple truss example if these are the recorder commands used:

recorder Element -time -ele 1 2 3 -file a.out axialForce

recorder Element -time -ele 1 2 3 -file b.out material stress

then these are the corresponding eleResponse commands

set a [eleResponse 1 forces]

set b [eleResponse 1 material stress]

Code Developed by: fmk