Discussion:
vumat examples
vbajpai007
2012-03-02 11:54:11 UTC
Permalink
Dear All,
I want to use VUMAT to set status equal to zero based on damage (SDEG). Aim of the work is to delete the elements based on damage. I am using following codes:

subroutine vumat
include 'vaba_param_sp.inc'
real::sdeg
integer::status
read*,sdeg
if (sdeg.le.0.8) then
status=1
else
status=0
end if
end

This is not working.
can anyone help me to find out any solution.
ΓΙΩΡΓΟΣ ΠΑΠΑΖΑΦΕΙΡΟΠΟΥΛΟΣ
2012-03-03 19:43:57 UTC
Permalink
Dear all,
I have installed ABAQUS 6.10-1 and Intel Visual Fortran Compiler Professional Edition 11.1 for Windows. The installation of the last requires the previous installation of Microsoft Visual Studio 2008. My operating system is Windows XP 32bit x86.
I am running the abaqus job and abaqus subroutine files in Abaqus Command (allowing ABAQUS to perform the compiling by including -user on the command line) and I get the following error message:
ABA_PARAM.INC(1): error #6222: This IMPLICIT statement is not positioned correctly within the scoping unit.
implicit real*8(a-h,o-z)
In the Abaqus installation directory there are the files ABA_PARAM_SP.INC and ABA_PARAM_DP.INC, but not the file ABA_PARAM.INC. In addition, there seems to exist an error during the compilation of the subroutine (Abaqus Error: Problem during compilation).
Does anyone know how to deal with this error? Furthermore, if somebody outlined the procedure of linking Abaqus to Fortran, one would help very much. It is not sure that the above linking is done properly.
Thank you very much in advance.

[Non-text portions of this message have been removed]
Brian Bak
2012-03-04 09:43:26 UTC
Permalink
On my computer aba_param.inc only contains the line " implicit
real*8(a-h,o-z) ". This is just the naming convention that Abaqus is using.
I have stopped including this statement and then instead declare all the
variables my self. See if it works if you do not in include aba_param.inc.

To test if things are installed correctly open the abaqus command and type:
abaqus verify -user_std

Regards

Brian Bak
Post by ΓΙΩΡΓΟΣ ΠΑΠΑΖΑΦΕΙΡΟΠΟΥΛΟΣ
**
Dear all,
I have installed ABAQUS 6.10-1 and Intel Visual Fortran Compiler
Professional Edition 11.1 for Windows. The installation of the last
requires the previous installation of Microsoft Visual Studio 2008. My
operating system is Windows XP 32bit x86.
I am running the abaqus job and abaqus subroutine files in Abaqus Command
(allowing ABAQUS to perform the compiling by including -user on the command
ABA_PARAM.INC(1): error #6222: This IMPLICIT statement is not positioned
correctly within the scoping unit.
implicit real*8(a-h,o-z)
In the Abaqus installation directory there are the files ABA_PARAM_SP.INC
and ABA_PARAM_DP.INC, but not the file ABA_PARAM.INC. In addition, there
seems to exist an error during the compilation of the subroutine (Abaqus
Error: Problem during compilation).
Does anyone know how to deal with this error? Furthermore, if somebody
outlined the procedure of linking Abaqus to Fortran, one would help very
much. It is not sure that the above linking is done properly.
Thank you very much in advance.
[Non-text portions of this message have been removed]
[Non-text portions of this message have been removed]



------------------------------------
fcn_public
2012-03-05 09:14:24 UTC
Permalink
Hello,
Post by ΓΙΩΡΓΟΣ ΠΑΠΑΖΑΦΕΙΡΟΠΟΥΛΟΣ
ABA_PARAM.INC(1): error #6222: This IMPLICIT statement is not
positioned correctly within the scoping unit.
implicit real*8(a-h,o-z)
In the Abaqus installation directory there are the files
ABA_PARAM_SP.INC and ABA_PARAM_DP.INC, but not the file
ABA_PARAM.INC.
This means that the include sentence is not where the compiler expects it.

Regarding the included file, the ABAQUS preprocessor automatically copies ABA_PARAM_SP.INC or ABA_PARAM_DP.INC as ABA_PARAM.INC depending on which executable you have requested (/Standard or /Explicit). If you look at either, you will see that they only declare "implicit real*8(a-h, o-z)" or "implicit real*4(a-h, o-z)", so you can omit it if you don't want implicit declarations (I personally declare "implicit none", in order to get errors for undefined variables)
Post by ΓΙΩΡΓΟΣ ΠΑΠΑΖΑΦΕΙΡΟΠΟΥΛΟΣ
In addition, there seems to exist an error during the compilation of
the subroutine (Abaqus Error: Problem during compilation).
This is just the confirmation that compilation failed (the compiler exited with errors)

Hope this helps,
Fernando
Roshanak Banan
2012-03-08 03:44:27 UTC
Permalink
Hi,

You need to first install FORTRAN and then visual studio. Check the correct versions of them for winXP. Then install ABAQUS. After this right click on "Abaqus Command" icon and change the target path in order to link the programs. for example these are my changed target paths for WIN7 (32 and 64)

Win64
instead of C:\Windows\SysWOW64\cmd.exe /k , put:

"C:\Program Files (x86)\Intel\Compiler\Fortran\10.1.030\em64t\bin\ifortvars.bat"
&& "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\amd64\vcvarsamd64.bat" && C:\Windows\SysWOW64\cmd.exe /k


Win 32
C:\Windows\System32\cmd.exe /k

"C:\Program Files\Microsoft Visual Studio 9.0\VC\bin\vcvars32.bat" & "C:\Program Files\Intel\Compiler\Fortran\10.1.030\IA32\Bin\ifortvars.bat" &&
C:\Windows\System32\cmd.exe /k

Hope this helps
Roshanak
Post by fcn_public
Hello,
Post by ΓΙΩΡΓΟΣ ΠΑΠΑΖΑΦΕΙΡΟΠΟΥΛΟΣ
ABA_PARAM.INC(1): error #6222: This IMPLICIT statement is not
positioned correctly within the scoping unit.
implicit real*8(a-h,o-z)
In the Abaqus installation directory there are the files
ABA_PARAM_SP.INC and ABA_PARAM_DP.INC, but not the file
ABA_PARAM.INC.
This means that the include sentence is not where the compiler expects it.
Regarding the included file, the ABAQUS preprocessor automatically copies ABA_PARAM_SP.INC or ABA_PARAM_DP.INC as ABA_PARAM.INC depending on which executable you have requested (/Standard or /Explicit). If you look at either, you will see that they only declare "implicit real*8(a-h, o-z)" or "implicit real*4(a-h, o-z)", so you can omit it if you don't want implicit declarations (I personally declare "implicit none", in order to get errors for undefined variables)
Post by ΓΙΩΡΓΟΣ ΠΑΠΑΖΑΦΕΙΡΟΠΟΥΛΟΣ
In addition, there seems to exist an error during the compilation of
the subroutine (Abaqus Error: Problem during compilation).
This is just the confirmation that compilation failed (the compiler exited with errors)
Hope this helps,
Fernando
Roshanak Banan
2012-03-07 20:09:18 UTC
Permalink
Hi,

You need to first install FORTRAN and then visual studio. Check the correct versions of them for winXP. then install ABAQUS. after this right click on "Abaqus Command" icon change the target path to link the programs. for example these are my changed targets for WIN7 (32 and 64)

Win64
instead of C:\Windows\SysWOW64\cmd.exe /k , put:

"C:\Program Files (x86)\Intel\Compiler\Fortran\10.1.030\em64t\bin\ifortvars.bat" && "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\amd64\vcvarsamd64.bat" && C:\Windows\SysWOW64\cmd.exe /k


Win 32
C:\Windows\System32\cmd.exe /k

"C:\Program Files\Microsoft Visual Studio 9.0\VC\bin\vcvars32.bat" & "C:\Program Files\Intel\Compiler\Fortran\10.1.030\IA32\Bin\ifortvars.bat" && C:\Windows\System32\cmd.exe /k

Hope this help
Roshanak
Post by ΓΙΩΡΓΟΣ ΠΑΠΑΖΑΦΕΙΡΟΠΟΥΛΟΣ
Dear all,
I have installed ABAQUS 6.10-1 and Intel Visual Fortran Compiler Professional Edition 11.1 for Windows. The installation of the last requires the previous installation of Microsoft Visual Studio 2008. My operating system is Windows XP 32bit x86.
ABA_PARAM.INC(1): error #6222: This IMPLICIT statement is not positioned correctly within the scoping unit.
implicit real*8(a-h,o-z)
In the Abaqus installation directory there are the files ABA_PARAM_SP.INC and ABA_PARAM_DP.INC, but not the file ABA_PARAM.INC. In addition, there seems to exist an error during the compilation of the subroutine (Abaqus Error: Problem during compilation).
Does anyone know how to deal with this error? Furthermore, if somebody outlined the procedure of linking Abaqus to Fortran, one would help very much. It is not sure that the above linking is done properly.
Thank you very much in advance.
[Non-text portions of this message have been removed]
Loading...