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.
integration over parameter instead of geometry
Posted 14 gen 2015, 07:34 GMT-5 Parameters, Variables, & Functions 2 Replies
Please login with a confirmed email address before reporting spam
Dear all,
I was wondering if the following integral was possible in Comsol.
where f(g) is a known function, a,b are the limits (also known) and emw.Ex would be the electric field which depends on the position and on the value of g, i.e., emw.Ex=emw.Ex(x,y,z,g). I have seen a very similar question here: www.uk.comsol.com/community/forums/general/thread/39845 , but I have no idea have to deal with my problem. Normally, the integrals are defined over a domain, but this is not the case.
I guess that one solution would be do a Parametric Sweep over g, and make the integration in matlab, but I would like to know if this is possible in Comsol
Thank you so much
I was wondering if the following integral was possible in Comsol.
where f(g) is a known function, a,b are the limits (also known) and emw.Ex would be the electric field which depends on the position and on the value of g, i.e., emw.Ex=emw.Ex(x,y,z,g). I have seen a very similar question here: www.uk.comsol.com/community/forums/general/thread/39845 , but I have no idea have to deal with my problem. Normally, the integrals are defined over a domain, but this is not the case.
I guess that one solution would be do a Parametric Sweep over g, and make the integration in matlab, but I would like to know if this is possible in Comsol
Thank you so much
2 Replies Last Post 22 gen 2015, 09:21 GMT-5