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.

Using a parameter for TE Mode numbers

Please login with a confirmed email address before reporting spam

I want to sweep over TE modes in my geometry so I can add up the total power dissipated in my system.

When I make a parameter and enter it in the Port settings page (Rectangular Port, TE10), I get an error saying the mode number is invalid, regardless of what my parameter is set to. Setting it to 10 doesn't work.

Is my only option to specify a User-Defined TE Mode through an equation?

Thanks!

EDIT: For anybody who stumbles upon this with the same question: Yeah, you have to use a user-defined equation. In my case it looked like this:

Where x goes from -xMax to +xMax, which is the width of my waveguide.


0 Replies Last Post 6 févr. 2019, 16:21 UTC−5
COMSOL Moderator

Hello Damian Rivas

Your Discussion has gone 30 days without a reply. If you still need help with COMSOL and have an on-subscription license, please visit our Support Center for help.

If you do not hold an on-subscription license, you may find an answer in another Discussion or in the Knowledge Base.

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.