Automated process to record results from POSTFEKO based on a specified time signal
Based on results from CADFEKO, I want to specify a new time signal and obtain certain results based on that new time signal. For example, I want to be able to obtain, based on this new time signal, the electric field magnitude as a function of angle(s) and time. I know how to do this by using the GUI associated with POSTFEKO. However, I want to be able to do this in an automated way by using a script that I can call to run from, e.g., MATLAB, and I want the results to be automatically recorded to a .dat file or multiple .dat files (instead of .dat files, .txt files or something equivalent are also okay). To be clear, this would look something like the following:
(1) Results are generated by using CADFEKO.
(2) Based on a specified time signal, the results from (1) are used to generate, as a function of time and angle(s), the electric field.
(3) The electric field values from (2), as well as the independent variable values they depend on (or at least a subset of those values) are then recorded to a .dat file or multiple .dat files.
I know about Lua scripting, but I don't know if what I want to do can be done with that. If it can be done with Lua scripting, I don't know how to do it. Is there anyone who knows if what I want to do is possible? If it is possible, can you please provide insight on how I may do this and/or direct me to any resources that will help me with figuring out how to do this? Any help would be much appreciated.