Writing code and running code

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

Moderators: silvia, selimgunay, Moderators

Post Reply
Edwardsimm
Posts: 11
Joined: Mon May 21, 2018 8:01 am

Writing code and running code

Post by Edwardsimm » Mon May 21, 2018 8:10 am

Hi,

I hope someone can help me - I am new so i am not sure if i am doing it correctly.

I am encountering a few problems regarding Opensees.exe. firstly where do I write my tcl scripts, in opensees?

secondly, I am trying to run tcl scripts in my Opensees.exe using the source function, but all i get is

"couldn't read file "EiganAnal.twoStoreyFrame.tcl": no such file or directory child process exited abnormally"

I have placed the file in the same folder as the Opensees.exe and still nothing appears to happen.

I hope someone can help me.

Kindest regards,

Edward.

fmk
Site Admin
Posts: 5883
Joined: Fri Jun 11, 2004 2:33 pm
Location: UC Berkeley
Contact:

Re: Writing code and running code

Post by fmk » Wed May 23, 2018 2:12 am

a file editor such as notepad on windows.

when you start OpenSees type "pwd" to see what directory the application starts in .. use the cd command to get to the directory the file is in before you source it.

Baodkt
Posts: 11
Joined: Mon Dec 05, 2016 6:37 pm
Location: Dong A university

Re: Writing code and running code

Post by Baodkt » Wed May 23, 2018 9:26 pm

I think the Cypress Editor will be useful for you.
the link to download tool was attached bellow
http://cypress.hrshojaie.com/en-us/default.aspx

Edwardsimm
Posts: 11
Joined: Mon May 21, 2018 8:01 am

Re: Writing code and running code

Post by Edwardsimm » Sat May 26, 2018 5:37 am

Great!
Thank you so much for the reply and help!

Post Reply