×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Volume of a set of elements in ODB?

Volume of a set of elements in ODB?

Volume of a set of elements in ODB?

(OP)
So I tried to use the following,

CODE --> 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.

RE: Volume of a set of elements in ODB?

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.

RE: Volume of a set of elements in ODB?

(OP)
I'm using second Standard & order tets (C3D10) in a structural loading problem, so there shouldn't be a problem right?

RE: Volume of a set of elements in ODB?

Shouldn't be any problem. Did you request EVOL as a field output?

RE: Volume of a set of elements in ODB?

(OP)
Ahhh yes good catch, I was just assuming it would be in with the defaults.

Thanks

RE: Volume of a set of elements in ODB?

I've done this so many times. Glad you got sorted.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources