16 lines
435 B
Python
16 lines
435 B
Python
|
# Import Neccesary Abaqus Modules
|
||
|
from abaqusConstants import *
|
||
|
import sys
|
||
|
import os
|
||
|
import subprocess
|
||
|
#
|
||
|
resFile=sys.argv[-1]
|
||
|
paramFile=sys.argv[-2]
|
||
|
jobName=paramFile.encode("hex")
|
||
|
# Run Preprocessor
|
||
|
os.system("abaqus cae noGUI=OptB.py -- "+paramFile)
|
||
|
# Run Job
|
||
|
os.system('abaqus j='+jobName+' cpus=6 inter user=ALE20 mp_mode=mpi')
|
||
|
# Run Postprocessor
|
||
|
os.system('abaqus python OptPostB1.py -- '+jobName+' '+resFile)
|