CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   ParaView (https://www.cfd-online.com/Forums/paraview/)
-   -   calculate the surface area of iso-contour (https://www.cfd-online.com/Forums/paraview/124744-calculate-surface-area-iso-contour.html)

 hz283 October 11, 2013 16:40

calculate the surface area of iso-contour

Dear All,

In paraview, can we calculate the area of the surface of iso-contour ? I checked the user's guide but failed to find an answer. Does anybody have some experience in this issue? Thank you so much.

 wyldckat October 11, 2013 18:17

Hi hz283,

Have you tried the "Integrate Variables" filter?

Best regards,
Bruno

 hz283 October 12, 2013 15:00

Thanks, Bruno. I check its explanations online. It can calculate the integration of a quantities. But my problem is: there is an 3D iso-contours (corresponding to scalar x=0.5 for example), on this iso-contour, I also make it colored by another quantity, for example y. y will change from e.g. 100 to 1000 on it. Now I would like to calculate the the area on this iso-contour which correpsonds to 500<y<700. Can it be realized?

Quote:
 Originally Posted by wyldckat (Post 456449) Hi hz283, Have you tried the "Integrate Variables" filter? Best regards, Bruno

 wyldckat October 12, 2013 15:02

Hi hz283,

Have you tried the "Threshold" filter before the "Integrate Variables"?

Best regards,
Bruno

 hz283 October 13, 2013 08:51

2 Attachment(s)
Thank you Bruno.

After I tried the Threshold and then got the got the following attached figures. Now I would like to calculate the area of this contours (just the area and nothing to with the physical quantities). When I apply Integrate Variables, it showed that following dialogue. Actually I searched it filter online but found that there are very few introduction about it.

Thank you and have a nice weekend.

Quote:
 Originally Posted by wyldckat (Post 456564) Hi hz283, Have you tried the "Threshold" filter before the "Integrate Variables"? Best regards, Bruno

 wyldckat October 13, 2013 14:18

Hi hz283,

Change the "Attribute" entry to "Cell Data" and you should then see the "Area" column.

Best regards,
Bruno

 ehooi October 14, 2013 03:56

Hi all,
I can see that Paraview can compute the surface area of an iso-contour. Does anyone know if the volume enclosed by the iso-contour can be calculated?

Thank you.

Best wishes,
EH

 wyldckat October 19, 2013 14:03

Greetings ehooi,

The filter "Integrate Variables" is able to calculate the volume of ... a volume :) It will be shown in the "Cell Data" entry of the spreadsheet as well.

But the problem is how to get the cells that are inside said isosurface. For better or for worse, ParaView has got two filters for this:
1. The filter "Clip" has the option to clip by a scalar, therefore allowing you to choose if you want the volume inside or outside of the isosurface that is created from the selected scalar. But it is not able to use a surface that you might want to provide.
2. The filter "Iso Volume" goes even further and allows us to choose two limits for the scalar and therefore we can choose a limited zone of values we want to process.
After one of these filters is apply, apply to it the "Integrate Variables" filter and you've got your volume!

Best regards,
Bruno

 All times are GMT -4. The time now is 19:57.