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