EleResponse Command: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 20: | Line 20: | ||
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> |
Revision as of 19:38, 14 January 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