To alleviate this problem, Mechanical automation scripting and MAPDL scripting can be combined. It is not easy to relate the joint’s name in Mechanical to the element number used by the MAPDL solver, which is what the MAPDL post-processing script is usually based on. (Note – other methods could have been used for extracting these results, but this is not the point of this script tip). In the example we’ll consider today, a model has several joints defined:Īnd an APDL script has been used to extract the reaction forces and moments on these joints. These scripts work fine but it is often hard to link the Mechanical model with the content of the exported file. The usual workflow is to have the command snippet use MAPDL to extract result data and then write the results to an output text file. Many users have developed post-processing macros based on MAPDL command snippets in Mechanical. Pernelle's tip today will cover how to efficiently combine MAPDL and Mechanical scripting. This Script Tip Friday is brought to you by Pernelle Marone-Hitz, Lead Application Engineer at Ansys.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |