Transfer TCL to Openseespy

Forum for asking and answering questions related to use of the OpenSeesPy module

Moderators: silvia, selimgunay, Moderators

Post Reply
xzzgameboy
Posts: 10
Joined: Sun Jun 21, 2020 11:00 am

Transfer TCL to Openseespy

Post by xzzgameboy »

Dear all,

I am transferring the opensees pm4sand example to openseespy.

I am currently stuck on one command:

set ts1 "{Series -time {100 80000 1.0e10} -values {1.0 1.0 1.0} -factor 1}"
eval "pattern Plain 2 $ts1 {
sp 3 2 $vDisp
sp 4 2 $vDisp
}"

Openseespy does not seems to have this Series function or in the timeSeries function, it does not have this ramped load. So what is the equivalent function for this in openseespy. I am quite confused.

Any help or suggestion is greatly appreciated.

Regards,

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

Re: Transfer TCL to Openseespy

Post by mhscott »

ops.timeSeries('Path',1,'-time',...) #https://openseespydoc.readthedocs.io/en ... athTs.html
ops.pattern('Plain',2,1)
ops.sp(3,...)
ops.sp(4,...)
xzzgameboy
Posts: 10
Joined: Sun Jun 21, 2020 11:00 am

Re: Transfer TCL to Openseespy

Post by xzzgameboy »

mhscott wrote: Tue May 03, 2022 6:16 am ops.timeSeries('Path',1,'-time',...) #https://openseespydoc.readthedocs.io/en ... athTs.html
ops.pattern('Plain',2,1)
ops.sp(3,...)
ops.sp(4,...)
Thank you very much Prof. Scott!
waytosuccess
Posts: 1
Joined: Sat May 14, 2022 7:30 am
Contact:

Re: Transfer TCL to Openseespy

Post by waytosuccess »

I have some time history results (max/min envelope result for each run of the loop) for a group of ground motions. I want to make Opensees write all the results into a single output file instead of placing each of them into a separate file which makes it very difficult to manage. Is it possible to do this?
syllabus
Post Reply