Python API 22.1

Instructions

  • Download the following files and save them if your working directory:
  • In that folder create a subfolder called "initialM"
  • In "initialM" create another subfolder called "450"
  • In "450" put the following file: beam.key
  • Download and install Ansys LS-DYNA R13.1 SMP Double precision from the Oasys website
  • If you don't have it already, install the following Python modules:
  • Edit the file .env with the following 3 environment variables:
    • DYNARUNEXE = "path to the Ansys LS-DYNA executable you have installed in the step above"
    • PRIMERCON = "path to your PRIMER executable"
    • THISCON = "path to your T/HIS executable"
  • Run the script mainOPT.py