Notifications
Clear all

Abaqus ERROR- User subroutine umat is missing

4 Posts
4 Users
1 Likes
1,426 Views
Posts: 1
Topic starter
(@giannicetraro)
New Member
Joined: 3 years ago

Hello! I downloaded both MCal and PolyUMod. The first one works fine. I am able to calibrate materials. But I think that I have some problems when PolyUMod is called. In fact, I tryied to run Test_Cases_Abaqus and the first test (which doesn't imply the use of PolyUMod) goes ok, while the second one (which involves PolyUmod) doesn't go right. In other words, it is how PolyUMod is not recognized. I obtain the following error in Abaqus:

User subroutine umat is missing

I also checked the abaqus_v6.env file and it seems to be ok. Which could be the problem and how I could solve it?

 

The abaqus_v6.env file that I have is the following one:

## The following lines were added for PolyUMod ##
if True:
try:
import os
files = os.listdir(os.getcwd())
file = ''
match = 0
for file in files:
if file.find('standardU.dll') > -1: match = 1
if file.find('explicitU.dll') > -1: match = 1
if file.find('explicitU-D.dll') > -1: match = 1
if match == 0:
if '2020hf5' in os.environ['ABA_COMMAND_FULL']:
usub_lib_dir = 'C:/Program Files/PolymerFEM/PolyUMod/PolyUMod_Abaqus_2020HF5'
else:
usub_lib_dir = 'C:/Program Files/PolymerFEM/PolyUMod/PolyUMod_Abaqus'
else:
usub_lib_dir = os.getcwd()
print '** usub_lib_dir = ' + usub_lib_dir
print '** RLM_LICENSE = ' + os.environ['RLM_LICENSE']
except:
pass
del files, file, match, os

## The following lines were added for PolyUMod ##
if True:
try:
import os
files = os.listdir(os.getcwd())
file = ''
match = 0
for file in files:
if file.find('standardU.dll') > -1: match = 1
if file.find('explicitU.dll') > -1: match = 1
if file.find('explicitU-D.dll') > -1: match = 1
if match == 0:
if '2020hf5' in os.environ['ABA_COMMAND_FULL']:
usub_lib_dir = 'C:/Program Files/PolymerFEM/PolyUMod/PolyUMod_Abaqus_2020HF5'
else:
usub_lib_dir = 'C:/Program Files/PolymerFEM/PolyUMod/PolyUMod_Abaqus'
else:
usub_lib_dir = os.getcwd()
print '** usub_lib_dir = ' + usub_lib_dir
print '** RLM_LICENSE = ' + os.environ['RLM_LICENSE']
except:
pass
del files, file, match, os

## The following lines were added for PolyUMod ##
if True:
try:
import os
files = os.listdir(os.getcwd())
file = ''
match = 0
for file in files:
if file.find('standardU.dll') > -1: match = 1
if file.find('explicitU.dll') > -1: match = 1
if file.find('explicitU-D.dll') > -1: match = 1
if match == 0:
if '2020hf5' in os.environ['ABA_COMMAND_FULL']:
usub_lib_dir = 'C:/Program Files/PolymerFEM/PolyUMod/PolyUMod_Abaqus_2020HF5'
else:
usub_lib_dir = 'C:/Program Files/PolymerFEM/PolyUMod/PolyUMod_Abaqus'
else:
usub_lib_dir = os.getcwd()
print '** usub_lib_dir = ' + usub_lib_dir
print '** RLM_LICENSE = ' + os.environ['RLM_LICENSE']
except:
pass
del files, file, match, os

## The following lines were added for PolyUMod ##
if True:
try:
import os
files = os.listdir(os.getcwd())
file = ''
match = 0
for file in files:
if file.find('standardU.dll') > -1: match = 1
if file.find('explicitU.dll') > -1: match = 1
if file.find('explicitU-D.dll') > -1: match = 1
if match == 0:
if '2020hf5' in os.environ['ABA_COMMAND_FULL']:
usub_lib_dir = 'C:/Program Files/PolymerFEM/PolyUMod/PolyUMod_Abaqus_2020HF5'
else:
usub_lib_dir = 'C:/Program Files/PolymerFEM/PolyUMod/PolyUMod_Abaqus'
else:
usub_lib_dir = os.getcwd()
print '** usub_lib_dir = ' + usub_lib_dir
print '** RLM_LICENSE = ' + os.environ['RLM_LICENSE']
except:
pass
del files, file, match, os

 

 

3 Replies
Posts: 24
Admin
(@jbrektor)
Member
Joined: 4 years ago

We are happy to help solve this problem. Just send us a message, and we will respond by email.

Also note that you abaqus_v6.env file is unnecessarily complicated. See the following page for more info about what the abqus_v6.env file should look like.

/Jorgen

Reply
Posts: 4
(@aeoskui)
Active Member
Joined: 3 months ago

Dear Jorgen,

There is not any page in the following in your message. Maybe there is a mistake.

Best regards

Abuzar

Reply
Posts: 3990
(@jorgen)
Member
Joined: 4 years ago

Thanks for letting me know of that issue. Here is the correct link:

https://polymerfem.com/polyumod-installation-for-abaqus/

 

Reply
Share: