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!

partitioning or selecting faces in ABAQUS using scripting techniques

Status
Not open for further replies.

mturkol

Mechanical
Jan 6, 2013
9
Hi everyone,

I am trying to automate the process of creating models in ABAQUS using pure python scripting techniques. Even though I found a few resources on the web for specific but relatively easy geometry examples, I could not get how to use *faces.findAt to choose the faces I would like to partition. The sequence of points etc. are not very clear to me.

This is an example piece of code for the extruded C-Channel I am trying to partition using a datum plane I defined earlier. I don't have a problem with defining those datum planes. It's the choice of faces. I couldn't get it clearly what points or sequence of faces I should indicate to select the proper faces that will be partitioned. I got this using session.journalOptions.setValues(recoverGeometry=COORDINATE):

mdb.models['W2_527h_8'].parts['channel'].PartitionFaceByDatumPlane(datumPlane=

mdb.models['W2_527h_8'].parts['channel'].datums[3], faces=

mdb.models['W2_527h_8'].parts['channel'].faces.findAt(((38.667267, 193.294,

1625.599935), (0.0, -1.0, 0.0)), ((0.0, 128.862671, 1625.599935), (1.0,

0.0, 0.0)), ((19.333633, 0.0, 1625.599935), (0.0, 1.0, 0.0)), ))

I would be glad if anybody could explain any further. Thank you in advance.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor