Hi,
we are running scripts to generate linearized stress results at multiple locations and multiple increments. The code is essentially looping through the following two lines, iterating through the different increments and different stress paths:
session.viewports['Viewport: 1'].odbDisplay.setFrame(step=0, frame=0 )
xyList = session.linearizeStress(name='scl001_t0-0', startPoint='BEAM-1.488', endPoint='BEAM-1.527', modelShape=UNDEFORMED, xyMembraneComps=('S11', 'S22', 'S33', ), xyBendingComps=('S11', 'S22', 'S33', ), curvatureCorrection=False, writeReport=True, reportFile='E:/beam001_scl001.rpt', )
However this runs really slow, literally taking hours per analysis (for say 50 stress lines at 30 increments with an odb size of ~3GB). Is there anything in the above code that could be optimised in some way? Or any other ideas on how we could improve the performance?
**EDIT** For info it takes ~5 seconds per linearize output with the above example, and in some tests we've done appears to approximately scale with the odb size.
Thanks,
Pete.
