OpenSeesPY stressStrain recording issue

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

Moderators: silvia, selimgunay, Moderators

ucssd
Posts: 2
Joined: Mon Mar 21, 2022 1:54 am

OpenSeesPY stressStrain recording issue

Post by ucssd » Mon Mar 21, 2022 2:03 am

Hi all,

I have a structural model that has been working and recording perfectly for a long time. However, after changing my laptop and installing OpenSeesPY, I realized that stressStrain recorders are not working. Below was the working script;

recorder('Element', '-file', ('UnconfConc' + str(i) + '.out'), '-time', '-ele', *[int(1)], 'section', str(i), 'fiber', str(z1), str(y1), str(int(unconfConc)), 'stressStrain')

But this is not working anymore except providing the time steps. I also tried defining section number and fiber locations as integers but it didn't work either. If you may help me with the correct syntax to record stressStrain, it would be profoundly appreciated.

Best regards

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

Re: OpenSeesPY stressStrain recording issue

Post by mhscott » Mon Mar 21, 2022 12:19 pm

If you are using the latest OpenSeesPy, version 3.4.0, you can drop all the str() stuff.

ucssd
Posts: 2
Joined: Mon Mar 21, 2022 1:54 am

Re: OpenSeesPY stressStrain recording issue

Post by ucssd » Mon Mar 21, 2022 1:07 pm

Thank you for the reply, but it is still not working. I have tried the below script.

recorder('Element', '-file', ('Try.out'), '-time', '-ele', *[1], 'section', 1, 'fiber', 0.0, 0.0, 'stressStrain')

And I again obtained a time column only. Can you provide an example that can work after the latest updates? I have tried the scripts in other posts as well but could not obtain results.

Best regards

pkakoty
Posts: 2
Joined: Mon Jul 18, 2022 4:07 pm

Re: OpenSeesPY stressStrain recording issue

Post by pkakoty » Mon Jul 18, 2022 4:12 pm

I am facing a similar issue with openseespy version 3.3.0.1.1. Is there any updates on recording stress-strain of specific fibers in an element?

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

Re: OpenSeesPY stressStrain recording issue

Post by mhscott » Tue Jul 19, 2022 5:43 am

Update to the newest version, 3.4.0.1

YZHeng
Posts: 3
Joined: Wed Jul 20, 2022 7:14 pm

Re: OpenSeesPY stressStrain recording issue

Post by YZHeng » Wed Jul 20, 2022 7:56 pm

thanks

wusw
Posts: 6
Joined: Fri Jul 22, 2022 12:43 am

Re: OpenSeesPY stressStrain recording issue

Post by wusw » Fri Jul 22, 2022 12:59 am

mhscott wrote:
Tue Jul 19, 2022 5:43 am
Update to the newest version, 3.4.0.1
I have updated to version 3.4.0.2,but still have this issue
here is my code: recorder('Element','-xml','rebar_strain.out','-time','-ele',1,'section',1,'fiber', -330,0,6,'stressStrain')
it can only record '-time'

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

Re: OpenSeesPY stressStrain recording issue

Post by mhscott » Fri Jul 22, 2022 6:20 am

Try using '-file' instead of '-xml'

wusw
Posts: 6
Joined: Fri Jul 22, 2022 12:43 am

Re: OpenSeesPY stressStrain recording issue

Post by wusw » Fri Jul 22, 2022 5:44 pm

thank you for your reply,
I have tried: recorder('Element','-file','rebar_strain.out','-time','-ele',1,'section',1,'fiber', -330,0,6,'stressStrain')
but it have the same issue

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

Re: OpenSeesPY stressStrain recording issue

Post by mhscott » Sat Jul 23, 2022 7:22 am

1. Which element are you using?
2. Which material type (Elastic, Steel01, Concrete02, etc.) are you trying to record via fiber stress-strain?
3. Is there a wrapper around the material, like InitStress or Fracture?

wusw
Posts: 6
Joined: Fri Jul 22, 2022 12:43 am

Re: OpenSeesPY stressStrain recording issue

Post by wusw » Sun Jul 24, 2022 6:34 am

thanks for your reply!
1. I have tried both the dispBeamColumn and forceBeamColumn element
2. the material types are Steel02 and Concrete01
3. it is just a simple material without any wrapper

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

Re: OpenSeesPY stressStrain recording issue

Post by mhscott » Sun Jul 24, 2022 12:33 pm

Oh, I see. Why are you specifying three numbers after 'fiber'? You have -330, 0, 6

wusw
Posts: 6
Joined: Fri Jul 22, 2022 12:43 am

Re: OpenSeesPY stressStrain recording issue

Post by wusw » Sun Jul 24, 2022 5:03 pm

6 is the material tag, I tried '-330,0' but it didn't work either. :(

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

Re: OpenSeesPY stressStrain recording issue

Post by mhscott » Wed Jul 27, 2022 7:48 pm

What type of material is material tag 6?

wusw
Posts: 6
Joined: Fri Jul 22, 2022 12:43 am

Re: OpenSeesPY stressStrain recording issue

Post by wusw » Wed Jul 27, 2022 11:22 pm

it's steel02

Post Reply