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 cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Retrieve Elements and Nodes from element set Object in ABAQUS

Status
Not open for further replies.

Sri Harsha

Aerospace
Joined
Jun 16, 2017
Messages
37
Location
DE
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.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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top