COMSOL - parameter dependent eigenvalue calculations

AI Thread Summary
The discussion revolves around using COMSOL's RF module for calculating eigenvalues of optical fibers. The user expresses frustration with manually changing parameters, particularly the wavelength, and seeks a more efficient method, potentially through scripting or MATLAB. They inquire about the feasibility of using a parametric solver in conjunction with the eigenvalue solver, questioning if this can be done without scripting. Another participant suggests utilizing the "parametric sweep" option within the eigenvalue solver, which may streamline the process. However, the original user cannot locate this feature in their version of COMSOL (3.4.0.250), leading to speculation that it might be a new addition in version 3.5. The conversation highlights the need for better automation in parameter adjustments and the challenges faced with software version limitations.
DJ_GoodNews
Messages
5
Reaction score
0
Hello,

I am using COMSOL (RF modul) for some time now to calculate the eigenvalues (modes) of optical fibers. So far I changed all the params from hand in the software.

But it is getting anoying to change a parameter (the wavelength) and to recalculate if one wants to calculate for many parameters. Later one I want also to chage structural parameters of the microstructured fibers.

This means I have to use the skript or MATLAB to impelment loops and so, rigth?
But I have problems getting started. I get always errors and I do not know how to change the postprocessing correspondingly (so that I get all the wavelegth dependent calculated modes).

Does anyone have a hit? Are there good tutorials? Has anyone a example m-file for s.th. like this?

Thanks!

DJ_GoodNews.
 
Physics news on Phys.org
An m-file (or a comsol script model) would be the most general approach, but thinking about the easiest way have you thought whether the parametric solver would work for your problem?
 
Hello,

PerennialII said:
An m-file (or a comsol script model) would be the most general approach, but thinking about the easiest way have you thought whether the parametric solver would work for your problem?

I was thinking about that, but the problem is that I have to calculate the Eigenvalues all the time. Is it possible that the parametric solver and the eigenvalue solver work together? How do I manage that (without a skript)?

Cheers!
DJ_GoodNews.
 
...I think it might work straight up if you use the "parametric sweep" option for eigenvalue solver (under solve menu). Haven't used it for eigenvalue problems, but at least it's general enough to work for transient problems with the time dependent solver (so at least it's not solely for stationary problems).
 
PerennialII said:
...I think it might work straight up if you use the "parametric sweep" option for eigenvalue solver (under solve menu). Haven't used it for eigenvalue problems, but at least it's general enough to work for transient problems with the time dependent solver (so at least it's not solely for stationary problems).


Hi,

thanks for answering. But I do not find this "parametric sweep" option in the solve menu...
I use the Version COMSOL 3.4.0.250 is this a problem?

Cheers,
DJ-GoodNews
 
Yeah, could be. I'm not 100% sure but it may be one of the new features of release 3.5. Or at least don't remember seeing it earlier.
 

Similar threads

Back
Top