LightForm-group / KWN-deformation

KWN model with external deformation considered via the amount of excess vacancies
MIT License
7 stars 3 forks source link

fpm and abaqus #44

Open douglowe opened 10 months ago

douglowe commented 10 months ago

How to compile the model for use in abaqus?

Abaqus version 2019

douglowe commented 10 months ago

Look to create .so library using fpm - and either create .INC file, or write fortran routine to wrap the fpm created library.

douglowe commented 9 months ago

fpm doesn't generate shared libraries yet (see https://github.com/fortran-lang/fpm/discussions/655 for details).

Shared libraries can be created from the fpm generated libraries using the same fortran compiler though. Instructions on how to do this have been started at: https://github.com/LightForm-group/KWN-deformation/blob/abaqus_libraries/README_abaqus_libraries.md

To do:

  1. try loading the libraries in aqabus
  2. look at creating a unified subroutine interface for the KWN program (as an alternative to the main program interface)