How to export near field data (dat or txt) in surface format?
Find more posts tagged with
Hello Pearl,
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).
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.
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.