How to generate a combined data for near and far field for multiple configuration
Hi,
I have 16 sets of configuration in CADFEKO that generate near and far field in each set of configuration. Can I know how to generate a continuous result for near and far field in POSTFEKO? The result that I want is not in the form of Out file display but in the form of Cartesian graph. It is because results that are able to be plotted in the Cartesian graph can exported to clipboard as well. If there is a need to use parameter sweep in this case, can anyone help me on how to link parameter sweep with the multiple near and far field? The snapshot of the activity done in the CADFEKO and POSTFEKO will be attached as well.
Hope to hear from you soon.
Thank you.
<?xml version="1.0" encoding="UTF-8"?>
Each set of configuration has different scattered angle of near and far field.
<?xml version="1.0" encoding="UTF-8"?>
Image of POSTFEKO.
Answers
-
Please provide details on how the plane wave, far field and near field varies between configurations?
0 -
Dear Mel,
Sorry for late reply. I will write down my question properly and attach in this forum so that you can understand the questions.
Thank you for your help.
Regards,
Hamsalekha
0 -
Thanks for the clarification,
One more question, does the near/far field request have a fixed increment between points?
0 -
Dear Mel,
There is no increment between points since the start and end theta and phi are fixed with the same values. The phi value of scattered near and far field are the same throughout the 16 configuration in one CADFEKO window. However, for different value of phi, I open another CADFEKO to generate the result. (There are 16 different values of phi to be generated based on Gaussian quadrature). For the plane wave, the increment of theta is based on Gaussian Quadrature rule.
I have another question. Since there are many folders of CADFEKO (as shown in figure above), how to run all the POSTFEKO folders continuously without operating one by one manually? Do we need to prepare any batch file? How to prepare it in the POSTFEKO?
Thank you.
Regards,
Hamsalekha
0 -
There are some options:
1.
Use application automation in POSTFEKO to postprocess/plot all the data from all the results files. This means that you would have to learn to write an automation script. The User Manual and example guide have more info.
2.
Create one CADFEKO model with all 16 files’ angles. This would mean 16x16=256 configurations.
You don’t have to create each configuration one by one. Just enable script recording, create a few configurations, and then modify the recorded script to use e.g a FOR loop over all the angles. The angles could be read from file. Lua resources are freely available on the web.
3. Modify your existing CADFEKO model files to output the fields to ASCII file – see Advanced tab of far fields and near fields. You will have to rerun all the models, but it should be quick if the *.str files are available. There will be multiple *.ffe files (Far fields) and *.efe/*.hfe files (near fields) corresponding to the configuration numbers. You will need to append all the files into a single *.ffe/*.hfe/*.efe file. This could be done with a script. Then use the Import function of POSTFEKO to import the combined data file.
0 -
Dear Mel,
Thanks for the suggestion. Will try your options and let you know. Really appreciate your help.
Thank you.
Regards,
Hamsalekha
0 -
Dear Mel,
I face a problem on generating the lua code in the CADFEKO. There are two sets of code that I need to generate for 16x16 loop. For the first set, when I set the plane wave theta and phi value with 16x16 loop, it works. However, for the second set, the code is exactly same as the first set but the plane wave phi is set as zero. The code is successfully generated in the CADFEKO. However, an error appear in the POSTFEKO.
The frequency is set as global frequency in the CADFEKO.Only a single frequency is used. However, this error appear. What is the modification that I need to do to make the POSTFEKO run successfully for the second set. As mentioned above, the first set of LUA code works.
I will attach two sets of LUA code (CADFEKO script file) in the text file so that you can take a look on it.
Really appreciate your help. Hope to hear from you soon.
ps: Both set of CADFEKO LUA script are running perfectly on CADFEKO. The first set works well on POSTFEKO but the second set shows error as shown in figure above.
Thank you.
Regards,
Hamsalekha
0 -
The student edition is limited as per the error message.
Each configuration, although you set a single frequency, will count as a frequency.
Either then split the model into two separate models, or you would have to get access to a full (unlimited) Feko version somewhere. Perhaps your University (lecturer) could provide.
0 -
Dear Mel,
Thank you for the information.
Really appreciate your assistance. It was helpful.
Thank you.
Regards,
Hamsalekha
0