×
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

Abaqus - Creating an Orphan Mesh Part with Python Script

Abaqus - Creating an Orphan Mesh Part with Python Script

Abaqus - Creating an Orphan Mesh Part with Python Script

(OP)
I am attempting to create an orphan mesh part with a python script in Abaqus 6.8. I have been working through the manual and cannot find a method or constructor that does this. At first, it looked like PartFromNodesAndElements(...) would do the job. However, the node definitions have repeatedly given me errors. Here is a test element that I tried to generate.

nodelabels = [1,2,3,4]
coords = [ [0.,0.,0.], [1.,0.,0.], [0.,1.,0.], [1.,1.,0.] ]

typ = 'CPE4R'
elelabels = [1]
eleconnect = [ [nodelabels] ]

mdb.models('Model-1').PartFromNodesAndElements\
(
name='Particle',
dimensionality=TWO_D_PLANAR,
type=DEFORMABLE_BODY,
nodes=
[
(nodelabels, coords)
],
elements=
[
[ (typ, elelabels, eleconnect) ]
]
)

I then wanted to use the Node constructor, but I need an orphan mesh part to start with.

28.9.1 Node(...)

This method creates a node on an orphan mesh part.

Path
mdb.models[name].parts[name].Node
Required argument

coordinates
A sequence of three Floats specifying the coordinates of the new node.

Optional arguments

localCsys
A DatumCsys object specifying the local coordinate system. If unspecified, the global coordinate system will be used.

label
An Int specifying the node label.


Does anyone have any ideas on ways to accomplish creating a set-defined mesh with a python script?

Thank you

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