Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

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

how th create elements set using Abaqus script?

Status
Not open for further replies.

mustapha1234

Mechanical
Joined
Mar 31, 2014
Messages
8
Location
FR
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
 
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]
 
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top