Drift Recorder: Difference between revisions

From OpenSeesWiki
Jump to navigation Jump to search
(Created page with '{{CommandManualMenu}} The Drift type records the displacement drift between two nodes. The drift is taken as the ratio between the prescribed relative displacement and the speci...')
 
No edit summary
Line 4: Line 4:


{|  
{|  
| style="background:yellow; color:black; width:800px" | ''recorder Drift -file $fileName <-time> -iNode ($inode1 $inode2 ...) -jNode ($jnode1 $jnode2 ...) -dof ($dof1 $dof2 ...) -perpDirn ($perpDirn1 $perpDirn2 ...)'''
| style="background:yellow; color:black; width:800px" | ''recorder Drift -file $fileName <-time> -iNode $inode1 $inode2 ... -jNode $jnode1 $jnode2 ... -dof $dof1 $dof2 ... -perpDirn $perpDirn1 $perpDirn2 ...'''
|}
|}


Line 15: Line 15:
binary (-binary option)
binary (-binary option)
|-
|-
|  '''-time''' || (optional using this option places domain time in first entry of each data line, default is to have time ommitted)
|  '''-time''' || using this option places domain time in first entry of each data line (optional, default: omitted)
|-
|-
| '''$tsTag''' || the tag of a previously constructed TimeSeries, results from node at each time step are added to load factor from series
| '''$inode1 $inode2 ...''' || tags of set of i nodes for which drift is being recorded 
|-
|-
|  '''$node1 $node2 ..''' || tags of nodes whose response is being recorded   (optional, default: omitted)
|  '''$jnode1 $jnode2 ...''' || tags of set of j nodes for which drift is being recorded  
|-
|-
| '''$startNode $endNode ..''' || tag for start and end nodes whose response is being recorded (optional, default: omitted)
| '''$dof1 dof2 ...''' || set of nodal degrees of freedom for which drift is being recorded. Valid range is from 1 through [[Model command|ndf]], the number of nodal degrees of freedom.
|-
|-
| '''$regionTag''' || a region tag; to specify all nodes in the previously defined region.  (optional)
| '''$perpDirn1 $perpDirn2 ...''' || set of perpendicular global directions (1=X, 2=Y, 3=Z). This input is needed to calculate the length between the nodes whose drift is calculated.  
|-
| '''$dof1 dof2 ...''' || the specified dof at the nodes whose response is requested.
|-
| '''$respType''' || a string indicating response required. Response types are given in table below.
|}
 
{| align="center"
|-
|  style="width:100px" | '''disp''' || displacement*
|-
| '''vel''' || velocity*
|-
|'''accel''' || acceleration*
|-
| '''incrDisp''' || incremental displacement
|-
| '''"eigen i"''' || eigenvector for mode i
|-
| '''reaction''' || nodal reaction
|}
|}


NOTES
NOTES
* Only one of -file, -xml, -binary, -tcp will be used. if multiple specified last option is used.
* Only one of -file, -xml, -binary, -tcp will be used. If multiple specified last option is used.
* -tcp option only available version 2.2.1 and higher.
* -tcp option only available for version 2.2.1 and higher.




Line 54: Line 35:
Example:
Example:


recorder Node -file nodesD.out -time -node 1 2 3 4 -dof 1 2 disp
recorder Drift -file drift.out -time -iNode 1 2 -jNode 3 4 -dof 1 -perpDirn 2
 
recorder Node -file nodesA.out -time -timeSeries 1 -node 1 2 3 4 -dof 1 accel





Revision as of 23:59, 30 August 2010




The Drift type records the displacement drift between two nodes. The drift is taken as the ratio between the prescribed relative displacement and the specified distance between the nodes. The command to create a drift recorder is:

recorder Drift -file $fileName <-time> -iNode $inode1 $inode2 ... -jNode $jnode1 $jnode2 ... -dof $dof1 $dof2 ... -perpDirn $perpDirn1 $perpDirn2 ...'

$fileName name of file to which output is sent. Each line of the file contains the result for a committed state of the domain

file output is either in xml format (-xml option), textual (-file option) or binary (-binary option)

-time using this option places domain time in first entry of each data line (optional, default: omitted)
$inode1 $inode2 ... tags of set of i nodes for which drift is being recorded
$jnode1 $jnode2 ... tags of set of j nodes for which drift is being recorded
$dof1 dof2 ... set of nodal degrees of freedom for which drift is being recorded. Valid range is from 1 through ndf, the number of nodal degrees of freedom.
$perpDirn1 $perpDirn2 ... set of perpendicular global directions (1=X, 2=Y, 3=Z). This input is needed to calculate the length between the nodes whose drift is calculated.

NOTES

  • Only one of -file, -xml, -binary, -tcp will be used. If multiple specified last option is used.
  • -tcp option only available for version 2.2.1 and higher.


EXAMPLE

Example:

recorder Drift -file drift.out -time -iNode 1 2 -jNode 3 4 -dof 1 -perpDirn 2



Code Developed by: fmk