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

sampleDict error Version 8

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By kerim

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 4, 2021, 16:52
Default sampleDict error Version 8
  #1
New Member
 
Join Date: Feb 2021
Posts: 3
Rep Power: 5
spegarser is on a distinguished road
Hello guys,
I`m running some simulations on a cluster with v8 OpenFOAM. I`m using a sampleDict file to output temperature of different points but i get this error

Code:
Create mesh for time = 0

--> FOAM Warning :
    From function bool Foam::functionObjectList::read()
    in file db/functionObjects/functionObjectList/functionObjectList.C at line 871
    Caught FatalError
--> FOAM FATAL ERROR:
Unknown sample set type cloud

Valid sample set types :

14
(
arcUniform
boundaryPoints
boundaryRandom
boxUniform
cellSet
circleRandom
faceSet
lineCell
lineCellFace
lineFace
lineUniform
points
sphereRandom
triSurfaceMesh
)


    From function static Foam::autoPtr<Foam::sampledSet> Foam::sampledSet::New(const Foam::word&, const Foam::polyMesh&, const Foam::meshSearch&, const Foam::dictionary&)
    in file sampledSet/sampledSet/sampledSet.C at line 176.
Also, this is my sampleDict file

Code:
/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM Extend Project: Open Source CFD        |
|  \\    /   O peration     | Version:  1.6-ext                               |
|   \\  /    A nd           | Web:      www.extend-project.de                 |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    object      sampleDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

type sets;
libs ("libsampling.so");
writeControl    adjustableRunTime;
writeInterval   0.2;

setFormat csv;

surfaceFormat vtk;

interpolationScheme cellPoint;

fields
(
    T
);

sets
(
    Centerline
    {
        type        cloud;
        axis    xyz;
        points  ( 
		(0.00005  0.0000005  0.00005)
(0.00005 0.00005  0.00005)
(0.00005 0.0000995  0.00005));
    }

);


surfaces ();



// *********************************************************************** //
I`ve already tried to set a name to my sample using some curly braces, but it didn`t work.
Does anybody know what`s the issue here, or have any suggestion on how to solve it?
Thank you!!
spegarser is offline   Reply With Quote

Old   March 16, 2021, 21:01
Default
  #2
Senior Member
 
abdikerim kurbanaliev
Join Date: Jun 2010
Location: Kyrgyzstan, Osh
Posts: 120
Rep Power: 15
kerim is on a distinguished road
Hi,
Please use type points instead of type cloud;.

I had the same problem, when used type points in openFoam7.


All the best,
Kerim
hulli likes this.
kerim is offline   Reply With Quote

Old   March 17, 2021, 13:32
Default
  #3
New Member
 
Join Date: Feb 2021
Posts: 3
Rep Power: 5
spegarser is on a distinguished road
Thanks for your reply kerim!!
I tried your suggestion but i get this error now:
Code:
--> FOAM FATAL IO ERROR:
keyword ordered is undefined in dictionary "controlDict/functions/sampleDict/sets"

file: controlDict/functions/sampleDict/sets from line 10 to line 10.

    From function const Foam::entry& Foam::dictionary::lookupEntry(const Foam::word&, bool, bool) const
    in file db/dictionary/dictionary.C at line 802.
Do you have any suggestion about this one?
Thank you!
spegarser is offline   Reply With Quote

Old   July 21, 2021, 05:05
Default
  #4
New Member
 
Join Date: Mar 2021
Posts: 8
Rep Power: 5
nukecrafts is on a distinguished road
I have the same problem. Did anyone solved it?
nukecrafts is offline   Reply With Quote

Reply


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
sampleDict error KateEisenhower OpenFOAM Post-Processing 5 October 18, 2021 13:39
postProcess -func sampleDict does not create output folder tmr2044 OpenFOAM Post-Processing 7 April 27, 2021 14:33
Does sampleDict have limitation in number of fields? reza2031 OpenFOAM Post-Processing 3 April 22, 2020 13:24
How Coorectly Run sampleDict FlyBob91 OpenFOAM Post-Processing 5 September 13, 2017 04:01
controlDict and sampleDict giving different results Shenan OpenFOAM Post-Processing 2 November 15, 2014 10:15


All times are GMT -4. The time now is 13:45.