How to export near field data (dat or txt) in surface format?
Hello,
I am a Feko 2017.1 user. I have a Cartesian surface plot of near field (electric field) (horizontal axis is X, vertical axis is Y, and Z position is fixed). How can I export the data points of this configuration in dat or txt format for post-processing? Please advise.
Thanks in advance.
Answers
-
Hello Pearl,
That feature is not currently available in FEKO 2017 or any of its updates. It has been implemented in FEKO 2018 that will be released around February 2018.
The best we to perform the export is probably to write a Lua script that extracts the values from the near field DataSet and write it to disk.
0 -
Hello JIF,
Thanks a lot for your detailed answer.
Could you please suggest a beginner's reading/tutorial on writing LUA scripts?
An additional, relevant, question: Is it possible to do math operations on Cartesian surface plot?
0 -
Hello Pearl,
Altair Forum User said:Could you please suggest a beginner's reading/tutorial on writing LUA scripts?
The FEKO manual is the best source for FEKO related Lua. I would start with reading '7.1 Scripting basics' and 10.1 + 10.2 in the FEKO manual. I would then suggest that you work through example I-1 (Introduction to application automation) and I-2 (POSTFEKO application automation). For you particular application, you are interested in DataSets in POSTFEKO and thus section 10.2 in the manual is of particular interest.
For general Lua, the web has lots of resources. FEKO ships with some of the common modules such as penlight and it provides many modules for file access and writing that you can use. Depending on what you use to do the post processing (assuming you don't want to do it in POSTFEKO, with Lua directly), you could export the DataSet to a Octave MAT file with very little effort (have a look at ExportMatFile).
Altair Forum User said:An additional, relevant, question: Is it possible to do math operations on Cartesian surface plot?
This is not currently available, but it has been logged already as a feature request.
0 -
Thank you for your help, JIF.
0