MOM matrix

Zakaria
Zakaria Altair Community Member
edited October 2020 in Community Q&A

Hi all,

for the following matrix equation:

image.png.894aafd018fd5eaf4ba9b0f0936aa5c1.png

I know how to extract the impedance matrix using the .mat file. However, I need to know how to extract the right-hand side of the MOM matrix i.e. VE and VH. [the external source information]

Thanks.

Tagged:

Answers

  • JIF
    JIF
    Altair Employee
    edited June 2018

    Hello Mohamed Hamdalla,

     

    FEKO has an option to export a .rhs file (Right Hand Side) that represents the source information. Unfortunately I don't have any experience with reading that file, but it is listed in the documentation, but it looks like it simply shows the code for reading the file in Fortran. I think you can read it in any language that reads in the values in the same format, but I have never tried to do this myself.

  • Zakaria
    Zakaria Altair Community Member
    edited June 2018

    Thanks a lot, JIF. Can you please tell me how can I request this file.

  • JIF
    JIF
    Altair Employee
    edited June 2018

    This feature is activated by creating an environment variable (FEKO_WRITE_RHS).

     

     

     

    FEKO_WRITE_RHS
    If this environment variable is set (value arbitrary), FEKO writes the right side of the set of linear equations to a .rhs file. This is only useful for test purposes, such as when one wants to analyse this vector with another program.

     

     

  • Zakaria
    Zakaria Altair Community Member
    edited June 2018

    I am so sorry. I couldn't understand how to do it. can you please refer a documentation so that I can follow step by step.