CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Error using probes

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 11, 2010, 05:53
Default Error using probes
  #1
Senior Member
 
Balkrishna Patankar
Join Date: Mar 2009
Location: Pune
Posts: 123
Rep Power: 17
balkrishna is on a distinguished road
My controlDict is as follows :
Code:
/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  1.7.0                                 |
|   \\  /    A nd           | Web:      www.OpenFOAM.com                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    location    "system";
    object      controlDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

application     balBubbleFoam;

startFrom       startTime;

startTime       0;

stopAt          endTime;

endTime         50;

deltaT          0.01;

writeControl    runTime;

writeInterval   10;

purgeWrite      0;

writeFormat     ascii;

writePrecision  6;

writeCompression uncompressed;

timeFormat      general;

timePrecision   6;

runTimeModifiable yes;

functions
{
    probes
      {
        type            probes;
        functionObjectLibs ("libsampling.so");
        enabled         true;
        outputControl   timeStep;
        outputInterval  1;
        probeLocations
	  (
	   (0.05 0.0 0.03)
	   (0.25 0.0 0.09)
	   (0.05 0.0 0.18)
	   (0.25 0.0 0.36)
	   (0.05 0.0 0.45)
	   (0.25 0.0 0.60)
	   (0.05 0.0 0.70)
	   (0.25 0.0 0.80)
	   (0.05 0.0 1.10)
	   (0.25 0.0 1.20) 
	  );

        fields
	  (
	   alpha,Ua,Ub
	   );
      }
    
    fieldAverage1
      {
        type            fieldAverage;
        functionObjectLibs ("libfieldFunctionObjects.so");
        enabled         true;
        outputControl   outputTime;
        fields
	  (
            alpha
            {
	      mean        on;
	      prime2Mean  on;
	      base        time;
            }

            Ua
            {
	      mean        on;
	      prime2Mean  on;
	      base        time;
            }

            Ub
            {
	      mean        on;
	      prime2Mean  on;
	      base        time;
            }

            p
            {
	      mean        on;
	      prime2Mean  on;
	      base        time;
            }
	   );
      }
}


// ************************************************************************* //
I run the simulation in parallel on 4 cores . However at the end of the simulation after reconstructPar there is no probes directory . Can ne1 point out the mistake ??
balkrishna is offline   Reply With Quote

Old   November 11, 2010, 10:05
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
i dont know what the problem is , but as i know you can probe those points after simulation and reconstruction by using : probeLocations
nimasam is offline   Reply With Quote

Old   November 11, 2010, 11:42
Default
  #3
Senior Member
 
Steven van Haren
Join Date: Aug 2010
Location: The Netherlands
Posts: 149
Rep Power: 16
stevenvanharen is on a distinguished road
try probes1 as a name instead of probes, and remove keyword enabled.

I assume you get no warning at the start of the simulation that your probe locations are outside of the domain?
stevenvanharen is offline   Reply With Quote

Old   November 12, 2010, 04:31
Default
  #4
Senior Member
 
Balkrishna Patankar
Join Date: Mar 2009
Location: Pune
Posts: 123
Rep Power: 17
balkrishna is on a distinguished road
@steven i do not get any warning that the probe locations are outside of the domain
balkrishna is offline   Reply With Quote

Old   November 12, 2010, 04:55
Default
  #5
Senior Member
 
Steven van Haren
Join Date: Aug 2010
Location: The Netherlands
Posts: 149
Rep Power: 16
stevenvanharen is on a distinguished road
Did you try my other two suggestions?

Because that are the only two differences between your controlDict and mine. And mine works fine.
stevenvanharen is offline   Reply With Quote

Old   November 12, 2010, 05:51
Default
  #6
Senior Member
 
Balkrishna Patankar
Join Date: Mar 2009
Location: Pune
Posts: 123
Rep Power: 17
balkrishna is on a distinguished road
yes i tried them but still i get no folder
balkrishna is offline   Reply With Quote

Old   November 12, 2010, 05:55
Default
  #7
Senior Member
 
Steven van Haren
Join Date: Aug 2010
Location: The Netherlands
Posts: 149
Rep Power: 16
stevenvanharen is on a distinguished road
Mmmmm, strange.

If you send me the full case I can have a look here.
You're using your own solver?
stevenvanharen is offline   Reply With Quote

Reply

Tags
openfoam, probe


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 do probes work? steph79 OpenFOAM 1 October 17, 2013 09:41
Resolving Velocity Magnitudes with Probes steph79 OpenFOAM 2 August 9, 2010 19:16
probes for a component of a volTensorField titio OpenFOAM Post-Processing 0 July 2, 2010 14:50
problems with probes() function in chtMultiRegionFoam Victor OpenFOAM 0 November 25, 2009 16:08
Probes and multiprocessor runs grtabor OpenFOAM Running, Solving & CFD 1 June 12, 2007 14:59


All times are GMT -4. The time now is 20:17.