×
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

Accessing the ODB file with python with noPartsInputFile=ON ??

Accessing the ODB file with python with noPartsInputFile=ON ??

Accessing the ODB file with python with noPartsInputFile=ON ??

(OP)
Hi.

In my model have have to apply boundary conditions in the input file directly on node numbers. I.e NOT on node sets.
I can only get this to work if I use "mdb.models['model name'].setValues(noPartsInputFile=ON)".
The problem is that I have to access the odb fíle with a script. I used to use a script looking like the one here below:

lastFrame1 = odb1.steps['Step-1'].frames[-1]
displacement1 = lastFrame1.fieldOutputs['U']
allNodes1 = odb1.rootAssembly.instances['PLATE-1'].nodeSets['NALL']
Disp1 = displacement1.getSubset(region=allNodes1)

But, with the noParts turn on, how will this scrips look then, if I need to access the displacements in the odb file?

Anyone knows how to solve this?

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