COMSOL - parameter dependent eigenvalue calculations

Click For Summary
SUMMARY

The discussion centers on using COMSOL 3.4.0.250 for parameter-dependent eigenvalue calculations of optical fibers. The user, DJ_GoodNews, seeks to automate the process of changing parameters like wavelength and structural attributes without manually recalculating each time. Suggestions include utilizing the "parametric sweep" option in the eigenvalue solver, which may not be available in version 3.4.0.250, as it is likely a feature introduced in version 3.5. The conversation highlights the need for scripting in MATLAB or COMSOL to streamline calculations.

PREREQUISITES
  • Familiarity with COMSOL Multiphysics, specifically the RF Module
  • Understanding of eigenvalue problems in optical fiber applications
  • Basic knowledge of MATLAB for scripting
  • Experience with parametric solvers in simulation software
NEXT STEPS
  • Explore the "parametric sweep" feature in COMSOL 3.5 or later
  • Learn how to implement MATLAB scripts for automating COMSOL simulations
  • Research tutorials on eigenvalue calculations in COMSOL
  • Investigate the differences between COMSOL versions regarding solver capabilities
USEFUL FOR

Researchers, engineers, and developers working with optical fiber simulations, particularly those using COMSOL for eigenvalue calculations and seeking to automate parameter adjustments.

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

  • · Replies 0 ·
Replies
0
Views
2K
  • · Replies 20 ·
Replies
20
Views
5K
  • · Replies 1 ·
Replies
1
Views
2K