converting opensees codes to openseespy

Forum for asking and answering questions related to use of the OpenSeesPy module

Moderators: silvia, selimgunay, Moderators

Post Reply
hasanasadi
Posts: 4
Joined: Sat Jan 30, 2021 10:05 pm

converting opensees codes to openseespy

Post by hasanasadi » Sat Jan 30, 2021 11:10 pm

I need to convert a model from opensees to openseespy
is there any way to this fast?
it takes a long time to rewrite the codes in openseespy

mhscott
Posts: 868
Joined: Tue Jul 06, 2004 3:38 pm
Location: Corvallis, Oregon USA
Contact:

Re: converting opensees codes to openseespy

Post by mhscott » Sun Jan 31, 2021 7:02 am

This script does some basic conversions but doesn't handle loops, conditionals, or procs.

https://github.com/OpenSees/OpenSees/bl ... nSeesPy.py

hasanasadi
Posts: 4
Joined: Sat Jan 30, 2021 10:05 pm

Re: converting opensees codes to openseespy

Post by hasanasadi » Sun Feb 14, 2021 10:52 pm

Thank you so much Mr mhscott. It was so helpful.

oscom
Posts: 13
Joined: Thu Dec 29, 2022 12:55 am

Re: converting opensees codes to openseespy

Post by oscom » Tue May 09, 2023 11:19 am

You can try ChatGPT also. You give some specific format you want, and then the tcl lines you want to convert. I'ts been working well till now, as long as you are specific.

Post Reply