FEKO student edition 14.0 solver

Altair Forum User
Altair Forum User
Altair Employee
edited October 2020 in Community Q&A

I have installed the free software of FEKO student edition 14.0 provided by Altair Store. The error occures I want to start the solver of FEKO, as shown below

 

ERROR 20103 in line 5 of the file @C:\Program Files\Altair\14.0\FEKO\FEKOenvironmentFromSetup.lua:

Non-ASCII character detected! - Undefined behaviour!

(see attachment)

 

Could you tell me how to solve this problem? Thank you.

 

 

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

Tagged:

Answers

  • JIF
    JIF
    Altair Employee
    edited September 2016

    Hello

    FEKO does not currently support non-ASCII characters in the configuration files. From the error message it looks like there is a non-ASCII character in line 5 of your FEKOenvironmentFromSetup.lua file. Could you send the file so that we can have a look at it and propose a solution?

     

    Thanks

    JIF

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited November 2020

    Thank you for your answer.

    Here is the source file of ' FEKOenvironmentFromSetup.lua '. You can open it using the Text.

     

    Thank you

     

     

    Unable to find an attachment - read this blog

  • JIF
    JIF
    Altair Employee
    edited September 2016

    Hello,

     

    I can see what is wrong and I'll help you to correct the problem. I'm quite surprised that CADFEKO managed to start and we will investigate this further. The problem is that somehow the ALTAIR_LICENSE_PATH__SETUP is being set to (what looks like) the contents of your license file, but should either be empty or it should be the path to the licence file. If you have any details regarding how this happened, please let me know. The solution depends on how you have or want to setup the licensing for FEKO.

     

    Option 1 (best option if you only have 1 HyperWorks installation):

    • Remove line 5 form the file completely and thus the path to the license file is not set at all.
    • Place your license file in the default location. This means that you need to place your license file (altair_lic.dat) in %ALTAIR_HOME%\security. After this, you should have a file %ALTAIR_HOME%\security\altair_lic.dat.
    • You should now be able to start CADFEKO and all the other FEKO components without problems.

    Option 2:

    • Change line 5 in FEKOenvironmentFromSetup.lua to so that the value of ALTAIR_LICENSE_PATH__SETUP points to your license file. This means that the path, including the file name should be placed between the square brackets. It would look something like (it is just an example since I don't know where you want to place your license file or what it is named): setEnv([[ALTAIR_LICENSE_PATH__SETUP]], [[C:\Users\Kun Li\Desktop\FEKO\ALM1234.dat]], true);
    • You should now be able to start CADFEKO and all the other FEKO components without problems.

    Let me know if you managed to resolve the problem with one of the listed options.

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited September 2016

    Thank you for your kind answer.

    Based on your comment, I have found where the problem is. When I install the FEKO, the location of the license should be input as the path to place the file like'C:\Program files\Altair\14.0\FEKO\security\altair.dat', but not the contents of license. I have solved this problem and thank you so much. FEKO works well.