hexagon logo

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?
Parents
  • Hi,
    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.

    Attached Files (1)
Reply
  • Hi,
    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.

    Attached Files (1)
Children
No Data