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.

subdomain integral of variable plotted against time

Please login with a confirmed email address before reporting spam

In postprocessing, how to output a subdomain integral of a variable (volume integral of a variable over the whole domain) plotted against time?


2 Replies Last Post Oct 5, 2021, 5:11 a.m. EDT
Gunnar Andersson COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 3 years ago Oct 5, 2021, 2:13 a.m. EDT

One way to do this is to evaluate the subdomain integral using a numerical evaluation feature, either using Derived Values or an Evaluation Group, and then creating a table graph from the resulting table. There's a toolbar button in the result table window for creating a table graph from a table.

One way to do this is to evaluate the subdomain integral using a numerical evaluation feature, either using Derived Values or an Evaluation Group, and then creating a table graph from the resulting table. There's a toolbar button in the result table window for creating a table graph from a table.

Please login with a confirmed email address before reporting spam

Posted: 3 years ago Oct 5, 2021, 5:11 a.m. EDT

Hi Dr Andersson, many thanks for your reply. Are there any worked examples? Under 'derived values', none of 'global evaluation', 'volume integration', 'volume average' show any helpful result. 'Global evaluation' doesn't recognize even variables defined in 'equation view'. Under 'more datasets', there's 'evaluation', which doesn't output anything.

Hi Dr Andersson, many thanks for your reply. Are there any worked examples? Under 'derived values', none of 'global evaluation', 'volume integration', 'volume average' show any helpful result. 'Global evaluation' doesn't recognize even variables defined in 'equation view'. Under 'more datasets', there's 'evaluation', which doesn't output anything.

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.