×
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

Retrieve Elements and Nodes from element set Object in ABAQUS

Retrieve Elements and Nodes from element set Object in ABAQUS

Retrieve Elements and Nodes from element set Object in ABAQUS

(OP)
Hello,

I have written the following code:

odb = openOdb('H:\MiniThessis\MaterialModelling\Job-2.odb')
assembly = odb.rootAssembly
elsetName = 'SET-4'
elemset = assembly.elementSets[elsetName]

With the help of above code,I am able to retrieve the element set object using a element set 'SET-4".
Now,I want to retrieve all the elements available in it.
Thereafter,I want to loop through each element,and also each node of that element

So,I am writing a pseudo code below:

for i=0:elementssize
elementLabel = element[i].Name
for j = 0:len(element[i).nodes)
node[j] = element[i).nodes
nodeLabel = node[j].label
end
end

Can someone help me achieve the above things,since I am still a beginner in terms of ABAQUS Python scripting

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