Settler
Structural
- May 22, 2010
- 88
Hello all,
I want to write the xyreport for the place with the maximum absolute logarithmic strain at the last increment. Until now I have done this:
reportnameandpath2= 'E:/AbaqusWorkDir/Layer study/Reports/LEP-' + Modelname + '.txt'
However, what it does is that it writes for EVERY integration point of my body under question a report and appends it. After that I have to go and find it out. Of course this can take a lot of time as the body in which I'm looking might have many nodes, and the writeXYReport process is long.
Would you recommend any faster way as the writing process takes much time?
I want to write the xyreport for the place with the maximum absolute logarithmic strain at the last increment. Until now I have done this:
reportnameandpath2= 'E:/AbaqusWorkDir/Layer study/Reports/LEP-' + Modelname + '.txt'
Python:
session.viewports['Viewport: 1'].setValues(displayedObject=Modelname_odb_object)
keyarray2=session.odbData[Modelname_odb_path].historyVariables.keys()
LEP=[]
for x in keyarray2:
if (x.find('LEP')>-1):
LEP.append(x)
for i in range(1,len(LEP)+1):
session.XYDataFromHistory(name='LEP', odb=Modelname_odb_object, outputVariableName=LEP[i-1])
Modelname_xydata_object2 = session.xyDataObjects['LEP']
session.xyReportOptions.setValues(totals=OFF, minMax=OFF)
session.writeXYReport(fileName=reportnameandpath2, xyData=(Modelname_xydata_object2, ), appendMode=ON)
However, what it does is that it writes for EVERY integration point of my body under question a report and appends it. After that I have to go and find it out. Of course this can take a lot of time as the body in which I'm looking might have many nodes, and the writeXYReport process is long.
Would you recommend any faster way as the writing process takes much time?