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.

How to count the number of values greater than a certain constant in a field variable ?

Please login with a confirmed email address before reporting spam

In Comsol, is it possible to count the number of values of a field variable greater than a certain constant at each iteration step, just like it can be done in Matlab by 'Number=sum(U>U_const)'.

All the best,

Songcai


0 Replies Last Post 22 déc. 2019, 08:06 UTC−5
COMSOL Moderator

Hello Songcai Han

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.

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.