Page 2 of 2

Re: Modelling simple elastic shells

Posted: Tue Oct 13, 2020 3:21 pm
by brisidi
Thanks! Here is the output I get:
Image

When I press a key once, the message repeats. The second time I press a key the terminal closes.

Re: Modelling simple elastic shells

Posted: Wed Oct 14, 2020 6:50 am
by STKO Team
Ok, I think you are not passing the file name to opensees. Can you post a screenshot of your analysis kits editor? One when you select your manual solver Opensees.exe, and another when you select the run_opensees.bat . I need to see the complete command that appears in the bottom text line. I assume there is no %1 at the end... While it should be there, it is a place holder for the file name to pass to opensees.

Note: in the bat version, you need to click twice to exit because there is the pause command both in the bat file and in STKO... It's just a test

Re: Modelling simple elastic shells

Posted: Wed Oct 14, 2020 8:49 am
by brisidi
I am not sure if I understood correctly what you asked. Here is a screenshot of "Kits":
Image

The terminal just reads:

Code: Select all

Command: Kits
End Command: Kits
To select "OpenSees.exe" I just go to Manual (0), which looks like this:
Image

I then go to Solver and select either "Manual (0)" for OpenSees.exe or "Manual (1)" for the bat file.

Here is what the bat file contains:

Code: Select all

OpenSees.exe %1
pause

Re: Modelling simple elastic shells

Posted: Wed Oct 14, 2020 8:54 am
by brisidi
I added "%1" at the end of the OpenSees file address in "Kits" and here is the result (the terminal is also visible):
Image

Re: Modelling simple elastic shells

Posted: Thu Oct 15, 2020 8:14 am
by STKO Team
Exactly what I thought.
The Command string for your 2 manual solvers are missing the #1 keyword.

The #1 keyword is used as a place-holder that STKO will replace with the filename of the TCL script to run.

There is another keyword, #2, that instead is used a place-holder for the number of processor. This is of course only useful with OpenSeesSP and OpenSeesMP (parallel versions).

Please change the Command string adding the #1 keyword as in this example:
sequential.png
sequential.png (19.21 KiB) Viewed 3373 times

Instead, if you want to use parallel versions of OpenSees you can also add the #2 keyword as in my OpenSeesMP batch file:
parallel.png
parallel.png (19.86 KiB) Viewed 3373 times

Re: Modelling simple elastic shells

Posted: Thu Oct 15, 2020 8:19 am
by brisidi
Thanks, that solves my problem. I am sorry that I wasted your time with such a small issue that was ultimately my fault. Keep up the good work!