I would like to know any PCL function to plot contour----pressure----for a particular case ---all sets----Top Surface pr--- selected group---- and then Apply to create a contour plot. Thanks in advance.
I would like to know any PCL function to plot contour----pressure----for a particular case ---all sets----Top Surface pr--- selected group---- and then Apply to create a contour plot. Thanks in advance.
@Vishal Kalkunte You can retrieve Load Case and LBC info from the database using functions documented in Patran PCL and Customization . Take a look at Chapter 8: Accessing the Patran Database; specifically sections on Load Cases and Loads.
The process is fairly straightforward:
Retrieve # of loads associated to the load case.
Retrieve load_ids associated to the load case.
Loop thru load_ids, get load type and element dimension.
Save the load_ids where type=8 (for pressure) and dimension=2 (for 2d)
Continue process with steps provided in my previous post.
Attached is a short function that includes steps 1-3. Note that Load Case name is hard-coded to work with my example model. This is a prototype and doesn't have a GUI or error checking. It should get you started.
@Vishal Kalkunte You can retrieve Load Case and LBC info from the database using functions documented in Patran PCL and Customization . Take a look at Chapter 8: Accessing the Patran Database; specifically sections on Load Cases and Loads.
The process is fairly straightforward:
Retrieve # of loads associated to the load case.
Retrieve load_ids associated to the load case.
Loop thru load_ids, get load type and element dimension.
Save the load_ids where type=8 (for pressure) and dimension=2 (for 2d)
Continue process with steps provided in my previous post.
Attached is a short function that includes steps 1-3. Note that Load Case name is hard-coded to work with my example model. This is a prototype and doesn't have a GUI or error checking. It should get you started.