Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Transfer results from Abaqus to Matlab

Status
Not open for further replies.

GPapazafeiropoulos

Geotechnical
Aug 19, 2010
26
GR
Dear all,

A new submission has been made which aims to provide a link between Abaqus and Matlab. The submission has the form of a new toolbox (a zip file containing Matlab code, Abaqus code, and the relevant applications and examples).

It occurs very often, that researchers have to resort to techniques and/or algorithms that need Abaqus to be linked to Matlab. The first is a commercial finite element software for performing finite element analyses of various types. In some cases, the results of an Abaqus analysis need to be post-processed in some way. The first step to achieve this is to make the various output data easy to manipulate in some way. On the other hand, Matlab programming language is usually used for various tasks, as it is a high level programming language, enabling the user to easily handle the various data involved. Therefore, a link has to be created between Abaqus and Matlab, to easily transfer the results from the former to the latter for further processing.

It is well known that Abaqus can run in two ways: either by opening Abaqus/CAE and sub-mit a job in the Job module, or by opening Abaqus/Command and running the analysis by specifying an input file containing the necessary options for the analysis to be conducted. Apartr from these, there is also the possibility of running an Abaqus analysis within Matlab, without opening Abaqus/CAE or even Abaqus/Command. This is demonstrated in the various verification analyses included within the Abaqus2Matlab package.

Although Abaqus uses user subroutines written in Fortran programming language and Python for various tasks, until today it is not configured to interface with Matlab in some way. Abaqus2Matlab is a Matlab toolbox, which can be used to retrieve results from an Abaqus analysis, with a very small modification of the input file. The modification necessary for Abaqus to produce the results requested can be seen in the manuals of the functions accompanying this toolbox.

Abaqus2Matlab is a program for the extraction of Abaqus analysis results to Matlab. It is written in MATLAB programming language and is available as source code distributed under a BSD-style license (see License.txt inside the package). This toolbox aims to solve the aforementioned issues, and to provide a linking between Abaqus and Matlab, which will enable the two different softwares to cooperate, enabling thus Abaqus users to effectively postprocess Abaqus results.

INSTRUCTIONS FOR USE: After downloading the package, the files have to be extracted. After this, open the file named "Documentation.m" in Matlab and run it (press F5). Then, type "web('Documentation.html')" in the Matlab command window (then enter) to view the documentation of Abaqus2Matlab.

The author of this package is open to any recommendations, observations, bug reports, comments (positive or negative), which will be used as a feedback to improve the toolbox in future versions.

The toolbox is available for download at ResearchGate: , and File Exchange of Matlab Central: .

Enjoy and rate!
 
Replies continue below

Recommended for you

Looks like you've put a lot of work into this. I'm curious why you chose to extract data from the .fil files rather than from the .odb using Python and then saving it in a format easily read by MATLAB? I've found that for large amounts of output, the .fil takes a LONG time to write out to the point that 90% of the analysis time is writing output rather than performing calculations.
 
zwtipp05, the option you propose is another alternative, indeed. However in case one is not acquainted with Python, or cannot use it for various reasons, or is a beginner in Python (but much more familiar with Matlab), this toolbox offers another possibility to extract results from Abaqus to Matlab.
I have never been confronted with a case such that the .fil file takes a lot time to be written. I suppose that extremely large models will lead to increased time required for obtaining the results even from the odb using Python. Apart from these, the Abaqus2Matlab toolbox can be further optimized to minimize the computational effort associated with such cases. Anyway, could you give me an example?
 
You mean that in future versions of Abaqus there will be no option for writing output in such files?
 
I should be more careful: I do not know if/how/when Simulia plans on phasing them out. However, I understand that those files are NOT supported anymore (I was told by a developer and modelers elsewhere have corroborated this to me in person); I have never seen a Simulia document that says so explicitly. So, there is still a possibility that I may be wrong but I won't bet on that.

*********************************************************
Are you new to this forum? If so, please read these FAQs:

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top