OpenSeesPY stressStrain recording issue
Moderators: silvia, selimgunay, Moderators
OpenSeesPY stressStrain recording issue
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
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
Re: OpenSeesPY stressStrain recording issue
If you are using the latest OpenSeesPy, version 3.4.0, you can drop all the str() stuff.
Re: OpenSeesPY stressStrain recording issue
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
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
Re: OpenSeesPY stressStrain recording issue
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?
Re: OpenSeesPY stressStrain recording issue
Update to the newest version, 3.4.0.1
Re: OpenSeesPY stressStrain recording issue
Try using '-file' instead of '-xml'
Re: OpenSeesPY stressStrain recording issue
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
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
Re: OpenSeesPY stressStrain recording issue
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?
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?
Re: OpenSeesPY stressStrain recording issue
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
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
Re: OpenSeesPY stressStrain recording issue
Oh, I see. Why are you specifying three numbers after 'fiber'? You have -330, 0, 6
Re: OpenSeesPY stressStrain recording issue
6 is the material tag, I tried '-330,0' but it didn't work either.
Re: OpenSeesPY stressStrain recording issue
What type of material is material tag 6?
Re: OpenSeesPY stressStrain recording issue
it's steel02