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

Empty Probe File - Probes not working

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 6, 2016, 21:08
Default Empty Probe File - Probes not working
  #1
New Member
 
Ricardo
Join Date: Sep 2011
Posts: 15
Rep Power: 14
rvmedina20 is on a distinguished road
Hello all,

I need some help!! :-) ..... I am using a user contributed solver (based on simpleFoam solver.) The solver runs without a problem, but when I include the probe object function nothing gets written to the probe file ... The points are within the domain and I do not get any errors.

(Note: I am running OF 3.0.0)

This is the code in the controlDict
Code:
functions
{
    probes
    {
        type            probes;
        functionObjectLibs ("libsampling.so");
         functionObjectLibs ("libfieldFunctionObjects.so")
        region             region0;
        enabled         true;
        outputControl   timeStep;
        outputInterval  1;

        fields
        (
            p
        );

        probeLocations
        (
            (0.4 0.0 0.0)
            (0.5 0.0 0.0)
            (0.6 0.0 0.0)
        );

    }
}
and this is the output in postProcessing/probes/0.1/p (Probes locations are recognized but nothing gets written to the file!!!)
Code:
# Probe 0 (0.4 0 0)
# Probe 1 (0.5 0 0)
# Probe 2 (0.6 0 0)
#       Probe             0             1             2
#        Time
Should I include any specific header files in the solver.C file? (I've tried adding '#include "probes.H" ' but that didnt seem to do any good. Any help is much appreciated!!
rvmedina20 is offline   Reply With Quote

Old   May 9, 2016, 10:59
Default
  #2
Senior Member
 
Join Date: Jun 2012
Location: Germany, Bochum
Posts: 230
Rep Power: 15
Bazinga is on a distinguished road
Do you get results when you use the simpleFoam solver?
Bazinga is offline   Reply With Quote

Old   May 9, 2016, 12:55
Default
  #3
New Member
 
Ricardo
Join Date: Sep 2011
Posts: 15
Rep Power: 14
rvmedina20 is on a distinguished road
Yes,

I've tried it with the native solvers and it seems to work. I ran the pitzDaily case and the probes work just fine. Any thoughts?
Quote:
Originally Posted by Bazinga View Post
Do you get results when you use the simpleFoam solver?
rvmedina20 is offline   Reply With Quote

Old   May 11, 2016, 19:36
Default
  #4
New Member
 
Ricardo
Join Date: Sep 2011
Posts: 15
Rep Power: 14
rvmedina20 is on a distinguished road
Quote:
Originally Posted by Bazinga View Post
Do you get results when you use the simpleFoam solver?

Hi Bazinga, I found the solution by changing:
Code:
for (runTime++; !runTime.end(); runTime++)
to
Code:
while (runTime.loop())
Can you (or anyone else) explain why that affects the function object? Thanks
rvmedina20 is offline   Reply With Quote

Reply

Tags
not working, probe, probes, problem


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 calculate mass flow rate on patches and summation of that during the run? immortality OpenFOAM Post-Processing 104 February 16, 2021 08:46
[OpenFOAM.org] Error creating ParaView-4.1.0 OpenFOAM 2.3.0 tlcoons OpenFOAM Installation 13 April 20, 2016 17:34
[foam-extend.org] problem when installing foam-extend-1.6 Thomas pan OpenFOAM Installation 7 September 9, 2015 21:53
[OpenFOAM.org] Compile OF 2.3 on Mac OS X .... the patch gschaider OpenFOAM Installation 225 August 25, 2015 19:43
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 17:51


All times are GMT -4. The time now is 21:08.