DrBwts
Mechanical
- Nov 4, 2012
- 297
So I tried to use the following,
I'm using Abaqus 6.14 & apparently 'EVOL' no longer exists as a field output. Surely there is a method to extract this basic piece of info?
I tried it manually & looked at the .rpy file but not method was listed just the messages telling me what I had done.
Python:
for g in range(1, 3):
# Extract element volumes from ODB
odbName = 'TopLoad_Gen_' + str(g) + '.odb'
odb = session.openOdb(odbName)
lastFrame = odb.steps['Step-1'].frames[-1]
volumeField = lastFrame.fieldOutputs['EVOL']
nucleus = odb.rootAssembly.instances['SPHEREINBOX-1'].elementSets['CENTRESPHERE']
volumeSet = volumeField.getSubset(region=nucleus, elementType='C3D10')
volumeFieldValues = volumeSet.values
volume = 0
for vol in volumeFieldValues:
volume += vol
print volume
session.odbs[odbName].close()
I'm using Abaqus 6.14 & apparently 'EVOL' no longer exists as a field output. Surely there is a method to extract this basic piece of info?
I tried it manually & looked at the .rpy file but not method was listed just the messages telling me what I had done.