Note: This discussion is about an older version of the COMSOL Multiphysics® software. The information provided may be out of date.
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.
Outputting results of 2D parameter sweep
Posted 11.09.2012, 14:01 GMT-4 RF & Microwave Engineering, Modeling Tools & Definitions, Parameters, Variables, & Functions, Studies & Solvers Version 4.3 1 Reply
Please login with a confirmed email address before reporting spam
Hi,
I have Comsol 4.3. I select 2D > Electromagnetic fields > Mode Analysis. I then draw a large rectangle and a small rectangle inside it. The large rectangle is air and the small rectangle is Si.
Now, it is easy to find the eigenmodes of the waveguide -- just click "Solve".
Now, I want to sweep two parameters, say, waveguide width and waveguide height. So I add two parameter sweeps.
It solves just fine, and by clicking on a particular width and a particular height in the solution, I can view the E field profile. The title of that plot also gives me the effective index.
Now, what I'd like to do is output a 2D array where the columns correspond to different waveguide widths and the rows correspond to different waveguide heights. Each cell in the array gives the effective index. I can do this manually by clicking on the "width" and "height" dropdown boxes in the solution and selecting the value, then writing it down manually, and repeat. But I'd like to do it automatically as I have a large sweep.
I can't figure out how to output this 2D array of solutions to a 2D parameter sweep. Any ideas?
Thanks
I have Comsol 4.3. I select 2D > Electromagnetic fields > Mode Analysis. I then draw a large rectangle and a small rectangle inside it. The large rectangle is air and the small rectangle is Si.
Now, it is easy to find the eigenmodes of the waveguide -- just click "Solve".
Now, I want to sweep two parameters, say, waveguide width and waveguide height. So I add two parameter sweeps.
It solves just fine, and by clicking on a particular width and a particular height in the solution, I can view the E field profile. The title of that plot also gives me the effective index.
Now, what I'd like to do is output a 2D array where the columns correspond to different waveguide widths and the rows correspond to different waveguide heights. Each cell in the array gives the effective index. I can do this manually by clicking on the "width" and "height" dropdown boxes in the solution and selecting the value, then writing it down manually, and repeat. But I'd like to do it automatically as I have a large sweep.
I can't figure out how to output this 2D array of solutions to a 2D parameter sweep. Any ideas?
Thanks
1 Reply Last Post 11.09.2012, 14:59 GMT-4