CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > CFX

Coordinates of contour plot levels

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 19, 2015, 08:56
Default Coordinates of contour plot levels
  #1
GrN
New Member
 
Join Date: Aug 2013
Posts: 3
Rep Power: 12
GrN is on a distinguished road
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
Attached Images
File Type: png Contour.png (3.0 KB, 15 views)
GrN is offline   Reply With Quote

Old   January 19, 2015, 09:22
Default
  #2
Senior Member
 
Lance
Join Date: Mar 2009
Posts: 669
Rep Power: 22
Lance is on a distinguished road
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.
Lance is offline   Reply With Quote

Old   January 19, 2015, 09:49
Default
  #3
GrN
New Member
 
Join Date: Aug 2013
Posts: 3
Rep Power: 12
GrN is on a distinguished road
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)
GrN is offline   Reply With Quote

Old   May 11, 2020, 22:07
Default @GrN
  #4
New Member
 
Nitish Kamal
Join Date: Nov 2019
Posts: 3
Rep Power: 6
Nitish_kamal is on a distinguished road
Can you post the answer, Please!!?
i'm having a similar problem, where i need the coordinates of a contour level boundary.
Thank you
Nitish_kamal is offline   Reply With Quote

Old   May 12, 2020, 06:15
Default
  #5
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,716
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
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.
ghorrocks is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 15:16.