I implemented a damage model in VUMAT subrooutine, and I would like to obtain tha maximum principal strain using the utility routine call vsprinc( nblock, s, eigVal, ndir, nshr ).
In my code, I assigned the following utility routine :
Prin_strain=max(Prin_strain,eigVal(i,p)) ! Prin_strain is the principal strain, and STRAIN is the strain tensor
Can anyone please respond to me if this definition if correct?
if not, how can one assign the utility routine to obtain the maximum strain ?
Thank you in advance.