Eng-Tips is the largest forum for Engineering Professionals on the Internet.

Members share and learn making Eng-Tips Forums the best source of engineering information on the Internet!

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

ABAQUS: How to create a Set for a WirePolyLine in Abaqus Scripting?

Status
Not open for further replies.

hwa0725

Structural
Joined
Feb 16, 2021
Messages
18
Location
IE
Hi all,

This was a question asked in the past with no answer, thread799-391993, wondering if anyone has found a way to define a set for a wire in Abaqus scripting?

In Abaqus, a wire is a feature however the Set() method does not have an argument to receive a feature object and instead, the edge argument was used to define the set for a wire feature.

When creating a set, the script I was using is
Python:
mdb.models['Model-3'].rootAssembly.Set(edges=mdb.models['Model-3'].rootAssembly.edges.findAt(((2862.5, 5900.0, 0.0), )), name='Set-412')
, as you can see it requires a coordinate to pinpoint the location where the wire is located. This is not very useful if I have a zero-length wire connecting 2 edges as the same point will have multiple edges.

Does anyone knows a good way I can do something like edges=mdb.models['Model-3'].rootAssembly.features['WireName']? This is currently giving me an error.

Thanks very much!

Regards,

Heng
 
Thank you FEA way,

So the solution is to assign the created wire instance to a variable and then reuse that wire object by calling the variable without needing to know its coordinates, this is straightforward, I should have thought of this..
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top