×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

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!
  • Students Click Here

*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

Jobs

Using Matlab in Abaqus

Using Matlab in Abaqus

Using Matlab in Abaqus

(OP)
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

Ok,

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

IN A NUTSHELL:

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

(OP)
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!


Resources