Retrieving python results from aster

Hi all,

I am trying to retrieve python arrays from code_aster inside a container (sif or docker), and cannot achieve it.

I tried with numpy.save, numpy.savetxt, even print inside a text file but in all cases, no file is created.

How to do this ?

Hello,

I believe by python results you mean code_aster simulation results. Why not use asters operators like POST_RELEVE_T to obtain what you want ?

Anirudh

Hi,

no, I need to retrieve numpy arrays.

I use code_aster for some computations. But I use results from code_aster in python operations after.

The problem comes from the fact that I launch aster from the .sif container. So the computation is done in a folder in /tmp.

Just have to specify the full path to save.