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
 
(7 intermediate revisions by 2 users not shown)
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:lime; color:black; width:800px" | ''recorder Drift <-file $fileName> <-xml $fileName> <-binary $fileName> <-tcp $inetAddress $port> <-precision $nSD> <-time> -iNode $inode1 $inode2 ... -jNode $jnode1 $jnode2 ... -dof $dof1 $dof2 ... -perpDirn $perpDirn1 $perpDirn2 ...''
|}
|}


Line 10: Line 10:


{|
{|
|  style="width:150px" | '''$fileName''' || name of file to which output is sent. Each line of the file contains the result for a committed state of the domain  
|  style="width:200px" | '''$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),  
file output is either in xml format (-xml option),  
textual (-file option) or  
textual (-file option) or  
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)
| '''inetAddr''' || ip address, "xx.xx.xx.xx", of remote machine to which data is sent
|-
|-
| '''$tsTag''' || the tag of a previously constructed TimeSeries, results from node at each time step are added to load factor from series
| '''$port''' || port on remote machine awaiting tcp
|-
|-
| '''$node1 $node2 ..''' || tags of nodes whose response is being recorded  (optional, default: omitted)
| '''$nSD''' || number of significant digits (optional, default is 6)
|-
|-
|  '''$startNode $endNode ..''' || tag for start and end nodes whose response is being recorded (optional, default: omitted)  
|  '''-time''' || using this option places domain time in first entry of each data line (optional, default: omitted)
|-
|-
|  '''$regionTag''' || a region tag; to specify all nodes in the previously defined region.  (optional)
|  '''$inode1 $inode2 ...''' || tags of set of i nodes for which drift is being recorded 
|-
|-
| '''$dof1 dof2 ...''' || the specified dof at the nodes whose response is requested.
| '''$jnode1 $jnode2 ...''' || tags of set of j nodes for which drift is being recorded
|-
|-
| '''$respType''' || a string indicating response required. Response types are given in table below.
| '''$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).
|-
| '''$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.  
|}
|}


{| 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.
* Does not work in OpenSeesSP.




EXAMPLE
EXAMPLE


Example:
recorder Node -file nodesD.out -time -node 1 2 3 4 -dof 1 2 disp


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





Latest revision as of 19:03, 31 October 2013




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> <-xml $fileName> <-binary $fileName> <-tcp $inetAddress $port> <-precision $nSD> <-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)

inetAddr ip address, "xx.xx.xx.xx", of remote machine to which data is sent
$port port on remote machine awaiting tcp
$nSD number of significant digits (optional, default is 6)
-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.
  • Does not work in OpenSeesSP.


EXAMPLE


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



Code Developed by: fmk