Paul_S
2007-09-13, 02:45
Hello everybody,
I tried to implement some "user-defined" model into ANSYS using USERMAT subroutine but I found the following:
1/ when I modified directly the file "USERMAT.F"(as recommended in the manual) I did not succeed to re-compile the ANSYS.EXE. When I modified the file "USERMAT3D.F" the re-compilation process was OK. I was a little bit confused since according the "Guide to UPFs" the USERMAT subroutine is determined for modification.
2/ When I tried to modify the "USERMAT3D.F" file I realized that it is probably not allowed to call other (my own) subroutines (e.g. for tensor operations) since in these cases I also did not succeed to re-compile the ANSYS.EXE. So it seems to me that all the code defining my model (for 3D case) has to be written solely in one subroutine in "usermat3d.f" file - only this really works to me.
If anybody has any experience in these things please confirm me if my above findings are true or not.
Paul
I tried to implement some "user-defined" model into ANSYS using USERMAT subroutine but I found the following:
1/ when I modified directly the file "USERMAT.F"(as recommended in the manual) I did not succeed to re-compile the ANSYS.EXE. When I modified the file "USERMAT3D.F" the re-compilation process was OK. I was a little bit confused since according the "Guide to UPFs" the USERMAT subroutine is determined for modification.
2/ When I tried to modify the "USERMAT3D.F" file I realized that it is probably not allowed to call other (my own) subroutines (e.g. for tensor operations) since in these cases I also did not succeed to re-compile the ANSYS.EXE. So it seems to me that all the code defining my model (for 3D case) has to be written solely in one subroutine in "usermat3d.f" file - only this really works to me.
If anybody has any experience in these things please confirm me if my above findings are true or not.
Paul