×
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

Is it possible to fetch boundary data from the odb?

Is it possible to fetch boundary data from the odb?

Is it possible to fetch boundary data from the odb?

(OP)
via scripting interface?
in theory it should be, since i can just click view, odb display options and show boundary info, but i haven't been able to find it in the OdbAccess section of the scripting reference.
I don't have a cae file, only an INP, but parsing it would be my last step.

RE: Is it possible to fetch boundary data from the odb?

session.viewports['Viewport: 1'].odbDisplay.basicOptions.setValues(
    bcDisplay=ON)

... I hope this is it.

In general you can look at the abaqus.rpy file in the temporary folder. There all your actions in the cae session are recorded as a python file.

Best regards,
Rupert.

RE: Is it possible to fetch boundary data from the odb?

(OP)
yes and no.
this displays the data in the cae, but i want to extract it in python scripting, as i need it for some vector calc (manually entering it is cumbersome and esp. error-prone, as i've recently discovered).

RE: Is it possible to fetch boundary data from the odb?

Hi,

If you want to use Abaqus Scripting Interface (API) then there is no option to do it. A set with nodes with boundary conditions is internal set and API can not read the internal sets.
Unfortunately API does not cover in 100% all Abaqus/CAE or Abaqus/Viewer capabilities.
The sets you can display with:
Tools->Creat Display Group->Item:Nodes->Method:Internal sets. I am not sure does abaqus always use the same name but usually it is "TYPE 7 1" or names started with "U0" name.

If you need to get only node labels you can do it with python command which are use by Abaqus/CAE.
First find which internal set contain the nodes, display only these nodes, and use "getActiveNodeLabels()" method from viewport object.
This way has one disadvantaged, script has to bu run with abaqus/CAE or abaqus/Viewer but it should work and CAE or Viewer can be run in background mode.

Regards,
akaBarten
 

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