Sri Harsha
Aerospace
- Jun 16, 2017
- 37
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
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