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.
integration over frequency but keeping spatial dependency
Posted 07/10/2013, 04:18 GMT-04:00 RF & Microwave Engineering, Parameters, Variables, & Functions, Results & Visualization Version 4.3b 7 Replies
Using the rf module I perform a frequency sweep. Now, I want to integrate the calculated absorption profile over the frequency, but keep the spatial dependency, ie no integration over the volume. Can anyone give me a tip/hint on how to do this?
Integration in 'derived values' in the 'results' part always seems to be a spatial integration (volume/surface/line) but not over other variables like frequency.
I also tried to make a global variable my_var=integrate(ewdf.Qe, freq,freqmin,freqmax) (with ewdf.Qe being the absorbed power, freqmin/freqmax minimal/maximal frequency I use) but that does not seem to be right. Comsol does not give an error message and calculates this variable, but when i plot it it is a different graph when I choose another frequency in the frequency list in the plotting window. This shouldn't be since I want to integrate over frequency and thus my_var should be frequency independent.
Any hints are very welcome,
Thanks and best regards,