1
$\begingroup$

Is it possible to call an external linear solver from Abaqus and/or Ansys?

This solver (which is supplied by me) would get the sparse matrix A and the right hand side vector b as inputs, and would return the solution x (with A x = b) to the program. Ideally, Abaqus/Ansys would also inform the solver about the desired algorithm (CG, BiCGstab, GMREs, ...) and preconditioner.

$\endgroup$
3
$\begingroup$

Since Ansys 14.5 you can use ACT (Application Customization Toolkit) to connect external solvers and retrieve results.

$\endgroup$
2
$\begingroup$

As far as I know, there is no way to replace the ABAQUS solver with a user-written one.

However, you can use the *MATRIX OUTPUT option to write the stiffness (or mass or damping) matrices or load vectors to a text file. Then you can read these text files and call your solver.

$\endgroup$
2
  • $\begingroup$ I see. Is it possible to read the result vector from a file and use it in postprocessing? $\endgroup$ – Adrian Willenbücher May 22 '14 at 4:47
  • 1
    $\begingroup$ Yes, there is an ABAQUS API (C++ and Python) that will let you write result data to the output database (ODB) file. You can then open that file in ABAQUS/CAE to display those results. $\endgroup$ – Bill Greene May 22 '14 at 11:34
0
$\begingroup$

Abaqus and ANSYS are "solvers" actually. Since they are closed source, and no modification is possible, so it would be better to shift your focus to open source programs e.g. Calculix for this purpose where you can modify the code to use your own solver, with very small effort.

Calculix uses ABAQUS's input file format, so you can use your input files (originally written for Abaqus), with Calculix.

Currently Calculix uses SPOOLES for solving sparse linear equations systems. You can easily replace that by your own solver.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.