×
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

Python Scripting to Automate Corrosion Details - Help Finding Examples

Python Scripting to Automate Corrosion Details - Help Finding Examples

Python Scripting to Automate Corrosion Details - Help Finding Examples

(OP)
I have a CAE model, of a pressure vessel, that I have generated entirely within CAE (3D-solid model).  I also have a set of thickness data on a regular grid showing a local-thin-area.  I would like to automate the process of inputting the thickness information to generate this corroded model - using python.

I think that using the mdb.models['myModel'].parts['myPart']nodes.editNode approach would be the most computationally-efficient.  However, I cannot find in the Abaqus Scripting Reference Manual (v6.9) how I can:
1) Find the node closest to a specific coordinate
2) Return the coordinate of that node

I have the script to calculate how much to move the node, once I know which node it is, and where it is.

Does anyone have examples of how to do this?

Or is there an easier way of doing this?

RE: Python Scripting to Automate Corrosion Details - Help Finding Examples

lookup the examples that access the ODB (odbAccess in ref. manual). there is one that returns the node coords (or were they deformed coords, not sure -- it doesn't matter anyway). you will basically need to fetch all the node labels and coords and check, which one is the closest.

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