Yannined08
Bioengineer
- Oct 21, 2013
- 6
Hello,
I would like to store the current increment CSLIP value for use in the next increment in the UMESHMOTION user subroutine. (store previous increment values)
I've heard about using DATA arrays which can store data but it doesn't store it for each node placeholder(using GETVRMATNODE). Is there a way to set up the data array similar to FIELD in UFIELD or state variables in order to store the CSLIP at each node?
Part of my code:
DATA staticCSLIP/0.0/
CALL GETVRMAVGATNODE(NODE,JTYP,'CDISP',ARRAY,JRCD,
$ JELEMLIST,NELEMS,JMATYP,JGVBLOCK)
CSLIP = SQRT(ARRAY(2)**2+ARRAY(3)**2)
staticCSLIP = CSLIP
write(7,*) 'staticslip' ,staticCSLIP, 'incslip',CSLIP
Thanks so much!
-Jonathan
I would like to store the current increment CSLIP value for use in the next increment in the UMESHMOTION user subroutine. (store previous increment values)
I've heard about using DATA arrays which can store data but it doesn't store it for each node placeholder(using GETVRMATNODE). Is there a way to set up the data array similar to FIELD in UFIELD or state variables in order to store the CSLIP at each node?
Part of my code:
DATA staticCSLIP/0.0/
CALL GETVRMAVGATNODE(NODE,JTYP,'CDISP',ARRAY,JRCD,
$ JELEMLIST,NELEMS,JMATYP,JGVBLOCK)
CSLIP = SQRT(ARRAY(2)**2+ARRAY(3)**2)
staticCSLIP = CSLIP
write(7,*) 'staticslip' ,staticCSLIP, 'incslip',CSLIP
Thanks so much!
-Jonathan