CompUser
New member
- Dec 13, 2011
- 1
Hello everybody,
This is my first post here, but I hope not to be the last one.
My models are usually based on shell elements.
What I am looking for is a quick way to obtain both centroid based values (say, S11) along with centroid coordinates in order to be able to create a plot afterwards.
I know how to do this for nodal values: with report generator or by creating a path of nodes. However, none of thse options is possible for centroid values (since COORDS are given for nodes only).
Is there any quick way to post-process this data that I am missing.
If there is not avident way, this is the algorithm I thought for a script that would retrieve the data I need:
- Create a viewGroup on my viewport consisting only of the elements that I am interested in obtaingin the data.
- The script would consist of a loop that goes through all the elements contained in the viewGroup (here lies my problem). Then it would store the centroid stress of these elements. At the same time it would store the centroid coordinates - by accessing the connected nodes and averaging their coordinates.
So here, the question would be how to go through the elements of my viewGroup only (not though all the elements of the model). Not sure if an element set would need to be created (but again, how to tell the script to focus just on the viewport elements?).
Any help would be very much appreciated.
Thanks in advance.
This is my first post here, but I hope not to be the last one.
My models are usually based on shell elements.
What I am looking for is a quick way to obtain both centroid based values (say, S11) along with centroid coordinates in order to be able to create a plot afterwards.
I know how to do this for nodal values: with report generator or by creating a path of nodes. However, none of thse options is possible for centroid values (since COORDS are given for nodes only).
Is there any quick way to post-process this data that I am missing.
If there is not avident way, this is the algorithm I thought for a script that would retrieve the data I need:
- Create a viewGroup on my viewport consisting only of the elements that I am interested in obtaingin the data.
- The script would consist of a loop that goes through all the elements contained in the viewGroup (here lies my problem). Then it would store the centroid stress of these elements. At the same time it would store the centroid coordinates - by accessing the connected nodes and averaging their coordinates.
So here, the question would be how to go through the elements of my viewGroup only (not though all the elements of the model). Not sure if an element set would need to be created (but again, how to tell the script to focus just on the viewport elements?).
Any help would be very much appreciated.
Thanks in advance.