running opensees.exe file as openseespy

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

Moderators: silvia, selimgunay, Moderators

Post Reply
MereenBaloch
Posts: 11
Joined: Fri Jul 02, 2021 7:34 pm

running opensees.exe file as openseespy

Post by MereenBaloch »

Hello,
I have an opensees.exe file which contains a specific material model I want to use for my analysis in openseespy. My Question is how I can run the opensees.exe file in python? Or if can not is their a way to access the source code of the opensees.exe file which contains my desired material model extract from their and implement it to openseespy?
mhscott
Posts: 880
Joined: Tue Jul 06, 2004 3:38 pm
Location: Corvallis, Oregon USA
Contact:

Re: running opensees.exe file as openseespy

Post by mhscott »

You have to get the actual source code for the model.
MereenBaloch
Posts: 11
Joined: Fri Jul 02, 2021 7:34 pm

Re: running opensees.exe file as openseespy

Post by MereenBaloch »

mhscott wrote: Sun Oct 15, 2023 7:52 am You have to get the actual source code for the model.
Thanks Prof. I have got the source code. How I can implement the code to openseespy?
MereenBaloch
Posts: 11
Joined: Fri Jul 02, 2021 7:34 pm

Re: running opensees.exe file as openseespy

Post by MereenBaloch »

mhscott wrote: Sun Oct 15, 2023 7:52 am You have to get the actual source code for the model.
Could you please have a look on this. I can find the source code on opensees repo. The code is from ching-long lee and the lastest version of opensees do not have this model. Help will be highly appreciated. Thanks
https://github.com/OpenSees/OpenSees/bl ... rial.h#L40
mhscott
Posts: 880
Joined: Tue Jul 06, 2004 3:38 pm
Location: Corvallis, Oregon USA
Contact:

Re: running opensees.exe file as openseespy

Post by mhscott »

The FlagShape material is available in OpenSeesPy. Make sure you are using the latest version.
MereenBaloch
Posts: 11
Joined: Fri Jul 02, 2021 7:34 pm

Re: running opensees.exe file as openseespy

Post by MereenBaloch »

mhscott wrote: Mon Oct 16, 2023 3:58 am The FlagShape material is available in OpenSeesPy. Make sure you are using the latest version.
I can see the the self centering unaxial material but it has certain limitations of parameter beta. The model I just mentioned where value of beta = 1 corresponds to beta = 2.
mhscott
Posts: 880
Joined: Tue Jul 06, 2004 3:38 pm
Location: Corvallis, Oregon USA
Contact:

Re: running opensees.exe file as openseespy

Post by mhscott »

FlagShape material is from Chin-Long: https://github.com/OpenSees/OpenSees/bl ... terial.cpp
MereenBaloch
Posts: 11
Joined: Fri Jul 02, 2021 7:34 pm

Re: running opensees.exe file as openseespy

Post by MereenBaloch »

mhscott wrote: Mon Oct 16, 2023 3:18 pm FlagShape material is from Chin-Long: https://github.com/OpenSees/OpenSees/bl ... terial.cpp
Is it the unaxial hardening material in the openseespy doc? Because I am unable to find it in user documentation.
MereenBaloch
Posts: 11
Joined: Fri Jul 02, 2021 7:34 pm

Re: running opensees.exe file as openseespy

Post by MereenBaloch »

MereenBaloch wrote: Mon Oct 16, 2023 5:03 pm
mhscott wrote: Mon Oct 16, 2023 3:18 pm FlagShape material is from Chin-Long: https://github.com/OpenSees/OpenSees/bl ... terial.cpp
Is it the unaxial hardening material in the openseespy doc? Because I am unable to find it in user documentation.
Thanks Prof. I got this. I was wondering about the reference command like of the model.
Post Reply