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

sample error depending on the name of sampleDict element

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   March 24, 2013, 07:45
Default sample error depending on the name of sampleDict element
  #1
Member
 
Join Date: Aug 2012
Posts: 74
Rep Power: 5
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

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
gmshToFoam unhandled element flowris Open Source Meshers: Gmsh, Netgen, CGNS, ... 1 June 25, 2015 09:35
Two way Fsi Problem- Non linear problem kmgraju CFX 4 April 28, 2015 11:15
[Other] Mesh Importing Problem cuteapathy ANSYS Meshing & Geometry 1 June 7, 2012 13:39
autoPatch error, mesh quality related...? Alexvader OpenFOAM 0 October 6, 2011 17:57
mesh file for flow over a circular cylinder Ardalan Main CFD Forum 6 April 17, 2010 23:40


All times are GMT -4. The time now is 09:23.