Search
All discussions
shao buer @ 7:34 am on 17 Dec 2018 — Edited @ 9:54 pm on 03 Nov 2021
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.
Su Tian @ 9:10 am on 17 Dec 2018
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.
shao buer @ on — Edited @ on
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.
Su Tian @ on
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.