Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

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

Using Matlab in Abaqus

Status
Not open for further replies.

aeroinspace

Aerospace
Joined
Jun 3, 2008
Messages
6
Location
PK
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
 
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.
 
Hello Newmike!

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

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top