running multiple time histories
-
Zeeshanbhat
- Posts: 153
- Joined: Wed May 27, 2020 3:48 pm
running multiple time histories
Dear Team,
Is there any script available to run multiple time histories in parallel on same model in STKO like in case of multiple stripe analysis or incremental dynamic analysis.
Regards,
Zeeshan Bhat
Is there any script available to run multiple time histories in parallel on same model in STKO like in case of multiple stripe analysis or incremental dynamic analysis.
Regards,
Zeeshan Bhat
-
Clarabella
- Posts: 131
- Joined: Wed Jul 08, 2020 3:50 pm
Re: running multiple time histories
Dear Zeeshan Bhat,
we don't have a script at the moment. For sure it is one of the scripts we would like to prepare. I encourage you to try to develop it, it is not too difficult. If necessary, we can help to check your code.
Regards
we don't have a script at the moment. For sure it is one of the scripts we would like to prepare. I encourage you to try to develop it, it is not too difficult. If necessary, we can help to check your code.
Regards
-
Zeeshanbhat
- Posts: 153
- Joined: Wed May 27, 2020 3:48 pm
Re: running multiple time histories
Dear Team,
I will try it. How to do in case of sequential opensees. Do we need to define individual analysis command for each ground motion.
Regards,
Zeeshan Bhat
I will try it. How to do in case of sequential opensees. Do we need to define individual analysis command for each ground motion.
Regards,
Zeeshan Bhat
-
Horace Horsecollar
- Posts: 33
- Joined: Mon Mar 22, 2021 11:42 am
Re: running multiple time histories
Dear Zeeshanbhat ,
yes, you are correct. You need to define an analysis for each ground motion.
Regards
Horace
yes, you are correct. You need to define an analysis for each ground motion.
Regards
Horace
-
Zeeshanbhat
- Posts: 153
- Joined: Wed May 27, 2020 3:48 pm
Re: running multiple time histories
Dear Team,
Can we use a loop for time history analysis, like first I will define time histories in some folder, and then I will call that folder before my main model. For example
foreach groundMotionNumber $groundMotionIDs {
if {[expr {$groundMotionNumber % $np}] == $pid} {
set scale $SaToRun;
set dt [lindex $groundMotionTimeStep [expr $groundMotionNumber - 1]];
set eqNumber $groundMotionNumber;
set numPoints [lindex $groundMotionNumPoints [expr $groundMotionNumber - 1]];
cd $baseDir
source Model.tcl
But I have two confusions regarding this:
1. Do we still need to define the time series in STKO.
2. How can we call the model In Script like in case of opensees we call it by source Model.tcl
Regards,
Zeeshan Bhat
Can we use a loop for time history analysis, like first I will define time histories in some folder, and then I will call that folder before my main model. For example
foreach groundMotionNumber $groundMotionIDs {
if {[expr {$groundMotionNumber % $np}] == $pid} {
set scale $SaToRun;
set dt [lindex $groundMotionTimeStep [expr $groundMotionNumber - 1]];
set eqNumber $groundMotionNumber;
set numPoints [lindex $groundMotionNumPoints [expr $groundMotionNumber - 1]];
cd $baseDir
source Model.tcl
But I have two confusions regarding this:
1. Do we still need to define the time series in STKO.
2. How can we call the model In Script like in case of opensees we call it by source Model.tcl
Regards,
Zeeshan Bhat
Re: running multiple time histories
It can be done and it is relatively easy.
We answered to a very similar problem here:
viewtopic.php?f=38&t=1640&p=2485&hilit=parametric#p2485
We answered to a very similar problem here:
viewtopic.php?f=38&t=1640&p=2485&hilit=parametric#p2485
-
Zeeshanbhat
- Posts: 153
- Joined: Wed May 27, 2020 3:48 pm
Re: running multiple time histories
Dear Team,
Thank you. It looks easy, but since I am doing time history analysis there are certain issues:
1. The time step and the total duration of each time history will change, due to which I need to make some changes in the analysis step. Also, I am doing bidirectional excitation so direction also needs to be changed.
2. Is it possible to call a folder instead of defining all the time histories in custom command.
Regards,
Zeeshan
Thank you. It looks easy, but since I am doing time history analysis there are certain issues:
1. The time step and the total duration of each time history will change, due to which I need to make some changes in the analysis step. Also, I am doing bidirectional excitation so direction also needs to be changed.
2. Is it possible to call a folder instead of defining all the time histories in custom command.
Regards,
Zeeshan
Re: running multiple time histories
Of course you can. You can follow the steps in the post I sent you. But instead of creating an AnalysisStep of type "AnalysisCommand" in STKO, you can create another CustomCommand, where you just "source" your analysis script
-
Zeeshanbhat
- Posts: 153
- Joined: Wed May 27, 2020 3:48 pm
Re: running multiple time histories
Dear Team,
Could you please provide a simple example. As per my understanding, writing analysis command script means I have to write all that STKO writes in analysis command like constraints , rigid diaphragm, eleLods which is very difficult.
Regards,
Zeeshan
Could you please provide a simple example. As per my understanding, writing analysis command script means I have to write all that STKO writes in analysis command like constraints , rigid diaphragm, eleLods which is very difficult.
Regards,
Zeeshan
Re: running multiple time histories
Ok, to make it more useful, could you share your example (using only 1 time series), and the files with the ground motions you want to simulate in the parametric analysis?
I will then modify your file to show you how it can be done.
One more question:
Are you planning to use OpenSeesMP to run parametric analysis in parallel?
I will then modify your file to show you how it can be done.
One more question:
Are you planning to use OpenSeesMP to run parametric analysis in parallel?