|
[Sponsors] |
![]() |
![]() |
#1 |
New Member
Join Date: Feb 2021
Posts: 3
Rep Power: 5 ![]() |
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. 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 (); // *********************************************************************** // Does anybody know what`s the issue here, or have any suggestion on how to solve it? Thank you!! |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
abdikerim kurbanaliev
Join Date: Jun 2010
Location: Kyrgyzstan, Osh
Posts: 122
Rep Power: 16 ![]() |
Hi,
Please use type points instead of type cloud;. I had the same problem, when used type points in openFoam7. All the best, Kerim |
|
![]() |
![]() |
![]() |
![]() |
#3 |
New Member
Join Date: Feb 2021
Posts: 3
Rep Power: 5 ![]() |
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. Thank you! |
|
![]() |
![]() |
![]() |
![]() |
#4 |
New Member
Join Date: Mar 2021
Posts: 8
Rep Power: 5 ![]() |
I have the same problem. Did anyone solved it?
|
|
![]() |
![]() |
![]() |
![]() |
#5 |
Senior Member
abdikerim kurbanaliev
Join Date: Jun 2010
Location: Kyrgyzstan, Osh
Posts: 122
Rep Power: 16 ![]() |
Hi,
Please add this line: ordered true; |
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
sampleDict error | KateEisenhower | OpenFOAM Post-Processing | 7 | June 18, 2024 04:17 |
postProcess -func sampleDict does not create output folder | tmr2044 | OpenFOAM Post-Processing | 7 | April 27, 2021 15:33 |
Does sampleDict have limitation in number of fields? | reza2031 | OpenFOAM Post-Processing | 3 | April 22, 2020 14:24 |
How Coorectly Run sampleDict | FlyBob91 | OpenFOAM Post-Processing | 5 | September 13, 2017 05:01 |
controlDict and sampleDict giving different results | Shenan | OpenFOAM Post-Processing | 2 | November 15, 2014 11:15 |