How to run a model using different source files

Forum for OpenSees users to post questions, comments, etc. on the use of the OpenSees interpreter, OpenSees.exe

Moderators: silvia, selimgunay, Moderators

Post Reply
anitha
Posts: 26
Joined: Mon Jun 16, 2014 12:36 am
Location: cdac

How to run a model using different source files

Post by anitha »

Respected sir,
I've six source files and one main tcl script file of model. kindely suggest me how to input these together. When i type source"Filename.tcl.txt" and want to run the opensees command window closes immediately without any error message.please suggest me in this regard.
anitha
Posts: 26
Joined: Mon Jun 16, 2014 12:36 am
Location: cdac

Re: How to run a model using different source files

Post by anitha »

Respected sir,
I've the following files..
source Ex1.Frame3D.build.RCsec.txt and source Ex1.Frame3D.analyze.Dynamic.EQ.Uniform.tcl
BuildRCrectsection is tcl file
Displaymodel3D is tcl file
Displayplane is tcl file
LibmaterialsRC is tcl file
Libunits is tcl file...
When the source file is run in the opensees windows, the window immediately closes.
And suggest me how to input these files in opensees.
how to convert .txt file as .tcl file.
Toutant
Posts: 32
Joined: Mon Sep 09, 2013 10:33 am
Location: École Polytechnique de Montréal

Re: How to run a model using different source files

Post by Toutant »

In your main tcl file try this:

Source filename.tcl

Don't write Source filename.tcl.txt
anitha
Posts: 26
Joined: Mon Jun 16, 2014 12:36 am
Location: cdac

Re: How to run a model using different source files

Post by anitha »

Thank you sir. I'm new user for opensees.
fmk
Site Admin
Posts: 5884
Joined: Fri Jun 11, 2004 2:33 pm
Location: UC Berkeley
Contact:

Re: How to run a model using different source files

Post by fmk »

you can keep the .txt file extension, OpenSees does not care what file extension you give it.

to see where the error is, start OpenSees inside a terminal windows from the command line (you either need the OpenSees to be on your PATH or include the full location of the executable in the command to start it at the prompt)

http://opensees.berkeley.edu/OpenSees/m ... al/591.htm
Post Reply