Installation

In order to install (or rather setup) the library, the following steps are required. Before attempting to do so, please verify that your system meets all the Prerequisites.

  • Download the repository using git: git clone --recurse-submodules https://github.com/KnutAM/AbaqusRolloverSimulation.git

  • From the top level in the repository, run scripts_py/setup.py: python scripts_py/setup.py. This will, amongst others, create abaqus_v6.env, which you might modify in the next step.

  • To make the plugins work, Abaqus needs to find them. Unfortunately, multiple locations are not supported. Therefore, you have two options:

    1. Add the following to abaqus_v6.env: plugin_central_dir = `<path_to_rollover_directory>/plugins' This can only be done for one folder, therefore, make sure you don’t require this for other plugins.

    2. Alternatively, copy the plugins/rollover_plugin.py to %HOME%/abaqus_plugins (Windows) or ~/abaqus_plugins (Linux). This approach has the downside that any fetched updates from the online repositories containing changes to plugins/rollover_plugin.py will require manually repeating this step.

  • Copy abaqus_v6.env to %HOME% or ~. If you already have an environment file in your home directory, you need to manually merge the changes (most likely you can just append the contents of this new file to the old.

Prerequisites

The following programs must be installed:

  • Abaqus, setup to compile and link user subroutines

  • Python, version 2.7 or later

To verify that Abaqus works with user subroutines, run the following command: abaqus verify -user_std. Note, on Windows running user subroutines from within CAE might be a problem even if the above command works. In order to setup abaqus to work on Windows, you typically have to add something like the following to the abaqus.bat file:

@call ifortvars.bat intel64 vs2013
@call "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\amd64\vcvars64.bat" intel64 vs2013

But when opening a new Abaqus CAE session, abaqus.bat might not be called. If you have problems running from within CAE, you could add those lines to the file launcher.bat (used when opening Abaqus CAE) as well. To locate this file, right-click on the Abaqus CAE start menu item, and choose “Open file location”. This will likely take you to a shortcut. Repeat for that shortcut, and you should come to the launcher.bat. Add the above code block to this file, before the call to ABQLauncher.exe.