×
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

How to call UMAT using Python Script

How to call UMAT using Python Script

How to call UMAT using Python Script

(OP)
Dear All,

I just started to use Python script to perform parametric study and I also have to use UMAT. I have problem on linking/calling the UMAT.

The script is executed with the command:

abaqus cae noGUI=myScript.py


and I received the following error message in the *.dat file:

*****ERROR: THE REQUESTED MEMORY CANNOT BE ALLOCATED. PLEASE CHECK THE SETTING FOR PRE_MEMORY. THIS ERROR IS CAUSED BY PRE_MEMORY BEING GREATER THAN THE MEMORY AVAILABLE TO THIS PROCESS. .....etc. ********

However the input file of the model is generated and seemed that everything that I have defined in the script is written correctly in the input file.

So I tested the generated input file by using the following command :

abaqus job=myInputFile user=umatFile.f interactive

After that the analysis runs though it is terminated after only a couple of iterations.

My questions are:
1. What could be the cause of problem with memory when I execute via the script? Does running a job from script takes a lot more memory than running from an input file?

2. Which command shall I use in the python script to define that I am using the file 'umatFile.f' as the UMAT subroutine? I can't find this in the Scripting Reference Manual.

3. Is using the command:

os.system('abaqus job=myInputFile user=umatFile.f interactive')  

the only way to execute the job properly or can I predefine this in the script in other way?

Thank you in advance smile

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