VUSDFLD subroutine for storing charLength
VUSDFLD subroutine for storing charLength
(OP)
Dear all,
I have a problem with the VUSDFLD subroutine. The purpose is very simple: to store both triaxiality and characteristic length to use them as field variables for a damage model.
The subroutine works well for the triaxiality ratio, which is calculated from the stress tensor (see attached file). However, the subroutine does not work when I try to store the characteristic length (charLength). Just add a line as follows: Lchar = charLength(k) and the analysis is aborted. What is wrong with this?
I attach the vusdfld field. Many thanks in advance!
Kind regards,
Julio
I have a problem with the VUSDFLD subroutine. The purpose is very simple: to store both triaxiality and characteristic length to use them as field variables for a damage model.
The subroutine works well for the triaxiality ratio, which is calculated from the stress tensor (see attached file). However, the subroutine does not work when I try to store the characteristic length (charLength). Just add a line as follows: Lchar = charLength(k) and the analysis is aborted. What is wrong with this?
I attach the vusdfld field. Many thanks in advance!
Kind regards,
Julio





RE: VUSDFLD subroutine for storing charLength
By default Abaqus use implicit declaration of variables for FORTRAN subroutines.
Variables started with a-h and o-z are real and others are integers.
charLength array is real since it starts with x letter.
Lchar is integer since it starts with L.
You cannot assign real value for integer variable.
Change name from Lchar to charL and it should help.
Regards,
Bartosz
RE: VUSDFLD subroutine for storing charLength
Bartosz, thank you very much for your help.
Best regards,
Julio