ZIlyas
Mechanical
- Aug 3, 2012
- 7
Hello Everybody
I am a student and as a part of my project i.e. Simulation of Shear Cutting on Abaqus™ CAE. I am running a Dynamic/Explicit analysis and then using a Python script to export data to rpt and excel. I am exporting VonMises, Stress Components and Reaction Forces.
My question is how can I change the "averaging threshold" value to 75% or 100% using the script. I know I can change it from result options.
I saw abaqus.rpy file and found this command:
However, when I tried to add this to script just in the start, nothing happened.
I still get "unaveraged" values.
It is also possible that I am not adding to the correct postion in my script.
Please suggest me a possible remedy. Thanks in advance
Ilyas
I am a student and as a part of my project i.e. Simulation of Shear Cutting on Abaqus™ CAE. I am running a Dynamic/Explicit analysis and then using a Python script to export data to rpt and excel. I am exporting VonMises, Stress Components and Reaction Forces.
My question is how can I change the "averaging threshold" value to 75% or 100% using the script. I know I can change it from result options.
I saw abaqus.rpy file and found this command:
Python:
session.viewports['Viewport: 1'].odbDisplay.basicOptions.setValues(averagingThreshold=30)
However, when I tried to add this to script just in the start, nothing happened.
Python:
myViewport = session.Viewport(name='3DShearCutting')
session.viewports['3DShearCutting'].odbDisplay.basicOptions.setValues(averagingThreshold=75.0)
I still get "unaveraged" values.
It is also possible that I am not adding to the correct postion in my script.
Please suggest me a possible remedy. Thanks in advance
Ilyas