This example of a simple bilinear plasticity material model (identical to TB,BISO) demonstrates the user material subroutine UserMat, described in Subroutine UserMat (Creating Your Own Material Model).
UserMat
Release 18.2 - © ANSYS, Inc. All rights reserved.