Notifications
Clear all

Abaqus ERROR- User subroutine umat is missing  


giannicetraro
Posts: 1
Topic starter
(@giannicetraro)
New Member
Joined: 1 month 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

 

 

1 Reply
jbRektor
Posts: 12
Admin
(@jbrektor)
Member
Joined: 1 year 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
Share: