Page 1 of 1

opensees runs the STKO code

Posted: Thu Dec 12, 2019 1:49 pm
by Yulu Liu
After STKO produces the 7 .tcl files, I try to run the main.tcl file in the opensees window, but it can't run.
How to run the 7 files correctly in opensees?
Please!

Re: opensees runs the STKO code

Posted: Thu Dec 12, 2019 2:08 pm
by GianmarcoManzo
Probably because in the analysis_steps.tcl file you have left the MPCO recorder instructions.

If you want to start opensees manually by doing 'source main.tcl' you have to change the recorder instructions in the analysis_Steps.tcl file and use the opensees own ones:

https://opensees.berkeley.edu/wiki/inde ... er_Command

If instead you want to start opensees manually by making some manual changes to the code and you want to take advantage of the MPCO recorders and the STKO post processor, you should follow the instructions that have been given here:
viewtopic.php?f=27&t=73

Re: opensees runs the STKO code

Posted: Thu Dec 12, 2019 2:37 pm
by Yulu Liu
Oh, I see.
Can opensees or STKO get the [M] matrix and [K] matrix of the built model? How to do it?

Re: opensees runs the STKO code

Posted: Thu Dec 12, 2019 2:53 pm
by MassimoPetracca
Unfortunately you cannot get K and M easily... the opensees function printA , will print the systema global matrix, but using a full matrix, i.e. you cannot use a sparse solver, thus it's limited to small models.
For the mass, you cannot get the whole M matrix at once, but you can ask for maasses each nodel