Forum

How to call SwiftComp

  1. shao buer

    Hello

    I want to use Python to write script files for pre- and post-processing of Abaqus CAE. What I want to ask is whether the SwiftComp can be called in the Python script file for homogenization and localization? If so, how to call it.

  2. Su Tian

    You can try the following script.

        import subprocess

        subprocess.call(['swiftcomp', input_file_name, '3D', 'H'])

    Make sure that SwiftComp.exe is in your environment variable PATH.