M Anees
Aerospace
- Nov 14, 2016
- 2
I have been having trouble linking Abaqus with the compiler. I used the following tutorial to link the softwares:
I'm using Abaqus 6.14-5 with Intel Parallel XE 2013 with VS 2010. The UMAT code is:
SUBROUTINE UMAT(STRESS,STATEV,DDSDDE,SSE,SPD,SCD,
1 RPL,DDSDDT,DRPLDE,DRPLDT,
2 STRAN,DSTRAN,TIME,DTIME,TEMP,DTEMP,PREDEF,DPRED,CMNAME,
3 NDI,NSHR,NTENS,NSTATV,PROPS,NPROPS,COORDS,DROT,PNEWDT,
4 CELENT,DFGRD0,DFGRD1,NOEL,NPT,LAYER,KSPT,KSTEP,KINC)
C
INCLUDE 'ABA_PARAM.INC'
C
CHARACTER*80 CMNAME
DIMENSION STRESS(NTENS),STATEV(NSTATV),
1 DDSDDE(NTENS,NTENS),DDSDDT(NTENS),DRPLDE(NTENS),
2 STRAN(NTENS),DSTRAN(NTENS),TIME(2),PREDEF(1),DPRED(1),
3 PROPS(NPROPS),COORDS(3),DROT(3,3),DFGRD0(3,3),DFGRD1(3,3),
4 JSTEP(4)
C ELASTIC USER ROUTINE
PARAMETER (ONE=1.0D0, TWO=2.0D0)
E=PROPS(1)
ANU=PROPS(2)
ALAMBDA=E*ANU/(ONE+ANU)/(ONE-TWO*ANU)
AMU=E/(ONE+ANU)/2
DO I=1,NTENS
DO J=1,NTENS
DDSDDE(I,J)=0.0D0
ENDDO
ENDDO
DDSDDE(1,1)=(ALAMBDA+TWO+AMU)
DDSDDE(2,2)=(ALAMBDA+TWO+AMU)
DDSDDE(3,3)=(ALAMBDA+TWO+AMU)
DDSDDE(4,4)=AMU
DDSDDE(5,5)=AMU
DDSDDE(6,6)=AMU
DDSDDE(1,2)=ALAMBDA
DDSDDE(1,3)=ALAMBDA
DDSDDE(2,3)=ALAMBDA
DDSDDE(2,1)=ALAMBDA
DDSDDE(3,1)=ALAMBDA
DDSDDE(3,2)=ALAMBDA
DO I=1,NTENS
DO J=1,NTENS
STRESS(I)=STRESS(I)+DDSDDE(I,J)+DSTRAN(J)
ENDDO
ENDDO
RETURN
END
The error message is shown below:
Abaqus 6.14-5
Intel(R) Visual Fortran Intel(R) 64 Compiler XE for applications running on Intel(R) 64, Version 14.0.0.103 Build 20130728
UMAT.for(14): error #5082: Syntax error, found IDENTIFIER 'JSTEP' when expecting one of: , <END-OF-STATEMENT> ;
4 JSTEP(4)
-------^
compilation aborted for UMAT.for (code 1)
Abaqus Error: Problem during compilation - C:\Users\labcfg\Downloads\UMAT.for
Abaqus/Analysis exited with errors
Can you please help me figuring out if? my UMAT file is wrong or the compilation is the problem
I'm using Abaqus 6.14-5 with Intel Parallel XE 2013 with VS 2010. The UMAT code is:
SUBROUTINE UMAT(STRESS,STATEV,DDSDDE,SSE,SPD,SCD,
1 RPL,DDSDDT,DRPLDE,DRPLDT,
2 STRAN,DSTRAN,TIME,DTIME,TEMP,DTEMP,PREDEF,DPRED,CMNAME,
3 NDI,NSHR,NTENS,NSTATV,PROPS,NPROPS,COORDS,DROT,PNEWDT,
4 CELENT,DFGRD0,DFGRD1,NOEL,NPT,LAYER,KSPT,KSTEP,KINC)
C
INCLUDE 'ABA_PARAM.INC'
C
CHARACTER*80 CMNAME
DIMENSION STRESS(NTENS),STATEV(NSTATV),
1 DDSDDE(NTENS,NTENS),DDSDDT(NTENS),DRPLDE(NTENS),
2 STRAN(NTENS),DSTRAN(NTENS),TIME(2),PREDEF(1),DPRED(1),
3 PROPS(NPROPS),COORDS(3),DROT(3,3),DFGRD0(3,3),DFGRD1(3,3),
4 JSTEP(4)
C ELASTIC USER ROUTINE
PARAMETER (ONE=1.0D0, TWO=2.0D0)
E=PROPS(1)
ANU=PROPS(2)
ALAMBDA=E*ANU/(ONE+ANU)/(ONE-TWO*ANU)
AMU=E/(ONE+ANU)/2
DO I=1,NTENS
DO J=1,NTENS
DDSDDE(I,J)=0.0D0
ENDDO
ENDDO
DDSDDE(1,1)=(ALAMBDA+TWO+AMU)
DDSDDE(2,2)=(ALAMBDA+TWO+AMU)
DDSDDE(3,3)=(ALAMBDA+TWO+AMU)
DDSDDE(4,4)=AMU
DDSDDE(5,5)=AMU
DDSDDE(6,6)=AMU
DDSDDE(1,2)=ALAMBDA
DDSDDE(1,3)=ALAMBDA
DDSDDE(2,3)=ALAMBDA
DDSDDE(2,1)=ALAMBDA
DDSDDE(3,1)=ALAMBDA
DDSDDE(3,2)=ALAMBDA
DO I=1,NTENS
DO J=1,NTENS
STRESS(I)=STRESS(I)+DDSDDE(I,J)+DSTRAN(J)
ENDDO
ENDDO
RETURN
END
The error message is shown below:
Abaqus 6.14-5
Intel(R) Visual Fortran Intel(R) 64 Compiler XE for applications running on Intel(R) 64, Version 14.0.0.103 Build 20130728
UMAT.for(14): error #5082: Syntax error, found IDENTIFIER 'JSTEP' when expecting one of: , <END-OF-STATEMENT> ;
4 JSTEP(4)
-------^
compilation aborted for UMAT.for (code 1)
Abaqus Error: Problem during compilation - C:\Users\labcfg\Downloads\UMAT.for
Abaqus/Analysis exited with errors
Can you please help me figuring out if? my UMAT file is wrong or the compilation is the problem