Dear FEAP community,
I rewrote a code for a user material from an existing user element+material subroutine.
In my umat code I have to update the state variables for every iteration.
In the first step I initialize them and then update them after the computations as follows:
l = ud(8)
ihpgp= 24
nenh = 51
call move_g(hn(nh+(l-1)*ihpgp+nenh) ,epsi,6)
After the computation, I intend to store them as follows:
call move_g(h1(nh+(l-1)*ihpgp+nenh) ,epsi,6)
I pass the value of 'nh' from 'umati' to 'umatl'. 'move_g' moves the array from one location to another, here it is 'epsi'.
I see that the value of 'epsi' in this case is not updated. Can you let me know a better way to store and update the state variables for a user material.
Warm Regards,
Chandra