Optimisation in Editdfeko

Haj Hassan
Haj Hassan Altair Community Member
edited October 2020 in Community Q&A

Hello,

i am writing currently a small script with some for loops in Editfeko, because it is not possible to make array with impressed sources in FEKO.

Why  can't i  see the array in CADfeko? I can see the array and the results in POSTfeko?

And how can i use the optimizer in Editfeko????

Is there any possibility?

 

Thanks in advance.

 

Best regards

M. Haj Hassan

Tagged:

Answers

  • Mel
    Mel Altair Community Member
    edited July 2020

    For an array of impressed sources in CADFEKO, script record the setup of 1 element and then modify the recorded script to use a FOR loop.

     

    Any changes made in EDITFEKO modifies the .pre file which is a file that CADFEKO cannot read back in - CADFEKO only outputs this file.

    So changes made in EDITFEKO can only be viewed in POSTFEKO which reads the .fek file. To quickly see the changes made in EDITFEKO, run PREFEKO. PREFEKO makes the *.fek file which can be viewed in POSTFEKO without actually running the solver.

     

    It is a bit of hack job but some optimisation can be done after changes in EDITFEKO.

    The optimizer uses the labels of e.g. the farfield, voltagesource, nearfield, etc.

     

    For example, the voltage source on a wire (usually written to the .pre file by CADFEKO) appears in EDITFEKO as follows:

    A1: 0 : Horn.feed.Port1 : 0 :  :  : 1 : 0 :  :  :  : 50   ** VoltageSource1

    The label to optimize in CADFEKO is then VoltageSource1 which would have to be manually typed into the Focus source label box in CADFEKO.

    image.png

     

    If there was a far field request, this would be in EDITFEKO:

    FF: 1 : 181 : 1 : 0 : 0 : -180 : 0 : 2 : 0 :  :  : 0   ** FarField1
    and the label would be FarField1 or you can use any of your liking.

     

  • Haj Hassan
    Haj Hassan Altair Community Member
    edited July 2020

    thank you very much this is very helpful