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


Reply

Please read the discussion forum rules before posting.

Please log in to post a reply.

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.