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
Â
Â