Is it possible to create a rough surface in FEKO?

Carlos Viteri
Carlos Viteri Altair Community Member
edited February 2023 in Community Q&A

Hello,

I'm trying to create a rough surface geometry in FEKO. Other posts state that this is not possible, but I tried it anyway with the following procedure:

1. Create the rough surface with the desired statistical properties in MATLAB (as an [x,y,z] surface plot).
2. Use the DXFLib to create a polysurface and export it to a .dxf file.
3. Import the .dxf file to the FEKO geometry.

However, when I try to import the geometry to FEKO I get the following error message:

image

Is this a feasible way to create a rough surface? If it is, could it be a problem with the .dxf file version?

Any insights would be appreciated. Thanks.

Tagged:

Answers

  • Torben Voigt
    Torben Voigt
    Altair Employee
    edited February 2023

    Hi @Carlos Viteri ,

    .dxf is in general supported, so I wonder what could be the reason here.. The new CADFEKO has been released some months ago (alongside with the the old GUI), so I wonder if there have been some file formats not being supported in the first releases.

    What version of Feko are you using?

    Would it be possible to attach the .dxf here?

    Best regards,
    Torben

  • Carlos Viteri
    Carlos Viteri Altair Community Member
    edited February 2023

    Hi @Carlos Viteri ,

    .dxf is in general supported, so I wonder what could be the reason here.. The new CADFEKO has been released some months ago (alongside with the the old GUI), so I wonder if there have been some file formats not being supported in the first releases.

    What version of Feko are you using?

    Would it be possible to attach the .dxf here?

    Best regards,
    Torben

    Hello Torben,

    Thanks for your reply.

    After your message, I tried to open the .dxf files generated in MATLAB (attached) in the AutoCAD Web App and I got an 'unsupported file type' error. It seems like this is indeed a file format problem.

    I'm using FEKO 2022.2, MATLAB 2022b, and DXFLib 0.9.1 (latest version from 2011 - available here).

    I've attached 3 examples from the library and a test surface I wanted to import to FEKO.

    Do you know any other method to create random surface and import it to FEKO?

    Thanks for your help!

    Regards,
    Carlos

  • Torben Voigt
    Torben Voigt
    Altair Employee
    edited February 2023

    Hello Torben,

    Thanks for your reply.

    After your message, I tried to open the .dxf files generated in MATLAB (attached) in the AutoCAD Web App and I got an 'unsupported file type' error. It seems like this is indeed a file format problem.

    I'm using FEKO 2022.2, MATLAB 2022b, and DXFLib 0.9.1 (latest version from 2011 - available here).

    I've attached 3 examples from the library and a test surface I wanted to import to FEKO.

    Do you know any other method to create random surface and import it to FEKO?

    Thanks for your help!

    Regards,
    Carlos

    Hi @Carlos Viteri ,

    If you can't open the files in AutoCAD web viewer, then something seems to be wrong with the format. Here you would probably have to do some more research.

    In principle, it should not matter with which application random surfaces are created. As long as the format is supported, you should be able to import it into Feko. By the way, there are also scripts in Feko that can create random surfaces:

    image

    Best regards,
    Torben