×
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

how th create elements set using Abaqus script?

how th create elements set using Abaqus script?

how th create elements set using Abaqus script?

(OP)
I'm actually an intership student I need help in abaqus script.
After a was create the model and mesh using abaqus script, I want to create elements sets to define model change interactions
I start by using the instructions:
""
a = mdb.models['Model-WorkPiece'].rootAssembly
e1 =a.instances['Part-Workpiece-1'].elements
elements1=[1,2,3]
a.Set(elements=elements1, name='couche1')
""
but I get Feature creation failed error, I try to use other instructions like elementSetFromElemntslabels or FindAt, getting 'Assembly' object has no attribute 'cells' or 'MeshElementArray' object has no attribute 'FindAt' and other error like that
so I need your help
think you

RE: how th create elements set using Abaqus script?

I'm a bit of a novice with the scripting, but have been doing more with it recently. Your elements1 variable doesn't actually contain any reference to elements. Assuming you want the first 3 elements, I believe you want to put elements1=e1[0:3]

RE: how th create elements set using Abaqus script?

(OP)
Ok, think's I'm lose 4 days becouse a just forget e1 :D
think's a lot and if you need some thing i'm here

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