Contact US

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Using Matlab in Abaqus

Using Matlab in Abaqus

Using Matlab in Abaqus

Hello every one!

I am new to both Abaqus and Matlab and i would appreciate if some one can help me a bit in interfacing Matlab with Abaqus. I am doing a buckling analysis of a stiffened panel in the Abaqus and i want to optimize the spacing between the stiffeners using matlab. Abaqus gives an input file .inp but i dont know how to use it. I would be glad if some one can tell me about an example or a clear guide to proceed. (considering i am a newbee). Any literature or link that explains the process wd be helpful indeed.

Thanks in advance

RE: Using Matlab in Abaqus


I did something similiar recently.  Took a good effort to get the thing running for different geometry.  Depends on what you need exactly.


I would advise you to (assuming you are using CAE) redo everything in CAE and then take a look at the .rpy file (should be in the working directory).  These are all the commands you made.

Have MATLAB write this data as a .py (PYTHON) file.  Suggest using function 'strcat' to save this text to a variable.  Use 'fprintf' to save file.  You can update numbers as you wish in here (remember to use 'num2str' when converting, well, numbers to strings).  Execute from matlab using 'dos'.

After the job has run (hopefully that was in the .rpy file), open the .msg file using MATLAB (I use the 'getl' function).  Then use 'strfind' to find the line where the eigenvalues are.  Use 'sscan' to translate this string into vectorized doubles.

Analyze the eigenvalues, and iterate.  Ta da!

Very overview, just ask if you have more questions.

RE: Using Matlab in Abaqus

Hello Newmike!

Thanks alot for the response. I shall look in to it and would come back if i have questions.


Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members! Already a Member? Login


Low-Volume Rapid Injection Molding With 3D Printed Molds
Learn methods and guidelines for using stereolithography (SLA) 3D printed molds in the injection molding process to lower costs and lead time. Discover how this hybrid manufacturing process enables on-demand mold fabrication to quickly produce small batches of thermoplastic parts. Download Now
Design for Additive Manufacturing (DfAM)
Examine how the principles of DfAM upend many of the long-standing rules around manufacturability - allowing engineers and designers to place a part’s function at the center of their design considerations. Download Now
Taking Control of Engineering Documents
This ebook covers tips for creating and managing workflows, security best practices and protection of intellectual property, Cloud vs. on-premise software solutions, CAD file management, compliance, and more. Download Now

Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close