USERSUBROUTINEs
USERSUBROUTINEs
(OP)
Hi guys,
could someone give me a well working umat subroutine? I had some troubles linking abaqus and fortran but i don't have experiences writing subroutines. Do, i'd like to test it. Could someone help me? i have to be sure that the problem in compilation is only in my subroutine (in the code).
Thanks a lot.
Cheers,
Leo
could someone give me a well working umat subroutine? I had some troubles linking abaqus and fortran but i don't have experiences writing subroutines. Do, i'd like to test it. Could someone help me? i have to be sure that the problem in compilation is only in my subroutine (in the code).
Thanks a lot.
Cheers,
Leo





RE: USERSUBROUTINEs
or
You can have Abaqus check to make sure everything is linked correctly. I think the command is: abaqus verify -user_std -user_exp
This will check both for both standard and explicit
HTH
Dan
RE: USERSUBROUTINEs
I uploaded the UMAT example in the manual 1.1.31. But this is the content of a file generated after the simulation. The error says:"problem during compilation".
I am not sure on how to write the .inp file. Nothing in said in the manual.
Abaqus JOB UMATjob
Abaqus Version 6.7-EF1
Begin Compiling Abaqus/Standard User Subroutines
02/02/10 14:59:49
ifort: warning: Microsoft Visual C++ not found in path
fortcom: Error: Illegal character in statement label field [S]
fortcom: Error: Illegal character in statement label field [U]
fortcom: Error: Illegal character in statement label field [B]
fortcom: Error: Illegal character in statement label field [R]
fortcom: Error: Illegal character in statement label field [O]
fortcom: Error: First statement in file must not be continued
UMAT.for(5) : Error: Syntax error, found END-OF-STATEMENT when expecting one of: => = . ( %
4 CELENT,DFGRD0,DFGRD1,NOEL,NPT,LAYER,KSPT,KSTEP,KINC)
-----------------------------------------------------------^
UMAT.for(63) : Error: Unrecognized token 'K1?' skipped
N2 = K1–1
--------------^
UMAT.for(112) : Error: Unrecognized token 'TDE?' skipped
SCD = SCD + TDE – DEE
------------------^
UMAT.for(113) : Error: A RETURN statement is invalid in the main program.
RETURN
------^
UMAT.for(10) : Error: An automatic object is invalid in a main program. [STRESS]
DIMENSION STRESS(NTENS),STATEV(NSTATV),
----------------^
UMAT.for(10) : Error: An automatic object is invalid in a main program. [STATEV]
DIMENSION STRESS(NTENS),STATEV(NSTATV),
------------------------------^
UMAT.for(11) : Error: An automatic object is invalid in a main program. [DDSDDE]
1 DDSDDE(NTENS,NTENS),
-------^
UMAT.for(12) : Error: An automatic object is invalid in a main program. [DDSDDT]
2 DDSDDT(NTENS),DRPLDE(NTENS),
-------^
UMAT.for(12) : Error: An automatic object is invalid in a main program. [DRPLDE]
2 DDSDDT(NTENS),DRPLDE(NTENS),
---------------------^
UMAT.for(13) : Error: An automatic object is invalid in a main program. [STRAN]
3 STRAN(NTENS),DSTRAN(NTENS),TIME(2),PREDEF(1),DPRED(1),
-------^
UMAT.for(13) : Error: An automatic object is invalid in a main program. [DSTRAN]
3 STRAN(NTENS),DSTRAN(NTENS),TIME(2),PREDEF(1),DPRED(1),
--------------------^
UMAT.for(10) : Error: A specification expression object must be a dummy argument, a COMMON block object, or an object accessible through host or use association [NTENS]
DIMENSION STRESS(NTENS),STATEV(NSTATV),
-----------------------^
UMAT.for(10) : Error: A specification expression object must be a dummy argument, a COMMON block object, or an object accessible through host or use association [NSTATV]
DIMENSION STRESS(NTENS),STATEV(NSTATV),
-------------------------------------^
UMAT.for(14) : Error: An automatic object is invalid in a main program. [PROPS]
4 PROPS(NPROPS),COORDS(3),DROT(3,3),DFGRD0(3,3),DFGRD1(3,3)
-------^
UMAT.for(14) : Error: A specification expression object must be a dummy argument, a COMMON block object, or an object accessible through host or use association [NPROPS]
4 PROPS(NPROPS),COORDS(3),DROT(3,3),DFGRD0(3,3),DFGRD1(3,3)
-------------^
compilation aborted for UMAT.for (code 1)
Abaqus Error: Problem during compilation - F:\PhD Research\FEA\Simulations\Champmann prova\abaquswork\Comparazione articoli\UMAT.for
Abaqus/Analysis exited with errors
I am not sure on how to write the .inp file. Nothing in said in the manual.
Thanks a lot.
Leo
RE: USERSUBROUTINEs
Dan
RE: USERSUBROUTINEs
thanks
Leo
RE: USERSUBROUTINEs
This is the content of the .log file:
Abaqus JOB Prova_umatmst3
Abaqus Version 6.7-EF1
Begin Compiling Abaqus/Standard User Subroutines
02/02/10 22:44:49
ifort: warning: Microsoft Visual C++ not found in path
End Compiling Abaqus/Standard User Subroutines
02/02/10 22:44:50
Begin Linking Abaqus/Standard User Subroutines
02/02/10 22:44:50
ValueError: LINK.exe not found in PATH.
Could someone help me?
Thnaks a lot.
Cheers,
Leo
RE: USERSUBROUTINEs
It looks like it can't find LINK.exe, so I guess try to figure out where that is (maybe wherever the compiler is installed?) and add it to your path.
RE: USERSUBROUTINEs
...writing the envair var!!!
now i can start to work on the code
I will come back soon with other problems! ;)
Thanks
Cheers
Leo
RE: USERSUBROUTINEs