LorenzoG
Bioengineer
- Sep 9, 2010
- 2
Hi everybody,
I would like to assign a certain TEMP field to my model during the simulation. The actual value of TEMP, at each time increment, is equal to a certain user defined state variable: this state variable is in turn defined by USDFLD at the beginning of the increment.
In principle, I need to use UTEMP subroutine in the following way:
SUBROUTINE UTEMP(TEMP,NSECPT,KSTEP,KINC,TIME,NODE,COORDS)
C
INCLUDE 'ABA_PARAM.INC'
C
DIMENSION TEMP(NSECPT), TIME(2), COORDS(3)
C
CALL GETVRM('SDV1',ARRAY,JARRAY,FLGRAY,JRCD,JMAC,JMATYP,
MATLAYO,LACCFLA)
TEMP = ARRAY(1)
RETURN
END
But, correct me if I´m wrong, utility routine GETVRM is NOT available inside the UTEMP subroutine. From the ABQ User Subroutine Manual, section 2.1.5:
"Utility routine GETVRM can be called from either user subroutine UVARM or USDFLD to access material integration point information."
Is it possible to set the SDV1 variable as 'global' so that it can be "seen" inside UTEMP? Or is there any other utility routine that can be used inside UTEMP to recall the value of SDV1?
Hope you can help
Lorenzo