Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.
Comsol 3.5 - RF module - Eigenfrequency - Why do I have a factor ' - 2 * i * pi' ?
Posted 09.11.2010, 08:59 GMT-5 2 Replies
Please login with a confirmed email address before reporting spam
Hello,
Using Comsol 3.5 RF module with Matlab, I already found that you need to put the frequency multiplied by ' - 2 * i * pi' in the solver line (and you need to divide by the same factor the solutions you get to have the real frequencies).
The problem is now I want to import the fem structure calculated with Matlab in Comsol, to have a better vision of the solutions. But the different solutions have frequencies multiplied by ' - 2 * i * pi', whereas the same structure calculated only with Comsol has the 'right' value of frequencies.
It seems using a script is the reason for this factor, but is there a way to access the real frequencies when importing a fem structure calculated with Matlab ? I tried 'naively' to change the values of the solutions before importing, but I get the "Access to an object's fields is only permitted within its methods" error. Anyone has an idea ?
Thank You.
Using Comsol 3.5 RF module with Matlab, I already found that you need to put the frequency multiplied by ' - 2 * i * pi' in the solver line (and you need to divide by the same factor the solutions you get to have the real frequencies).
The problem is now I want to import the fem structure calculated with Matlab in Comsol, to have a better vision of the solutions. But the different solutions have frequencies multiplied by ' - 2 * i * pi', whereas the same structure calculated only with Comsol has the 'right' value of frequencies.
It seems using a script is the reason for this factor, but is there a way to access the real frequencies when importing a fem structure calculated with Matlab ? I tried 'naively' to change the values of the solutions before importing, but I get the "Access to an object's fields is only permitted within its methods" error. Anyone has an idea ?
Thank You.
2 Replies Last Post 09.11.2010, 13:31 GMT-5