Jump to content
ALM

ERROR: Could not open the file mYfile.mat

Recommended Posts

hello !

I have imported a mesh (.nas) into feko and it seems okay , but when i wanted to save the matrix elements into *.mat file I get an error saying that the mat file couldn't be opened, any suggestions to solve this issue ?! 

Thank you !

 

Share this post


Link to post
Share on other sites

Hello ALM,

 

Could you please provide more info regarding what you did. I suspect what you did was to set the *.mat file setting to "read the *.mat file" and what you want to do is rather "save to *.mat file". Could you add more details regarding the error (exact error text) and what you did to reproduce it?

Share this post


Link to post
Share on other sites

thank you for your reply!

I have checked  I am using save matrix elements to *.mat file .

what I did is I have imported a nastran file containing a mesh into feko and I have enabled Editfeko from cadfeko and set the simulation parameters such as the frequency and save the  matrix . any suggestions ? I have attached a section from the out file which shows that feko is not performing anything but fixing up the imported geometry.

                    SUMMARY OF REQUIRED TIMES IN SECONDS

                                             CPU-time       runtime
 Reading and constructing the geometry          0.014         0.014
 Checking the geometry                          0.007         0.007
 Initialisation of the Green's function         0.000         0.000
 Calcul. of coupling for PO/Fock                0.000         0.000
 Transformation to equivalent sources           0.000         0.000
 Ray launching/tracing phase of RL-GO           0.000         0.000
 Calcul. of matrix elements                     0.000         0.000
 Calcul. of right-hand side vector              0.000         0.000
 Preconditioning system of linear eqns.         0.000         0.000
 Solution of the system of linear eqns.         0.000         0.000
 Eigensolution for characteristic modes         0.000         0.000
 Determination of surface currents              0.000         0.000
 Calcul. of impedances/powers/losses            0.000         0.000
 Calcul. of averaged SAR values                 0.000         0.000
 Calcul. of power receiving antenna             0.000         0.000
 Calcul. of cable coupling                      0.000         0.000
 Calcul. of error estimates                     0.000         0.000
 Calcul. of electric near field                 0.000         0.000
 Calcul. of magnetic near field                 0.000         0.000
 Calcul. of far field                           0.000         0.000
                            other               0.043         0.042
                                         ------------  ------------
                         total times:           0.064         0.063
               (total times in hours:           0.000         0.000)

 

Share this post


Link to post
Share on other sites

Hi ALM

 

You mention that you have FEKO set to save the matrix elements to the *.mat file, but that you get an error stating that the *.mat file cannot be opened.

 

Can you confirm that this is a FEKO error or are you maybe trying to open the *.mat file in another application?

 

In EDITFEKO you have set the solution frequency. Please note that you would also have to define an excitation (such as a plane wave using the A0 card) and a request (such as an OS card) to trigger a solution. Note that you should be able to do all of this through CADFEKO: import the NASTRAN file, set the frequency, define a plane wave and request a result (such as the far field for example).

 

Share this post


Link to post
Share on other sites

Hello! 

 

exactely I am trying to open the *.mat file with the mat2ascii application , but when looking for the outputted  mat files I have found out that   they were not generated by Feko.  I am suspecting that the basis functions are not created because the mesh is not created within Feko , but I have no prove ! 

Thank you!

Share this post


Link to post
Share on other sites

Problem solved !

thank you all for your help!

How problem was solved ? just runing feko in order to create the .fek file then import the .fek file again into CadFeko then I could get the *.mat file . Hope this could be helpful for somebody else.

Best regards!

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
You are posting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...