ANSYS User Programmable Features (allow) users to use custom material model in their analysis. For example, users can provide their own material jacobian matrix (ddS/ddE) via usermat.F.
However, to get started one needs to properly setup the development environment. Here is the proper procedure for a successful setup for usermat.
Installation
To compile usermat and other custom UPFs, one must have the necessary compilers. Make sure you have the correct Intel Compiler from their website (usually free for academia) and Visual Studio.
For ANSYS 2020 R1, the version required are listed. The installation has to follow this order:
1. Install Visual Studio 2017 (default customization work)
2. Intel C++/Fortran Compiler 19.0 Update 3
The order matters because Intel installation sets up appropriate environment within Visual Studio.
Setting UPF
ANS_USER_PATH
Additionally, add %ANS_USER_PATH% to the PATH environment variable.
Comments
Post a Comment
Productive comments only!!