TAGGED: compiler, usermat, windows-10
-
-
May 17, 2022 at 4:12 pm
Rick17
SubscriberHi,
I developed a USERMAT subroutine to define a new material model in ANSYS Mechanical. The code works perfectly on my laptop, but it gives some warning messages like the one below on our lab's PC and then stops the simulation with no error message.
-----------------------------------------------------------------------------
*** WARNING ***Â Â Â Â Â Â Â Â Â Â Â Â Â CP =Â Â Â Â 1.859Â Â TIME= 11:36:26
 The user material routine for element 240 has set the bisection key in the initial assembly. Check your usermat coding.           Â
-------------------------------------------------------------------------------
I would REALLY appreciate it if anyone could help me with this issue.
Here is some information regarding this problem:
- The same simulation setup and USERMAT code are used on both PCs.
- The same version of ANSYS is installed on both PCs (my laptop and the lab's PC)
- I installed the same versions of the required software to compile such subroutines in ANSYS, but this didn't work.
- I reinstalled the operating system (Win 10) on the PC and installed all required software, including the ANSYS itself, but the problem persists.
- I attached the log files of the simulations that were performed on my laptop and the lab's PC to this post.
Thank you in advance.
May 20, 2022 at 6:58 pmRick17
SubscriberHi Everyone The problem is solved by removing those parts of my USERMAT code defined for the shell elements (plane stress subroutine). Although my computational domain contains only 3D elements, it seems other parts of the USERMAT code that are not related to 3D elements can also affect the solution process. However, in my notebook, this was not an issue.
I hope this help. :)
May 23, 2022 at 9:39 amKexin YAN
Ansys EmployeeHi I just definite a new material in usermat, how do you do the debug with apdl?
I tried to print the parameter in the code usermat, but the output file after apdl doesn't affiche the result? Can you give me some advice?
Thank for your attention.
Have a good day
November 4, 2023 at 2:31 pmpourrezamh
SubscriberHello Friends,
I have a project in which I need to add and use a user material subroutine in ANSYS Workbench for the plasticity. I have the code written in Fortran, but I'm wondering what the steps are to upload and use the material subroutine in Workbench.Â
Your advice is highly appreciated.Viewing 3 reply threads- The topic ‘Compiling USERMAT subroutines’ is closed to new replies.
Innovation SpaceTrending discussionsTop Contributors-
5879
-
1906
-
1420
-
1306
-
1021
Top Rated Tags© 2026 Copyright ANSYS, Inc. All rights reserved.
Ansys does not support the usage of unauthorized Ansys software. Please visit www.ansys.com to obtain an official distribution.
-