hexagon logo

Translation and Rotation Report Write

Hello,
 
what i am trying to do is report translation and Rotation forces into a single file so that i can then put them into excel.
 
i have been messing around with the PCL code but i can not figure out how to keep the translational data and the rotational data to be accessed when the report is created.
 
i have attached a PDF of a powerpoint i made.
 
Page 1: showing what i usually do for getting the Translational Forces, it prints to a single file named Trans.txt
 
Page 2: showing what i usually do for getting the Rotational Forces, it prints to a single file named Rot.txt
 
Page 3: Shows the files how they are printed and the information given.
 
Page 4: shows what i am trying to accomplish. this is one file. i can increase the column amount and put forces into the columns but the values from the first result i load gets overwritten when i load the second results. (in this case the trans results were first and they were overwritten by the rotational results)
 
Page 5: shows how my PCL code is set up for reference.
 
Thank you for your help!
  • Hi,
    I've taken a look at this and put something together that may be of use to you.
    I have put some comments in the file to explain a little of what it is doing. Though pcl is verbose enough to be fairly easy to follow.
    It almost certainly is not exactly what you required but it does build a report file with the bar force and moments in six columns and it may be of use to you in crafting your own pcl/session file.
    To make this work required loading the two vector results in two registers, creating 6 scalars in new registers and defining a "tensor" using those 6 scalars. Then to make a report of this new register tensor data I had to firstly save it as a new resultcase, then load it into a register after which I could report it.
    To output the original loadcase and subcase names I set the report title to use these rather than the names of the "new" result case the report was using.
     
    best regards
    Arthur
     

    Attached Files (1)