Hi all,
This might be silly question but I couldn't manage to do it
I just need to save the residual displacement to a file. I know that the recorder gives all the displacements and the last one will be the residual, however, I need the output file to contain only the residual displacement.
I use this line of code to display the residual displacement of point 2 in direction 1:
puts "[nodeDisp 2 1]"
Also I tried to save it using the following code (the file was created but its empty):
set RSDL[open ResidualDisp.out "w"]
puts $RSDL "[nodeDisp 2 1]"
Any help will be appreciated.
How to save the residual displacement into a file?
Moderators: silvia, selimgunay, Moderators
-
- Posts: 20
- Joined: Fri Feb 19, 2016 11:06 pm
- Location: University of Canterbury
Re: How to save the residual displacement into a file?
you need a "close $RSDL" .. if that blank, check you have a node 2 (i.e. no wipe before it)
-
- Posts: 20
- Joined: Fri Feb 19, 2016 11:06 pm
- Location: University of Canterbury
Re: How to save the residual displacement into a file?
Thanks, the close code solved it