Output USRIND in User-supplied subroutine
With User-supplied subroutine USRMAT it is possible to output the current values of the user state variables USRSTA to the FEMVIEW postprocessor. In the command file STATUS USER has to be included in the output. Then the output of USRSTA(1), USRSTA(2) etc are available as Results Gaussian EL.ITEMS ITEM01, ITEM02 etc.
Now I would like to output the current values of the user indicator USRIND, but I cannot find how to do this. The material model I use is a multiplasticity model with four regimes. In the subroutine, each of the regimes is given a number (integer) and I attached the current value of this number to USRIND. If I could display these values in DIANA, I would be able to see for each loadstep for every integration point in what regime it is, similarly to the results of the STATUS CRACK or STATUS PLASTI output.
Does anybody know how to do this? Thanks in advance.
Instead of using USRIND to indicate the material status, an alternative is to use one extra USRSTA. Since 99 of these state variables are allowed, this is generally not a problem.
In the user-supplied subroutine I assigned the material status (an integer) to the USRSTA variable by converting it to double precision with the fortran function DBLE( ).
In FEMVIEW, these USRSTA results are in RESULTS GAUSSIAN EL.ITEMS. By typing the following lines in iDIANA, you can assign your own strings to the specific values, for example:
PRESENT OPTIONS SYMBOL ALL RESET
PRESENT OPTIONS SYMBOL 'T RANGE EQUAL 1
PRESENT OPTIONS SYMBOL 'C RANGE EQUAL 2
PRESENT OPTIONS SYMBOL 'B RANGE EQUAL 3
PRESENT OPTIONS SYMBOL 'A RANGE EQUAL 4
PRESENT SYMBOL
Each status of the material model is now assigned its own indicator (T for tension yield, C for compression yield, etc.)