General Mechanical

General Mechanical

Topics relate to Mechanical Enterprise, Motion, Additive Print and more

create custom model

    • Domenico Polisini
      Subscriber

      hello,

      I'm a student of mechanical engineering and I have a problem. 

      How can I to use the "create custom model" in "Engineering Data" and how to define the new material law?

      My problem is about the simulation of aluminium compression test with the model of "Johnson-cook modificated" and this model there isn't in Engineering data materials.

      how can I to insert this maths report in "create custom model"?

      Is it possible to insert this rule in Ansys Workbench? or Do I need to use APDL?

      Sorry for my English

      Best Regards

      Domenico

    • David Weed
      Ansys Employee

      Hi Domenico,

      In order to use a custom material model, you would first need to program a usermat and then compile/link that to the Mechanical solver. This is discussed in the MAPDL Programmer's Reference 2.4.1. Subroutine UserMat (Creating Your Own Material Model). Please note that you will need an Intel Fortran compiler and Microsoft Visual Studios to compile and link your subroutine. These are third party software items which ANSYS does not provide. Also, you will need specific versions of these items based on which version of ANSYS you are running. This information can be found in the Installation Guide.

      Regarding the Engineering Data GUI you've shown, this is only the GUI-based setup for initializing your custom material model parameters in light of having a subroutine compiled and ready to be incorporated by the Mechanical solver.

      Lastly, you may want to check in the MAPDL Material Reference to see if there are any already-existing material models which closely replicate the behavior of your custom model.

    • Domenico Polisini
      Subscriber

      Hi David,

      I thank you for your reply. I think it is a difficulte procedure. Do you know any tutorial where I can learn this procedure?
      Thank you very much for your time. You have been very kind.

    • David Weed
      Ansys Employee

      Hi Domenico,

      Glad to help. If you have a subscription to the ANSYS Learning Hub (ALH), we have a course on User Programmable Features (UPFs) which should be helpful. There is also the MAPDL Programmer's Reference which has documentation on the procedures of compiling/linking and creating a subroutine. See Guide to User-Programmable Features within that reference manual. There is also an example of usermat implementation in Appendix C. User Material (UserMat) Subroutine Example.

      If you let me know what OS and version of ANSYS you are using, I can point you to the documentation which lists the supported Intel Fortran and Microsoft Visual Studios versions.

    • Domenico Polisini
      Subscriber

      Hi David.

      unfortunately, I do not have an ansys subscription. I use Ansys 19.2 on windows 11.

      Thank you for your disponibility.

      Best regards.

Viewing 4 reply threads
  • You must be logged in to reply to this topic.