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.

Estimation of area defined by a condition

Please login with a confirmed email address before reporting spam

Hi all,

I would like to estimate an area based on a condition: ( for exampled the cumulative area on where the stress exceeds the strength ? Does anyone has clues on how to do it in Comsol 5.5 ?

Thank you in advance.


2 Replies Last Post Feb 2, 2021, 8:52 a.m. EST
Jeff Hiller COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 4 years ago Feb 2, 2021, 8:50 a.m. EST
Updated: 4 years ago Feb 2, 2021, 8:52 a.m. EST

Hello Sarab,

You can use the integration tool available under Derived Values to integrate the boolean expression of your choice, for instance if you integrate T>300 it will return the volume where the temperature is greater than 300, etc.

Best,

Jeff

-------------------
Jeff Hiller
Hello Sarab, You can use the integration tool available under Derived Values to integrate the boolean expression of your choice, for instance if you integrate T>300 it will return the volume where the temperature is greater than 300, etc. Best, Jeff

Magnus Ringh COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 4 years ago Feb 2, 2021, 8:52 a.m. EST

Hi,

Yes, in Surface Integration node under Results>Derived Values, for example, if you enter an expression such as

solid.mises>0.25[MPa]

It will evaluate to 1 where it's true (that is, the effective von Mises stress is above 0.25 MPa) and 0 everywhere else, so the surface area of that integration will be the area where the condition is true.

Hi, Yes, in **Surface Integration** node under **Results>Derived Values**, for example, if you enter an expression such as ``solid.mises>0.25[MPa]`` It will evaluate to 1 where it's true (that is, the effective von Mises stress is above 0.25 MPa) and 0 everywhere else, so the surface area of that integration will be the area where the condition is true.

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.