Access data in .rhs file
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.
Answers
-
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.
0 -
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!
0