Remeshing STL file on PREFEKO

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

Hi all,

I've STL file of a structure. I uploaded it to PREFEKO and i run the program and i got an error because of the meshing.  Is there any way to remesh/create a finer mesh of the STL file in PREFEKO? 

I need to use PREFEKO, not the CADFEKO to get an automated process. I've attached my .pre file for clarification.      Thanks in advance.

Unable to find an attachment - read this blog

Tagged:

Answers

  • JIF
    JIF
    Altair Employee
    edited April 2018

    Hello Khadimul,

     

    I uploaded it to PREFEKO and i run the program and i got an error because of the meshing.

    What was the error? Elements too large?

     

    The element sizes are specified at the IP card and it looks like you set it to 3.7. It also looks like you are using a scaling factor (SF card) and all dimensions are in microns (scale factor = 1e-6).

     

    Is there any way to remesh/create a finer mesh of the STL file in PREFEKO? 

    The PREFEKO language also supports the RM card if you really need to remesh some of the face labels, but since you are importing everything from one file, the IP card should do what you want.

     

    I need to use PREFEKO, not the CADFEKO to get an automated process.

    Note that CADFEKO also supports automation via scripting. It should be very easy to do in a script what you can do manually in CADFEKO. You can even record the steps (macro recording) and then just modify the script after the recording as you need.

     

    I hope this helps. If not, please add more details inculding the STL file so that I can take a look.

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited April 2018

    Hi JIF,

    Thanks a lot for your response. By correcting IP and SF, now the program is running, but when I'm using CADFEKO, it's giving the different results than the results obtained from PREFEKO & Matlab, this is because of the material, prefeko file is not taking the material properties instead it's taking the PEC for every case. I'm attaching the material property, cad and pre file with stl and also the fek file for result. Would please help me to resolve this problem i mean how to assign material in prefeko whose properties are frequency dependent?

     

    to run the prefeko file, i'm using this two command in matlab,

    !'C:\Program Files\Altair\2017\feko\bin\prefeko.exe' DONE.pre
    !'C:\Program Files\Altair\2017\feko\bin\runfeko.exe' DONE.fek 

     

    Thanks again

    Unable to find an attachment - read this blog