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.
Combining two solutions and plotting the result
Posted Aug 25, 2011, 4:01 p.m. EDT RF & Microwave Engineering, Geometry, Mesh, Modeling Tools & Definitions, Parameters, Variables, & Functions, Studies & Solvers Version 4.2 1 Reply
Please login with a confirmed email address before reporting spam
I'd like to solve two models, then combine the two solutions in one mathematical formula to get a new result, which I would then like to plot.
Specifically, I'm simulating the optical elec field profile in an optical waveguide. Imagine that I have simulated some eigenmode of the waveguide and found the elec field profile which I will call E1(x,y) for each x, y point in the 2D simulation region. Next I simulate a *different* geometry (but same overall simulation region, just a different shaped waveguide, say), and get a new elec field profile for the eigenmode, which I will call E2(x,y). I can do that. Now, I want to combine the results of those two sims to get a new result (e.g. I may want to find E1 times E2 at each point, for instance) and then plot the new result for each x,y point.
I realize there are some complications with this, not the least of which is that the meshes won't line up. The easiest way for me for getting around this is to just make the two simulation regions have the same mesh. I would do this by setting the mesh manually so it's a nice grid, and is the same in both simulations. However I still don't know how to combine E1 and E2 to get a new result which I then plot.
Any ideas? Thanks
Hello dnh37
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.