Drift Recorder: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 4: | Line 4: | ||
{| | {| | ||
| style="background: | | 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 14: | Line 14: | ||
textual (-file option) or | textual (-file option) or | ||
binary (-binary option) | 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) | | '''-time''' || using this option places domain time in first entry of each data line (optional, default: omitted) | ||
Line 21: | Line 27: | ||
| '''$jnode1 $jnode2 ...''' || tags of set of j 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 [[Model command|ndf]] | | '''$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. | | '''$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 | 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 for version 2.2.1 and higher. | * -tcp option only available for version 2.2.1 and higher. | ||
* Does not work in OpenSeesSP. | |||
EXAMPLE | EXAMPLE | ||
recorder Drift -file drift.out -time -iNode 1 2 -jNode 3 4 -dof 1 -perpDirn 2 | 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
- Command_Manual
- Tcl Commands
- Modeling_Commands
- model
- uniaxialMaterial
- ndMaterial
- frictionModel
- section
- geometricTransf
- element
- node
- sp commands
- mp commands
- timeSeries
- pattern
- mass
- block commands
- region
- rayleigh
- Analysis Commands
- Output Commands
- Misc Commands
- DataBase Commands
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