-
-
August 23, 2024 at 2:49 amHector VarelaBbp_participant
Hi, i'm a student of Mechanical Engineering and i need to create a custom model of Johnson-Cook. I know that i have to compile the model on Fortran with the routine USERMAT. The problem is that i don't know if i can do all of this using the student version of Ansys. If it is possible, were can i find some information about all of this? Sorry for my english. Thanks in advance.
-
August 23, 2024 at 1:40 pmDavid WeedAnsys Employee
Hello Hector,
Implementing a usermat routine, which is a User Programmable Feature (UPF), typically requires an enterprise license. I don't believe that the student version features this capability. One way to check this is to see if the "custom" folder exists in this path:
C:\Program Files\ANSYS Inc\v242\ansys\custom
This folder contains the files necessary for implementing UPFs.
-
August 23, 2024 at 2:42 pmHector VarelaBbp_participant
I do have the custom folder with 3 subfolders (lib, misc, user) but now i'm doubting if it's possible with the student license because it isn't the first time that i read that without enterprise you can't do it. And now i don't know if it is worth the try, because i have to learn Fortran from scratch and i don't know if it will work.
-
August 23, 2024 at 2:53 pmDavid WeedAnsys Employee
Hector,
Do you also have the following 3rd party software items in order to do the compiling/linking process (requirements for v242):
Microsoft Visual Studio Professional 2019 Version 16.0.22 (including the MS C++ compiler)
Intel OneAPI 2023.1.0 Classic C++ compiler (version 2021.9.0) and Intel OneAPI 2023.1.0 Classic FORTRAN compiler (version 2021.9.0)
You will need those to implement your UPF after you have programmed it. If you have them, I can send a sample script that you can try running to see whether the UPF feature works.
-
August 24, 2024 at 11:37 pmHector VarelaBbp_participant
David,
I really appreciate your help, but i thought about the approaching that i was giving to the problem and i don't wanna mess with Fortran or C++ because it isn't my area. I looked online and i found a python code using the PyMAPDL replicating the already built-in Johnson-Cook model, i don't know if it works because it is quite simple and i haven't tried it yet. Do you have any information if it is possible to do it that way? -
August 26, 2024 at 12:13 pmDavid WeedAnsys Employee
Can you put the link to the website showing the pymapdl example?
-
August 27, 2024 at 1:50 amHector VarelaBbp_participant
I lost the website but i have the code:
https://pastebin.com/ukEvMUPv
-
- You must be logged in to reply to this topic.
-
421
-
192
-
178
-
161
-
140
© 2024 Copyright ANSYS, Inc. All rights reserved.