Feko Student Edition 2018 - I can't simulate my project

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

Hello!

I have the newest edition Feko Studen Edition. I would like to simulation my project but I can't because of ERROR 20103 . Please help me, what I have to do to make it work correctly? Below I attach screenshoot with Error.

 

Thanks for help in advance!

 

image.png.85d95882456c06f2542f24ed578284f4.png

Tagged:

Answers

  • JIF
    JIF
    Altair Employee
    edited May 2018

    Hello Pawel,

     

    This is probably the same problem as described in:

    The problem most likely that %APPDATA% points to a directory that uses a unicode (non-ASCII) character that we don't currently support. If you don't manage to fix the problem with the details on the forum topic mentioned, please attach the FEKOenvrionment.lua file so that we can help you (the path to the file is shown in your screenshot).

     

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

    Hi JIF

    I don't think that this is the same error because in my screenshoot is 66 line not 5. The erros can be related but not necessarily so I attach indicated by Feko file.

    My license file is in security folder.

    Unable to find an attachment - read this blog

  • JIF
    JIF
    Altair Employee
    edited May 2018

    Hello Pawel

     

    Sorry, I requested FEKOenvironment.lua, but that was a mistake on my side. I should have asked for FEKOenvironmentFromSetup.lua instead (located in the same folder).

    Why?

     

    Line 66 is the following:

     setEnv('FEKO_USER_HOME', (getEnv('FEKO_USER_HOME__SETUP') or [[%APPDATA%\feko\%FEKO_VERSION%]]), OVERWRITE)

    As you can see, the line is trying to set the value of FEKO_USER_HOME (where configuration settings and logs are stored) by either using the value of FEKO_USER_HOME__SETUP (set in FEKOenvironmentFromSetup.lua) or using the value of %APPDATA%. Thus, I need to see FEKOenvironmentFromSetup.lua to see if something is not correctly.

     

    The alternative could be to change the line in FEKOenvironmentFromSetup.lua that sets FEKO_USER_HOME__SETUP to point to a folder that definitely does not contain unicode characters. Below is an example line that you can use instead of the one that you currently have in FEKOenvironmentFromSetup.lua (you may have to create the C:\temp folder).

     setEnv([[FEKO_USER_HOME__SETUP]], [[c:\temp\feko\2018.0_]]..getEnv([[FEKO_INSTALLPATH_HASH__SETUP]]), true);

     

    Let me know if this solves your problem. I hope it helps.

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited May 2018

    Here you are , this is the second file which you need.

    setEnv([[FEKO_USER_HOME__SETUP]], [[c:\temp\feko\2018.0_]]..getEnv([[FEKO_INSTALLPATH_HASH__SETUP]]), true);

    this line is already in the attached file below

     

     

    Unable to find an attachment - read this blog

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited May 2018

    What is more I have no permission to change anything in the file, why ? 

  • JIF
    JIF
    Altair Employee
    edited May 2018

    Thanks for the file.

    Please change the file by replacing (line 2)

     setEnv([[FEKO_USER_HOME__SETUP]], [[%APPDATA%\feko\2018.0_]]..getEnv([[FEKO_INSTALLPATH_HASH__SETUP]]), true);

    with

      setEnv([[FEKO_USER_HOME__SETUP]], [[c:\temp\feko\2018.0_]]..getEnv([[FEKO_INSTALLPATH_HASH__SETUP]]), true); 

     

    This will avoid the use of %APPDATA% that I suspect has a non-ASCII character in it (probably your user name on the PC includes a non-ASCII character).

     

    What is more I have no permission to change anything in the file, why ? 

    You have installed FEKO into the 'Program Files' folder (nothing wrong with that and it is the default) and Windows (not FEKO) requires admin rights to edit files in the 'Program Files' folder. I think that is what you are referring to when you say that you don't have permission to change the file.

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited May 2018

    I solved problem with permission and changed the second line. My feko works! Thanks JIF!

    I have next error this time with waveguide port. I have to ask for help again. I attache screeenshoot.

     

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

     

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited May 2018

    Ok all works, I forgot add waveguide source. 

    Thank you JIF for help!!

  • JIF
    JIF
    Altair Employee
    edited May 2018

    I'm glad I could help. ;-)