Area calculation of each color for a contour
Dear All,
I have a contour in Ansys CFX and I want to calculate the are related to each color. For example, I added a link to an image. https://postimg.cc/QVCQMDTC How can I calculate the area for each color? Can I export the contour to other software and do it? or I must develop a code to calculate it? But I don't know how to find the boundary of each color! |
I do not remember exact commands but you can create custom surface based on existing surface and result values. You can specify upper and lower values and CFD-post create surface within those bounds. Than you can measure area using expression.
Check "Locations" tab in CFD-Post. |
Dear karachun,
Thank you for your reply. I look at all the variables in the CFX, but I can not find which one can calculate the area of each boundary in a contour. Could you please explain more? Is there any specific variable for this calculation? Also, for the location tab, I didn't find anything related to this calculation. Thank you for your time. Best regards, |
1) Generate a contour object which has the contours at your desired levels
2) Generate a User Surface, which uses the contour object. Select the contour level you want the user surface to use 3) Use the area()@User Surface 1 CEL function to give you the area. Done. |
Dear ghorrocks and karachun,
Thank you for your help. Now I know how to calculate it. Thanks again, |
All times are GMT -4. The time now is 23:20. |