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!

Yet another question on MATLAB and ABAQUS

Status
Not open for further replies.

SomethingPunny

Aerospace
Joined
May 17, 2012
Messages
2
Location
US
I've sifted through quite a few threads on interfacing MATLAB with ABAQUS and still haven't managed to find a useable answer. I'm an absolute beginner with ABAQUS, so bear with me.

Problem: I've defined the geometry of a problem in some arrays in MATLAB (an array of nodal coordinates and an array of element connectivity). Now I need to export this information to ABAQUS (from what I've gathered, in the form of an *.imp file). Everything I've read is either firmly in the "Bah! It can't be done" camp or something along the lines of "just use fprintf".

Bottom Line: So assuming fprintf will get me somewhere, how do I get these two arrays into a file format that ABAQUS can actually use.

Thanks

SomethingPunny
 
You should familiarize yourself with the format of the Abaqus INP file, in particular the *Node and *Element keywords. Sorry to sound like all the other threads but once you have the correct syntax:(something like)
"
*Node
Node Label, X Coord, Y Coord, Z Coord
....
*Element,Type=CPE4R
Element Label, Node Label 1, Node Label 2, Node Label 3, Node Label 4
....
"
generating the INP file is simply a matter of using Matlab print statements to write out your nodal co-ordinates and element connectivity as required.
 
In the same line;

try to create a really simple model in CAE. (yes first you have to familiarize with the CAE, and design your model as basic user)

then solve it
Abaqus will create an inp file, then you can check it out ad understand more about the code. (Actually I also have to do that work : ))

then force matlab to writte something like that.

good luck.
n3l3
 
Thanks! You've both been very helpful.

SomethingPunny
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top