Difficulty in finding output args

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

Moderators: silvia, selimgunay, Moderators

Post Reply
demirhanunlu
Posts: 22
Joined: Fri Mar 31, 2017 5:37 am
Location: Middle East Technical University

Difficulty in finding output args

Post by demirhanunlu » Wed Oct 14, 2020 12:10 am

Dear fellows,

I am having difficulties in finding which output args (that are passed to setResponse() element method) that I can use for my models. For example I am using element recorder command (https://openseespydoc.readthedocs.io/en ... order.html). In this command, in the explanation of args it says in the Note "The setResponse() element method is dependent on the element type, and is described with the element() Command.". But I am never able to find those available args for each element. For example, I use stressStrain arg for fiber results. But except for the examples, I can not find that this arg can be used. I am really losing myself in the explanations of opensees commands.
All in all, how can i find full description of those available args for each element?

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

Re: Difficulty in finding output args

Post by mhscott » Wed Oct 14, 2020 6:31 am

The best way is to look at the source code. I mean, if you're going to lose yourself, you might as well do it the source code :D

Search for the "setResponse" method in the material/element you are using. For example, find it here for all uniaxial materials.

https://github.com/OpenSees/OpenSees/bl ... terial.cpp

demirhanunlu
Posts: 22
Joined: Fri Mar 31, 2017 5:37 am
Location: Middle East Technical University

Re: Difficulty in finding output args

Post by demirhanunlu » Wed Oct 14, 2020 12:28 pm

mhscott wrote:
Wed Oct 14, 2020 6:31 am
The best way is to look at the source code. I mean, if you're going to lose yourself, you might as well do it the source code :D

Search for the "setResponse" method in the material/element you are using. For example, find it here for all uniaxial materials.

https://github.com/OpenSees/OpenSees/bl ... terial.cpp
such a nice answer and not helping me at the same time :lol:

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

Re: Difficulty in finding output args

Post by mhscott » Thu Oct 15, 2020 6:58 am

I think telling you where to look in the source code is the best answer. Your original question was where to find this information, right?

Do you want to continue asking on the message board every time you cannot find the output args?

demirhanunlu
Posts: 22
Joined: Fri Mar 31, 2017 5:37 am
Location: Middle East Technical University

Re: Difficulty in finding output args

Post by demirhanunlu » Thu Oct 15, 2020 11:41 am

thanks for the answer, i was just kidding.

Post Reply