Discussion ClosedThis 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.
Increasing Precision of Eigenfrequency Analysis
Posted 2024年2月28日 GMT+1 22:34Results & Visualization, User InterfaceVersion 6.15 Replies
Please login with a confirmed email address before reporting spam
I am trying to tabulate the first 6 eigenfrequencies of my model to (at least) 11 significant figures. (Mode 1 should be around 561184.2431, my solution reads 561.1800000E6...)
I am having trouble doing so (both increasing the accuracy of the solutionandgetting the first 6 mode frequencies tabulated)
Thanks for any pointers.
Attachments:
Please login with a confirmed email address before reporting spam
Not sure if any of this will help, but... have you tried modifying the relative tolerance in the eigenvalue solver setting? You might also consider a finer mesh, higher-order discretization of the elements, or both. Also, make sure you are displaying enough digits of precision.
-------------------Scientific Applications & Research Associates (SARA) Inc.
www.comsol.com/partners-consultants/certified-consultants/sara
Please login with a confirmed email address before reporting spam
I think the precision you are asking for is difficult to attain, but you can find some comments about improving the accuracy in the sectionA Note on Numerical Accuracyinhttps://www.comsol.com/blogs/how-to-analyze-eigenfrequencies-that-change-with-temperature
In real life, it is of course never possible to get such an accuracy. Errors caused by material properties and manufacturing deviations are much larger. The only purpose of looking for super high accuracy of eigenfrequencies is when you compare the effect of controlled changes in the numerical model.
-------------------Henrik Sönnerlind
COMSOL
Please login with a confirmed email address before reporting spam
Not sure if any of this will help, but... have you tried modifying the relative tolerance in the eigenvalue solver setting? You might also consider a finer mesh, higher-order discretization of the elements, or both. Also, make sure you are displaying enough digits of precision.
Varying the relative tolerance does not improve the precision of the mode frequency.
I am using an extremely fine mesh and this is the best it can do. How do I make sure I am displaying enough digits of precision?
Please login with a confirmed email address before reporting spam
Henrik is the real expert, but I'll offer some comments. (1) Regarding precision & displayed number of digits, you can modify this in various places. Among others, go to: File --> Preferences --> User Interface --> Precision. Also, try File --> Preferences --> Results --> Tables and set the "Display Precision" there. Also, go to File --> Preferences --> Graphics --> Display Format and choose the maximum number of digits. There may be other similar settings, too. Look around for more. (2) Regarding computational precision, the challenge/frustration of accurately computing small differences between otherwise very-similar modeled situations is not new. The code is fundamentally numerical; itapproximatescontinuous space and timediscretely. In my own limited experience, one piece of advice from Henrik's linked note really stands out as critical: "Change only the parameters necessary for capturing the physics. For example, use the same mesh for all studies." If that isn't good enough, then back to basics: ask yourself what is thefundamental thingyou are trying to find out? Youprobablydon't need to know an eigenfrequency to 11 significant figures. Maybe, if what you really want is to know how much an eigenfrequencychanges, then you need to be modeling an equation for thechangein the eigenfrequency, rather than its value. If so, and if you can re-formulate the mathematics of your problem in that form, then you will likely be able to solve your problem. (The world of acoustic modeling is analogous here. One can model sound waves in a room in terms of the pressure distribution, and with good precision, all despite the fact that the pressure differences associatedwith the wavesare utterly miniscule if compared to the background atmospheric pressure.)
-------------------Scientific Applications & Research Associates (SARA) Inc.
www.comsol.com/partners-consultants/certified-consultants/sara
Please login with a confirmed email address before reporting spam
Henrik is the real expert, but I'll offer some comments. (1) Regarding precision & displayed number of digits, you can modify this in various places. Among others, go to: File --> Preferences --> User Interface --> Precision. Also, try File --> Preferences --> Results --> Tables and set the "Display Precision" there. Also, go to File --> Preferences --> Graphics --> Display Format and choose the maximum number of digits. There may be other similar settings, too. Look around for more. (2) Regarding computational precision, the challenge/frustration of accurately computing small differences between otherwise very-similar modeled situations is not new. The code is fundamentally numerical; itapproximatescontinuous space and timediscretely. In my own limited experience, one piece of advice from Henrik's linked note really stands out as critical: "Change only the parameters necessary for capturing the physics. For example, use the same mesh for all studies." If that isn't good enough, then back to basics: ask yourself what is thefundamental thingyou are trying to find out? Youprobablydon't need to know an eigenfrequency to 11 significant figures. Maybe, if what you really want is to know how much an eigenfrequencychanges, then you need to be modeling an equation for thechangein the eigenfrequency, rather than its value. If so, and if you can re-formulate the mathematics of your problem in that form, then you will likely be able to solve your problem. (The world of acoustic modeling is analogous here. One can model sound waves in a room in terms of the pressure distribution, and with good precision, all despite the fact that the pressure differences associatedwith the wavesare utterly miniscule if compared to the background atmospheric pressure.)
That is exactly what I needed!
I was able to increase the number of displayed digits (I may have phrased my question poorly)
Thank you and Mr. Sönnerlind for your time!
Attachments:
Note that while COMSOL employees may participate in the discussion forum, COMSOL®software users who are on-subscription should submit their questions via theSupport Centerfor a more comprehensive response from the Technical Support team.