Extracting MoM Matrix
Answers
-
Hello hykr,
It is possible to write out the impedance matrix that FEKO creates. In CADFEKO, this option is enabled on the 'Solver settings' dialog, 'General' tab. It writes out a *.mat file.
Reading the file can be done easily in Fortran or it can be converted to ASCII for reading in other environments. See the website page 'How to read the *.mat, *.lud, *.rhs files and *.str files' for more details. If you don't have access to this link, let me know so that I can make it available to you. Update: There is a section in the User Guide in FEKO 2018 and later on 'How to read MAT, LUD, RHS and STR files'.
Regards
JIF
0 -
Hi, JIF
I also want to know how to output the RHS file, do you have a clue?
I tried to add 'set initfeko_FEKO_WRITE_RHS=1' in initfeko.dat, i not working.
Thanks.
Cris
0 -
Below is an extract from the FEKO User manual:
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.Thus, you just need to set an environment variable, nl. FEKO_WRITE_RHS.
Please don't edit initfeko (ever). If you need to apply some environment variables or apply settings, you should probably add entries to FEKOenvironmentFromSetup.lua, but you can read more about options for these settings in the FEKO Installation guide.
0 -
I still have difficulty in reading the *.mat file. I downloaded the utility and it only open and closes immediately on my system. Is there any idea on how to proceed?
0 -
Hello,
*.mat.0 and *.mat.1 files are being exported instead of *.mat. Any idea what might be wrong?
Thank you0 -
Hi
You are running in parallel (parallel 2 in this case). If you want to get access to the mat file contents, I would suggest that you rather run sequential. I don't know of any way to reconstruct the original (sequential) mat file from the parallel mat files.0 -
Hello,
Thank you. Works perfectly fine now.0