Dear all
I realized so many users have problems in
linking Fortran and C++ to ABAQUS to run user-subroutine codes such as
VUMAT and UMAT. I managed to collect all information (some taken from imechnica) which
is necessary to establish a proper link.These are my recommended steps :
1-Install ABAQUS
2-Install Microsoft Visual STUDIO (trial
version is good enough!) and install Intel Visual Fortran Compiler if it is not included in the Visual Studio package.
3- Open ABAQUS command window and type "abaqus verify
-user_std" then it will check the requirements and will give a message
pass or fail. If everything is met then it will show pass. usually Visuall
fortran and visuall C fails, and you need to set their path in "Environment
Variables" in windows.
4- If fails go to My Computer->Properties->Advanced->Environment
Variables, in the "System variables" list locate "Path"
variable
FOR 64- bit windows it
can be similar to this:
;C:\Program Files
(x86)\Microsoft Visual Studio 8\VC\bin\amd64\;C:\Program Files C:\Program Files
(x86)\Microsoft Visual Studio 8\VC\bin\; C:\Program Files (x86)\Intel\Compiler\11.0\072\fortran\Bin\
and for 32 bit
windows it can be similar to this:
C:\Program
Files\Intel\Compiler\Fortran\10.1.021\IA32\Bin\;C:\Program Files\Microsoft
Visual Studio 8\VC\bin\;C:\Program Files\Microsoft Visual Studio
8\Common7\IDE\;C:\Program Files\Common Files\Microsoft Shared\VSA\8.0\VsaEnv\;
5- Check
that all the field are passed by running "abaqus
verify -user_std",. If link does not establish between fortran and ABAQUS,
the last step would be editing the file
"abq69ef1.bat" (this is for example for ABAQUS version6.9) in
the" C:\SIMULIA\Abaqus\Commands". (Be careful in that folder
there is another file abaqus.bat, you need to pick the abq69ef1.bat!)
Open the "abq69ef1.bat"
with Notepad, and set the path similar to this
@echo off
IF NOT DEFINED FORTRAN_VARS_SET call
"C:\Program Files
(x86)\Intel\Compiler\11.0\072\fortran\Bin\intel64\ifortvars_intel64.bat"
set FORTRAN_VARS_SET=1
"C:\SIMULIA\Abaqus6.9\6.9-EF1\exec\abq69ef1.exe"
%*
6-save
and exit
7-Enjoy it!