Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations KootK on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

a Connection between matlab and abaqus 1

Status
Not open for further replies.

zahedi66

Mechanical
Apr 13, 2015
30
Hello My friends
Firstly I appreciate your attention to read this post,
I am wondering to find a tutorial or example or any help THAT show how I can write a program in Matlab that handle an ABAQUS job.
Actually I want to run a job in ABAQUS that can be controlled within MATLAB program,
For instance consider a deep drawing process that is running, I want to change punch speed when Mises Stresses reached a predefined values at any element,
Thank you in advance for any help
 
Replies continue below

Recommended for you

You're probably going to need to do a user subroutine. There's two approaches you could take:

1) Run MATLAB and Abaqus separately. Use files to communicate between the two. So you'll have the Abaqus user subroutine looking for a file to see if MATLAB has provided new punch speed and your MATLAB program will be waiting for the same from Abaqus.

2) Embed MATLAB into your user subroutine using the MATLAB Engine. This will be cleaner, but tougher to get working. If you run Linux, you'll need to get Abaqus working with gfortran since the ifortran compiler isn't supported by MATLAB on Linux (at least not the last time I tried this).
 
thank you zwtipp05,
you're right and I have wrote a subroutine for my purpose, but I want to just use MATLAB without opening of ABAQUS, for example we can call ABAQUS with commend " system(['abaqus cae ','noGUI','=filename.py'])".
about your second suggestion, I am using Windows 7 but I just want to use Matlab,
if there is any tip or useful example I am eagle to hear,
thank you again
 
There is plenty of information available online about how to drive Abaqus using Matlab (some of it written by me on other forums).

Python may be a better option because the Abaqus pre/post processor and the output file formats work well with Python. So, for instance, you can extract field/history outputs from the ODB or, even, add to the ODB, and a whole lot more. The trade-off is that there is some learning to be done.

*********************************************************
Are you new to this forum? If so, please read these FAQs:

 

thank you IceBreakerSours,
is it possible to post some useful links to follow and read?
 
thank you IceBreakerSours,
and again I appreciate any other help from anybody,
thanks
 
thank you IceBreakerSours,
I have googled before and read all of the links contents but most of them are about "how to model and run a parametric problem with Matlab" and the others are about how we can use Matlab to optimize value of variables"
even though there is a comprehensive example in "but none these info. couldn't help me.
 
 
You want to be able to drive Abaqus using Matlab, correct? If yes, then what is missing in those links? If not, then what is that you are after?

*********************************************************
Are you new to this forum? If so, please read these FAQs:

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor