Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations MintJulep on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Volume of a set of elements in ODB?

Status
Not open for further replies.

DrBwts

Mechanical
Nov 4, 2012
297
So I tried to use the following,

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.
 
Replies continue below

Recommended for you

EVOL (Current Element Volume) is a field output. If you check the Users Guide there are some exceptions:

Standard:
Not available for eigenfrequency extraction, eigenvalue buckling prediction, complex eigenfrequency extraction, or linear dynamics procedures. Available only for continuum and structural elements not using general beam or shell section definitions.

Explicit:
Only available for continuum and structural elements not using general beam or shell section definitions.

 
I'm using second Standard & order tets (C3D10) in a structural loading problem, so there shouldn't be a problem right?
 
Shouldn't be any problem. Did you request EVOL as a field output?
 
Ahhh yes good catch, I was just assuming it would be in with the defaults.

Thanks
 
I've done this so many times. Glad you got sorted.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor