How can i implement a new material ?

job Member Posts: 1

I have programmed a composite material in Python, where I calculated the stiffness and mass matrices, and I want to run it through ansys for modal analysis.
I have seen it in PyMAPDL, but could not find anything helpful.
Is there a way to have a subroutine to program my own Stiffness and mas matrix and implement it into Ansys for Modal analysis?