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 »

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: 876
Joined: Tue Jul 06, 2004 3:38 pm
Location: Corvallis, Oregon USA
Contact:

Re: converting opensees codes to openseespy

Post by mhscott »

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 »

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 »

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