hexagon logo

Creating session file for pressure load mapping using PCL.

Hi,
 
I have a query regarding load and boundary conditions syntax using PCL.
 
Problem definition: I am creating a session file for GFEM to DFEM pressure mapping using PCL commands. My query is, how patran is writing PLOAD cards for a particular subcase as highlighted in below example.
 
Example : How these highlighted load ids are considered in Patran PCL. Kindly explain the load case id pattern being considered as this is required to loop for many load cases.
 
INTEGER loadsbcs_plot_scalar_table_id
lbc_create_scalar_table( "Pressure", 8, 0., "Top Surf Pressure", "Resultant", @
11, [4,5, 6, 7, 13, 19, 25, 31, 37, 43, 49], 1, [3], @
loadsbcs_plot_scalar_table_id )
 
PS: An example file would be great if you can share the loads case selection pattern using pcl.
 
Many Thanks in advance.
 
Vishal
Parents
  • Hi Vishal,
     
    Attached I have slightly modified the example code.
    this function will automatically loop through all the loadcases and get the information for them. I was using "dump" as a lazy way of outputting variable data to the history window. It is really a debugging tool. The "set1" in the previous routine was one of my test case loadcase names that got left hard coded.
     
    To output the extracted data to a file you need to start using file writing commands like the "text_" commands.
    Text_open to open a file for writing to - this gives you a "channel" id number that you use to do" text_write..." type commands etc.
     

    Attached Files (1)
Reply
  • Hi Vishal,
     
    Attached I have slightly modified the example code.
    this function will automatically loop through all the loadcases and get the information for them. I was using "dump" as a lazy way of outputting variable data to the history window. It is really a debugging tool. The "set1" in the previous routine was one of my test case loadcase names that got left hard coded.
     
    To output the extracted data to a file you need to start using file writing commands like the "text_" commands.
    Text_open to open a file for writing to - this gives you a "channel" id number that you use to do" text_write..." type commands etc.
     

    Attached Files (1)
Children
No Data