How to write a Lua script in Postfeko
yun tianyu
Altair Community Member
I want to write a Lua script in Postfeko for the purpose of exporting a far-field ffe file by opening the bof files in the \Ori5 file so containing j2_2.5GHz_150_0_ in order and exporting its far-field ffe file to the \Ori6 file, with the name of the ffe file as the name of the original bof file. Can you help me?
0
Answers
-
Hi @yun tianyu ,
The attached script may help you. In export_ffe.lua you just need to edit line 3 (the location of the desired .bof file). It will export the .ffe. I found this solution in the Feko Help: file:///C:/Program%20Files/Altair/2023.1/help/feko/html/topics/feko/user_guide/appendix/api_postfeko_auto_generated/object/farfielddata.htm
Hope this helps!
Best regards,
Torben0