Access data in .rhs file

ju1995
ju1995 Altair Community Member
edited November 2021 in Community Q&A

I successfully accessed the .mat and .str file via the mat2ascii and str2ascii utility, but I cannot access the electric field data in the .rhs file. The only information I found is https://2021.help.altair.com/2021/feko/topics/feko/user_guide/appendix/file_rhs_read_feko_c.htm ,but the explanations are very brief. How do you access the data in the .rhs file in detail? From reading related posts I guess it involves Fortran, but I'm not familiar with Fortran at all. Perhaps I could get some advice here.

 

Tagged:

Answers

  • Mel
    Mel Altair Community Member
    edited November 2021

    The rhs file is created by setting the environment variable:

    FEKO_WRITE_RHS=1

    To read the file, you can use free Fortran such as gnu fortran.

  • ju1995
    ju1995 Altair Community Member
    edited November 2021

    Creating the RHS file is no problem and I installed gfortran as well. However, I do not find any information about the exact procedure to read the rhs file. Assume the file is named ,,sphere.rhs" and is located in the folder ,,C:\Users\temp", how can I open the file? I'm sorry for asking again, but perhaps you can give me a more precise description, which steps to take.

    Thanks again for your help!