Extract B at the centroid of mesh elements to a txt file (transient 2D simulations)
Hi all,
is it possible to modify the macro ExportAreaAverageValue.PFM to export the data to a .txt file instead of a .xls file?
The reason why I ask is that the macro presented in this post:
is very slow in creating an Excel file for each time step of the solution (the execution time of the macro is comparable to the solving time of the 2D transient simulation itself).
Thank you in advance for your help
Marco
Answers
-
Hi Marco,
Yes it is possible, find below a version where the data are stored in a text file and a check box allows to create or not the Excel file.
Best regards.
Cyril Favre
1 -
Cyril Favre_21925 said:
Hi Marco,
Yes it is possible, find below a version where the data are stored in a text file and a check box allows to create or not the Excel file.
Best regards.
Cyril Favre
Dear Cyril,
thank you very much for your help! The macro works very well.
Best regards,
Marco
0