1.14. Verifying Your Routines

After compiling and linking your new user routine, test and verify it using whatever procedures you think are adequate. Remember, verifying that your custom version of Mechanical APDL works properly is your responsibility.

Make certain that your custom version of the program performs correctly for the combinations of elements, analysis types, materials, boundary conditions, and so on that you plan to use. Confirm that the logic you introduced is correct and does not produce any unwanted side effects.

In testing your custom user routines, you also should verify that the changes you have made do not affect standard, non-custom Mechanical APDL features. To do so, you can compare the results of a set of problems from the Mechanical APDL Verification Manual run on the standard version and on the custom version. Input for these problems is also available on your product distribution medium.

Always remember: your last step, a series of steps, or even your concept may be wrong. Proceed in clear steps, and verify your work as often as possible. Keep intermediate versions of your modified source code on backup media.


Note:  If you contact your site's Ansys system-support person or any Ansys, Inc. representative about the performance of a custom version of Mechanical APDL, always tell that person that you are using a user-programmable feature. If you feel that an error exists in an unrelated feature of Mechanical APDL, demonstrate the suspected error in a non-custom, production version of the program before you report the error to an Ansys, Inc. representative.