In the first part of this series, PADT’s Alex Grishin explained how to create custom FORTRAN code to create a custom material using the Usermat.f function. Due to the popularity of that post, Alex has created a second part that creates a more sophisticated material model.
Customizing the Usermat.f Algorithm: Creating A Combined Isotropic/Kinematic Hardening Model
In Part 1 of this series, we shared how to create a bilinear isotropic-hardening material model using the code built into the sample source file. Now, we want to take that a step further in define a new kind of plastic hardening model: a kinematic-hardening model. Further, to help make the more complicated code easier to understand, we will introduce subroutines and functions to the Usermat.F file.
Although Fortran came to us from IBM in the 1950s, it is still a powerful language for computation. The Ansys solver, the original Ansys program that started the current Ansys company, is still mostly written in Fortran. The logic, strong syntax, and simple structure of the language make it easy to add your own functionality to the Ansys solver.
Structuring A Custom Usermat.f Algorithm and Adding More Functionality
This example comes with a zip file containing the Fortran code, an Excel spreadsheet, an Ansys APDL scripts to try everything out.
Alex has once again laid out a pretty great example that should help you get started on your own custom material. If you need some assistance or want to just have someone else get a custom material or any other custom feature in Ansys Mechanical up and running, please reach out to PADT. Alex, or one of his co-workers, are ready to help.
You must be logged in to post a comment.