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.

2D surface area calculation

Please login with a confirmed email address before reporting spam

Hi

I use 2D solid mechanics.

In result, I want to know how to calculate non-zero value area

In surface plot, I use variable 0.003<solid.epeGp, I can see the area of that variable.

but I dont know how to calculate the area which solid.epeGp is above 0.003

or calculate the area which solid.epeGp is non-zero value.

please help me

2 Replies Last Post Jul 19, 2017, 10:28 p.m. EDT
Jeff Hiller COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 7 years ago Jul 19, 2017, 8:34 a.m. EDT
Hello DoWon,
You can integrate boolean expressions like 0.003<solid.epeGp . Since the boolean evaluates to 1 where it is true and zero elsewhere this will return the surface area where it is true.
Best,
Jeff
Hello DoWon, You can integrate boolean expressions like 0.003

Please login with a confirmed email address before reporting spam

Posted: 7 years ago Jul 19, 2017, 10:28 p.m. EDT
Thank.

i use operator 'if' and calculate area

Thanks
Thank. i use operator 'if' and calculate area Thanks

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.