Polyurethane
2006-10-01, 15:26
Hello,
I am working on a umat for a simple viscoelastic mateiral model which consists of a liner spring (stres1) parrallel with a linear dashpot (stress2). Note the total stress is the sum of the two. To separate the two stresses in the code, my intention is to use the state variable STATEV to store stress1 and then subtract this from STRESS to find stress2.
Error occurred when the program executes the code using STATEV. I tried to debug this and found program is ok if I remove the STATEV. And in the umat step, STATEV is null which might causs the error "Illegal memory refernce". The usual dimension to define the STATEV is NSTATEV which is 0 at the initial step. I need it to be a array of size NTENS. But error occurred when I tried DIMENSION STATEV(NTENS).
Are there any tips/suggestions? It is my first time using this STATEV.
BTW, I modified the example linera elastic umat (example 1.1.1) by adding STATEV and found same error occourred.
Thanks a lot!
I am working on a umat for a simple viscoelastic mateiral model which consists of a liner spring (stres1) parrallel with a linear dashpot (stress2). Note the total stress is the sum of the two. To separate the two stresses in the code, my intention is to use the state variable STATEV to store stress1 and then subtract this from STRESS to find stress2.
Error occurred when the program executes the code using STATEV. I tried to debug this and found program is ok if I remove the STATEV. And in the umat step, STATEV is null which might causs the error "Illegal memory refernce". The usual dimension to define the STATEV is NSTATEV which is 0 at the initial step. I need it to be a array of size NTENS. But error occurred when I tried DIMENSION STATEV(NTENS).
Are there any tips/suggestions? It is my first time using this STATEV.
BTW, I modified the example linera elastic umat (example 1.1.1) by adding STATEV and found same error occourred.
Thanks a lot!