Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Storing current and previous increment CSLIP vector sum in UMESHMOTION

Status
Not open for further replies.

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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor