I wrote a python script to create and submit a job in Abaqus. I now want to make it iterative. I want to tweak one parameter and see it's effects on the result using MATLAB. So the steps I want to follow are these:
Call python script from MATLAB and calculate a quantity
Read the .odb file, tweak the parameter
Call python script from MATLAB and calculate the new value of the quantity
Go to step 1
The problem I am facing is that I don't know how to call Abaqus solver from MATLAB without opening Abaqus. Is it even possible to do that? Currently, when I call Abaqus using the following command, it opens Abaqus GUI and does the analysis, and MATLAB waits for me to close Abaqus to go to the next line of code.
system(['abaqus cae ',mo,'=filename.py']);
Is it possible to do everything automatically? I know it is possible for COMSOL but I am not so sure about Abaqus.
Thanks
Hello Arjav Vashi,
Please replace the following code:
system(['abaqus cae ',mo,'=filename.py']);
with the following code:
system(['abaqus cae nogui ',mo,'=filename.py']);
Let me know if this works.
Best regards.