Errors in Compose to generate a new .nas file for OptiStruct

AGirlHasNoName
AGirlHasNoName Altair Community Member
edited September 2022 in Community Q&A

Hello,

I am learning to do the thermal analysis of a microstrip patch antenna following the instructions given in the tutorial: https://www.youtube.com/watch?v=HL3aKj5qNUE

The thermal analysis workflow requires a Compose Script to generate a new .nas file suitable for OptiStruct. However, I am encountering the following error while running the Compose script: OSError: could not open file - <pathname>\update.py.

The current folder doesn't have the update.py file. Is it required to download the file explicitly and place it in the current folder? If so, where can I download this file from?

Thanks in advance for any help/suggestion.

 

 

 

Best Answer

Answers

  • Ben Buchanan
    Ben Buchanan
    Altair Employee
    edited September 2022

    Yes.  You will need to download update.py. Where is a good question.  Where did you get the map.oml file?

  • AGirlHasNoName
    AGirlHasNoName Altair Community Member
    edited September 2022

    Yes.  You will need to download update.py. Where is a good question.  Where did you get the map.oml file?

    Hi Ben,

    Thank you so much for the response.

     

    You will need to download update.py.

    Where can I download the update.py file from?

    Where did you get the map.oml file?

    I didn't find it anywhere. So, I wrote the script that was shown in the tutorial.

     

     

  • Ben Buchanan
    Ben Buchanan
    Altair Employee
    edited September 2022

    Hi Ben,

    Thank you so much for the response.

     

    You will need to download update.py.

    Where can I download the update.py file from?

    Where did you get the map.oml file?

    I didn't find it anywhere. So, I wrote the script that was shown in the tutorial.

     

     

    I was not able to find them either.  I will try some other avenues and see what I can find.

    Do you have the Patch_antenna.epl, .mpa and .nas files it mentions?  If so, where did you get those?

  • AGirlHasNoName
    AGirlHasNoName Altair Community Member
    edited September 2022

    I was not able to find them either.  I will try some other avenues and see what I can find.

    Do you have the Patch_antenna.epl, .mpa and .nas files it mentions?  If so, where did you get those?

    Yes, I have the .epl, .map, and .nas files. I created them on my own for the antenna I am using.

    Please let me know if you have any information from where I can download the update.py file.

    Thanks.

  • Ben Buchanan
    Ben Buchanan
    Altair Employee
    edited September 2022

    Yes, I have the .epl, .map, and .nas files. I created them on my own for the antenna I am using.

    Please let me know if you have any information from where I can download the update.py file.

    Thanks.

    Gotcha.  I have some feelers out. Let's see what I hear back tomorrow.

  • CJ_Reddy
    CJ_Reddy
    Altair Employee
    edited September 2022

    Here is a tutorial and the update.py

  • CJ_Reddy
    CJ_Reddy
    Altair Employee
    edited September 2022 Answer ✓

    All project files can be downloaded from: https://ftam1.altair.com/message/N5IkOf2ZClt9t7VFOiIYMC

  • AGirlHasNoName
    AGirlHasNoName Altair Community Member
    edited September 2022

    Here is a tutorial and the update.py

    Thank you so much Dr. Reddy. This is incredibly helpful!!

     

    -Best Regards,

    Bidisha.

  • CJ_Reddy
    CJ_Reddy
    Altair Employee
    edited September 2022

    Great !! All the best !!