In this tutorial you will learn to:
In order for Abaqus to find the PolyUMod library you need to set the
usub_lib_dir variable in the Abaqus environment file called
abaqus_v6.env. Abaqus searches for this file in 3 locations: the current working directory, the home directory of the computer user, and an Abaqus install directory. More information about the environment file is available in the Abaqus documentation Section 3.3.1.
One a Windows computer you can find your home directory using the
%userprofile% path as shown in the following image.
Note that the default behavior of the PolyUMod installer is to add the necessary commands to the
abaqus_v6.env file in the user’s home directory.
Here is the recommended code for the
# PolyUMod additions
file = 
files = os.listdir(os.getcwd())
match = 0
for file in files:
if file.find('libexplicitU.so') > -1: match = 1
if file.find('libexplicitU-D.so') > -1: match = 1
if file.find('libstandardU.so') > -1: match = 1
if match == 0:
if '2018' in os.environ['ABA_COMMAND']:
usub_lib_dir = '/opt/Veryst/PolyUMod_Abaqus_2018'
elif '2019' in os.environ['ABA_COMMAND']:
usub_lib_dir = '/opt/Veryst/PolyUMod_Abaqus_2019'
elif '2020' in os.environ['ABA_COMMAND']:
usub_lib_dir = '/opt/Veryst/PolyUMod_Abaqus_2020'
print '***Error: Unknown version of Abaqus. PolyUMod not activated.'
usub_lib_dir = os.getcwd()
print '** usub_lib_dir = ' + usub_lib_dir
print '** veryst_LICENSE = ' + os.environ['veryst_LICENSE']
del files, file, match, os
Copy all inp-files from the PolyUMod test cases directory to any temporary directory. On a Windows computer this directory is:
C:\Program Files\Veryst Engineering\PolyUMod\Test_Cases_Abaqus, and on a Linux computer this directory is typically:
Then run the file
test_01_exp.inp in an Abaqus Command window, using the command:
abq2020.bat -int -job test_01_exp
Note that this test case does not use the PolyUMod library, and is simply used to make sure that your Abaqus installation works properly. If the test case does not run to completion then contact Abaqus technical support.
The try to run the file
test_02_exp.inp using the following abaqus command:
abq2020.bat -int -job test_02_exp
This test case is using the PolyUMod library. If this test case runs to completion then the PolyUMod library works properly with Abaqus/Explicit.
Then, as a final test, run the file
test_02_inp.inp using the abaqus command:
abq2020.bat -int -job test_02_imp
This test case is using the PolyUMod library. If this test case runs to completion then the PolyUMod library works properly with Abaqus/Standard.