Hello all,
Today I installed OpenSees on my computer. The installation worked fine but when I open the program I can't run input files at OpenSees prompt.
I mention that I followed the steps indicating in "Getting Started Manual" but when I try to run the example Truss.tpl from "Basic Examples Manual" it gives me the following message: "couldn’t read file “Truss.tcl”: no such file or directory". The command used was “source Truss.tcl” in the Command Prompt as is indicating in the manual.
How can I set the directory where tcl files are located?
Thanks in advance.
Problems executing input file at OpenSees prompt
Moderators: silvia, selimgunay, Moderators
-
- Posts: 6
- Joined: Mon Mar 07, 2016 7:23 am
- Location: Beijing University of Civil Engineering and Architechture
Re: Problems executing input file at OpenSees prompt
using cd command in cmd console to change the working directory to the folder of Truss.tcl
e.g.
cd /d d:\opensees\example
then run opensees and source the .tcl file
e.g.
cd /d d:\opensees\example
then run opensees and source the .tcl file
Re: Problems executing input file at OpenSees prompt
when you start OpenSees type
pwd
at the prompt. This will show you what directory the interpreter is currently working in. If not the directory containing your file you have to use the
cd BLAH\BLAH\BLAH
command to move to that directory before you can source in the script. NOTE BLAH BLAH BLAH is the directory containing the input file.
pwd
at the prompt. This will show you what directory the interpreter is currently working in. If not the directory containing your file you have to use the
cd BLAH\BLAH\BLAH
command to move to that directory before you can source in the script. NOTE BLAH BLAH BLAH is the directory containing the input file.