I want to model a 2D FGM cylinder. for this purpose, the young's modulus and poission's ratio were modeled by vumat. But I do not know how to model the density as a function of the coordinates(x,y).
I suggess you use an artifical temperature field, that you can define easily in ABAQUS or ANSYS, then you can prescribe elastic or another properties temperature dependant. I have used this approach to modell bamboo, which is a FGM material.
Yu can also use a user-defined field variable and even update that using ufield/usdfld. Make the material properties depend on that variable (keyword depvar)
i dnt hve an idea about abacus , but in ansys i already did a macro which be able to change the element material properties in elements of a cylinder according to the power low distribution, the macro is given as
I think that, Bendine Kouider Macro will be very helpful and sufficient to calculate the modulus of elasticity, Poisson's ratio and density required to make material properties graduation. Moreover, it helps in the required modification to the concerned elements.