I run a conventional FE simulation, then I postprocess the .t16 file and calculate the values for a User Defined Var. After that I want to fill the User Defined Var with the calculated values in order to visualize the results.
I did it "manually" by reading the .t19 (ASCII) and replacing the zeroes of the User Defined Var by the values I want to visualize. It works, but I am sure there are a better way to do this with Python and the PyMentat / PyPost modules.
Actually, I do not want to calculate anything during the simulation, but in an external code/software when the simulation has been completed. After that, I want to fill these "external" results in a 'User Defined Variable'.
The main problem is that I am not familiar with user subroutines...
Actually, I do not want to calculate anything during the simulation, but in an external code/software when the simulation has been completed. After that, I want to fill these "external" results in a 'User Defined Variable'.
The main problem is that I am not familiar with user subroutines...