There are three ways that OpenSees/Tcl commands can be executed:
Commands can be input directly at the propt, as shown in the figure (Win32 version):
This method is the most-commonly used one. An external file containing the input commands can be generated a-priori (inputFile.tcl) and be executed at the OpenSees prompt by using the source command. The generation of the input script files is presented in this chapter. The file execution is shown in the figure (Win32 version):
The previously-created input file containing the Tcl script commands necessary to execute the analsis can also be executed at the MS-DOS/Unix prompt, as shown in the figure (Win32 version):