PDA

View Full Version : error in UMAT: Function call help



ashu28
2006-04-13, 16:39
Hi!
I am having the following problem in UMAT code:

When I call a function which passes many variables that can't be written on a single line, I write it as
CALL FUNC_NAME(var1,var2,var3
1 var4,var5,var6,var7)

ABAQUS 6.5 somehow gives a SYNTAX error for this which I am having a hard time debugging.

Instead, this line compiles without any error (of course there are errors afterwards)

CALL FUNC_NAME(var1,var2,var3)
This shows that the calling statement format is somehow not correct.
Can anyone tell me what is the problem here?

Ashu

Jorgen
2006-04-16, 17:01
Based on your example I am assuming that you are using Fortran-77 to write your UMAT. As you might know, Fortran-77 is a very strict language when it comes to specifying in initial space on each line. The continuation character '1' in your example has to be in column 6.

I recommend that you activate warning messages during compilation.

- Jorgen