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

Probing data with internalProbes

Register Blogs Community New Posts Updated Threads Search

Like Tree4Likes
  • 1 Post By smokbel
  • 3 Post By Yanagi

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 27, 2020, 03:02
Default Probing data with internalProbes
  #1
New Member
 
smokbel
Join Date: Aug 2020
Posts: 2
Rep Power: 0
smokbel is on a distinguished road
Hello all,


I am trying to sample data using internalProbes and I am getting an unfixable error:



Code:
--> FOAM FATAL IO ERROR: 
keyword ordered is undefined in dictionary "controlDict.functions.internalProbes.sets"

file: controlDict.functions.internalProbes.sets from line 19 to line 17.
My internalProbes file looks like this:

Code:
fields (p U);
points
(
   // lots of points here

)

libs            ("libsampling.so");
type            probes;


interpolationScheme cellPoint;
setFormat   raw;

writeControl    writeTime;

#includeEtc "caseDicts/postProcessing/probes/internalProbes.cfg"
Does anyone know how to solve this? I am not sure what the error even means, and cannot find any "ordered" keyword in the OpenFOAM code.
shanz likes this.
smokbel is offline   Reply With Quote

Old   October 14, 2020, 04:21
Default I am facing the same issue
  #2
New Member
 
Shantanu
Join Date: Mar 2017
Posts: 1
Rep Power: 0
shanz is on a distinguished road
I am using internalProbes and having the following error:

Code:
--> FOAM FATAL IO ERROR: 
keyword ordered is undefined in dictionary "controlDict.functions.internalProbes.sets"

file: controlDict.functions.internalProbes.sets from line 19 to line 17.

    From function const Foam::entry& Foam::dictionary::lookupEntry(const Foam::word&, bool, bool) const
    in file db/dictionary/dictionary.C at line 573.
My internalProbes file looks like the following:

Code:
#includeEtc "caseDicts/postProcessing/graphs/sampleDict.cfg"
fields (p U);
points
(
    (0 0 0)
);

#includeEtc "caseDicts/postProcessing/probes/internalProbes.cfg"
Please let me know if you know solution to this.
shanz is offline   Reply With Quote

Old   October 29, 2020, 05:59
Smile
  #3
New Member
 
taka
Join Date: Jan 2014
Location: JP
Posts: 1
Rep Power: 0
takahisa is on a distinguished road
Quote:
Originally Posted by shanz View Post
I am using internalProbes and having the following error:

Code:
--> FOAM FATAL IO ERROR: 
keyword ordered is undefined in dictionary "controlDict.functions.internalProbes.sets"

file: controlDict.functions.internalProbes.sets from line 19 to line 17.

    From function const Foam::entry& Foam::dictionary::lookupEntry(const Foam::word&, bool, bool) const
    in file db/dictionary/dictionary.C at line 573.
My internalProbes file looks like the following:

Code:
#includeEtc "caseDicts/postProcessing/graphs/sampleDict.cfg"
fields (p U);
points
(
    (0 0 0)
);

#includeEtc "caseDicts/postProcessing/probes/internalProbes.cfg"
Please let me know if you know solution to this.
Please try to add "ordered;" in sets sub-dictionary.

Last edited by takahisa; November 6, 2020 at 05:01.
takahisa is offline   Reply With Quote

Old   June 2, 2022, 12:50
Default
  #4
New Member
 
Tomii Kobayashi
Join Date: May 2020
Location: Delft, the Netherlands
Posts: 3
Rep Power: 6
Yanagi is on a distinguished road
I had the same problem using internalProbes. I know this thread has been frozen for almost a year, however, for further reference I would like to report one solution to this. I am using openfoam6.

first I use

Code:
foamGet internalProbes
and import both internalProbes and internalProbes.cfg

and then I edit internalProbes as:

Code:
fields (p U);
points
(
         $your probe points
);

interpolationScheme     cellPoint;
setFormat       raw;
#includeETC "$yourcasedirectory/system/internalProbes.cfg"
Next, edit internalProbes.cfg as:
Code:
type            sets;
libs            ("libsampling.so");

executeControl  writeTime;
writeControl    writeTime;

sets
(
    points
    {
        type    points;
        axis    xyz;
        points  $points;
        ordered 1;
    }
);
Finally, in your controlDict, edit functions dictionary as:
Code:
functions
{
   #includeFunc "internalProbes"

$Rest of post processing...
}
Run your openfoam program, you will get this function into postProcessing directory.

Credits to https://qiita.com/takaf05/items/4d56e95924f8ad1c1cfd.
caduqued, ucantosbaa and picpic like this.

Last edited by Yanagi; June 2, 2022 at 14:20.
Yanagi is offline   Reply With Quote

Reply

Tags
post processing, probes, sampling


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
CFD by anderson, chp 10.... supersonic flow over flat plate varunjain89 Main CFD Forum 18 May 11, 2018 08:31
[OpenFOAM] Paraview doesn't seem to be picking up data generated by icofoam MikeHersee ParaView 2 January 6, 2015 09:27
Data Produced From Fine Marine Cant Match with The Experimental Data PeiSan Fidelity CFD 4 August 23, 2014 06:33
[Commercial meshers] fluentMeshToFoam multidomain mesh conversion problem Attesz OpenFOAM Meshing & Mesh Conversion 12 May 2, 2013 11:52
How to update polyPatchbs localPoints liu OpenFOAM Running, Solving & CFD 6 December 30, 2005 18:27


All times are GMT -4. The time now is 12:10.