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

sampleDict problem

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 3, 2019, 18:23
Default sampleDict problem
  #1
Member
 
shima
Join Date: Feb 2018
Posts: 58
Rep Power: 8
shimakasaei is on a distinguished road
Hi,
I used olaFlow for my simulation (fwave in a flume) and tried to use sampleDict for drawing a graph of water surface over run time at the specific location in my flume.
when I run sample -latestTime, it shows me an error:

--> FOAM FATAL IO ERROR:
Attempt to return dictionary entry as a primitive

file: /mnt/lustre/shima/shima/SWavecheckSolitary/system/sampleDict.sets from line 38 to line 50.

From function virtual Foam::ITstream& Foam::dictionaryEntry::stream() const
in file db/dictionary/dictionaryEntry/dictionaryEntry.C at line 83.

FOAM aborting

#0 Foam::error:rintStack(Foam::Ostream&) at ??:?
#1 Foam::IOerror::abort() at ??:?
#2 Foam::dictionaryEntry::stream() const at ??:?
#3 Foam::sampledSets::read(Foam::dictionary const&) at ??:?
#4 Foam::sampledSets::sampledSets(Foam::word const&, Foam:bjectRegistry const&, Foam::dictionary const&, bool) at ??:?
#5 ? at ??:?
#6 __libc_start_main in "/lib64/libc.so.6"
#7 ? at ??:?
Aborted (core dumped)



this is my sampleDict:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //


setFormat raw;
surfaceFormat vtk;
interpolationScheme cellPoint;

// Fields to sample.
fields
(
U
p
alpha1
);


sets
(
s0
{
type uniform;
axis xyz;
start ( 1 0.25 0.0 );
end ( 1 0.25 0.75 );
nPoints 1001;
}
s1
{
type uniform;
axis xyz;
start ( 2 0.25 0.0 );
end ( 2 0.25 0.75 );
nPoints 1001;
}



);



can anyone please help me through this??

Best
shima
shimakasaei 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
UDF compiling problem Wouter Fluent UDF and Scheme Programming 6 June 6, 2012 04:43
Gambit - meshing over airfoil wrapping (?) problem JFDC FLUENT 1 July 11, 2011 05:59
natural convection problem for a CHT problem Se-Hee CFX 2 June 10, 2007 06:29
Adiabatic and Rotating wall (Convection problem) ParodDav CFX 5 April 29, 2007 19:13
Is this problem well posed? Thomas P. Abraham Main CFD Forum 5 September 8, 1999 14:52


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