Hi
I am creating a dictionary to store the element labels attached to each node. I am using below python script in assembly levels to loop over element node of ' All Elements'. I understand each instance has its own node labels which means same node label could be at different instances. Now if I use below script to loop over the assembly, how does assembly organize the overlapped same nodel labels from different instances? In the school, I never modeled multi-instances model. my model was always single part model. I am wondering for multiple parts, in the final equation to solve, how does Abaqus organize the nodes from multiple instances? Thank you so much.
Stress=Step.frames[0].fieldOutputs['S']
StressForRegion = Stress.getSubset(region=odb_object.rootAssembly.elementSets[' ALL ELEMENTS'], position=ELEMENT_NODAL)
nodalValuesDict = {}
for first_index in range(0,len(StressForRegion.values)):
nodalValuesDict.setdefault(StressForRegion.values[first_index].nodeLabel, []).append(StressForRegion.values[first_index].elementLabel)
