Quantcast
Channel: COMSOL Forums: postint over multiple FEMs
Viewing all articles
Browse latest Browse all 12

postint over multiple FEMs

$
0
0
Hi,
This question is regarding post processing. I am using the RF Module>Perpendicular waves>Hybrid mode waves. I wanted to know if doing the following is possible. If so, how?

I define a waveguide structure. Mesh it. Solve for the fundamental mode of the waveguide at a particular wavelength. Let us call this Sol1.
Now with the same struture (and everything else same i.e. Mesh etc) I just change the wavelength and solve again to obtain sol2.

I can do this with a Matlab script with a for loop for the wavelength.

While in the for loop I can store the fem in variables fem1 and fem2 for the two wavelengths.

Now I want to postint the product of the Pozav_rfwv (fundamental mode) of fem1 and Pozav_rfwv (fundamental mode) of fem2 over a region of the waveguide.

So basically I want to integrate the product of poynting vector for the fundamental mode @ wavelength 1 and poynting vector for the fundamental mode @ wavelength 2 for the same structure.

Is it possible to do the above?

Thanks,
Ravi

Viewing all articles
Browse latest Browse all 12

Trending Articles