Visualizing superposition of eigenmodes

Please login with a confirmed email address before reporting spam

Hi all,

I'm trying to simulate the coupling between two parallel electromagnetic waveguides. I have a 2D cross-section of the waveguide-waveguide system, and I've found the system modes using the EMW physics with the Mode Analysis study. I'd like to now plot a superposition of the modes' electric fields with a set phase difference; that is, I'd like to plot , where

and , are the modes and is a variable phase difference. I can't figure out how to do this, and I'd love some help.

Thanks, Eilam


1 Reply Last Post Sep 16, 2024, 3:32 a.m. EDT
Acculution ApS Certified Consultant

Please login with a confirmed email address before reporting spam

Posted: 2 months ago Sep 16, 2024, 3:32 a.m. EDT
Updated: 2 months ago Sep 16, 2024, 4:03 a.m. EDT

You can probably do something like

abs(withsol('sol1',E,setind(lambda,1)) + withsol('sol1',E,setind(lambda,2))*exp(i*theta))

but check out the details here: https://www.comsol.com/support/learning-center/article/Examples-of-the-withsol-Operator-33781

-------------------
René Christensen, PhD
Acculution ApS
www.acculution.com
info@acculution.com
You can probably do something like abs(withsol('sol1',E,setind(lambda,1)) + withsol('sol1',E,setind(lambda,2))\*exp(i\*theta)) but check out the details here: https://www.comsol.com/support/learning-center/article/Examples-of-the-withsol-Operator-33781

Reply

Please read the discussion forum rules before posting.

Please log in to post a reply.

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.