CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

Probe Warning, Probe Does Not Work

Register Blogs Community New Posts Updated Threads Search

Like Tree3Likes
  • 1 Post By wallace
  • 1 Post By wallace
  • 1 Post By alexeym

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 4, 2013, 12:37
Default Probe Warning, Probe Does Not Work
  #1
New Member
 
Join Date: Jan 2013
Location: Lisboa-Funchal
Posts: 23
Rep Power: 13
guilha is on a distinguished road
Greetings people,

I am running a case, with parallel computing, and before the computations I got this warning message:

Code:
--> FOAM Warning :
    From function probes::read()
    in file probes/probes.C at line 71
    Did not find location (0.03 0.11 0) in any cell. Skipping location.
--> FOAM Warning :
    From function probes::read()
    in file probes/probes.C at line 71
    Did not find location (0.03 0.11125 0) in any cell. Skipping location.
--> FOAM Warning :
    From function probes::read()
    in file probes/probes.C at line 71
    Did not find location (0.03 0.1125 0) in any cell. Skipping location.
--> FOAM Warning :
    From function probes::read()
    in file probes/probes.C at line 71
    Did not find location (0.03 0.1225 0) in any cell. Skipping location.
--> FOAM Warning :
    From function probes::read()
    in file probes/probes.C at line 71
    Did not find location (0.04 0.12375 0) in any cell. Skipping location.
--> FOAM Warning :
    From function probes::read()
    in file probes/probes.C at line 71
    Did not find location (0.0475 0.1275 0) in any cell. Skipping location.
I did not got any error with the checkMesh, and as I checked the probes are not outside the domain. I read on other thread (I do not remember the link) that while decomposing it might appear some problems. So I run the case in a single processor, and got the same warning, but only in one probe, the warning message is:

Code:
--> FOAM Warning : 
    From function probes::read()
    in file probes/probes.C at line 71
    Did not find location (0.0475 0.1275 0) in any cell. Skipping location.
So, does anyone know what is the problem ?
__________________
Se Urso Vires Foge Tocando Gaita Para Hamburgo
guilha is offline   Reply With Quote

Old   October 5, 2013, 15:49
Default
  #2
Senior Member
 
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,267
Blog Entries: 1
Rep Power: 25
nimasam is on a distinguished road
checkMesh and see whether your mesh is in domain or not
__________________
My Personal Website (http://nimasamkhaniani.ir/)
Telegram channel (https://t.me/cfd_foam)
nimasam is offline   Reply With Quote

Old   October 14, 2013, 08:04
Default
  #3
New Member
 
Join Date: Jan 2013
Location: Lisboa-Funchal
Posts: 23
Rep Power: 13
guilha is on a distinguished road
As I said (and confirmed), the probes are in the domain. If I DO NOT decompose the problem, i. e. run the simulation in only one processor, OpenFOAM still gives me one warning. Is there any problems between decomposing the mesh and probe locations ? And why I get the warning, if the probe is in the domain ?
__________________
Se Urso Vires Foge Tocando Gaita Para Hamburgo
guilha is offline   Reply With Quote

Old   April 10, 2014, 10:41
Default
  #4
New Member
 
Wallace Green
Join Date: May 2010
Posts: 19
Rep Power: 16
wallace is on a distinguished road
rather than using a probe functionObject try a polyLine set where the original probeLocations are now the points.
wallace is offline   Reply With Quote

Old   April 10, 2014, 10:54
Default
  #5
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,938
Rep Power: 39
alexeym has a spectacular aura aboutalexeym has a spectacular aura about
Send a message via Skype™ to alexeym
Hi,

actually warning are self-explanatory

Code:
Did not find location (0.03 0.1225 0) in any cell. Skipping location.
For example in the warning it tries to tell you that a probe (0.03 0.1225 0) is outside of the mesh. And surely if a probe is outside of the mesh, there's nothing to probe.

Check dimensions of the mesh, check where you put your probes. Try to put all the probes inside the mesh.
alexeym is offline   Reply With Quote

Old   April 10, 2014, 12:45
Default
  #6
New Member
 
Wallace Green
Join Date: May 2010
Posts: 19
Rep Power: 16
wallace is on a distinguished road
sure alexeym, but I have noticed the probe functionObject having trouble locating points that are inside a mesh when running in parallel. There are slight differences in the implementation of the particular findCell() function for probes, polyLines, clouds, etc. and in my experience, there are some bugs.
M.W.G. likes this.
wallace is offline   Reply With Quote

Old   April 10, 2014, 13:27
Default
  #7
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,938
Rep Power: 39
alexeym has a spectacular aura aboutalexeym has a spectacular aura about
Send a message via Skype™ to alexeym
Oh, sorry, missed several messages.

Does the number of warnings depend on the decomposition (number of subdomains, decomposition method)? Maybe probes are on processor boundaries (though in this case another warning should be issued)?

I've looked though the implementation of findCell method and wasn't able to find anything that won't be working in parallel cases.
alexeym is offline   Reply With Quote

Old   April 11, 2014, 14:38
Default
  #8
New Member
 
Wallace Green
Join Date: May 2010
Posts: 19
Rep Power: 16
wallace is on a distinguished road
I've attached a case where I noticed this happening. The controlDict has functionObjects that write out velocity and pressure at 120 locations inside the domain at each iteration, once using type probes from libsampling and once using type sets with polyLine. The polyLine method works fine, but the probes approach skips four locations. Just use Allrun - hopefully it's self-explanatory.

If you get to the bottom of that and are still motivated, check out http://www.openfoam.org/mantisbt/view.php?id=0001147 for a another sampling peculiarity.
Attached Files
File Type: gz probeTest.tar.gz (6.5 KB, 98 views)
Hemishmistry04 likes this.
wallace is offline   Reply With Quote

Old   April 14, 2014, 04:38
Default
  #9
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,938
Rep Power: 39
alexeym has a spectacular aura aboutalexeym has a spectacular aura about
Send a message via Skype™ to alexeym
Hi,

unfortunately I wasn't able to reproduce the error, here is the output of the solver for the attached case:

Code:
Build  : 2.2.2-9739c53ec43f
Exec   : simpleFoam -parallel
...
SIMPLE: convergence criteria
    field p      tolerance 0.001
    field U      tolerance 0.0001
    field "(k|epsilon)"  tolerance 0.0001


Starting time loop

Reading set description:
    polyLine

Time = 1

smoothSolver:  Solving for Ux, Initial residual = 1, Final residual = 0.0762530558, No Iterations 1
smoothSolver:  Solving for Uy, Initial residual = 0.69705505, Final residual = 0.651831039, No Iterations 1000
smoothSolver:  Solving for Uz, Initial residual = 1, Final residual = 0.0752473553, No Iterations 1
GAMG:  Solving for p, Initial residual = 1, Final residual = 0.0835314711, No Iterations 2
time step continuity errors : sum local = 1.10938559e-16, global = -3.04128912e-18, cumulative = -3.04128912e-18
smoothSolver:  Solving for epsilon, Initial residual = 0.999999992, Final residual = 0.0309136051, No Iterations 2
smoothSolver:  Solving for k, Initial residual = 0.999999991, Final residual = 0.0339960612, No Iterations 2
...
Hemishmistry04 likes this.
alexeym is offline   Reply With Quote

Old   April 16, 2014, 06:01
Default
  #10
New Member
 
Wallace Green
Join Date: May 2010
Posts: 19
Rep Power: 16
wallace is on a distinguished road
thanks for trying that out. I noticed from your output log that you are running 2.2.2. I had been running 2.3.x. I've built 2.2.x again and tested the same case - my output is now just like yours - no errors. If you (or anyone else) have 2.3.x available, I'd be interested in how that works for you. In the meantime though, I'll submit a bug report when I have an opportunity.
wallace is offline   Reply With Quote

Old   April 18, 2014, 17:03
Default
  #11
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,938
Rep Power: 39
alexeym has a spectacular aura aboutalexeym has a spectacular aura about
Send a message via Skype™ to alexeym
I'd like to confirm that bug can be reproduced with 2.3.x.

There was certain changes in findCell algorithm between 2.2.2 and 2.3.x though I wasn't able yet to determine the reason why everything is OK under 2.2.2 and not OK under 2.3.x (though I guess the reason is tetrahedral cells near the probes as mainly the algorithm was changed for tetrahedral mesh).
alexeym is offline   Reply With Quote

Old   February 20, 2015, 07:48
Default
  #12
New Member
 
Michael
Join Date: Feb 2015
Posts: 18
Rep Power: 11
allett02015 is on a distinguished road
hello!

I can also confirm the bug. I'm using version 2.3.0 and for a list of 45 points which clearly ly within the domain 8 are not found. If I use the sample application the same error accures. Did somebody find a solution for the problem?
allett02015 is offline   Reply With Quote

Old   September 5, 2017, 14:21
Default
  #13
New Member
 
Mukul
Join Date: Nov 2016
Posts: 6
Rep Power: 10
mukul92 is on a distinguished road
Hi, I'm facing a similar issue in OpenFOAM 4.1. Did someone file a bug report?
mukul92 is offline   Reply With Quote

Old   September 19, 2017, 06:13
Default
  #14
New Member
 
Michael
Join Date: Feb 2015
Posts: 18
Rep Power: 11
allett02015 is on a distinguished road
Hei hei I used also version 3.0+ and there I do not have any problems to find the probes
allett02015 is offline   Reply With Quote

Reply

Tags
probe warning


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
How to use setField to create sphere sega OpenFOAM Pre-Processing 38 January 13, 2022 01:39
foamToTecplot360 thomasduerr OpenFOAM Post-Processing 121 June 11, 2021 11:05
[swak4Foam] installation problem with version 0.2.3 Claudio87 OpenFOAM Community Contributions 9 May 8, 2013 11:20
[blockMesh] BlockMesh FOAM warning gaottino OpenFOAM Meshing & Mesh Conversion 7 July 19, 2010 15:11
OpenFOAM14 for Mac OSX Darwin 104 gschaider OpenFOAM Installation 118 July 20, 2008 06:19


All times are GMT -4. The time now is 11:34.