FEG’s Personal Journal

Running Abaqus in Matlab environment

Posted in Matlab, abaqus by FEG on August 8, 2007

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-

3 Responses

Subscribe to comments with RSS.

  1. Guru said, on November 3, 2008 at 02:51

    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

  2. tvm said, on April 1, 2009 at 23:08

    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

  3. Anonymous said, on April 2, 2009 at 04:35

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


Leave a Reply