Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Python Scripting to Automate Corrosion Details - Help Finding Examples

Status
Not open for further replies.

TGS4

Mechanical
Nov 8, 2004
3,917
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?
 
Replies continue below

Recommended for you

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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor