Parametric sweep of permittivity

Kalyan Durbhakula
Kalyan Durbhakula Altair Community Member
edited November 2020 in Community Q&A

Hello,

 

I would like to do a parametric sweep of dielectric permittivity from 2 to 500 (no loss tangent) for a dielectric cube. In order to do that, I am using the EDITFEKO to give the required inputs and outputs. I have saved the list of permittivity values in a txt file. I would like to call this txt file and run the EDITFEKO and then save outputs. The below figure shows the piece of code from my EDITFEKO file. Unfortunately, the EDITFEKO is showing an error saying it cannot read the txt file. I also tried creating an XML file but it did not work either. I would really appreciate any help on this problem.

image.png.f4f0d69c0098613b38473cb0be42c8de.png

image.png.5f8d452f7d56a358abc7de692c2860da.png

 

 

Thanks a lot. I have also attached txt file for reference, Alternatively, can we vary the permittivity using for loop? 

 

--Kalyan Durbhakula

<?xml version="1.0" encoding="UTF-8"?>image.png

Unable to find an attachment - read this blog

Tagged:

Answers

  • Mel
    Mel Altair Community Member
    edited August 2018

    Hi Kalyan


    Why not use the paramater sweep plugin from CADFEKO?

    Home tab, Application Macro, Parameter Sweep: Split phase.

  • Kalyan Durbhakula
    Kalyan Durbhakula Altair Community Member
    edited August 2018

    Hi mel,

     

    Thanks for the comment. It worked. I have a question about viewing and exporting results. I would like to export the surface currents and characteristic mode results from all POSTFEKO files into a PDF.  Is there a way to do this in POSTFEKO?

     

    Thanks in advance!

     

    --Kalyan Durbhakula

  • Mel
    Mel Altair Community Member
    edited August 2018

    Hi Kalyan

     

    Try the Automatic Report generation tools on the Reporting tab.

  • Kalyan Durbhakula
    Kalyan Durbhakula Altair Community Member
    edited August 2018

    Hi Mel,

     

    Thanks for the comment. However, I cannot seem to find the automatic report generation tool.

    image.png.34ba56b7e06fe7d1b0a67ccc48d3b6ba.png

    Was this tool recently added to POSTFEKO? I am using 14.0.432 version.

     

    Also, the script editor seems to have a problem with importing some .bof files into POSTFEKO, as shown below. Can you please help me understand what could be the problem here?

    <?xml version="1.0" encoding="UTF-8"?>image.thumb.png.6a13e240703d61a56e9a584740f63bac.png 

    I could not attach the .out files since their file size exceeded the max total size.

     

    Thank you

     

    --Kalyan Durbhakula

  • Mel
    Mel Altair Community Member
    edited August 2018

    Hi Kalayn

     

    I was referring to the Quick Report, try that.

     

    It seems the script stopped execution at iteration 3 of the model.

    Please open the cube_03.cfx in CADFEKO (from the parameter_sweep sub folder) and run that. It may be that you swept a parameter to some extent that caused in invalid model to be created.


     

  • Kalyan Durbhakula
    Kalyan Durbhakula Altair Community Member
    edited August 2018

    Hi Mel,

     

    It worked. I had to mesh the structure finer and that solved my problem. Thanks a lot for your valuable suggestions. I appreciate your help.

     

    --Kalyan Durbhakula