The Mechanical APDL program has an open architecture, allowing you to write your own routines or subroutines in C, C++, or Fortran and either link them to the program or use them as external commands. Some standard program features originated as user customizations, also known as user-programmable features (UPFs).
You can take advantage of user customization if you are licensed for the Ansys Mechanical Enterprise family of products (Ansys Mechanical Enterprise, Ansys Mechanical Enterprise PrepPost, and Ansys Mechanical Enterprise Solver).
Other Ansys, Inc. products do not support customization of the Mechanical APDL program.
For more information about compilers, see the Ansys, Inc. installation guide specific to your operating system:
The following customization topics are available:
- 1.1. What Are User-Programmable Features?
- 1.2. What You Should Know Before Using UPFs
- 1.3. Planning Your UPFs
- 1.4. Studying the Mechanical APDL User Routines
- 1.5. Programming in Languages Other Than Fortran
- 1.6. Developing UPFs: a Suggested Strategy
- 1.7. Include Decks
- 1.8. Choosing a Linking Method
- 1.9. Compiling and Linking UPFs on Linux Systems
- 1.10. Sharing Data Between User Routines
- 1.11. Compiling and Linking UPFs on Windows Systems
- 1.12. Activating UPFs
- 1.13. Running Your Custom Executable
- 1.14. Verifying Your Routines
- 1.15. Debugging Commands
- 1.16. Other Useful Commands
- 1.17. Generating Output
- 1.18. Reading Large Data Files More Rapidly