You are on page 1of 2

Mathcad 14 - Ansys Workbench 11.

0 SP1
This integration is a non-supported demo of the 2 products working together. The two products combine for a best of breed solution for customers. Mathcad runs inside of Ansys Workbench (AWB ! pro"iding natural math notation and optimi#ation of parameters! with bi-directional communication with AWB$s %arameter Manager.

Use Case Scenarios


Mathcad can be used as a scratch pad calculation for Ansys customers in many ways. A typical use case is using Mathcad as a &uick sanity check. Analysis results from Ansys can be sent to Mathcad to be compared with &uicker! less computationally intense algorithms. Mathcad does not compete with Ansys in '(A! Mathcad does not do any meshing for e)ample. But gi"en simple "olumetric information! Mathcad can conduct a myriad of stress*straining calculations! such as those from +oark$s ,andbook for -tress . -train. Again! gi"ing the end user a &uick sanity check of their results. Mathcad can also be used to check to see if the resulting analysis of Ansys is within safety constraints put forth by either the users$ best practices or maybe design constraints. Ad-hoc calculations such as computing the cost of the part all the way through to optimi#ing input parameters for rerunning the analysis are all a"ailable to the end user through Mathcad$s easy to use whiteboard interface.

Installation of Mathcad-Ansys demo


The demo starts with the connector rod /A0 part. The part is pro"ided as a %ro( and as a -W part. The Ansys 1nput 2eometry -tring filter is set to bring in only strings beginning with 30-4. Two files needs to be edited and updated to represent where you ha"e installed the demo. M/./56'12 is a file at the top le"el of the demo and simply contains the name of the Mathcad worksheet you wish to load. 1e.
C:\jsheehan\solutions\Ansys\ansys_tierod.xmcd

MAT,/A0.+(2 is a file in the Application 0irectory. The 1nstall01+ and 7ib%ath "ariables need to be updated. %lease make note of the double backslashes. ,ere is what mine looks like 8

REGEDIT4 [ !E"_C#RRE$T_#%ER\%&'T(ARE\A$%"%)*Inc.\+,,-\A.'rame/or0\Addins\1athcad2 34ase(inId35d/ord:4a6,-748 3InstallDir353C:\\jsheehan\\solutions\\Ansys\\9hase:\\1athcad\\3 3;i7.ath353C:\\jsheehan\\solutions\\Ansys\\9hase:\\1athcad\\1athcad#.dl l3 3;ocation353%D!D;;.A99%er+ice.,,-3 3Ty9e3539ro<id3 3#ses%D!353,3

After updating this script it needs to be run by double clicking on it. When the Mathcad Applet is selected from the %ro9ect %age of AWB ::! it looks in the registry for information about the 077 (1nstall 0ir and 7ib%ath . 1t then reads the M/./56'12 file and locates the Mathcad worksheet you ha"e specified. The Mathcad worksheet needs to be pre-treated. We edit the properties of regions we want to show up in the drop down lists for transfer between the 2 products. Mathcad worksheets can ha"e thousands of regions and we do not want a drop down list to ha"e thousands of entries. -o we add a TA2 to any region we want to use in the integration! Actually either one of two tags 8 Ansys2M/ or M/2Ansys. Before running the integration demo! pre-treat your worksheet by right mouse clicking on any math region you want to be used in the integration and add one of the TA2s depending on which direction you want the number to tra"el.

You might also like