Issue with port assignment on parametrize model

Jean-Daniel Dea
Jean-Daniel Dea Altair Community Member
edited September 11 in Community Q&A

Hi

I have a parametrize antenna model excited with simple wire ports.

When changing the geometry of the antenna (by changing a variable value), some ports loses their assignment to a wire. I can always manually reassign the ports but this problem is preventing me from running an optimization (since the optimization changes the geometry).

Any ideas or recommendation on how to work around this issue?

Thanks

Tagged:

Answers

  • Torben Voigt
    Torben Voigt
    Altair Employee
    edited September 9

    Hi @Jean-Daniel Dea ,

    I could imagine that perhaps not everything was parameterized in the model, so that some wires do not change their length. Would it be possible to attach the model here?

    Best regards,
    Torben

  • Jean-Daniel Dea
    Jean-Daniel Dea Altair Community Member
    edited September 10

    Hi @Torben Voigt 

    Thanks you for answering my question.

    Unfortunately, I'm not allowed to shared my model for IP and NDA reasons.

    To help, maybe I can add the following clarifications :

    - I'm losing port assignment even when modifying a variable that affects geometry element other than the wires where the ports are assigned

    - My model has multiple ports and the ones that loses their assignment is inconsistent. For instance, a certain modification might affect port #1 and another another modification might affect port #2, even if the modification is completely unrelated to the wire supporting the port

    - It seems like the ID of the wire segments where the ports are assign changes when modifying the geometry. For instance, I'm assigning a port to a wire labeled Antenna.wire4_2_2. Modifying the geometry seems to trigger a regenetation of those labels, and might actually cause Antenna.wire4_2_2 to no longer exist (hence causing the port assignment to fail). I even see some case where a port was jumping to another wire because of this

     

    For now, I've resolve my problem by reverting to a Feko 2021 model instead of Feko 2022. I'm not observing this problem with Feko 2021.

  • Torben Voigt
    Torben Voigt
    Altair Employee
    edited September 11

    Hi @Torben Voigt 

    Thanks you for answering my question.

    Unfortunately, I'm not allowed to shared my model for IP and NDA reasons.

    To help, maybe I can add the following clarifications :

    - I'm losing port assignment even when modifying a variable that affects geometry element other than the wires where the ports are assigned

    - My model has multiple ports and the ones that loses their assignment is inconsistent. For instance, a certain modification might affect port #1 and another another modification might affect port #2, even if the modification is completely unrelated to the wire supporting the port

    - It seems like the ID of the wire segments where the ports are assign changes when modifying the geometry. For instance, I'm assigning a port to a wire labeled Antenna.wire4_2_2. Modifying the geometry seems to trigger a regenetation of those labels, and might actually cause Antenna.wire4_2_2 to no longer exist (hence causing the port assignment to fail). I even see some case where a port was jumping to another wire because of this

     

    For now, I've resolve my problem by reverting to a Feko 2021 model instead of Feko 2022. I'm not observing this problem with Feko 2021.

    Hi @Jean-Daniel Dea ,

    I just did a quick test with Feko 2022.3.2 and could not reproduce the problem. Maybe it's related to your model somehow. In any case the obvious standard recommendation from my side would be trying with the current version Feko (2024.0.1). But I guess this is not an option for you.

    At least you have a workaround with Feko 2021.

    Best regards,
    Torben