Stress Strain Not Working with OpenseesPy3.3.0
Moderators: silvia, selimgunay, Moderators
-
- Posts: 6
- Joined: Mon Aug 28, 2017 2:09 pm
- Location: North Carolina State University
Stress Strain Not Working with OpenseesPy3.3.0
Hello I am having trouble with the new version of OpenseesPy. I am trying to obtain stress strain data from a fiber section. My command looks like this:
recorder('Element', '-file', datadir + '/StressStrain.out', '-time', '-ele', 2, 'section', '1', 'fiber', str(Rbl), '0.0', 'mat', '3', 'stressStrain')
Let me know if the syntax changed or if I have a typo somewhere. All I get in my file is the time but no data on stress strain of the material. This used to work with the previous versions of OpenseesPy. If there's a way to go back to the previous version also let me know.
Best
Victor
recorder('Element', '-file', datadir + '/StressStrain.out', '-time', '-ele', 2, 'section', '1', 'fiber', str(Rbl), '0.0', 'mat', '3', 'stressStrain')
Let me know if the syntax changed or if I have a typo somewhere. All I get in my file is the time but no data on stress strain of the material. This used to work with the previous versions of OpenseesPy. If there's a way to go back to the previous version also let me know.
Best
Victor
Re: Stress Strain Not Working with OpenseesPy3.3.0
It should work. Can you send me a minimum working example in which the problem occurs?
Thanks!
Thanks!
-
- Posts: 6
- Joined: Mon Aug 28, 2017 2:09 pm
- Location: North Carolina State University
Re: Stress Strain Not Working with OpenseesPy3.3.0
Hello Dr. Scott,
Yes it used to work, which is why I was surprised to see it not working. I sent you an email with the python scripts of a calibration file.
Thank you for any help. I appreciate it very much.
Best
Victor
Yes it used to work, which is why I was surprised to see it not working. I sent you an email with the python scripts of a calibration file.
Thank you for any help. I appreciate it very much.
Best
Victor
Re: Stress Strain Not Working with OpenseesPy3.3.0
Can you remove 'mat' and see if it works?
'section',1,'fiber',Rbl,0.0,3,'stressStrain'
Also, you shouldn't need the quotres or str() around the numbers anymore with the new version of openseespy
'section',1,'fiber',Rbl,0.0,3,'stressStrain'
Also, you shouldn't need the quotres or str() around the numbers anymore with the new version of openseespy
-
- Posts: 6
- Joined: Mon Aug 28, 2017 2:09 pm
- Location: North Carolina State University
Re: Stress Strain Not Working with OpenseesPy3.3.0
Hello Dr. Scott,
I tried without the quotes and removed '-mat', it still doesn't work with the new version. I am using the previous version that seems to be working well for now. I'll be on the look if the next update works with the stressStrain command.
Thank you for your help.
I tried without the quotes and removed '-mat', it still doesn't work with the new version. I am using the previous version that seems to be working well for now. I'll be on the look if the next update works with the stressStrain command.
Thank you for your help.
Re: Stress Strain Not Working with OpenseesPy3.3.0
What element and section are you using? I didn't look at your scripts, I stay away from zip files.
-
- Posts: 6
- Joined: Mon Aug 28, 2017 2:09 pm
- Location: North Carolina State University
Re: Stress Strain Not Working with OpenseesPy3.3.0
Hello Dr. Scott,
I sent you an email with the code without compressing it in a zip file. I am trying to obtain the stress strain in element 2, section1. The element is a ForceBeamColumn and the section is a Fiber section.
Thank you for your help.
I sent you an email with the code without compressing it in a zip file. I am trying to obtain the stress strain in element 2, section1. The element is a ForceBeamColumn and the section is a Fiber section.
Thank you for your help.
Re: Stress Strain Not Working with OpenseesPy3.3.0
Hello Victor,
It should be fixed now: https://github.com/OpenSees/OpenSees/pull/615
You can use eleResponse until the update.
Michael
It should be fixed now: https://github.com/OpenSees/OpenSees/pull/615
You can use eleResponse until the update.
Michael
-
- Posts: 6
- Joined: Mon Aug 28, 2017 2:09 pm
- Location: North Carolina State University
Re: Stress Strain Not Working with OpenseesPy3.3.0
Excellent Dr. Scott,
Thank you for your help. I will use eleResponse .
Un saludo!
Thank you for your help. I will use eleResponse .
Un saludo!