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

sample error depending on the name of sampleDict element

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 24, 2013, 06:45
Default sample error depending on the name of sampleDict element
  #1
Senior Member
 
Canakkale Dardanelspor
Join Date: Aug 2012
Posts: 135
Rep Power: 13
HakikiCanakkaleli is on a distinguished road
Hi,

==1==

Just wondering.

==2==

When the below command is executed for an arbitrary case

Code:
sample -latestTime
for the following piece of code of sampleDict:

Code:
1D
    {
        type    uniform;
        axis    distance;
        start   ( 0 10 -184 );
        end     ( 0 -10 -184 );
        nPoints 200;	// Number of points which are sampled.
}
The following error pops up:
Code:
--> FOAM FATAL IO ERROR: 
wrong token type - expected word, found on line 98 the label 3

file: ~/system/sampleDict::sets at line 98.

    From function operator>>(Istream&, word&)
    in file primitives/strings/word/wordIO.C at line 74.

FOAM exiting
==3==
When I change the name of the sampleDict element from "1D" to "downstream1D", the code can be executed.

Code:
downstream1D
    {
        type    uniform;
        axis    distance;
        start   ( 0 10 -184 );
        end     ( 0 -10 -184 );
        nPoints 200;	// Number of points which are sampled.
}
==4==
I only wonder the reasoning behind this if you like.

Many thanks in advance.

Kind regards.
HakikiCanakkaleli 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
[Gmsh] gmshToFoam unhandled element flowris OpenFOAM Meshing & Mesh Conversion 4 February 20, 2023 17:50
mesh file for flow over a circular cylinder Ardalan Main CFD Forum 7 December 15, 2020 13:06
[Other] Mesh Importing Problem cuteapathy ANSYS Meshing & Geometry 2 June 24, 2017 05:29
Two way Fsi Problem- Non linear problem kmgraju CFX 4 April 28, 2015 11:15
autoPatch error, mesh quality related...? Alexvader OpenFOAM 0 October 6, 2011 17:57


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