Subroutine dll_test01(input,output)
Implicit none
!DEC$ ATTRIBUTES DLLEXPORT,ALIAS:"dll_test01"::dll_test01
C 仅做测试用, 其逻辑为 output=intput*10; 其他代码没有展示
C 使用Matlab接口完成计算
End Subroutine dll_test01
!DEC$OBJCOMMENTLIB:"E:\\abaqus_program\\JC_PE_04\\Dll1.lib"
SUBROUTINE UMAT(STRESS,STATEV,DDSDDE,SSE,SPD,SCD,
1 RPL,DDSDDT,DRPLDE,DRPLDT,STRAN,DSTRAN,
2 TIME,DTIME,TEMP,DTEMP,PREDEF,DPRED,MATERL,NDI,NSHR,NTENS,
3 NSTATV,PROPS,NPROPS,COORDS,DROT,PNEWDT,CELENT,
4 DFGRD0,DFGRD1,NOEL,NPT,KSLAY,KSPT,KSTEP,KINC)
C
INCLUDE 'ABA_PARAM.INC'
C 仅展示部分, 其他代码没有展示
Interface
Subroutine dll_test01(SYIELD,sppy)
!DEC$ATTRIBUTES DLLIMPORT,STDCALL,ALIAS:'Dll1'::dll_test01
End Subroutine dll_test01
End Interface
STATEV(14)=sppy
END
349.61 KB, 下载次数: 20
欢迎光临 Fortran Coder (http://bbs.fcode.cn/) | Powered by Discuz! X3.2 |