🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

How to write a Lua script in Postfeko

User: "yun tianyu"
Altair Community Member
Updated by yun tianyu

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 D:\Ori5 file so containing j2_2.5GHz_150_0_ in order and exporting its far-field ffe file to the D:\Ori6 file, with the name of the ffe file as the name of the original bof file. Can you help me?

Find more posts tagged with

Sort by:
1 - 1 of 11
    User: "Torben Voigt"
    Altair Employee
    Updated by Torben Voigt

    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,
    Torben