FEG’s Personal Journal

August 8, 2007

Running Abaqus in Matlab environment

Filed under: Matlab, abaqus — FEG @ 22:29

In some cases, we need to perform a parametric study: how certain parameters affect the stress/strain/displacement at certain point or certain region in a model, or doing certain structural optimization. For such a circumstance, combining Abaqus with an additional programming language , which has an optimization capability would be unavoidable. Following shows you a snip how to perform the analysis repeatedly in Matlab.

for i = 1 : 10
istatus = dos('abq661 job=filename interactive'); % Run Abaqus,
if ~(istatus) exit; end
% Call a function to parse the necessary outcome.
% Call an optimization algorithm. See. help optim
% Call a function to modify the Abaqus input file
end

FeG-

4 Comments »

  1. Hello
    This is a nice blog with useful information to Abaqus. But is the blog still active? I find no newer posts.

    Regards
    Guru
    Visit my blog For Abaqus Answers: http://www.abaqusguru.blogspot.com

    Comment by Guru — November 3, 2008 @ 02:51

  2. Hi

    I have a script setup to run an abaqus model from matlab using the dos(‘abaqus job=input’) command, I then have another script which analyses the .dat file produced by the model. I’m having a problem initializing this script, basically its starting too early, (i.e. before the .dat file is created) is there a way to check the status of abaqus simulation from matlab and thus delay my second script starting until the abaqus model has been created??

    Thanks

    tv12

    Comment by tvm — April 1, 2009 @ 23:08

  3. Yeah there is a way but could you please explain show how your script which handles the odb is?

    Comment by Anonymous — April 2, 2009 @ 04:35

  4. use a pause(10) in matlab. it will help

    Comment by Siddharth — October 7, 2009 @ 02:07


RSS feed for comments on this post. TrackBack URI

Leave a comment

Blog at WordPress.com.