multiple relative node recorder

Forum for OpenSees users to post questions, comments, etc. on the use of the OpenSees interpreter, OpenSees.exe

Moderators: silvia, selimgunay, Moderators

Post Reply
Ulbong
Posts: 17
Joined: Thu Apr 30, 2020 1:41 am

multiple relative node recorder

Post by Ulbong » Tue Aug 18, 2020 9:17 pm

Hi Guys

I know that I can make multiple absolute disp or acc. using 'timeSeries Path'

like

recorder Node -file MODE/M1.out -timeSeries 1001 -time -node 2 -dof 1 disp;
recorder Node -file MODE/M2.out -timeSeries 1002 -time -node 2 -dof 1 disp;
recorder Node -file MODE/M3.out -timeSeries 1003 -time -node 2 -dof 1 disp;

but I don't know how to make it for relative disp. results.

It has only

recorder Node -file nodesA.out -time -node 1 2 3 4 -dof 1 2 disp;

Is there any command ?

selimgunay
Posts: 913
Joined: Mon Sep 09, 2013 8:50 pm
Location: University of California, Berkeley

Re: multiple relative node recorder

Post by selimgunay » Tue Aug 18, 2020 10:10 pm

recorder Node -file nodesA.out -time -node 1 2 3 4 -dof 1 2 disp;

This recorder already gives you the relative displacement

Ulbong
Posts: 17
Joined: Thu Apr 30, 2020 1:41 am

Re: multiple relative node recorder

Post by Ulbong » Wed Aug 19, 2020 2:10 am

Yeah selimgunay. I knew about that.
But I want to get multiple results at once like tag 1001 , 1002, 1003 ..

mhscott
Posts: 872
Joined: Tue Jul 06, 2004 3:38 pm
Location: Corvallis, Oregon USA
Contact:

Re: multiple relative node recorder

Post by mhscott » Wed Aug 19, 2020 6:27 am

Selim's answer seems to address what you're asking. Can you give a better example of what you'd like to record?

Ulbong
Posts: 17
Joined: Thu Apr 30, 2020 1:41 am

Re: multiple relative node recorder

Post by Ulbong » Wed Aug 19, 2020 6:07 pm

Thanks Guys
I'm trying to do dynamic analysis for 2nd D.O.F simple lumped massed model
and I want to put various seismic force (time history) at once and get relative disp at once.
I know that we can get them for absolute results using 'timeSeries Path' command, but I'm not sure there is way to get the relative results.
Here's some of my scripts

# DYNAMIC ground-motion analysis -------------------------------------------------------------
# create load pattern
set G 9800
timeSeries Path 1 -dt 0.005 -filePath reg1.tcl -factor 9800;
timeSeries Path 2 -dt 0.005 -filePath reg2.tcl - factor 9800;
timeSeries Path 3 -dt 0.005 -filePath reg3.tcl -factor 9800;
timeSeries Path 4 -dt 0.005 -filePath reg4.tcl - factor 9800;
pattern UniformExcitation 1 1 -accel 1;


# Define RECORDERS -------------------------------------------------------------

recorder Node -file MODE/M2.out -time -node 2 -dof 1 disp; #relative (I want it for Path 1,2,3 and 4 at once like absolute)

recorder Node -file MODE/M3.out -timeSeries 1 -time -node 2 -dof 1 accel; #absoulte
recorder Node -file MODE/M4.out -timeSeries 2 -time -node 3 -dof 1 accel;
recorder Node -file MODE/M5.out -timeSeries 3 -time -node 2 -dof 1 accel;

mhscott
Posts: 872
Joined: Tue Jul 06, 2004 3:38 pm
Location: Corvallis, Oregon USA
Contact:

Re: multiple relative node recorder

Post by mhscott » Wed Aug 19, 2020 7:30 pm

I'm sorry, I still am unsure what you are trying to record.

Ulbong
Posts: 17
Joined: Thu Apr 30, 2020 1:41 am

Re: multiple relative node recorder

Post by Ulbong » Fri Aug 21, 2020 2:46 am

I'm trying to record 'various' relative displacements using many time histories at once like absolute ones (timeSeries Path command)

selimgunay
Posts: 913
Joined: Mon Sep 09, 2013 8:50 pm
Location: University of California, Berkeley

Re: multiple relative node recorder

Post by selimgunay » Fri Aug 21, 2020 5:21 am

Are you using the different time histories in multi-support excitation or for running different uniform excitation. If it is the latter, then you can run them in a for loop and record the displacements for each in the for loop.

Ulbong
Posts: 17
Joined: Thu Apr 30, 2020 1:41 am

Re: multiple relative node recorder

Post by Ulbong » Tue Aug 25, 2020 2:02 am

Thanks selimgunay. I mean the latter one. Can you give me a simple example scripts?

selimgunay
Posts: 913
Joined: Mon Sep 09, 2013 8:50 pm
Location: University of California, Berkeley

Re: multiple relative node recorder

Post by selimgunay » Tue Aug 25, 2020 11:32 am


fmk
Site Admin
Posts: 5883
Joined: Fri Jun 11, 2004 2:33 pm
Location: UC Berkeley
Contact:

Re: multiple relative node recorder

Post by fmk » Mon Oct 05, 2020 8:12 pm

here is another example in our git repo
https://github.com/OpenSees/OpenSees/bl ... ays/j1.tcl

Post Reply