|
[Sponsors] |
January 19, 2015, 08:56 |
Coordinates of contour plot levels
|
#1 |
New Member
Join Date: Aug 2013
Posts: 3
Rep Power: 12 |
Hello there,
I've been wondering if its possible to get something like a function which describes the geometry of the border of a contour level. In the case on hand I'm about to compare the location of a particle with the location of a contour level. For example: Is the observed particle in the region of the lowest temperature? Maybe there is a better way to determine this, I'm also happy to receive advices in this direction I'm using ANSYS 15.0 |
|
January 19, 2015, 09:22 |
|
#2 |
Senior Member
Lance
Join Date: Mar 2009
Posts: 669
Rep Power: 22 |
Make an isoclip with the upper and lower limits of your desired contour level. Then use the 'Calculators/Function calculator' to get the area of the iso clip, or use an expression like area()@Iso Clip 1. Im not sure I understood your second question, so Im guessing here: Use some other software (excel/matlab?) to make a fit of the coordinates to get a function that the describes the border.
|
|
January 19, 2015, 09:49 |
|
#3 |
New Member
Join Date: Aug 2013
Posts: 3
Rep Power: 12 |
Thanks for the quick answer, Lance. I changed the content of this thread right before you responded to my question, because I somehow forgot I already had the answer to my question last week . (The question was how to get the area of a contour level in a 2D plot)
|
|
May 11, 2020, 22:07 |
@GrN
|
#4 |
New Member
Nitish Kamal
Join Date: Nov 2019
Posts: 3
Rep Power: 6 |
Can you post the answer, Please!!?
i'm having a similar problem, where i need the coordinates of a contour level boundary. Thank you |
|
May 12, 2020, 06:15 |
|
#5 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,716
Rep Power: 143 |
Generate a contour object, then go File/Export and use the contour object as the location object. The file will have a series of points along the contour. You will then have to do something with an external package (matlab/python/whatever) to work out if your particle points are inside the contour.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[swak4Foam] Foam warnings - related to swak4Foam | Salam-H | OpenFOAM Community Contributions | 20 | August 2, 2015 15:40 |
to set the axes in 3d in contour plot | shailendra | FLUENT | 2 | January 15, 2010 01:21 |
to plot Mach contour using GNUPLOT | killtimm | Main CFD Forum | 2 | December 28, 2009 11:15 |
Problems in compiling paraview in Suse 10.3 platform | chiven | OpenFOAM Installation | 3 | December 1, 2009 07:21 |
temperature contour plot is discrete (why)? | susan_w_b | FLUENT | 0 | January 5, 2004 03:36 |