Hi guys
Will try to make this as elaborative as possible. I am doing a custom weld throat thickness calculator ACT.
The premise:
I have a model containing only shells representing welded sheets/plates. I have shared typologies where the shells terminate with each other representing welds. Construction geometries in the form of Paths are defined on the welds (Weld paths). I also have named selections identifying the bodies that will provide the element orientations for the plots but that comes later.
I have developed a script that creates User plots for all the stress tensor values that will later be used to calculate the Weld throat size.
What I would like to do is to have a Python result plot that will only show the calculated throat size values on the given NodeIDs.
Issues:
I have this Python result code that shows all the node numbers as values on each node (Thanks to @Pernelle Marone-Hitz ):
https://discuss.ansys.com/discussion/1767/create-a-python-result-to-plot-the-node-id
This code run on my model gives the following result (notice how the node ID values start from 28!):
I know for a fact that the node IDs that correspond to my Path 1 , are the missing node ID values which are [1,2,....27].
I have modified the code to place given values on certain node IDs by overriding the nIds and data values :
nIds = [107, 807, 533, 108,1] & data = map(float , [10 , 20, 30, 50,100])
I can see that the node ID of 1 is not coming though as the value of 100 is not on the scale. this can be seen in the screenshot below.
It is worth mentioning that I have tried initializing the nIds and data values using the stress results but to no difference.
Does anyone have any Ideas why I cannot get access to nodes on the path.
Is there a better way of doing this that I have not yet come across?
I am attaching my project file in case it could help.
As always many thanks for all the help and the excellent work :)