|
[Sponsors] |
December 3, 2012, 17:17 |
Line probe problem
|
#1 |
Member
anonymous
Join Date: Dec 2012
Posts: 33
Rep Power: 14 |
I have put a line probe into a simulation but it does not seem to fill in all the points. it has random spaces where there are not points and the data is then missing when I use that line probe to plot a graph.
Does anyone how how to solve that? Any help would be greatly appriciated. |
|
June 12, 2017, 12:31 |
|
#2 |
Member
Join Date: Aug 2014
Location: Germany
Posts: 80
Rep Power: 12 |
Anyone can answer the above question please ?
|
|
June 12, 2017, 16:00 |
|
#3 |
Senior Member
Matt
Join Date: Aug 2014
Posts: 947
Rep Power: 18 |
Are you looking at a geometry displayer of your probe points in a scene or their position in an XY plot? If you are looking at the XY plot, any probe point that lies in a cell will show the value of at that cell center. This is true whether you are talking about position, pressure, velocity or whatever. To get a smooth plot that shows the values at your actual probe positions you must enable 'smooth values' in the property window. XY Plot > Y Types > Y Type 1 (or 2, 3, etc...). This turns on node interpolated values.
|
|
June 12, 2017, 16:02 |
|
#4 |
Senior Member
Matt
Join Date: Aug 2014
Posts: 947
Rep Power: 18 |
Sorry, I should have read closer. Can you show an image of this?
|
|
June 14, 2017, 07:04 |
|
#5 |
Member
Join Date: Aug 2014
Location: Germany
Posts: 80
Rep Power: 12 |
I meant like this, the line probe with points you can see in pic have been defined over the full length, but points turn up only in some areas.
If I plot some quantity on this line, the data is missing where there are no points shown |
|
June 14, 2017, 10:00 |
|
#6 |
Senior Member
Matt
Join Date: Aug 2014
Posts: 947
Rep Power: 18 |
Ah... Is this line probe on a boundary surface (inlet/outlet/etc...)? If that is the case, then some of your points are defined outside of the domain and therefore have no position or scalar data to plot or display. This could be the result of your volume mesh or how you defined the line probe. There are two things you can try that should fix this.
1) Edit the derived part and select the 'snap to part' option then select that face. OR 2) Move the line probe some tiny distance upstream so that all the points fall within the domain. |
|
June 14, 2017, 10:39 |
|
#7 |
Member
Join Date: Aug 2014
Location: Germany
Posts: 80
Rep Power: 12 |
Ah yes..!! I got the problem now.
Actually I was using snap to part (to my outlet), but the problem was that the x coordinate for point 2 of the line remains slightly outside boundary , (10^-15m difference !!!). But that was causing the problem. I got it right now. Really appreciate your genius, its awesome..!! Thanks a lot |
|
June 14, 2017, 10:42 |
|
#8 |
Senior Member
Matt
Join Date: Aug 2014
Posts: 947
Rep Power: 18 |
Not a problem. Glad I could help.
|
|
June 15, 2017, 15:46 |
|
#9 |
Senior Member
Join Date: Nov 2010
Location: USA
Posts: 1,232
Rep Power: 25 |
Just for future reference, except for seeding streamline rakes I avoid using line probes at all costs. Wherever you need a line probe you can easily use a section plane (or a section plane of a section plane) to do the same thing more reliably.
|
|
June 19, 2017, 08:31 |
|
#10 |
Member
Join Date: Aug 2014
Location: Germany
Posts: 80
Rep Power: 12 |
Thanks for the advice, will keep that in mind.
|
|
Tags |
line probe |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Gmsh] Layers in a curved surface | Artex85 | OpenFOAM Meshing & Mesh Conversion | 1 | December 18, 2011 09:51 |
channelFoam for a 3D pipe | AlmostSurelyRob | OpenFOAM | 3 | June 24, 2011 14:06 |
1.7.x Environment Variables on Linux 10.04 | rasma | OpenFOAM Installation | 9 | July 30, 2010 05:43 |
Install problem in linux | navaladi | OpenFOAM Installation | 11 | July 17, 2008 03:24 |
OpenFOAM with IBM AIX | matthias | OpenFOAM Installation | 20 | March 25, 2008 03:36 |