Personal tools

Abaqus

Integrating Abaqus as a user-defined solver

In this example, Abaqus is used as a user-defined solver to determine material parameters by adapting an output curve to a given test curve.

The LS-OPT commands specifying Abaqus as solver are

 solver own 'opti-1'
  solver command "abqstart.sh"
  solver input file "boxopti.inp"

 boxopti.inp is the Abaqus input file, abqstart.sh is a script that executes Abaqus.

The result extraction is executed using a Python program that extracts histories from the Abaqus output. The Python program is called from the solver script and exports a response history to the file abqdispres.dat.

With the following command for the user-defined history, the curve is imported to LS-OPT.

 cp abqdispres.dat LsoptHistory

 

gui history panel

 

This curve is compared with a given test curve dyn-1.disp-5396.dat by computing a Mean Squared Error composite.

 

Files
Abaqus input file   208.8 kB  
boxopti.inp
Abaqus solver command file   1 kB  
abqstart.sh
Python program to extract result   3.5 kB  
getVeloNode.py
Test curve   1.9 kB  
dyn-1.disp-5396.dat