I am running a pcl utility under: Utilities: FEM-Elements: Modify 3D Connectivity.... The utility operates on a selected group of elements and allows a user to modify the node sequencing of each element. This in turns changes the local CS of the
element and the outward normal. I have several thousands elements to modify. Once I start the utility, it determines the current node sequencing of the element and then modifies it to the desired sequencing. However, for each element, the utility and the outward normal. I have several hundred elements to modify. Once I start the utility, it determines the current node sequencing of the element and then modifies it to the desired sequencing. However, for each element, the utility echos out the original node sequencing, the updated node sequencing, and then a statement that the element has been modified. All in all it takes one or two seconds to modify each element selected. If I have several hundred elements, this utility can take several hours to run. I was hoping to start the echoing of the pcl commands to the command window in order to speed up the process, which is all I currently want to do. The utility works great - it just takes a long time and thus I am exploring options to speed up the time necessary to complete the task.
So my question is: What can I do to speed up the time required to perform the utility?
hide viewport (select viewport/post-unselect default wiewport with the CTRL-Button) and unpost command window and then you can modify several thousand elems in a few seconds
I un-posted the viewport only (don't know what you mean by un-posting the command window) and it did 500 elements in 5 seconds!!! Great! That's exactly what I needed. Thank you so much for your time!!!!
Hi karR,
I un-posted the viewport only (don't know what you mean by un-posting the command window) and it did 500 elements in 5 seconds!!!
Great! That's exactly what I needed.
Thank you so much for your time!!!!
it depends on the version you use. In Patran 2018 an 2019QT you can unpost the command window with a click on the upper left X-icon in the command window:
In earlier versions this is only possible on Windows if you use the SKIN GUI (start option -skin)
You can post the command window with a right mouse button click on the empty region to the right of the main menu.
As Karl explained and you have observed, unposting the graphics and command windows will speed up a lot of things that are cycling through many updates one at a time.
In the attached I have done a modified routine for the Modify 3d Connectivity utility to call. This does the elements updates in a single call and so gives improved performance (even with all the windows active). After starting Patran if you add the plb from the command line with the command:
!!lib add 3dconn.plb
(assuming it is in the working directory) then the functions in this library will be found before the standard ones and should give you the performance you wanted when you use the utility Modify 3D Connectivity.