Simulation Wiki Tutorial - Launching OpenSees
Tutorial – Launching OpenSees
You can use the tools available on the NEEShub to launch and run OpenSees just as you would on your local computer. There are two tools available for launching and running OpenSees – the OpenSees Laboratory tool and the Workspace. This tutorial will show you how to launch and run OpenSees for both tools.
Launching the OpenSees Laboratory Tool
The first step in running OpenSees through the OpenSees Laboratory tool on the NEEShub to locate and launch the tool. You can access the OpenSees Laboratory tool page through the Tools & Resources > Tools menu here
or through the Simulation > Programs menu here.
On the OpenSees Laboratory tool page, click on the Launch Tool button to start the OpenSees Laboratory tool.
Within the OpenSees Laboratory tool use the dropdown menu to select the OpenSees Interpreter option.
This will launch OpenSees as it would on your local computer.
You can use the dir command to locate your source file. If you need help uploading your source file, please reference this tutorial.
Any action that you could normally perform in OpenSees on your PC can be performed through the OpenSees Interpreter. For example, you can use the command eigen to get eigenvalues of the model, and use the proper operations (valid TCL operations) to convert the eigenvalues into natural frequencies.
Launching the Workspace
From the Workspace tool page, you will launch the tool by clicking on the Launch Tool button.
Most of the time, when using the Workspace, you will run OpenSees using either the batchsubmit command (reference this tutorial for more information) or a command line that looks something like this (reference this tutorial for more information):
This command will launch OpenSees, run your simulation, and then close OpenSees when the simulation completes. If you actually need to launch OpenSees itself (perhaps you want to enter your source code line by line or you need to perform other TCL operations such as the ones shown in the OpenSees Laboratory example), type the following into the workspace:
Any action that you could normally perform in OpenSees on your PC can now be performed through OpenSees within the Workspace.
When you are done in OpenSees and wish to exit, type the exit command: