22 Mar
2018
22 Mar
'18
3:23 p.m.
Hi Ben,
I hopefully have an answer to your first question. I did such thing recently in the example [1] - the approach therein was adviced to me by Robert. It relies on passing a mutable variable (e.g. list) to your postprocessing function (stress_strain
in the mentioned example) from the outer scope. The result at each time step is appended to the list and may be plotted/saved/whatever after the main loop of the script is finished.
Jan
[1] http://sfepy.org/doc-devel/examples/large_deformation/hyperelastic_tl_up_int...