×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

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

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

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

(OP)
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.

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

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.

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

(OP)
Thank you. I wasn't checking the .log file at all. That was my mistake.

 

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources