Hi all,
I would like to modify the macro "ExportAreaAverageValue" provided with FLUX 2D as follows:
1) The original macro exports in an Excel file some selected quantities (see the attached file). This is done for the current step of a transient simulation.
2) What I would like to do now is to automatize the process for a certain number of steps. Imagine that I have a transient simulation with 100 steps: I would like to automatically create an Excel file for all the steps (getting then 100 different Excel files, one per each step).
I tried to modify the original macro by myself, but I always get an error like "Failed convert object: class cast error" which involves a list of messages related to some errors in the Java environment I guess.
The topic was already discussed in the following question: How to extract the magnitude of the magnetic flux density at the centroid of each element of the 2D mesh - Flux - Altair Products - Altair Community.
I would like to ask for the kind support of the Altair staff as well as some advanced/expert users.
Thank you very much in advance for all the help!
Marco