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.
Integral of value over different internal geometries
Posted 14 sept. 2022, 01:41 UTC−4 Results & Visualization Version 5.6 0 Replies
Please login with a confirmed email address before reporting spam
Hello,
I've currently got a model where I'm looking at the fundamentdal mode profile of light through a waveguide. There's a parameter sweep of the waveguide width. I want to take the integral of the x component of the magetic field of one parameter solution multiplied by the conjugate of that for another solution. For this I am using this expression :
intop1(withsol('sol2',emw.Ex,setind(Wwg,1)) * conj(withsol('sol2',emw.Ex,setind(Wwg,2))))
in a global evaluation node and intop1 defined over all domains. However for this I need to define a dataset in the global evaluation node. Defining it as either one of the parameter solutions used in the integral calculation gives me slighty different results, so I am unsure of how exactly to compute this correctly.
Any help is appreciated.
Hello Daniel Bedilu
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.