Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

VUMAT subroutine - how do I write something to Abaqus .msg file?

Status
Not open for further replies.

tsiloufas

Mechanical
Joined
Jan 23, 2012
Messages
4
Location
BR
Hello everyone.

I'm using Abaqus/Explicit with a VUMAT subroutine. In order to check some problems with my solutions, I want to write some warnings/errors to the message file (or status file, or data file, whatever).

I'm trying to use the "write" command of Fortran, but with no result.

Something like this:

if (variable.gt.one) then
write(*,*) 'Error message'
call XPLB_EXIT
endif

I've checked all the files (data, status, message, log), but no 'Error message' appears. And yes, I'm pretty sure that the solver is entering the IF and terminating the solution using the XPLB_EXIT function.

How should I proceed? Sorry for any mistakes... English is not my mother language.

Thank you.
 
When you use 'write(*,*)' it should send to the log file. It should do the same if you use a print statement also. If you're running from a terminal shell in interactive mode it may also write to that.

You could double check if it is entering the IF statement by debugging in something like Visual Studio or by setting a state variable to a certain value, which you can then have a look at in your ODB.
 
Thank you. I wasn't checking the .log file at all. That was my mistake.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top