ylikx / forpy

Forpy - use Python from Fortran

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Is there any way to call ABAQUS Python in ABAQUS UMAT?

Fengyixin-research opened this issue · comments

I'm doing multiscale computation, so I need to call microscale ABAQUS Python in ABAQUS UMAT. And UMAT is usually written in Fortran, however, ABAQUS Python is a modified Python which could not be regarded as normal Python interpretor, the standard calling might not work well.
Is there any way to fix this problem?

Interesting question, unfortunately I am not familiar with ABAQUS. Maybe someone with knowledge of ABAQUS internals can help?

If you have a cpython distribution in an unusual location, you would need to locate libpythonX.Y.so to link against it.
Probably you would also have to set the PYTHONHOME environment variable to the path to the Python distribution.