x
Our website uses cookies. By using the website you agree ot its use. More information can be found in our privacy policy.

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.