|
[Sponsors] |
|
July 18, 2023, 14:29 |
Area calculation of each color for a contour
|
#1 |
New Member
QC
Join Date: Mar 2019
Posts: 8
Rep Power: 7 |
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! |
|
July 18, 2023, 15:13 |
|
#2 |
Senior Member
Join Date: Nov 2015
Posts: 244
Rep Power: 11 |
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. |
|
July 18, 2023, 19:44 |
|
#3 |
New Member
QC
Join Date: Mar 2019
Posts: 8
Rep Power: 7 |
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, |
|
July 18, 2023, 21:15 |
|
#4 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,732
Rep Power: 143 |
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.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum. |
|
July 19, 2023, 11:17 |
|
#5 |
New Member
QC
Join Date: Mar 2019
Posts: 8
Rep Power: 7 |
Dear ghorrocks and karachun,
Thank you for your help. Now I know how to calculate it. Thanks again, |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM] Surface area calculation of droplet in Paraview | mhaghq | ParaView | 1 | January 20, 2022 10:48 |
Cell volume and face area calculation | richard_vega | OpenFOAM Programming & Development | 6 | April 7, 2021 06:08 |
Cell area calculation and cell proximity to other patch | ianjikar | OpenFOAM Programming & Development | 0 | January 4, 2019 02:33 |
Warning 097- | AB | Siemens | 6 | November 15, 2004 04:41 |
area volume calculation fundamentals | Ankur Kulkanri | Main CFD Forum | 0 | September 10, 2003 12:00 |